diff --git a/doctor.sh b/doctor.sh index 950190a..b7907ca 100644 --- a/doctor.sh +++ b/doctor.sh @@ -125,9 +125,10 @@ unset _pc _pc_rc _w _r echo "" # ──────────────────────────────────────────────────────────── -# 2b. Vendored skills (curl-pinned externals: plugins.lock.json's -# managed_by:curl entries + link.sh's EXTERNAL_SKILLS array — the OTHER -# externals the GStack section above does not cover) +# 2b. Vendored skills (pinned externals: plugins.lock.json's +# managed_by:curl entries, git-tree entries via check_vendored_trees + +# link.sh's EXTERNAL_SKILLS array — the OTHER externals the GStack +# section above does not cover) # ──────────────────────────────────────────────────────────── echo "── Vendored skills ──" check_vendored_skills "$REPO" "$HOME/.claude" diff --git a/install-plugins.sh b/install-plugins.sh index e4c607a..7893c9d 100644 --- a/install-plugins.sh +++ b/install-plugins.sh @@ -914,10 +914,12 @@ echo "" # skills (MengTo/Skills) + superpowers (obra/superpowers) — all # commit-pinned, vendored the emil-design-eng way (curl → # skills-external//, symlinked by link.sh) through the shared -# lib/vendor-skills.sh helper. Shas/paths/file-lists live in -# plugins.lock.json ("agent-skills" / "mengto-skills" / "superpowers" -# entries), never hardcoded here. -echo "── Step 8e: Agent Skills + Mengto scroll skills + superpowers (pinned commit) ──" +# lib/vendor-skills.sh helper — plus Modern Web Guidance and +# chrome-extensions (GoogleChrome/modern-web-guidance), vendored as a +# git-tree pin (shallow git fetch, not curl). Shas/paths/file-lists live +# in plugins.lock.json ("agent-skills" / "mengto-skills" / "superpowers" +# / "modern-web-guidance" entries), never hardcoded here. +echo "── Step 8e: Agent Skills + Mengto scroll skills + superpowers + Modern Web Guidance (pinned commit) ──" echo "" # shellcheck source=lib/vendor-skills.sh disable=SC1091 source "$REPO/lib/vendor-skills.sh" @@ -1279,6 +1281,7 @@ echo " 🔄 impeccable — /impeccable design verbs + 61-rule determ echo " 🔄 design-motion-principles — motion/animation design, 3-designer lens (kylezantos)" echo " 🔄 agent-skills trio — observability-and-instrumentation, deprecation-and-migration, ci-cd-and-automation (curl → symlink, pinned commit)" echo " 🔄 mengto scroll skills — scroll-world-storytelling, build-threejs-scroll-worlds, scroll-scrubbed-visual-sequence, scroll-scrubbed-word-reveal, scroll-progress-timeline (curl → symlink, pinned commit)" +echo " 🔄 modern-web-guidance — Modern Web Guidance v1.0.1 guides (git-tree pin → skills-external/mwg, read by our modern-web-guidance skill) + chrome-extensions (symlink)" echo " 🔄 darwin-skill — autonomous skill optimizer (npx skills, ~/.agents/skills/)" echo " 🔄 21st skill pack — 21st.dev CLI skills; linked by skills/pack-design and skills/pack-extras (bash lib/profile.sh set | enable , then /reload-plugins)" echo " 🔄 higgsfield pack — Higgsfield CLI media skills (image, video, audio, brand), OFF by default (bash lib/profile.sh enable higgsfield, then /reload-plugins; landing-page aid: \`higgsfield-websites\` ships in pack-higgsfield)" diff --git a/lib/doctor-vendored.sh b/lib/doctor-vendored.sh index cee16a8..8b9f66a 100644 --- a/lib/doctor-vendored.sh +++ b/lib/doctor-vendored.sh @@ -1,14 +1,16 @@ #!/usr/bin/env bash # ============================================================ # lib/doctor-vendored.sh — doctor.sh check for the externally vendored -# skills (curl-pinned externals in plugins.lock.json + link.sh's -# EXTERNAL_SKILLS array). doctor.sh's "GStack submodule" section only -# covers the gstack submodule — this covers the OTHER external skill -# packs (the agent-skills trio, the seven superpowers skills, and any -# name link.sh links with no lock entry at all). +# skills (curl-pinned and git-tree externals in plugins.lock.json + +# link.sh's EXTERNAL_SKILLS array). doctor.sh's "GStack submodule" +# section only covers the gstack submodule — this covers the OTHER +# external skill packs (the agent-skills trio, the seven superpowers +# skills, and any name link.sh links with no lock entry at all). # -# One entry point, `check_vendored_skills `, sourced -# and called by doctor.sh. Two things checked +# Two entry points, sourced and called by doctor.sh: +# `check_vendored_trees ` checks the git-tree lock entries (each +# dest's .vendored-commit against the pin; warning only, never an error), +# and `check_vendored_skills ` checks two things # per name in link.sh's EXTERNAL_SKILLS array: # 1. its file(s) exist under skills-external// — expected file # list comes from the matching plugins.lock.json entry (list shape diff --git a/lib/vendor-skills.sh b/lib/vendor-skills.sh index 8b0c1ad..6526f21 100644 --- a/lib/vendor-skills.sh +++ b/lib/vendor-skills.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # ============================================================ -# lib/vendor-skills.sh — shared curl-vendoring for commit-pinned skills +# lib/vendor-skills.sh — shared vendoring for commit-pinned skills # # One helper, `vendor_pinned_skills [refresh]`, replaces the # inline curl loops install-plugins.sh (Step 8e) and update-all.sh (7.3) @@ -8,6 +8,11 @@ # scripts source this file and call it once per plugins.lock.json entry # ("agent-skills", "mengto-skills", …) — no sha ever hardcoded here. # +# A second helper, `vendor_pinned_tree `, handles the +# "managed_by": "git-tree" entries (modern-web-guidance). One shallow git +# fetch at the pinned commit, an allowlist copied per dest, INDEX.md and +# NOTICE.md written for mwg, each dest swapped into skills-external/. +# # Lock entry shape (plugins.lock.json): # "": { # "source": "https://github.com//",