write-runbook
Skill0 starsChanged 19 days agoMITView on GitHub
Write operational runbooks for recovery, troubleshooting, deployment, and migration, with verified prerequisites, phase gates, commands, expected evidence, rollback limits, checkpoint recovery, and escalation. Use when asked to create or revise a runbook, recovery procedure, deployment checklist, operational playbook, migration guide, or troubleshooting procedure. Not for executing production operations, a postmortem (write-postmortem), or an implementation plan (write-plan).
5 other projects use a version of this.
Adopted by
Most recently taken up by
- rpraharaj/ai-sdlctheir own version, first seen Nov 1, 2026
- Beakpoint-Insights/roosttheir own version, first seen Nov 1, 2026
- Ionate-Technologies/indium-agentkittheir own version, first seen Oct 20, 2026
- Indium-AI-Labs/indium-agentkittheir own version, first seen Oct 11, 2026
- MaheshAwasare/claude-skills-protheir own version, first seen May 4, 2026
Used with
Projects with it also use incident-triage, review-change and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
testified-ossSkillincident-triage
Triage production incidents with severity assessment, root cause hypothesis, impact analysis, and escalation recommendations. Use when analyzing outages, errors, or production issues.
Also in 3 projects that use this
thlaureSkillreview-change
Use this skill when the user asks for a code review, a correctness pass, a check before PR, or asks whether a Signalist change follows project conventions.
Also in 3 projects that use this
Microsoft AzureSkillrelease-notes
Author and update release notes for Azure App Configuration libraries and providers. USE FOR: write release notes, add release note entry, update release notes, draft release notes, new version release notes, format release notes. DO NOT USE FOR: generating changelogs from git history, writing internal engineering notes.
Also in 3 projects that use this
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- Beakpoint-Insights/roost★ 32same name
- Indium-AI-Labs/indium-agentkit★ 18same name
- Ionate-Technologies/indium-agentkit★ 17same name
- MaheshAwasare/claude-skills-pro★ 1same name
- rpraharaj/ai-sdlc★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository57 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/comments.mdcCursor rule
- .cursor/rules/commit-messages.mdcCursor rule
- .cursor/rules/git-workflow.mdcCursor rule
- .cursor/rules/manage-stack.mdcCursor rule
- .cursor/rules/no-worktrees.mdcCursor rule
- manage-stackSkill
- convert-as-skillSkill
- create-agentSkill
- create-agents-mdSkill
- create-commandSkill
- create-hookSkill
- create-ruleSkill
- create-skillSkill
- retrospectiveSkill
- super-architectureSkill
- super-cachingSkill
- super-elixirSkill
- super-nodejsSkill
- super-protobufSkill
- super-tech-blueprintSkill
- atomic-semantic-commitSkill
- code-reviewSkill
- create-bruno-collectionSkill
- create-documentationSkill
- create-ticketsSkill
- ready-specSkill
- write-adrSkill
- write-changelogSkill
- write-mr-descriptionSkill
- write-planSkill
- write-postmortemSkill
- noslopSkill
- output-saversSkill
- safe-refactorSkill
- tddSkill
- verifySkill
- get-movingSkill
- later-listSkill
- standupSkill
- challenge-meSkill
- codebase-learnerSkill
- researchSkill
- second-opinionSkill
- traceSkill
- color-kitSkill
- design-system-kitSkill
- diagramSkill
- infographicSkill
- product-polish-workflowSkill
- prototype-wireframeSkill
- ui-ux-kitSkill
- evidenceSkill
- find-skillsSkill
- handoffSkill
- rumblingSkill
- use-levistackSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 10 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 40
Write for an operator who must act under pressure.
- Distinctive: line 51
Write the shortest usable sequence.
- Distinctive: line 55
Put a destructive or irreversible consequence immediately before its action.
- Distinctive: line 63
Use a troubleshooting table for branching symptoms.
- Distinctive: line 71
Use the local format, or start from the runbook template.
- Distinctive: line 83
Use exact commands, paths, units, and system names.
- Distinctive: line 87
Check commands against installed tools, scripts, tests, or documented interfaces.
- Distinctive: line 90
Do not contact production, execute a destructive command, or reproduce an outage merely to prove prose.
- Distinctive: line 91
Check completion, stop, rollback, and escalation conditions against the source.
- Distinctive: line 95
Keep publishing, announcements, external ticket updates, and execution outside the authoring task unless separately requested.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Write a runbook
Write for an operator who must act under pressure. A documentation task does not authorize the operation itself.
Establish the operating context
- Identify the triggering symptom or scheduled task, affected system, intended outcome, operator role, and limits. Use the existing runbook format and document location. Record its owner and review date. Keep those separate from the last actual exercise and its result. Add recurrence only when the task has an established schedule.
- Find an existing procedure before creating a second owner. Read current scripts, configuration, tests, operational records, and relevant Git history. Check earlier incident lessons and plans where they explain dependencies. Record source locations and the revision checked. Search connected knowledge sources read-only when relevant and available.
- Verify prerequisites against the actual tooling. Identify the target account, environment, service, release artifact, working directory, and required access where relevant. Include current health, backups, and dependencies where they matter. Name the established escalation route and confirm contact currency from available records. Leave unavailable values explicit and say how to obtain them.
- Continue within the user's authorized documentation scope without another approval pause. Keep service code unchanged. Execution of production or destructive steps needs its own authorization.
Build the procedure
Write the shortest usable sequence. For every material action, provide the exact command or UI action, expected evidence, and what to do when the result differs. Keep prerequisites and conditions before the step they guard.
Give steps stable identifiers. At a phase boundary, state what evidence permits continuation, what stops the procedure, and who decides when the result is uncertain. Derive metric thresholds, observation windows, backup requirements, and rollout increments from the target service's policies or configuration. Missing values are unresolved gates, not permission to substitute generic numbers.
Put a destructive or irreversible consequence immediately before its action. Explain a required order when reversing steps can cause failure. Do not repeat the full sequence in a second overview.
Give a stop condition and recovery path for each state-changing stage. State when rollback cannot restore data or undo an external effect. Do not invent a rollback command to fill a template.
Document whether a step can be repeated safely. After an interruption or timeout, require the operator to inspect current state and reconcile any uncertain outcome before resuming. A saved checkpoint identifies prior evidence; it does not prove that the target still has that state. Explain compensation or escalation where replay is unsafe.
Finish with observable service and user checks. Include cleanup or a monitoring period when supported by the system. Name the evidence that allows the operator to stop or escalate.
Use a troubleshooting table for branching symptoms. Start with the searchable symptom, give a cheap diagnostic, then the recovery action and its success check. Avoid speculative causes without a way to distinguish them.
For a migration, add old-to-new mappings, caller changes, cutover conditions, rollback limits, and treatment of unmigrated callers. Record dates and retirement conditions only when established.
For a deployment or cutover, read deployment.md for preflight, promotion, rollback boundaries, and handoff. When the document needs an exercise record or must learn from an interrupted attempt, read run-evidence.md. These references describe the operator's evidence requirements; they do not authorize execution.
Output shape
Use the local format, or start from the runbook template. Its minimum shape is:
Task and when to use it
Scope, environment, access, prerequisites
Procedure: action, expected evidence, stop or recovery condition
Completion checks
Recovery and escalation
Phase gates and restart conditions where applicable
Last exercise: date, environment, branches checked, limitationsUse exact commands, paths, units, and system names. Label placeholders and explain where the operator obtains their values. Exclude credentials and personal data from examples.
Verify
- Check commands against installed tools, scripts, tests, or documented interfaces. Exercise safe paths in a local or disposable environment when available.
- Distinguish syntax checks, dry runs, tests, and live exercises. Label examples and branches that were not run. A dry run does not prove a destructive rollback works.
- Define the meaning of tool outcomes. A required probe that failed, never ran, is unconfigured, or rejected its arguments cannot pass a gate. Record partial coverage separately from full success. Confirm that logging or capture pipelines preserve the actual command result; an HTTP client exit alone may not establish the expected HTTP or business outcome.
- Do not contact production, execute a destructive command, or reproduce an outage merely to prove prose. If only production can exercise a branch, retain a draft or explicit verification limitation.
- Check completion, stop, rollback, and escalation conditions against the source. Open links and review the procedure as an operator without author context.
- Where possible, have a reader unfamiliar with the task rehearse the safe path. Record which prerequisites or branches could not be exercised. Update the procedure from confirmed deviations without overwriting earlier execution evidence.
- Deliver the document, evidence snapshot, branches exercised, and remaining limitations. An untested recovery sequence remains a draft or carries an explicit limitation.
Keep publishing, announcements, external ticket updates, and execution outside the authoring task unless separately requested. An execution-only request belongs to the applicable operator workflow; do not disguise it as a documentation check or impose a new approval count of your own.
Behavior scenarios are in evals/evals.json.
Related skills
verify: investigate a failing check or run safe authorized validation.write-postmortem: record an incident after stabilization and preserve its recovery lessons.write-plan: plan implementation work that makes a proposed operational path possible.create-documentation: document ordinary product use and reference material.polyglot-copywriter: clarify operator instructions while preserving exact commands and consequences.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

