1. Plan
  2. Build
  3. Test
  4. Recover
  5. Resume
Claude Code skill · v1.5.0

One command.A whole dev team.

/pipeline turns a Claude Code session into an orchestrator that plans, builds, tests and fixes a project, stage by stage.

View on GitHub

Free · MIT license · Unofficial community project

The problem

Long builds outgrow a single session.

Crowded context

Planning, coding and testing share one conversation. Details are forgotten and decisions contradict.

02

Addressed in 02 Build: every role has its own context.

Build

Self-graded work

The session that writes the code also tests it, and problems slip through.

03

Addressed in 03 Test: an independent tester works from a fixed checklist.

Test

Runs stop halfway

Confirmations, stuck tasks and quota limits end a run before delivery.

04 · 05

Addressed in 04 Recover and 05 Resume.

Recover

One orchestrator and three roles divide the work like a small team.

How it works

Five steps take a run from requirements to delivery: Plan, Build, Test, Recover, Resume.

Illustration Full /pipeline flow: orchestrator, planner, developer and testers; batched testing, fixes, replanning, quota pause and delivery. User Questions, all at once Orchestrator Quota 90% → Pause → Resume Deliver SUMMARY.md Planner Stuck → Replan: change approach · reorder · split · descope Parallel wave (optional) Developer Batch B1 = P1–P3 P1 P2 P3 Tester · Data & API Tester · UI & visual FAIL → Fix all at once Retest failed items only .pipeline/ shared folder
  1. 1Plan

    The orchestrator asks once.

    The planner turns the PRD into stages. Clarifying questions arrive together, each with a recommended answer.

    User Questions, all at once Orchestrator Planner
  2. 2Build

    A developer builds one stage at a time.

    Long content lives in the shared .pipeline/ folder. Messages carry file paths only.

    Orchestrator Parallel wave (optional) Developer P1 P2 P3 .pipeline/ shared folder
  3. 3Test

    Testers check each batch.

    Three stages form a batch. Projects with a UI receive two testers in parallel: Data & API, UI & visual.

    Batch B1 = P1–P3 P1 P2 P3 Tester · Data & API Tester · UI & visual
  4. 4Recover

    Failures are fixed together.

    The whole batch is fixed in one round and only failed items are retested. A stuck stage returns to the planner.

    FAIL → Fix all at once Retest failed items only Stuck → Replan: change approach · reorder · split · descope Planner
  5. 5Resume

    The run pauses and resumes on schedule.

    Near the quota limit the run pauses and resumes after the reset. The run ends with .pipeline/SUMMARY.md.

    Orchestrator Quota 90% → Pause → Resume Deliver SUMMARY.md

User
Starts the run and answers the planning questions.
Orchestrator
Leads the project: dispatches, decides and records progress. Writes no code.
Planner
Creates, imports and adjusts the plan. On standby throughout.
Developer
Builds one stage at a time and ships an acceptance script.
Tester
Runs acceptance first, then checks the gaps. Instructed never to edit source.
.pipeline/
Shared folder for the plan, progress and reports.
Quota
Pauses above 90% of the 5-hour or weekly limit. Claude desktop app only.
Parallel wave
Independent stages build side by side in git worktrees. Experimental, opt-in.
01 Plan

Questions come once, up front.

Clarifying questions arrive together, each with a recommended answer. Once the plan is final, execution runs unattended.

Orchestrator Illustration
  1. The planner has 3 questions. Reply "go with the recommendations" to accept all.

  2. Q1

    Where should data be stored?Recommended: in the browser (localStorage), no backend.

  3. Q2

    Should monthly summaries include charts?Recommended: yes, a simple bar chart.

  4. Q3

    Which currency format?Recommended: follow the browser locale.

The plan is final (6 stages). Starting unattended execution.

Bring your own plan

An existing PRD and plan are used as-is. The planner adds only missing acceptance criteria and dependencies.

Every decision is logged

Choices made during execution are recorded with reasons in DECISIONS.md.

Questions only while planning

Execution asks nothing and waits for no confirmation.

With the plan final, each role takes its part.

02 Build

Every role works in its own context.

