Work in progress — actively developed and updated. Commands may change between versions.
Claude Code slash commands for a closed-loop spec → plan → implement → audit → fix → merge pipeline, plus a multi-spec parallel runner built on agent teams.
PipelineIQ was built around one constraint: keep batch execution affordable.
When /pipeline-team runs 5 specs in parallel, every extra subagent call
multiplies across the batch. So the full lifecycle runs in 4–8 subagent calls
per spec — consolidating review into a single independent audit rather than
per-task review loops. Different trade-offs for different workflows.
Runs the full lifecycle for one feature or change. The spec phase is interactive (you answer questions); every subsequent phase runs as an isolated subagent with clean context.
# example prompt — describe what you want in plain language
/pipeline build an incremental ETL job that pulls order data from the Stripe API, deduplicates against the existing Postgres table by idempotency key, backfills any gaps from the last 72 hours, and writes a reconciliation report to S3 on each run
Phases:
- Spec — interactive interview that produces a spec file in
specs/ - Worktree — creates an isolated git worktree so work never touches your main branch
- Impl-Plan — subagent reads the spec and writes a step-by-step implementation plan
- Impl — subagent executes the plan inside the worktree
- Audit — independent subagent evaluates the implementation against the spec, emits structured Actionable Errors
- Fix Loop — if errors are found, a fix → re-audit cycle runs automatically (max 2 rounds)
- Summary — lists artifacts, updates
learnings.md, merges the worktree to master
Model routing — each subagent phase uses the model best suited to the task:
| Phase | Model | Why |
|---|---|---|
| Spec | (inline) | Interactive — runs in your current session |
| Impl-Plan | Opus | Architecture decisions need deep reasoning |
| Impl | Sonnet | Mechanical execution of a well-specified plan |
| Audit | Opus | Independent judgment and architectural review |
| Fix | Sonnet | Targeted fixes against a specific error list |
| Re-audit | Sonnet | Verification of fix results against prior audit |
/pipeline-team spawns each teammate on Sonnet; the teammate then runs the full pipeline with the per-phase routing above.
If you already have a spec written, skip the interview:
/pipeline specs/stripe-etl-job.md
Artifacts produced:
| Directory | Contents |
|---|---|
specs/ → specs/applied/ |
Spec file (moved to applied/ after planning) |
Implementation Plans/ |
Step-by-step implementation plan |
Working Logs/ |
Execution log from the impl phase |
Working Logs/audit-impl--* |
Audit document with Actionable Errors |
Working Logs/fixer-log--* |
Fix loop log (if the fix loop ran) |
Runs /pipeline across multiple pre-written specs simultaneously using Claude Code's agent teams. Specs execute in parallel waves where dependencies allow; merges are serialized through the lead to keep git history linear.
Specs must be written beforehand — the interactive spec interview doesn't compose with parallelism. Write your specs first (manually or via /spec), then run:
/pipeline-team
This picks up all .md files in specs/. To run a subset:
/pipeline-team dark-mode
What happens:
- Pre-flight — checks feature flags, Claude Code version, clean worktree state
- Dependency graph — analyzes spec titles/content for keyword overlap, proposes execution waves, asks you to confirm or edit
- Wave execution — spawns up to 5 teammates in parallel, each running the full pipeline with
SKIP_MERGEso they don't merge on their own - Merge queue — the lead merges completed specs one at a time (rebase + fast-forward only), broadcasts to active teammates to rebase
- Failure handling — spawns a repair agent on failure, escalates to user if repair fails
- Batch summary — writes a results table to
Working Logs/batch-summary--*.md
Each phase of the pipeline is also available as a standalone command. Useful when you want to run or re-run a single phase:
/spec # interactive spec interview
/impl-plan specs/my-feature.md # plan from an existing spec
/impl "Implementation Plans/..." # execute a plan
/audit-implementation # audit the current worktree
/fix Working Logs/audit-impl--my-feature.md # fix errors from an audit
/spec-splitter specs/big-feature.md # split a large spec into parallel children
Each pipeline run reflects on what went well and what didn't, appending actionable observations to learnings.md at the project root. These are process improvements (not code patterns) — things like "impl-plan should check CLAUDE.md for stale references when changing defaults." Each entry records a severity tier (HIGH / MEDIUM / LOW based on occurrence count), what happened, and a suggested diff to the relevant command file.
Learnings accumulate across runs. Use /learnings-review to triage them:
The reviewer reads each entry, verifies the suggested diff still applies against the current codebase, and presents a severity-grouped verdict table. HIGH-severity items (4+ occurrences) are recommended for immediate application. For each approved item the reviewer patches the command file, removes the entry from learnings.md, and archives it to promotion-log.md with the exact diff applied. This is the only process that modifies or deletes existing learnings.md entries.
-
Add the PipelineIQ marketplace:
/plugin marketplace add MarioEpkOne/PipelineIQ -
Install the plugin:
/plugin install pipelineiq@pipelineiq-marketplace -
Verify installation — the following commands should be available:
/pipeline,/pipeline-team,/spec,/impl-plan,/impl,/audit-implementation,/fix,/spec-splitter
# Global install (available in all projects)
cp -r commands/ ~/.claude/commands/
# Or per-repo install
cp -r commands/ <your-repo>/.claude/commands/The references/ subdirectory (including references/pipeline/ and references/pipeline-team/) must be present. Both pipeline and pipeline-team validate these files at startup and will stop with a clear error if any are missing.
- Claude Code (the CLI tool or IDE extension)
pipeline-teamrequiresCLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1and Claude Code >= 2.1.32