/cf:develop [feature-name|specs-directory-path] [task-file] [--flash] [--parallel [N]] [--notes]from CafeKit
Implements explicitly requested features or tasks with real verification and closeout. Invoked by user with feature name or task file. Supports --flash, --parallel, and --notes flags.
Ships in CafeKit. 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.
Implement only the explicitly requested scope. For a process-first feature, plan.md and flat tasks are the durable packet; one closeout owner coordinates verification, review, sync, and docs impact without borrowing evidence. Develop never starts merely because Specs finished. The user invokes it. Inside a vibe run, the vibe-run exception in the state-sync rule applies.
/cf:develop <feature>
/cf:develop specs/<feature>
/cf:develop <feature> task-02-<slug>.md
/cf:develop <feature> --flash
/cf:develop <feature> --parallel [N]
/cf:develop <feature> --notes
--notes is opt-in. Only then load references/implementation-notes-template.html; record decisions, scope exceptions, risks, gaps, and verification limits. Never create it by default.
Before any state mutation, reject --flash combined with --parallel:
node ${CLAUDE_PLUGIN_ROOT}/scripts/workflow-policy.cjs --flash --parallel --json
The pair exits 2 before a task edit, receipt, worktree, subagent, or commit. Do not reproduce it with a looser parser.
specs/<feature>/plan.md plus flat task-NN-*.md; an explicit task path wins.done with a valid current inline Receipt.Ambiguity, overlapping ownership, a dependency cycle, or a missing Verification Plan is a blocker. Do not guess.
When line two is Specs-Contract: process-first-ready-v1, reuse the accepted GATE-SCOPE/GATE-REVIEW. Perform only a narrow freshness scout for target revision, scope drift, ownership conflict, and dependency/state changes. Reopen GATE-SCOPE only for evidenced scope drift; do not research, replan, or add a routine user gate before a real blocker or GATE-DONE. This is a source instruction contract, not a parser/runtime or live-model guarantee; live-model adherence is [UNVERIFIED] without a host invocation.
Load the plan index into working context once. Later byte rereads are narrow drift checks; load only the active task's referenced coverage-profile rows, Outcome, Scope, Ownership, Steps, Acceptance, Dependencies, Verification Plan, Failure Protocol, owned code, and consumers.
Reread current plan/task bytes before each selection and controller write. Concurrent Develop invocations are unsupported; detected state, task, or owned-path drift stops before any Status or Receipt write.
| Current bytes | Feature mode | Explicit task mode |
|---|---|---|
More than one in_progress | Fail-stop; name every active task. | Fail-stop; do not choose among them. |
Exactly one in_progress | Resume exactly that task. | Recover it only when it is the exact target; otherwise stop. |
Next row is paused | paused stops chaining; report and stop, never skip past it. | Report the target and stop. |
Row is blocked or has a bad dependency | Never select it; blocked is not dependency-valid. | Report the blocker and stop. |
Target is done | Continue queue selection only after validating its Receipt. | Report terminal state without mutation and stop. |
| No task is active | Select the first dependency-valid pending row in plan.md order. | Start only the exact pending target when dependencies are valid. |
| Status is missing, duplicate, or unknown | Stop as malformed state. | Stop as malformed state. |
Feature mode repeats this selection only after the current task closes. Specific-task mode never touches a sibling and returns after its successful sync without chaining or GATE-DONE.
The controller sets the selected task's single Status: to in_progress. Implement its Outcome and Acceptance only. Keep one unblocked task at a time; never start the next before proof, review, and sync finish for the current task.
--parallel [N])Load references/parallel-waves.md. Require disjoint writes, satisfied dependencies, isolated worktrees, a bounded wave, and one controller writer; otherwise work sequentially.
--flash)Load references/quality-gate.md. Flash is an explicit speed trade-off, never completion: run a cheap preflight, skip dedicated tests, keep Status: in_progress with FLASH_UNVERIFIED and the blocker awaiting /cf:test <feature>, do not unblock dependents or report PASS, and stop this invocation without chaining. Only a later explicit non-Flash invocation may recover the task. It treats Flash output as ephemeral, inspects current bytes and the owned diff, and obtains fresh canonical proof through the trusted sync-finalize path. Never weaken, delete, or rewrite tests to make Flash look complete.
Trace entrypoints, callers, dependents, registration, errors, and owned files. Read the test or probe that will judge this task before implementing against it. Compilation does not prove an unmounted UI, unregistered route, uncalled service, or missing consumer.
For an interrupted in_progress task, preserve and inspect current owned changes; discard ephemeral, remembered, or prior-attempt proof; compare unmet Acceptance against current task bytes and owned diff. Do not blindly replay a non-idempotent mutation. Resume only unmet work, then run fresh verification.
Unless under --flash or the command costs money or writes artifacts, run the task's exact Verification Plan command once before changing anything and expect it to fail, except in the refactor path below; this pre-change run is not a repair round.
Passing before any change, outside a resumed task, means the plan cannot judge the work and is a blocker, except in the refactor path below; so is a failure naming something other than the unmet Acceptance, which is a blocker to raise, not a defect to work around while implementing. A failure from the command itself — a wrong path, a missing tool or module, the environment — is BLOCKED, not FAIL, even when the runner reports not ok and even when the Acceptance or a test file shows the right command: set the task's single Status: to blocked with a Blocker: line naming the command and its error, write no Receipt, revert any edit made in this run, and report; you may suggest a corrected command for the plan, but never run it as proof.
Refactor path: it applies only when the task references at least one CP row in its ## Coverage and every row it references, read in plan.md ## Coverage profile, lists only refactor under Change kinds. There the pre-change run must pass, and a pre-change failure is a blocker. Before closing, run the Verification Plan's Counterexample on a disposable copy below a temporary root and record in the Receipt that it failed there; if it does not fail there, the task does not close on the refactor path and is treated as a regular task. The owned diff must not edit a test or assertion file; a characterization test belongs to an earlier task.
Honor Scope, Ownership, Acceptance, and Dependencies. Do not silently replace named contracts; scope expansion requires evidence and a return to GATE-SCOPE, not implementation convenience. Load references/subagent-patterns.md when dispatch helps; only the controller writes Status or Receipt.
The test owner executes each exact Verification Plan and records real output. The review owner evaluates correctness, security, scope, and reachability without manufacturing proof. Use PASS | PASS_WITH_WARNINGS | FAIL | BLOCKED; only literal PASS can close.
Load references/quality-gate.md. Remediate an observed failure (a blocked Command is not a failure to remediate), then rerun only affected proof/review. Do not blind-retry a blocked environment. One repair round is one observed failure plus its repair and rerun, from proof or from review alike. After three failed repair rounds, stop and ask the user.
The Receipt is written last, after proof and review have both passed; writing it earlier and reopening the task is a defect, not a shortcut. After a real pass, the controller writes the task's final inline ## Receipt with Verification: PASS, exact Command, Exit: 0, Base: and Head: copied from the Base and Head fields of node ${CLAUDE_PLUGIN_ROOT}/scripts/provenance.cjs --project-root . --specs-root specs --spec-file <task file> --feature-name <feature> --session <any label> --json run after the last change outside the specs root (never typed or computed by hand), non-empty current output in a fenced block, and required negative/reachability/artifact proof; then it sets Status: done and only implemented checkboxes. Missing, stale, contradictory, zero-test, placeholder, marker-only, skipped, or remembered proof is unfinished.
Reread the task after sync and recompute the queue from current bytes. Specific-task mode has already returned. Full-feature mode continues one task at a time, then runs the named feature-level integration and reachability checks. Before GATE-DONE, apply the quality-gate final-Head fixed point; show current evidence and limitations, and let the user decide completion.
Evaluate docs impact from behavior actually changed: none means report only; minor or major updates only affected existing docs through the docs flow.
Done requires satisfied acceptance, reachable behavior, current executable proof, stable Base/Head binding, resolved blocking review findings, and no scope substitution. PASS_WITH_WARNINGS, NO_TESTS, FLASH_UNVERIFIED, or review-only pass cannot close.
command_identity although the command looks right. The gate takes the last top-level - Command: of the Verification Plan before its first ### sub-heading (or, when none sits at top level, the last one under the sub-headings) and compares it with the Receipt's Command: line after trimming whitespace and one wrapping pair of backticks. Earlier commands in the plan are prerequisites, and a second Command: or Commands: line in the Receipt fails too. Copy that one line instead of rewording it.provenance fails after a docs or changelog edit. Head is a digest of the tracked and untracked, non-ignored files outside the specs root, uncommitted bytes included, so an edit there after a Receipt was written (docs impact, a formatter, a lockfile) moves Head; Base moves only with a new commit. The gate compares a Receipt with the live pair while its task file differs from its committed copy, and the final-Head fixed point compares every done Receipt before GATE-DONE. Re-derive at that fixed point, or with /cf:sync rebind, after the last such edit.explicit_not_found after a packet is moved. When the host names no feature, the Stop hooks check the packet named in specs/_shared/active-feature.json, and a name whose directory or plan.md no longer exists blocks the turn. When you archive, rename, or delete that packet, point the file at a live packet or delete it in the same change.references/quality-gate.md — proof, review, final-Head, and shared-run ownership.references/parallel-waves.md — opt-in isolated worktree waves.references/subagent-patterns.md — task-local briefs and controller-only handoff.references/implementation-notes-template.html — only with --notes.What SKILL.md sets; muted values are Claude Code's defaults
Use to implement a ready feature packet, one named task, or a clear low-risk change.
Three short reads, in order
18 skills in this plugin
/advcf:advInterview until the user and the agent hold the same picture of the outcome, preview it, then deliver honest evidence-backed advice. It writes only its own reports and previews and never implements what it advises./agent-browsercf:agent-browserAI-optimized browser automation CLI with context-efficient snapshots. Use for long autonomous sessions, self-verifying workflows, video recording, and cloud browser testing (Browserbase)./askcf:askAnswer questions with evidence. Use when the user asks about project behavior, source code, specs, docs, configuration, dependencies, or external technical information; inspect the repo first, use internet/current docs when repo evidence is insufficient, and ask back only when the question cannot be answered safely.npx claudepluginhub haposoft/cafekit --plugin cfOther plugins' skills for the same job