Claude Code · spec-driven development

FlowForge

A structured pipeline inside Claude Code that transforms business requirements into verified, tested code — using multi-agent review gates at every stage.

The full pipeline

Six commands carry a feature from requirements to verified code. The BA owns requirements; the developer drives the rest. Each <feature-id> threads one feature through the whole run.

Step 01
/flowforge.require

Gather business requirements into a structured, testable spec with clear acceptance criteria.

BA→ 1-spec.md
Step 02
/flowforge.plan

Draft the technical plan & task waves, then put it through multi-agent review before you iterate and approve.

Dev6 agentshuman approve

Reviewers · Technical · Security · Spec Alignment · GDPR · Pragmatism · Devil's Advocate

Step 03
/flowforge.analyze

Gap analysis — three agents run in parallel, grading findings CRITICAL / IMPORTANT / MINOR.

Dev3 agents · parallel

Agents · Coverage Analyst · Integration Scout · Dependency Analyst

Step 04
/flowforge.build

Code generation through a TDD pipeline — tests first, then implementation, in 50–200 line tasks.

Dev2 agentsTDD · QA automation

Agents · Builder · Test Validator

Step 05
/flowforge.verify

Verify the implementation provably meets the spec — four agents inspect the finished change.

Dev4 agents

Checks · Implementation · Constitution · Quality · Tests

Step 06
/flowforge.fix

Auto-fix failures behind a circuit breaker. Constitutional violations escalate at once; otherwise an Escalation Report hands off to a human.

Devmax 3 attempts
Express shortcut
/flowforge.express <feature-id>

Runs the full pipeline — require through fix — in a single command.

The four lanes

Express and Fast go through JIRA automation; Standard and Heavy follow the normal process. The split is about how obvious the design is — not how big the change feels.

Lane 01

Express

⚡ Automated

Repeatable, well-patterned foundational work that follows established conventions.

Looks likeNew partner integration scaffolds · CRUD endpoints from an established pattern · multi-service config for a new environment.
👤1 human gate
Lane 02

Fast

⚡ Automated

Small-scope corrections within established patterns — a few hours of work.

Looks likeAdapter fix for a changed API contract · a business-rule or validation tweak · add a single field to an endpoint.
👤1 human gate
Lane 03

Standard

Core feature work with novel business logic the design isn't obvious for.

Looks likeNew business logic we haven't built before · changes touching multiple services in non-obvious ways.
👤👤👤3 human gates
Lane 04

Heavy

Complex, exploratory, or architectural work needing real engineering judgment.

Looks likeArchitecture decisions & design spikes · major refactors · bug investigations with an unknown cause.
👤👤👤👤4+ human gates
⚡ What "automated" means

A well-scoped JIRA ticket labelled express or fast moves to AI Generation Ready; ~15–25 min later a draft PR links back to the ticket. The engineer reviews it like a junior's PR, tests it, refines it — and owns it. Nothing merges without human review.

Rule of thumb

One sitting following existing patterns → Express or Fast. Non-obvious design decisions → Standard or Heavy. When in doubt, default to Standard — and any agent or engineer can escalate a lane up when reality disagrees.

What runs in each lane

The shared pipeline, dialled per lane. Automated lanes lean on JIRA + agents with one human sign-off; normal-process lanes add review and approval gates. Human grooming (require) runs in every lane.

Pipeline stage L1Express L2Fast L3Standard L4Heavy
JIRA automation auto auto read/write read/write
01.require human from pattern from pattern guided spec + discovery
02.plan · 6 agents auto-review auto-review 6 reviewers + design spike
03.analyze · 3 agents light light full deep
04.build · 2 agents
05.verify · 4 agents + sec / GDPR
06.fix · max 3
Human gate human 1 · combined 1 · combined 3 gates 4+ · arch board
auto JIRA auto-generation → draft PR read/write JIRA read + doc/ticket write-back full runs fully light reduced scope combined groom + approve, one touch

The traceability chain

One thread ties the work together — each artifact derives from the one before it, so the acceptance criteria you groom are exactly what gets built and tested. Runs in every lane; only the depth changes.