| name | docs |
|---|---|
| description | Route documentation-related requests to the right artifact skill and decide whether durable documentation is needed. |
Use first for documentation requests that should improve execution context instead of just producing more text.
- decide whether the change needs durable documentation
- prefer updating an existing artifact before creating a new one
- route to the right artifact skill when documentation is justified
- make “no new document needed” an explicit valid outcome
- Use
docs/adr/when the change modifies architecture, constraints, guardrails, or long-lived technical decisions. - Use
spec/when the work needs explicit scope, scenarios, constraints, and verifiable acceptance criteria. - Use
design-doc/when the change has non-trivial integration, migration, structural impact, or technical risk. - Use
runbook/when the change affects operations, support, incident handling, rollout, or recovery. - Use
selective-persistence/after planning or execution to decide what remains durable and what should stay transient.
- Clarify scope through definition, spec, or plan mode first.
- If architecture or technical design needs durable context, write and validate the ADR and/or Design Doc next.
- Start implementation only after those artifacts are aligned and validated when they are required.
Ask these questions before writing anything new:
- What context would be expensive to rediscover in a few months?
- Is there already a live document that should be updated instead?
- Is this artifact meant to guide execution now, preserve durable context later, or both?
- Would creating a new document reduce ambiguity, or just add noise?
- Treat existing RFCs as context inputs when they already frame scope, alternatives, or open decisions.
- Do not generate a new RFC by default. Use one only when the change genuinely needs formal debate and alignment.
Produce a short routing decision with:
- recommended artifact type
- whether to update existing documentation or create something new
- why the artifact is justified
- whether any context should remain transient
- Bias toward lean, decision-useful documentation.
- When an ADR or Design Doc is required, treat it as a pre-implementation artifact: write and validate it after definition/plan mode and before coding.
- Do not create durable docs for local, reversible, low-impact changes.
- If no artifact is justified, say so explicitly.