/skillbook-skills:dev-flowfrom skillbook-skills
Software-factory chain stage: break a published spec into tracer-bullet tickets with blocking edges, publish them as ready-for-agent sub-issues of the spec, then hand off to a fresh implement-spec session. No granularity quiz. Use for /dev-flow, spec-to-tickets work, or when code-review-loop routes findings back as new fix tickets.
Ships in skillbook-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
In helper commands, replace <skill-dir> with the absolute directory containing
this loaded SKILL.md; keep the shared worktree as the working directory.
Turn a published spec into tracer-bullet tickets and hand off to implementation. The stage is non-interactive: the spec is the authority, the blocking edges are the review, and there is no granularity quiz.
Model pin: opencode-go/glm-5.3, --thinking max. It runs headless as a
pi session that the pack helper launches into a visible Kepler terminal from
the shared worktree, started by grill-with-spec or directly with /dev-flow
on a spec issue.
Standalone entry: /dev-flow without a task or a spec asks the user
which one — the spec issue, or the tracker issue at hand — before it starts.
The answer names the issue this run turns into tickets, and the ids resolve
from the answer's context: the standalone session's own Kepler metadata
(GET /agent/sessions, filtered by the worktree) is the source when the
harness registers it, and a live worktree entry (GET /terminal/list,
chain-labeled preferred) is the fallback. All three ids ride the helper's
explicit --repo-id/--worktree-id/--task-id flags on the implement-spec
launch; the helper's no-anchor-no-flags hard error stands as the standalone
path — standalone invocations are outside the chain's contract — so a run
that resolves no ids stops instead of guessing.
Read the spec issue, its comments and the handoff doc. The doc points at
the spec, the ADRs and GLOSSARY.md; use the glossary's vocabulary in
every ticket.
Call the Skill tool for to-tickets on the spec, with one change: skip
step 4, "Quiz the user". Publish one ticket per vertical slice, in
dependency order (blockers first), as a sub-issue of the spec issue.
Set the tracker's native blocked-by edges and the ready-for-agent label,
and give every ticket its acceptance criteria. Do not close or modify the
parent spec.
Re-entry from code-review-loop: the process is the same, with the review
report as the source. Its normal findings become fix tickets, each a
sub-issue of the original spec, blocked by the tickets it depends on and
blocking the fixes that follow. The spec keeps its scope; the report is the
evidence.
Call the Skill tool for handoff for the implement-spec stage. Pointers
only: the spec issue, the tickets, the ADRs, the worktree.
Launch implement-spec through the pack helper from the shared worktree:
node "<skill-dir>/scripts/launch-stage.mjs" implement-spec <spec> 'Run the implement-spec skill in this worktree for spec #<n>: load it with the Skill tool as `implement-spec`, or in this pi session read ~/.agents/skills/implement-spec/SKILL.md. Read the handoff doc at <path>. Work the ticket frontier. Run implement-spec through its complete process including its own inline review and the draft PR after the first merge. When it completes, run the handoff skill for code-review-loop, then launch code-review-loop as a fresh session per its chain rules.'
Report the ticket numbers and the launch line the helper printed, then stop.
The implement-spec session owns the rest: it runs its complete process in
this same worktree, including its own inline review and the draft PR after
the first merge, and at the end launches code-review-loop as a fresh
session with pointers only.
The chain's rules apply at this stage and every later one:
handoff skill writes the compacted doc to the OS temp directory; the
next session reads it by pointer.GLOSSARY.md, the review report — never as conversation.node "<skill-dir>/scripts/launch-stage.mjs" <stage> <spec> '<pointers>'.
The helper starts a visible chain #<spec>: <stage> Kepler terminal, injects
the stage's pinned command under a retry wrapper and prints the terminal id.
The wrapper is harness-agnostic — whatever the harness, pi is not
load-bearing — and gives the pinned command 5 attempts with exponential
backoff (a ~10-minute window). On exhaustion it leaves a loud FAILED marker
in the terminal buffer (stage, spec, the exact resume command) and actuates a
wake — an unread session on the task carrying that resume command. A launch
that never executes is caught by the helper's post-injection check, which
confirms the wrapper started after injection and recovers. The detached
nohup pi fallback fires only on a connection-level failure to the terminal
API and never after
POST /terminal/start succeeded — a reachable API never silently degrades —
and it preserves error.message while reporting which path it took.pi command — the stage launch and each sub-agent — carries
an explicit --provider, --model and --thinking; never rely on pi's
ambient default (the kimi-k3 incident: three un-pinned spawns burned the
most expensive model in the account — the ambient default is an environment
fact, not a chain decision).ADR-0006 is the canonical record of the shared chain rules and the pins they carry; this copy stays for self-containment.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub dyegolara/skillbook --plugin skillbook-skills52 skills in this plugin
/architectSketch types, signatures, and module structure before code, then stay in the loop while implementation fills in. Use for "architect this", "design this", or non-trivial work where jumping to code would lock in the wrong shape./arenaSpawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for "arena this", "throw it in the arena", or when one attempt at a non-trivial artifact would lock in the wrong shape./automate-meUse for "automate me", "create/update/refresh my -mode skill", "turn/capture my preferences or working style into a skill", or wanting agents to follow how the user works. Drafts or revises a personal -mode skill via create-skill + unslop, optionally pulling fresh evidence from recent transcripts./blast-radiusFind what a change could break somewhere else before it ships, beyond the diff, and prove the one fact it's safe because of by running real code instead of writing it up. Use for 'blast radius of X', 'what could this break', or reviewing a small diff you don't trust./broRestate the last message in plain human language, with no jargon./code-review-loopSoftware-factory chain stage: two-axis code review of the integration branch against the merge-base with origin/main, written to an untracked local report, then routed — normal findings to dev-flow, a clean review to create-pr, decision-forcing findings to grill-with-spec, which pauses the chain on the maintainer. Use for /code-review-loop or any independent review that must pick the next stage.