Runbook Generator Skill
Status: Operational
Skill Category: Meta (Documentation)
1. Skill Purpose
The runbook-generator reduces documentation friction by generating standardized templates for operational procedures. It ensures that every new task has a corresponding "How-To" for human operators.
2. Invocation Contract
Standard Grammar
code
Invoke runbook-generator Mode: <REAL_RUN | DRY_RUN> Target: docs/runbooks/ ExecutionScope: mode: all Options: name: "<runbook_filename>" phase: "<target_phase_number>" template: "<standard | emergency | setup>"
3. Supported Modes & Selectors
- •REAL_RUN: Creates a new
.mdfile in the target directory with prepopulated headers. - •DRY_RUN: Prints the template content to stdout without creating a file.
4. Hook & Skill Chaining
- •Chained From: Triggered as a Post-Execution Hook for
InfrastructureorWorkflowtasks. - •Chained To: Manual human review.
5. Metadata & State
- •Inputs: Runbook name, phase context, documentation_contract.md.
- •Outputs: New Markdown runbook template.
6. Invariants & Prohibitions
- •Skeleton Only: Does NOT automatically write the steps; generates the structural requirement only.
- •Alignment: Must follow the headings defined in the system's documentation standard.
- •No Auto-Execution: Generated runbooks MUST be reviewed by a human before being marked as
SUCCESSin the task graph.
7. Example Invocation
code
Invoke runbook-generator Mode: REAL_RUN Target: docs/runbooks/ ExecutionScope: mode: all Options: name: "market_hours_init" phase: "3" template: "standard"