Toolkit Update
Establish current state before choosing an update.
Preflight
Resolve the active repository and applicable instructions, preserve unrelated
work, then locate the actual toolkit source and selected client skill roots.
Inspect
- Resolve the toolkit root and determine whether it is a real Git worktree, an
export, a cache, or a linked client copy.
- Read
VERSION, package versions, skill-pack.json, Git status, current
commit and remote, when available.
- Inspect the selected upstream release, tag, or immutable commit.
- Compare skill directories, versions, hashes, toolkit modules, templates,
instructions, and release notes.
- Classify local-only, upstream-only, modified, generated, and ignored content.
- Report the status and stop unless an update was explicitly authorized.
Before reporting a Git remote, remove URL userinfo, credentials, query strings,
and fragments. Describe private-fork locations generically unless the exact
locator is necessary and authorized.
Use the optional status helper only as an aid:
node ./scripts/check-agent-skills.mjs --agent <client> --scope <user-or-project>
It must not be required for an agent-driven installation.
Plan
Prefer an upstream-backed Git worktree. For an exported local folder:
- create a recoverable backup
- clone the selected upstream source into staging
- port reviewed local-only capabilities without dependencies or caches
- resolve instruction and manifest changes
- validate in staging
- switch the active path only after review
Never claim that git pull updated an export without .git.
Apply
Require exact update authorization. Use git pull --ff-only only when the
worktree and branch permit it. Otherwise use a staging clone and explicit
reconciliation.
Do not:
- run an unaudited remote installer
- overwrite unmanaged or locally modified skills
- reinstall every client as a side effect
- delete a local-only module merely because upstream lacks it
- install host software, push, tag, publish, or deploy without separate approval
Upgrading to Dynamic Symlinked Skill Architecture
When upgrading an existing install to v0.3.2+:
- Purge legacy heavy web skills (
instagram-clone, portable-web-toolkit, site-readiness, site-starter, toolkit-update, vectorize-pipeline) from global home skill directories (~/.gemini/config/skills/, ~/.cursor/skills/, ~/.claude/skills/).
- Copy
skills/portable-web-toolkit-router into global home skill discovery directories.
- Run
node scripts/manage-project-skills.mjs link --project . --skills portable-web-toolkit,site-readiness,site-starter,toolkit-update to symlink selected skills into active project scope (.agents/skills/). Bare link without --skills only installs the light portable-web-toolkit-router.
Verify
Run:
- skill manifest validation
- structural validation for every skill
- positive and near-miss routing tests when available
- toolkit verification and privacy checks
- status comparison for selected installed clients
Report the previous and resulting versions, source commit, preserved local
capabilities, files changed, installed skills left untouched, checks, rollback
location, and unresolved publication work.
1---2name: toolkit-update3description: Compare, plan, or apply an explicitly authorized Portable Web Toolkit or toolkit-skill update. Use when asked to check toolkit freshness, reconcile a local export with GitHub, inspect installed skill versions, or update to a selected tag or commit. Default to read-only status, preserve local-only capabilities, and never reinstall or overwrite skills automatically.4---56# Toolkit Update78Establish current state before choosing an update.910## Preflight1112Resolve the active repository and applicable instructions, preserve unrelated13work, then locate the actual toolkit source and selected client skill roots.1415## Inspect16171. Resolve the toolkit root and determine whether it is a real Git worktree, an18 export, a cache, or a linked client copy.192. Read `VERSION`, package versions, `skill-pack.json`, Git status, current20 commit and remote, when available.213. Inspect the selected upstream release, tag, or immutable commit.224. Compare skill directories, versions, hashes, toolkit modules, templates,23 instructions, and release notes.245. Classify local-only, upstream-only, modified, generated, and ignored content.256. Report the status and stop unless an update was explicitly authorized.2627Before reporting a Git remote, remove URL userinfo, credentials, query strings,28and fragments. Describe private-fork locations generically unless the exact29locator is necessary and authorized.3031Use the optional status helper only as an aid:3233```bash34node ./scripts/check-agent-skills.mjs --agent <client> --scope <user-or-project>35```3637It must not be required for an agent-driven installation.3839## Plan4041Prefer an upstream-backed Git worktree. For an exported local folder:42431. create a recoverable backup442. clone the selected upstream source into staging453. port reviewed local-only capabilities without dependencies or caches464. resolve instruction and manifest changes475. validate in staging486. switch the active path only after review4950Never claim that `git pull` updated an export without `.git`.5152## Apply5354Require exact update authorization. Use `git pull --ff-only` only when the55worktree and branch permit it. Otherwise use a staging clone and explicit56reconciliation.5758Do not:5960- run an unaudited remote installer61- overwrite unmanaged or locally modified skills62- reinstall every client as a side effect63- delete a local-only module merely because upstream lacks it64- install host software, push, tag, publish, or deploy without separate approval6566### Upgrading to Dynamic Symlinked Skill Architecture6768When upgrading an existing install to v0.3.2+:691. Purge legacy heavy web skills (`instagram-clone`, `portable-web-toolkit`, `site-readiness`, `site-starter`, `toolkit-update`, `vectorize-pipeline`) from global home skill directories (`~/.gemini/config/skills/`, `~/.cursor/skills/`, `~/.claude/skills/`).702. Copy `skills/portable-web-toolkit-router` into global home skill discovery directories.713. Run `node scripts/manage-project-skills.mjs link --project . --skills portable-web-toolkit,site-readiness,site-starter,toolkit-update` to symlink selected skills into active project scope (`.agents/skills/`). Bare `link` without `--skills` only installs the light `portable-web-toolkit-router`.7273## Verify7475Run:7677- skill manifest validation78- structural validation for every skill79- positive and near-miss routing tests when available80- toolkit verification and privacy checks81- status comparison for selected installed clients8283Report the previous and resulting versions, source commit, preserved local84capabilities, files changed, installed skills left untouched, checks, rollback85location, and unresolved publication work.