name: {{skill}}
description: {{description}} Background knowledge contract, preloaded into {{plugin}} agents; not a user-facing workflow.
user-invocable: false # set when only Claude and this plugin's agents should read it
paths: src/**/*.ts # glob pattern(s) — activate only when working with matching files (drop the backticks)
{{skill}}
[One line: what this contract is the single source of truth for, and who consumes it.]
When this applies
[The exact condition under which a reader must follow this contract — a file kind being
edited, an agent being dispatched, a schema being exchanged. A contract has no steps, so
this replaces the workflow: it says when the rules bind, not what order to do things in.]
[Rule group]
[Rules, invariants, schemas, or canonical invocations. Each group is one coherent topic.
State the rule, then the reason it exists. Show the shape a reader must produce or accept.]
[Rule group]
[...]
1---2name: contract3description: <!-- template-meta4---5<!-- template-meta6genre: contract7required_frontmatter: [name, description]8optional_frontmatter: [model, effort, allowed-tools, user-invocable, paths, disable-model-invocation]9required_sections: []10forbidden_sections: ["## Workflow", "## Final Report"]11variables: [plugin, skill, description]12-->1314---1516name: {{skill}}17description: {{description}} Background knowledge contract, preloaded into {{plugin}} agents; not a user-facing workflow.1819# user-invocable: false # set when only Claude and this plugin's agents should read it2021# paths: `src/**/*.ts` # glob pattern(s) — activate only when working with matching files (drop the backticks)2223---2425# {{skill}}2627[One line: what this contract is the single source of truth for, and who consumes it.]2829## When this applies3031[The exact condition under which a reader must follow this contract — a file kind being32edited, an agent being dispatched, a schema being exchanged. A contract has no steps, so33this replaces the workflow: it says when the rules bind, not what order to do things in.]3435## [Rule group]3637[Rules, invariants, schemas, or canonical invocations. Each group is one coherent topic.38State the rule, then the reason it exists. Show the shape a reader must produce or accept.]3940## [Rule group]4142[...]4344<!--45Genre notes — read before choosing this template over `_templates/skill/claudecode/`.4647A **contract** is background knowledge: a discipline a reader implements against, a schema48two components exchange, or a canonical set of invocations. It is read, not run. It has no49preconditions, no ordered steps, no approval gate, and no final report — so `## Workflow`,50`## Final Report`, and `## Never` do not apply, and `/audit` skips those checks for this51genre.5253Declare the genre in the description with the exact phrase54`not a user-facing workflow`. That phrase is what routes `/audit` to this template.5556Choose the workflow template instead whenever the skill performs ordered actions, gates a57mutation, dispatches subagents, or reports a result. A skill that does anything is a58workflow, however short.5960Existing contracts in this marketplace:6162- `subroutine/skills/*` — ambient implementation disciplines injected by a hook63-->