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:
Radosław Smoliński
2026-10-29 11:54:35 +01:00
co-authored by Claude Opus 5.5
parent 25719ae7ec
commit e1f82ce387
124 changed files with 18732 additions and 1 deletions
+6
View File
@@ -108,6 +108,12 @@ with `twoFactor: false` / without `buildR2Storage` (both mandatory in §0b). Nev
yourself); `--dest .claude/skills` — another directory (then exclude `.claude` and replace the `.agents/skills` paths in
commands); `--dry-run` — preview. Name your own skills without the `ipal-` prefix — they are left untouched.
**Optional — external skills** (after the architecture answers; only if the owner wants them, record it in
"Project decisions"): `pnpm exec ipal-skills --external` (all) or `--external ext-react-best-practices,ext-accessibility`
— Vercel React best practices and composition patterns, Addy Osmani accessibility, Anthropic frontend design,
the official Payload 3 skill (reference). Pinned, text only, nothing downloaded; our rules win over them (AGENT.md §14).
**Check:** `ls .agents/skills | grep '^ext-'`; each folder has `SOURCE.md` with the pinned commit.
## 3. Configuration
**Code.**