packs: add PACKGEN.md contract + packgen skill

PACKGEN.md is the authoritative spec for a new pack, the sibling of
CODEGEN.md (body) and TESTGEN.md (test): the pack.json manifest, its
config schema and how it maps onto bridges.<name>/packs.<name>, the
enable switch, referencing a bridge by name, authoring a new bridge
(BridgeService + CATALOG + build_bridge + the optional-dep 503 rule),
acceptance criteria, a worked example, and a checklist.

Add a thin OpenCode skill (.opencode/skills/packgen/SKILL.md) that walks
the workflow and points at PACKGEN.md, and cross-link the contract from
AGENTS.md, README.md, CODEGEN.md, and TESTGEN.md.
This commit is contained in:
gabby committed 2026-10-13 15:25:42 +00:00
1 parent 711dba2f03
commit f379c0a746
6 files changed
+449 -1

No files matched your search

+4
View File
@@ -1478,6 +1478,10 @@ CLI, unit tests (24) + integration tests (2).
### skill packs (bundles)
- **The contract.** `PACKGEN.md` is the authoritative spec for a new pack —
`pack.json`, its `config` schema, its bridge reference, and how to author a
new bridge to back one. It is the sibling of `CODEGEN.md`/`TESTGEN.md`; read it
before adding anything under `packs/`.
- **What they are.** A pack bundles a concern/product with the skills that serve
it, in `packs/<name>/`: a `pack.json` manifest plus
`skills/<category>/<leaf>/` folders (the exact generated-skill format). The