Skip to main content

write-a-runbook-step

Turn one operational action into a safe, verifiable runbook step with prerequisites, expected observations, failure handling, and recovery. Use when documenting a repeated diagnostic, mitigation, deployment, or maintenance action.

来源信息

仓库
protosphinx/sphinxstack
最近来源活动
2026年7月29日 13:55
检测到的 SKILL.md 语言
英语
星标
3
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
write-a-runbook-step
category
write
description
Turn one operational action into a safe, verifiable runbook step with prerequisites, expected observations, failure handling, and recovery. Use when documenting a repeated diagnostic, mitigation, deployment, or maintenance action.
# write-a-runbook-step Document one decision-sized operation. The reader should know whether to run it, what success looks like, and where to stop if the system responds differently. ## Inputs - Gather the exact command or interface action, environment, permissions, current procedure, and owning service. - Identify side effects, dependencies, expected duration, rate or cost, failure modes, and rollback. - Use a safe test environment or approved rehearsal window. ## Procedure 1. Name the purpose and observable condition that justifies the step. 2. List required role, environment, access, tools, inputs, and pre-checks. 3. Write the exact command or action using explicit placeholders and safe quoting. 4. Show the expected output, state transition, and normal duration. 5. Explain how to distinguish success, no-op, retryable failure, and unsafe failure. 6. Add stop conditions and the escalation owner for unexpected output. 7. Document reversal, cleanup, or reconciliation when state changes. 8. Run the step in the approved environment and capture evidence. 9. Ask another operator to follow the text without oral context. 10. Link the broader runbook and record owner and review trigger. ## Boundaries Never embed credentials, production secrets, customer data, or ambiguous destructive targets. Do not tell an operator to ignore errors or repeat an uncertain state-changing command. Require explicit approval where the real operation requires it. ## Done - Preconditions, authority, command or action, and expected observation are written - Success, failure, stop, escalation, and reversal behavior have been tested - Placeholders and sensitive inputs are safe and unambiguous - A second operator completed the step from the document and recorded the result
在 GitHub 查看