Skip to content

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.

Copy the prompt and paste it into the AI assistant you already use.

Why copying a Confluence page straight into SKILL.md fails

  1. 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.

  2. 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.'

  3. 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.

  4. 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.