Transform dusty Confluence and Notion engineering runbooks into executable SKILL.md packages
Human wiki pages mix outdated screenshots, tribal jargon, and implicit safety checks. Refactor static SOPs into testable agent workflows.
Why copying a Confluence page straight into SKILL.md fails
- 01
Replace UI screenshot directions with CLI or API equivalents
Humans follow circled admin-panel screenshots; agents succeed 10x more reliably when given exact gh, aws, or curl commands.
- 02
Make implicit 'sanity check that...' steps concrete
Human runbooks say 'verify staging looks healthy'; skills need 'confirm HTTP 200 on /healthz and 0 error logs for 60s.'
- 03
Insert explicit pre-flight environment checks on step 1
Verify active AWS profile, kubectl context, git branch cleanliness, and required CLI versions before running any workflow step.
- 04
Mark human-approval checkpoints unambiguously
Separate autonomous diagnostic steps (1–4) from state-mutating production steps (5–6) requiring explicit operator confirmation.
How it works in practice
Runbook conversion test
Convert 6-page Notion 'Failed Webhook Replay SOP' into webhook-replay-skill; test on 25 staged replay incidents.
Raw wiki vs refactored SKILL.md
Raw Notion export pasted as skill: 44% completion (stalled on vague 'check DLQ depth looks normal' + skipped prod env check). Refactored SKILL.md + preflight.sh: 96% safe completion, 100% pause before live replay.
Translating fuzzy human prose ('looks normal') into numeric thresholds and pre-flight scripts unlocks reliable runbook execution.
Questions and answers
Which internal runbooks make the best first SKILL.md candidates?
Start with high-frequency, read-heavy workflows: postmortem timeline assembly, failed job diagnosis, release changelog prep, and schema validation.
How do we keep SKILL.md runbooks from going stale like wiki pages?
Store skills directly inside the service git repository alongside code so PR CI checks require updating the skill whenever CLI flags change.
Can humans still read SKILL.md as documentation?
Absolutely—well-written SKILL.md files double as the cleanest, most up-to-date executable runbooks new hires have ever read.
Related tasks in this category
See all in Authoring & Publishing SKILL.md Packages-
Write SKILL.md YAML frontmatter descriptions that trigger reliably without hijacking unrelated chats
If your frontmatter description is vague, Claude Code and Cursor ignore your skill completely—or fire it on every generic Python question.
-
Organize modular SKILL.md folders with scripts/, references/, and assets/ following open specs
Follow the standard Agent Skills directory layout so your package installs cleanly across Claude Code, Codex, Cursor, and CI harnesses.
-
Enforce strict JSON Schema and Pydantic validation inside skills feeding downstream pipelines
One stray 'Here is the JSON you requested:' preamble breaks downstream webhooks. Combine schema constraints with local validator loops.
-
Apply semantic versioning, compatibility tags, and benchmarked changelogs to published skills
Silent force-pushes to a shared SKILL.md break downstream team workflows overnight. Treat skill releases like real software packages.
-
Adapt SKILL.md packages cleanly across Claude Code, OpenAI Codex CLI, Cursor, and Windsurf
Your team uses three different AI IDEs and CLI agents. Author once with clean cross-harness conventions instead of maintaining four drifted copies.
-
Author crisp negative boundaries in SKILL.md to stop unasked-for refactors, commits, and scope creep
You asked for a two-line bug fix; the agent reformatted 14 files, upgraded TypeScript, and committed to main. Fix overreach with actionable boundaries.