Crowded context
Planning, coding and testing share one conversation. Details are forgotten and decisions contradict.
/pipeline turns a Claude Code session into an orchestrator that plans, builds, tests and fixes a project, stage by stage.
Free · MIT license · Unofficial community project
Planning, coding and testing share one conversation. Details are forgotten and decisions contradict.
The session that writes the code also tests it, and problems slip through.
Confirmations, stuck tasks and quota limits end a run before delivery.
One orchestrator and three roles divide the work like a small team.
Five steps take a run from requirements to delivery: Plan, Build, Test, Recover, Resume.
The planner turns the PRD into stages. Clarifying questions arrive together, each with a recommended answer.
Long content lives in the shared .pipeline/ folder. Messages carry file paths only.
Three stages form a batch. Projects with a UI receive two testers in parallel: Data & API, UI & visual.
The whole batch is fixed in one round and only failed items are retested. A stuck stage returns to the planner.
Near the quota limit the run pauses and resumes after the reset. The run ends with .pipeline/SUMMARY.md.
Clarifying questions arrive together, each with a recommended answer. Once the plan is final, execution runs unattended.
The planner has 3 questions. Reply "go with the recommendations" to accept all.
Where should data be stored?Recommended: in the browser (localStorage), no backend.
Should monthly summaries include charts?Recommended: yes, a simple bar chart.
Which currency format?Recommended: follow the browser locale.
The plan is final (6 stages). Starting unattended execution.
An existing PRD and plan are used as-is. The planner adds only missing acceptance criteria and dependencies.
Choices made during execution are recorded with reasons in DECISIONS.md.
Execution asks nothing and waits for no confirmation.
With the plan final, each role takes its part.
The orchestrator dispatches and decides. Sub-agents build, test and advise, then return a four-line handoff.
Orchestrator
Planner
Developer
Tester
Status: FAILReport: .pipeline/reports/B1-test-2-data.mdKey files: src/stats.js:42 — cross-year month is 0 (P3)Notes: Same failures as last round: 1Nothing runs until /pipeline is typed. The roles are not registered as global sub-agents.
A sub-agent that reports compacted context is replaced. Developers rotate every three stages.
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.
Testing once took about 40% of all tokens. Batches, an acceptance script and a fixed checklist keep it in proportion.
FAIL · Cross-year month shows 0 (P3)
Fixed in one round. Retesting 1 failed item.
PASS · Batch B1 passed after 2 rounds
Each developer ships one command, such as npm run acceptance, that prints a PASS/FAIL table.
Testers trust existing tests and skip mutation checks, timezone sweeps and repeated full-suite runs.
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.
A blocked stage, three failed fix rounds or the same failure twice in a row sends the work back to the planner.
At most 3 fix rounds per batch and 2 replans per stage.
After a replan, the work goes to a new developer agent.
Progress is stored in files, so an interrupted run resumes in place.
All state lives in .pipeline/. A new session resumes with one command, and a quota pause resumes on a timer.
5-hour limit is at 92%. The pipeline is paused and will resume automatically at 02:31 local time.
Quota reset. Resuming with P5.
# Delivery summary
npm install && npm run devResumes from PROGRESS.md, including in a new session.
Pauses above 90% of the 5-hour or weekly limit, or 80% before a parallel dispatch. Claude desktop app only.
Keep the app open, the computer awake and the permission mode set to auto.
Some actions are never taken without a person.
Runs on the author's own projects with the Chinese edition.
Mock data and .env.example placeholders stand in.
git push, releases and deployment are listed for manual action.
Files outside the project and existing user data stay untouched.
No paid services, purchases or admin-level installs.
REQUIREMENTS.mdThe PRD, copied verbatim. The original file stays untouched.
PLAN.mdStages with IDs, dependencies and acceptance criteria.
DECISIONS.mdDecisions made during the run, with reasons.
PROGRESS.mdProgress and the test batch table. Used to resume.
SUMMARY.mdThe 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.
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.
Run the command above.
Start a new Claude Code session in the project folder.
Type /pipeline with a PRD and plan, or with the requirements as text.
/pipeline/pipeline <paths or requirements>/pipeline status/pipeline stop/pipeline continue/pipeline parallel <requirements>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.
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.
No. These are red lines. Such items are listed under "For you to handle" in PROGRESS.md and SUMMARY.md.
No. It starts only when /pipeline is typed, and the roles are not registered as global sub-agents.
Type /pipeline continue, in the same session or a new one. Progress is read from .pipeline/PROGRESS.md.
Yes. A plan in the standard format is used as-is; otherwise the planner imports it and adds only missing acceptance criteria and dependencies.
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.
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.
No. It is an unofficial community project, not affiliated with or endorsed by Anthropic.
MIT licensed. Four prompt files, no server, no data collection.