From dev-workflow
Primary orchestrator. Take a Linear ticket through the full deterministic SDLC to a draft PR: ingest -> plan + ADRs -> role-isolated TDD build -> review -> verify -> draft PR, with human gates. Explicit-only - this is the expensive, multi-phase pipeline; invoke with /implement <TICKET>, never auto-triggered.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev-workflow:implementThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Primary orchestrator. Chains the phases below, pausing only at the human gates. The
Primary orchestrator. Chains the phases below, pausing only at the human gates. The
interactive phases (ingest, plan, PR) run here in the conversation; the build runs
headless via the build-isolated-tdd Workflow. The pipeline ends at a draft PR,
not a deploy - hence implement, not ship.
Each phase is also a standalone skill (plan, build, review, adr); this skill
composes them. If $1 (the ticket id) is missing, ask for it.
If several of these are unmet, the repo hasn't been onboarded - run /setup first, which
handles all of them in one pass.
linear:linear skill before any MCP touchpoint. If the MCP is on the wrong workspace,
stop.git status clean (or stash/commit first). Never start on a
dirty tree.make -n setup test-unit test check (and mocks, build if used). If any are missing,
offer to scaffold from templates/Makefile.go / templates/Makefile.ts (repo's choice
of language) before continuing. The build cannot run without the contract.Use linear:linear get-ticket to read the ticket AND all its comments. Summarise the
intent and the constraints the comments add.
Invoke the plan skill:
docs/plans/<TICKET>-<slug>.md (behaviour only - acceptance
criteria per work item; NOT implementation design);proposed ADRs via adr.HUMAN GATE: present the plan + any proposed ADRs. Do not proceed until approved. On
approval, flip ratified ADRs to accepted. Revise on feedback.
linear:linear branch-name (<TICKET>-<slug>); create the feature
branch (github-flow standard; never work on main).type(scope): desc).linear:linear set-status -> in-progress.Invoke the Workflow tool on the build core:
Workflow({
scriptPath: "${CLAUDE_PLUGIN_ROOT}/workflows/build-isolated-tdd.js",
args: { ticketId: "<TICKET>", planPath: "<repo>/docs/plans/<TICKET>-<slug>.md", repoPath: "<repo>" }
})
It runs per item: RED (test-author, spec only) -> GREEN (implementer) -> REFACTOR (design
emerges) -> JUDGE (independent, spec+diff only), then parallel REVIEW and a make check
VERIFY. Guarantees come from control flow, not prompting.
Handle the return status:
complete -> proceed to Phase 5.needs-ratification -> a hard-to-reverse decision surfaced. Write the MADR ADR
(adr), get the human to ratify (ADR -> accepted), then resume:
Workflow({ scriptPath, resumeFromRunId: "<runId>" }) (completed agents are cached).red-gate-failed / green-gate-failed / refactor-broke-tests / verify-failed ->
surface the evidence; fix the plan or the blocker and re-run. Do not paper over a failed
gate.For reversible decisions the build logs work-log comments via linear:linear comment
(best-effort; headless MCP may be absent - it logs and continues).
The build workflow already runs a diff-oriented review per change. Surface its findings.
For deeper local review, run the review skill (--heavy wraps code-review) before
opening the PR - heavy separation-of-judgment review runs locally, not in CI (the Workflow
tool is not available in CI).
The build's VERIFY phase ran make check. Confirm allGreen with no regressions. Per the
github-flow push rule, only push when make check passes - for the initial PR and
every subsequent push.
make check green).<TICKET>: <summary>, body =
Summary / Testing / Related with Closes: <TICKET> (github-flow PR-body standard).linear:linear link-PR (attach PR to ticket) and set-status -> in-review.Prefer the smallest in-slice diff (Phase 2). Short-lived branch, feature flag if it won't land in days, a named rollback noted in the PR (Phase 7). Resist shipping big.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub johnplummer/jp-plugins --plugin dev-workflow