ipal-skills --external: vendored third-party agent skills, pinned
- docs/agent/external: Vercel react-best-practices and composition-patterns (MIT), Addy Osmani accessibility (MIT), Anthropic frontend-design (Apache-2.0), official Payload skill at v3.92.1 (MIT) — text only, each with its licence, SOURCE.md (repo, commit) and an override note in front of the SKILL.md (ipal-kit first, Payload fetching over swr, DESIGN.md tokens, Payload 3 not 4); manifest.json with sha256 per file - scripts/vendor-external-skills.mjs (maintainer, not shipped): fetches by full commit SHA only, rejects non-text or executable files, regenerates the manifest; --check verifies it - ipal-skills --external [names]: copies ext-* after checking every file against the manifest, downloads nothing, never touches ext-* folders without ipal-kit's SOURCE.md, removes only retired ones it installed; an unknown name stops the run before anything is copied - AGENT.md §14, ipal-setup stage 2 (optional step), README: usage, overrides, how to update the pins - test/externalSkills.test.ts: pins are SHAs, no branch fetch, checksums, text only, licences, override note, installer leaves other folders alone Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
25719ae7ec
commit
e1f82ce387
@@ -111,6 +111,16 @@ have none) pointing the agent at the full guide: `AGENT.md`, the `ipal-reference
|
||||
(every option, env var, route and export) and the `ipal-setup` skill. Only the text between
|
||||
the markers is ever rewritten. `--no-pointer` skips that step. There is no `postinstall` script.
|
||||
|
||||
`pnpm exec ipal-skills --external` also adds a few well-known third-party skills as `ext-*` folders — Vercel's
|
||||
React best practices and composition patterns, Addy Osmani's accessibility skill, Anthropic's frontend-design
|
||||
skill and the official Payload 3 skill. They are vendored into the package at pinned commits (text only, each
|
||||
with its licence and source), so nothing is downloaded, and each starts with a note that ipal-kit's rules win.
|
||||
Pick some with `--external ext-accessibility,ext-payload`.
|
||||
|
||||
*Updating the pins (plugin maintainers):* change the commit in `scripts/vendor-external-skills.mjs`, run
|
||||
`node scripts/vendor-external-skills.mjs`, review `git diff docs/agent/external`, and run
|
||||
`pnpm vitest run test/externalSkills.test.ts`.
|
||||
|
||||
From here, the guide takes over: **[docs/dev/PROGRAMISTA.md](./docs/dev/PROGRAMISTA.md)** —
|
||||
from an empty project to a working site.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user