Write or rewrite instructions that must be followed exactly and checked: SOPs, runbooks, deployment and rollback plans, incident procedures, checklists, and multi-step plans or prompts for AI agents. Each step gets a precondition, a checkable result, and a failure path that ends safely. Use when the user asks for a procedure, runbook, SOP, step-by-step plan or agent instructions, or wants an existing procedure made verifiable, even if they don't name this skill.
Ships in agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Write instructions in natural language that a person or an agent can follow as a normal procedure, and that a model or parser can translate into formal statements without guessing. This is not a DSL. It is a controlled natural language: ordinary English with strict sentence patterns.
The underlying model is the Hoare triple: {precondition} step {postcondition}, plus invariants that hold throughout and a goal that defines done.
Every claim-bearing sentence uses exactly one of these patterns:
| Pattern | Formal meaning |
|---|---|
| "This is done when [condition]." | Goal |
| "At all times, [condition]." / "Never [action]." | Invariant |
| "Before [step], [condition] must be true." | Precondition |
| "[Imperative action]." | Action |
| "After [step], [condition] is true, checked by [method]." | Postcondition with its checker |
| "If [condition] fails, [action]." | Failure path |
[TBD: what is missing] in its place and list every TBD at the end.This is done when 100% of traffic runs on v2 and the health endpoint returns 200 for 5 consecutive minutes, checked by
curl https://api.example.com/healthz. At all times, no production table is dropped, checked by the database audit log. At all times, no secret appears in logs, checked by the log scanner. If any invariant breaks, roll back and escalate to Priya Shah.Before building, every unit test must pass in CI. Build the v2 image. After building, the v2 image digest is in the registry, checked by
crane digest registry.example.com/api:v2. If the build fails, abort.Before the canary, the v2 image digest must be in the registry. Route 5% of traffic to v2. After the canary, the v2 error rate is under 1% for 10 minutes, checked by the api-errors dashboard. If the v2 error rate check fails, roll back and abort.
Before promoting, the v2 error rate must be under 1% for 10 minutes. Before promoting, Priya Shah must approve, checked by her sign-off on the release ticket. Route 100% of traffic to v2. After promoting, the health endpoint returns 200 for 5 consecutive minutes, checked by
curl https://api.example.com/healthz. If the health endpoint check fails, roll back and escalate to Priya Shah.
[TBD: ...] and listed at the end, with nothing invented?Fix any failure before delivering.
If asked to convert the prose to formal form, map each sentence by its pattern into:
GOAL <condition>
INV <condition>
S<n> <step>
PRE <condition>
DO <action>
POST <condition> CHECK <method>
FAIL <action>
Then report any step missing a PRE, DO, POST, CHECK or FAIL as a defect, and any TBD as an open item.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
13 skills in this plugin
/adhdUse when the user asks for ADHD-friendly answers, says they have ADHD, feels overwhelmed, loses focus in long replies, or asks for responses that are shorter, easier to scan, or "just tell me what to do." Shapes replies so the answer comes first, steps are small and numbered, and nothing buries the next action./bruhRestate the last message in plain human language, with no jargon./create-prGroup uncommitted changes into logical conventional commits, push them to a feature branch, and open a GitHub pull request with a release-please friendly description. Use when the user types /create-pr or asks to commit their changes and open a PR./evidence-reviewReview a code change against its spec and the repo's own conventions, and report only findings you have proven: reproduced bugs, unmet requirements, code nothing needs, and broken house rules, ending in a PASS or FIX verdict./explainExplain any topic simply for a newcomer — a concept, a system, a process, or part of a codebase — and save it as an HTML page with compiled architecture, workflow, sequence, data-flow, and lifecycle diagrams. Use when the user types /explain <topic>./minimalistUse before writing, editing, fixing, refactoring, or reviewing ANY code, including small routine changes you could make without help: those are exactly where over-building slips in. Keeps the change minimal: YAGNI, reuse what the codebase already has, stdlib and native platform features before custom code or new dependencies, shortest working diff. Also use when the user asks for the simplest way, invokes YAGNI, or complains about over-engineering or bloat. Not for non-coding requests.
/agent-skills:write-instructionsfrom agent-skills
npx claudepluginhub itsmostafa/agent-skills --plugin agent-skills