/sdlc-workflow:wf <slug> | <intake|shape|design|slice|plan|implement|verify|review|handoff|ship|retro|probe|yolo|campaign|orchestrate|loop|status|project|docs> [args...]from sdlc-workflow
The single entry point for the SDLC lifecycle. Runs one operation per key — the nine stages (intake → design → slice → plan → implement → verify → review → ship → retro), the drivers (probe, yolo, campaign), the loops (`loop`), navigation (`status`), and the routers (`project`, `docs`) — and writes its artifact to the folder of the workflow, `<wf-dir>/`. `intake` also runs the entry modes, extension, and the maintenance words; `review` is the whole review surface. Plain words and questions about `/wf` go to the router.
Ships in sdlc-workflow. 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.
You are the single SDLC dispatcher. /wf <key> [args] runs one operation per key, /wf <slug> runs the next step of that workflow, and other words go to the router. Identify the key, load the reference that Step 0 names, and follow it.
Before the reference, read the contracts that the dispatch names on its contracts: line, in that order. They bind the key and every sub-agent you spawn. With no contracts: line, read every row.
| Contract | Read when | It binds |
|---|---|---|
| _host-invocation.md | always: "Every host" and the section of your host | the host contract, for every reference you load |
| _decisions.md | always | each rule of the project, each live steer and each note for your slice (decide list --kind steer,note --slice <slice> --rules; with no slice, --kind steer --rules) |
| _chat-return.md | always | the chat narrative |
| _records.md | the key reads or writes a record | scripts write the record files; an agent writes a draft and puts it |
| _requires.md | the reference has a ## Requires table | its inputs, read before a stage artifact write |
| _talk.md | the run has messages | the messages for your slice (talk read --as <stage>:<slice> --open): they inform or request, never bind, never above a mandatory gate; give the relevant ones to each sub-agent |
| _subagents.md | the key starts sub-agents | "Rules that hold under every host" and the section of your host |
| _workflow-rules.md | the key commits or makes a worktree | the code of another commit runs only in a scratch worktree that wf_act { "op": "worktree add" } (CLI: wf.mjs worktree add) makes, removed before the stage ends |
| _output-boundary.md | the key writes outside text (a PR, an issue, a release note) | every external-facing output |
When the wf tools are loaded (wf_context, wf_read, wf_query, wf_run, wf_step, wf_decide, wf_wait, wf_job, wf_act, wf_person), make every call of wf with them. The references show each call as the tool call, then (CLI: …): the same operation on the command line. Without the tools, run the CLI form. Both write the same records. A tool call needs no <root>: the server runs in the project.
<skill-dir> is the folder of this SKILL.md: the folder that the host showed when it loaded it, else the skill-dir: line of your prompt, a brief or the dispatch, else the output of wf_query { "op": "skill-dir" } (CLI: node "$HOME/.sdlc/bin/wf.mjs" skill-dir). Every node "<skill-dir>/scripts/…" and bare wf.mjs command needs it. Never search the disk for wf.mjs, a script or the plugin folder (no find, no Get-ChildItem -Recurse, no glob from a drive or the filesystem root): such a search does not end, and fills the memory of the machine. When none gives the folder, stop and ask the person. Give the skill-dir: line to each sub-agent you start.
Run this check before any read or write. Its result is your first visible output.
$ARGUMENTS on whitespace into tokens. With the wf tools, call wf_context { "argv": ["<token>", "…"] }. Without them, run one shell call, with each token in single quotes: wf_context { "op": "dispatch", "host": "<claude|codex|pi>", "token": ["'<token>'","…"] } (CLI: node "<skill-dir>/scripts/wf.mjs" dispatch "<projectRoot>" --host <claude|codex|pi> -- '<token>' …). In the shell call, pass a token as it is only when it matches ^[A-Za-z0-9#._/-]+$, and pass every other token as '@'. Never put any other text of the person into the call.wf dispatch: line. Print it, with your own token in place of each @. The tokens from args= on are the $ARGUMENTS of the reference, unchanged.reason: with reference=reference/route.md: the tokens did not fit a form of the key. The router gets every token and the reason.first-input:: the reference reads this file first.reason: ask sub-key: render the sub-key: rows and ask which one the person wants. STOP.reason: host gap: …: tell the person that the key does not run on this host and why. STOP.contracts:: the contracts of this call (Role). Read them before the reference. With short base on the line, read the brief of the stage first: its ## Short base section states the rules of the contracts that the line leaves out.host-note:: a part of the key that runs in another form, or does not run, on this host. Apply it.alias-of: <key>: the key is an old name that stays for this release only. Tell the person in one line to use /wf <key> from now on, then run the reference.next-of: <slug> → /wf <step>: the person typed only a slug. Say in one line that the next step of <slug> is /wf <step>, then run it. The args= of the first line are the arguments of that step. When the line ends with a reason in brackets, the workflow has no next step to run: run /wf status <slug> and give the reason.close-ask: <slug> (<why>): the branch of an open workflow is merged. Before the key runs, ask the person per _gate-question.md: "The branch of <slug> is merged (). Close the workflow?" When there are several close-ask: lines, ask per "A list of items" of _gate-question.md: "Close all (Recommended)" or "Go through them one by one". On yes, run wf_act { "op": "close", "slug": "<slug>" } (CLI: node "<skill-dir>/scripts/wf.mjs" close "<projectRoot>" <slug>). On no, run the same command with --decline. Then run the key.first-run: reference/setup.md: the repo has no .ai/ folder. Run setup.md first, then the key.wf-dir: <folder>: the absolute folder of the workflow that the call names. Each <wf-dir>/ path of a reference is in this folder, the drafts in <wf-dir>/.draft/ too. Give the line to each sub-agent you start.skill-dir: <folder>: the absolute folder of this skill, the <skill-dir> of every reference. Keep it for the run, and put it first in the prompt of each sub-agent you start.records: ask … or records: stop …: the records need the person. Act on the line per "Records lines" of _records-repo.md before the key runs. A stop line STOPS the run./wf on your own (the person's last message did not type this call), follow _consent.md before anything else. Only the answer of the person in the question tool grants the consent.Skip this step while the reference is route.md; the router runs it after the yes. Run git rev-parse --show-toplevel from the project root. When it fails, ask per _git-init.md before you go on; never run git init without the yes.
When the work turns on how a dependency behaves, read its real source per reference/_source-study.md.
$ARGUMENTS unchanged. Do not summarize, paraphrase, or skip. Honor its ## Requires table and every artifact write it describes.route.md, design, docs, ship-plan.md, observability.md) resolve a sub-command and load a further reference. Follow that chain.After the reference's logic completes, end with this block. If the reference stopped with an error message, the error replaces the summary.
wf <key> complete: <slug-or-scope>
<Narrative per _chat-return.md, section The narrative.>
Deltas: <per _chat-return.md>
Artifacts: <paths created or modified, or "none">
Next: <one concrete invocation, or "Done">
Artifacts lists every path this run wrote. Read-only keys write none; status may still reconcile INDEX.md and status recap writes 90-recap.md, so name those. Next is one invocation, or Done after ship, retro, or a close.Deltas: line, and decide when to omit each, per _chat-return.md.agents/openai.yaml (opens in a new tab)canvas/canvas-inspect.js (opens in a new tab)canvas/canvas-library.css (opens in a new tab)canvas/canvas-library.js (opens in a new tab)canvas/canvas-mount.js (opens in a new tab)canvas/canvas-screen.css (opens in a new tab)canvas/canvas-shell.css (opens in a new tab)canvas/canvas.css (opens in a new tab)canvas/canvas.js (opens in a new tab)canvas/index.html (opens in a new tab)keys.json (opens in a new tab)reference/_additive-write.md (opens in a new tab)reference/_audit-ledger.md (opens in a new tab)reference/_autonomy-guards.md (opens in a new tab)reference/_chat-return.md (opens in a new tab)reference/_check-budget.md (opens in a new tab)reference/_compressed-slice.md (opens in a new tab)reference/_consent.md (opens in a new tab)reference/_control-file-ownership.md (opens in a new tab)reference/_decision-classes.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/consultConsult external models as READ-ONLY oracles — plan critique, code/implementation review, design analysis, diagnosis, second opinion. Fans out to all available providers by default (codex, claude, gemini, openai; a provider keyword narrows to one). Returns a panel of opinions and never edits the repo. The model may invoke it autonomously when a second opinion adds material value; model-initiated runs pin a free subscription CLI (codex/claude)./diataxisWrite or review documentation using the Diátaxis framework. Use when the user asks for a tutorial, how-to guide, technical reference, explanation/conceptual doc, README, a documentation plan, or a review/audit of existing docs. Classifies the request into the right quadrant and enforces boundary discipline between them (learning vs task vs lookup vs understanding). For documentation produced as a stage of an /wf lifecycle workflow, use /wf docs instead./study-sourcesnpx claudepluginhub jayteealao/agent-skills --plugin sdlc-workflow