/sdlc-documentation:02-runbookfrom sdlc-documentation
Produces or updates service operations runbooks covering diagnosis, mitigation, recovery, escalation, verification, and evidence. Owns the named document contract and its acceptance evidence.
Ships in sdlc-documentation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Artefact | Source/provider | Required? | Behaviour when absent |
|---|---|---|---|
| Project _context/, approved requirements, and relevant architecture | Project owner and upstream phase skills | Required | Stop at a gap register; do not invent scope, thresholds, integrations, or owners. |
| Existing artefact, implementation, configuration, and evidence named below | Repository, delivery team, or service owner | Required when updating or assessing | Mark inaccessible items not assessed; do not treat them as passed. |
| Target audience, environment, risk tolerance, and authority | Requester and accountable owner | Required | Produce a read-only outline with explicit assumptions; do not mutate project or production state. |
| Artefact | Consumer | Observable acceptance condition |
|---|---|---|
| Service Operations Runbook | On-call operators and service owners | Each procedure starts from an observable symptom and ends with verified recovery or an explicit escalation. |
| Decision and gap register | Reviewer and downstream phase owner | Every assumption, rejected option, unresolved dependency, waiver, and owner is explicit. |
| Validation evidence | Release or governance reviewer | Checks identify command or method, date, result, evidence location, and all unassessed items. |
| Evidence | Minimum content | Acceptance |
|---|---|---|
| Traceability record | Source artefact, decision, output section, owner | No mandatory decision is source-free. |
| Quality-gate result | Check, expected result, observed result, evidence path | Failures and unavailable checks cannot appear as passes. |
| Review record | Reviewer, date, disposition, open actions | The consumer can reproduce the acceptance decision. |
If files, execution, network, rendering, environment access, fonts, or current evidence are unavailable, return the narrowest useful draft plus a gap register. Label affected checks not assessed, retain the intended acceptance oracle, and state who must supply or verify the missing evidence. Never convert an unavailable check into a pass.
| Choice | Action | Failure or risk avoided |
|---|---|---|
| Evidence is complete and authority is explicit | Choose the procedure from measured symptoms and blast radius and produce the full artefact. | Guess-driven production changes. |
| A required source or approval is missing | Stop the affected branch; record the gap, owner, and unblock condition. | Fabricated requirements or unauthorised action. |
| Evidence conflicts across sources | Preserve both claims, identify the controlling owner, and request a recorded decision. | Silent selection of a convenient but wrong source. |
| A check cannot run in the available environment | Keep its oracle and mark it not assessed; require later execution evidence. | False assurance from capability limits. |
not assessed, preserve the oracle, and name the verifier.Given an approved project source and a conflicting implementation detail, record both with provenance, stop the affected branch, and obtain the accountable owner's decision. Then update the relevant contract, define a reproducible acceptance check, and retain its observed result. The artefact is accepted only when each procedure starts from an observable symptom and ends with verified recovery or an explicit escalation.
This is the second skill in Phase 06 (Deployment & Operations). It produces an operational runbook that defines service overview, incident severity levels, incident response procedures, alert response playbooks, escalation matrices, troubleshooting recipes, and maintenance procedures. The output follows SRE best practices (Google SRE Book) and serves as the primary on-call reference for operations teams during incidents and routine maintenance.
Deployment_Guide.md exists in projects/<ProjectName>/<phase>/<document>/.HLD.md exists in projects/<ProjectName>/<phase>/<document>/ with system architecture and component dependencies.tech_stack.md is present in projects/<ProjectName>/_context/ with technology choices and runtime details.| Attribute | Value |
|---|---|
| Inputs | projects/<ProjectName>/<phase>/<document>/HLD.md, projects/<ProjectName>/_context/tech_stack.md |
| Output | projects/<ProjectName>/<phase>/<document>/Runbook.md |
| Tone | Procedural, actionable, on-call-facing |
| Standard | SRE Best Practices (Google SRE Book) |
| File | Location | Required | Purpose |
|---|---|---|---|
| HLD.md | projects/<ProjectName>/<phase>/<document>/HLD.md | Yes | System architecture, component dependencies, service boundaries |
| tech_stack.md | projects/<ProjectName>/_context/tech_stack.md | Yes | Technology choices, runtime details, infrastructure tooling |
| File | Location | Description |
|---|---|---|
| Runbook.md | projects/<ProjectName>/<phase>/<document>/Runbook.md | Complete operational runbook with incident response, playbooks, and maintenance procedures |
Follow these eight steps in order. Halt and notify the user if a required input file is missing.
Read HLD.md from projects/<ProjectName>/<phase>/<document>/ and tech_stack.md from projects/<ProjectName>/_context/. Log the absolute path of each file read. Halt if any required file is missing.
Document the operational profile of each service component:
quality_standards.md if available)Establish severity classifications with response time targets:
Document the five-phase incident lifecycle:
For each critical metric, define an alert response playbook:
Document who to contact per severity level:
Document common troubleshooting scenarios:
Write the completed document to projects/<ProjectName>/<phase>/<document>/Runbook.md. Include a contact list appendix. Log the total count of playbooks, troubleshooting recipes, and maintenance procedures.
The generated Runbook.md shall contain these sections in order: Document Header (project name, date, version, standards), 1. Service Overview, 2. Incident Severity Levels, 3. Incident Response Procedure, 4. Alert Response Playbooks, 5. Escalation Matrix, 6. Troubleshooting Recipes, 7. Maintenance Procedures, 8. Contact List.
| Pitfall | Remedy |
|---|---|
| Playbooks without diagnostic commands | Every alert playbook shall include at least one diagnostic command |
| Missing escalation timelines | Every severity level shall define a maximum response time |
| Troubleshooting recipes without resolution steps | Every recipe shall end with a verified resolution action |
| No postmortem template | Incident response shall include a postmortem process with action items |
Runbook.md exists in projects/<ProjectName>/<phase>/<document>/ with all eight sections populated.| Direction | Skill | Relationship |
|---|---|---|
| Upstream | 01-deployment-guide | Consumes deployment context for rollback procedures |
| Upstream | Phase 03 (01-high-level-design) | Consumes HLD.md for component topology |
| Parallel | 03-monitoring-setup | Alert definitions inform playbook thresholds |
| Downstream | 04-infrastructure-docs | Feeds operational context into infrastructure documentation |
logic.prompt -- Executable prompt containing the step-by-step runbook generation logic.README.md -- Quick-start guide for this skill.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub peterbamuhigire/chwezi-sdlc-documentation --plugin sdlc-documentation160 skills in this plugin
/01-deployment-guideUse when producing or updating deployment guide for release prerequisites, migration choreography, verification, rollback, and ownership. Use runbook for the neighbouring concern; this skill owns the named document contract and its acceptance evidence./01-high-level-designUse when approved requirements need a system-level architecture with boundaries, components, critical flows, deployment topology and ADRs, or an as-built design must be recovered from existing code; use system-overview for orientation, low-level-design for module internals, and infrastructure-design for infrastructure depth./01-initialize-srsUse when writing a new SRS (software requirements specification) for a business system or module: create the Waterfall SRS workspace, IEEE structure, identifiers and source context; use context-engineering next for boundaries and actors.Other plugins' skills for the same job