Repository navigation
Conversation
Adds a Runbooks section covering: when to write one, the three-line minimum (what it means / first check / escalation path), a full template with example, and the keep-current discipline. Cross-links observability-and-instrumentation (which already requires alerts to link to runbooks) and shipping-and-launch (rollback reference inside the template). Adds two rationalization rows, two red flags, and two verification checkboxes in the existing sections.
|
This one I'd redirect rather than take. observability-and-instrumentation already owns runbooks: it requires every alert to link one and specifies the same three-line minimum (what it means, first query to run, escalation path) that this PR adds. So a Runbooks section in documentation-and-adrs both duplicates that and sits in the wrong skill, ADRs are decision records, runbooks are operational incident docs tied to alerts. If runbooks deserve more depth, expand them in observability where they already live rather than forking a second copy into the ADR skill. |
|
Fair redirect — I see the issue now. The three-line minimum is already anchored in |
|
Closing in favour of #422 which expands the runbook guidance where it already lives in |
|
Superseded by #422, which puts the runbook guidance in observability-and-instrumentation where the alerting rules already require it, and does it in 17 lines instead of 79. That's the right outcome, so closing this one. Thanks for taking the redirect rather than arguing it. |
What this adds
A
## Runbookssection inskills/documentation-and-adrs/SKILL.md, covering:observability-and-instrumentationas the required minimum for alert links)docs/runbooks/, with trigger, likely causes, immediate actions, escalation, and related linksPlus two rationalization rows, two red flags, and two verification checkboxes in the existing sections.
The gap it fills
The
observability-and-instrumentationskill already says: "It links to a runbook — even three lines: what it means, first query to run, escalation path." That's a hard requirement on every alert. Butdocumentation-and-adrs— the skill that teaches what documentation to write and how — has no guidance on what a runbook is or how to write one. Engineers are told to link to a runbook without being taught the artifact.Why here
Runbooks are a documentation artifact, not an observability artifact. The observability skill is the right place to say "link to one";
documentation-and-adrsis the right place to define what it contains, where to store it, and how to keep it current.Non-duplication check
observability-and-instrumentationmentions runbooks as a required alert field but teaches nothing about their content.debugging-and-error-recovery(PR #312) covers the incident response process — declaring severity, stabilising, postmortem. This section is the documentation artifact that enables that process: a pre-written recovery guide rather than a live triage workflow. The two cross-link naturally but teach different things.Checklist
node scripts/validate-skills.js→ 0 errors, 0 warningsobservability-and-instrumentation,shipping-and-launch)skills/documentation-and-adrs/SKILL.md