The orchestrator dispatches and decides. Sub-agents build, test and advise, then return a four-line handoff.

Orchestrator

Reads
Handoffs and report results
Writes
PROGRESS.md and SUMMARY.md
Never
Business code, tests or plan content

Planner

Reads
Requirements, the user's plan, stuck reports
Writes
PLAN.md, QUESTIONS.md, DECISIONS.md
Never
Business code

Developer

Reads
The plan for its stage and failure reports
Writes
Code, the acceptance script, the stage report
Never
Questions in the middle of a run

Tester

Reads
Acceptance criteria and development reports
Writes
The test report with a PASS/FAIL table
Never
Edits to source code, by instruction
HandoffIllustration
  • Status: FAIL
  • Report: .pipeline/reports/B1-test-2-data.md
  • Key files: src/stats.js:42 — cross-year month is 0 (P3)
  • Notes: Same failures as last round: 1
Status
The only line the orchestrator reads to decide the next step.
Report
Details stay in the file and are read only when needed.
Key files
At most five files, one line each.
Notes
Forwarded to the next agent. The same failure twice in a row triggers a replan.

Opt-in only

Nothing runs until /pipeline is typed. The roles are not registered as global sub-agents.

Fresh agents on schedule

A sub-agent that reports compacted context is replaced. Developers rotate every three stages.

Parallel mode Experimental

In a git repository, /pipeline parallel builds independent stages side by side in separate worktrees, two at a time.

Once a batch is built, testing begins.

03 Test

Batched tests that fill the gaps.

Testing once took about 40% of all tokens. Batches, an acceptance script and a fixed checklist keep it in proportion.

Orchestrator Illustration
B1 P1, P2, P3 Pending test Testing Passed
Tester · Data & API

FAIL · Cross-year month shows 0 (P3)

Tester · UI & visual

Fixed in one round. Retesting 1 failed item.

PASS · Batch B1 passed after 2 rounds

B2 P4, P5, P6 In development
B3 P7, P8 To do
3stages per batch
~25checklist items per tester
30–40minute budget per round
2testers in parallel for UI projects

Acceptance script

Each developer ships one command, such as npm run acceptance, that prints a PASS/FAIL table.

Gaps only

Testers trust existing tests and skip mutation checks, timezone sweeps and repeated full-suite runs.

Retest failures only

Failures from the whole batch are fixed in one round. The retest covers only the failed items.

When a fix does not hold, the plan changes.

04 Recover

A stuck stage gets a new plan.

A blocked stage, three failed fix rounds or the same failure twice in a row sends the work back to the planner.

Planner Illustration
  1. P1Data modelDone
  2. P2Entry formDone
  3. P3Monthly chartStuckTo doPartially done
  4. P3aMonthly totalsTo do
  5. P3bChart renderingTo do
  6. P4Export to CSVTo do
  7. P5SettingsTo do
  • P3 · New approach: draw the chart with plain SVG instead of a chart library.
  • P4 runs first; P3 is retried afterwards.
  • P3 becomes P3a Monthly totals and P3b Chart rendering.
  • P3 is marked Partially done; the chart is listed under "For you to handle".
  1. Fix round 1
  2. Fix round 2
  3. Fix round 3
  4. Replan 1
  5. Replan 2
  6. Logged for review, run continues

Bounded loops

At most 3 fix rounds per batch and 2 replans per stage.

A fresh developer for a new approach

After a replan, the work goes to a new developer agent.

Progress is stored in files, so an interrupted run resumes in place.

05 Resume

Interrupted runs resume in place.

All state lives in .pipeline/. A new session resumes with one command, and a quota pause resumes on a timer.

5-hour usage Illustration
62%Pauses above 90%

5-hour limit is at 92%. The pipeline is paused and will resume automatically at 02:31 local time.

Quota reset. Resuming with P5.

SUMMARY.mdThe first file to read on return

# Delivery summary

Bottom line:
6 stages handled: 5 done, 1 partially done.
How to run it:
npm install && npm run dev
Results by stage:
P1–P2, P4–P6 Done · P3 Partially done (2 replans)
For you to handle:
Add a real API key to .env (placeholder in .env.example)
Plan adjustment log:
P3: same failure twice → split into P3a and P3b
Key decisions:
localStorage instead of a backend, as recommended during planning

