Subchapter 23.1
references/authoring-path.mdMarkdown5 KBView on GitHub
Use this path to create or update skill files.
name must match the directory.description must contain realistic trigger language.SKILL.md as the runtime decision layer for complex skills.Run the pre-edit check before creating new sections, references, scripts, or assets.
| Question | Required answer |
|---|---|
| What behavior should change? | one concrete behavior delta |
| What existing rule can be narrowed or replaced? | file and section, or none with reason |
| What can be removed or moved out of runtime? | obsolete, duplicate, provenance, or maintenance-only content |
| Why is any new artifact necessary? | branch, lookup, automation, template, or validation need |
Prefer editing existing guidance when it can express the behavior without making that guidance broader.
After any skill artifact changes, run the post-change pass:
SKILL.md and routed references as a user of the skill would.replaced, narrowed, moved, deleted, or added with reason.This is a judgment pass. Do not add validators or rigid checklists solely to make the precision pass machine-checkable.
references/..., scripts/..., and assets/... paths by default.Create only what the skill needs:
| File or dir | Use |
|---|---|
SPEC.md | maintenance contract |
references/ | optional depth loaded by route |
references/evidence/ | persistent iteration examples |
scripts/ | repeatable automation or validation |
assets/ | reusable templates or static artifacts |
Keep runtime references as direct children of references/. Use clear filename prefixes instead of nested folders when references are related.
references/reference-architecture.md before adding bundled files.SKILL.md.SOURCES.md, not in runtime files.SPEC.md when the skill contract changes materially.Require focused coverage for:
Default minimum depth:
| Shape | Require |
|---|---|
router | route criteria, fallback, per-route contract, misroute recovery |
script-backed-workflow | documented scripts, non-interactive execution, structured output, fallback |
parallelization / orchestrator-workers | unit of work, worker output schema, merge rule, stop condition |
subagent-fork | actionable task, return contract, isolation reason, portability note |
hook-backed | event scope, side-effect boundary, fallback, safety note |
asset-template | asset routing, placeholder guidance, validation checklist when needed |
argument-driven | expected arguments, empty-input behavior, manual-only use when risky |
Authoring or generator skills should include:
Do not accept abstract-only guidance when a concrete example is needed.
SKILL.mdSPEC.md when required