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
@@ -6,6 +6,10 @@ body must be written.
The mocking/testing side of a skill is NOT specified here — it has its own
contract, `TESTGEN.md`. This file is about the runnable body only.
A skill that ships as a committed starter lives inside a **pack**; how a pack
bundles skills, references a bridge, and declares its settings is the separate
contract `PACKGEN.md`.
## What a skill is
Semif-agent is an end-user application: an everyday person asks it to do a task,