/pipeline continue

Resumes from PROGRESS.md, including in a new session.

Quota check

Pauses above 90% of the 5-hour or weekly limit, or 80% before a parallel dispatch. Claude desktop app only.

Overnight runs

Keep the app open, the computer awake and the permission mode set to auto.

Some actions are never taken without a person.

Safeguards

Unattended, within clear limits.

4real projects completed
26stages in the largest run
53 / 53acceptance checks passed in one project

Runs on the author's own projects with the Chinese edition.

Never uses personal accounts or keys

Mock data and .env.example placeholders stand in.

Never pushes or deploys

git push, releases and deployment are listed for manual action.

Never deletes outside the project

Files outside the project and existing user data stay untouched.

Never spends money

No paid services, purchases or admin-level installs.

Everything is written down

REQUIREMENTS.md

The PRD, copied verbatim. The original file stays untouched.

PLAN.md

Stages with IDs, dependencies and acceptance criteria.

DECISIONS.md

Decisions made during the run, with reasons.

PROGRESS.md

Progress and the test batch table. Used to resume.

SUMMARY.md

The delivery summary. Read this first.

reports/

Development and test reports for each stage and round.

Every step of the run remains on disk for review.

Install

Install in one line.

Four Markdown files go to ~/.claude/skills/pipeline. Existing files are backed up first.

macOS / Linux

curl -fsSL https://raw.githubusercontent.com/ELjagi623/claude-pipeline-skill/main/install.sh | PIPELINE_LANG=en bash

Windows

$env:PIPELINE_LANG='en'; irm https://raw.githubusercontent.com/ELjagi623/claude-pipeline-skill/main/install.ps1 | iex

Ask an agent

Install the English version of this for me: https://github.com/ELjagi623/claude-pipeline-skill

Installs the English edition. The Chinese edition installs without PIPELINE_LANG.

  1. 1

    Install

    Run the command above.

  2. 2

    New session

    Start a new Claude Code session in the project folder.

  3. 3

    Run

    Type /pipeline with a PRD and plan, or with the requirements as text.

Commands

/pipeline
Finds the PRD and plan in the project and starts.
/pipeline <paths or requirements>
Uses the given files or text.
/pipeline status
Shows progress without dispatching agents.
/pipeline stop
Pauses the run.
/pipeline continue
Resumes, including in a new session.
/pipeline parallel <requirements>
Enables parallel mode. Experimental; requires git.

Requirements

  • Claude Code: CLI, desktop app or IDE extension
  • curl on macOS / Linux, PowerShell on Windows
  • Quota check: Claude desktop app
  • Parallel mode: a git repository with at least one commit
FAQ

Questions and answers

How many tokens does a run use?

A large number. Multi-stage runs with several test rounds cost more than a single session, more so on larger projects. Batched testing reduces test cost; no fixed saving is claimed.

Are the rules guaranteed to be followed?

No. The rules are written in prompts and are not enforced by code. The tester is instructed not to edit source but has no tool-level restriction.

Does it push, deploy or spend money?

No. These are red lines. Such items are listed under "For you to handle" in PROGRESS.md and SUMMARY.md.

Does it affect normal sessions?

No. It starts only when /pipeline is typed, and the roles are not registered as global sub-agents.

What happens when a run is interrupted?

Type /pipeline continue, in the same session or a new one. Progress is read from .pipeline/PROGRESS.md.

Can an existing plan be used?

Yes. A plan in the standard format is used as-is; otherwise the planner imports it and adds only missing acceptance criteria and dependencies.

Which languages and stacks are supported?

The skill is not tied to a stack. The prompts come in English and Chinese editions. Both install to the same location, so one is active at a time; switching editions in the middle of a run is not supported.

What if the requirements are vague?

The planner records its assumptions, and plan quality sets the ceiling for the result. Clear features, stack preferences and acceptance methods produce a better plan.

Is this an official Anthropic product?

No. It is an unofficial community project, not affiliated with or endorsed by Anthropic.

Free, open source, one line away.

MIT licensed. Four prompt files, no server, no data collection.

View on GitHub