ai-dev-pipeline

An eval-gated AI development pipeline for production codebases, shipped as a Claude Code plugin.
ai-dev-pipeline takes a feature from ticket to retrospective in six stages. AI agents do the work
inside each stage, and an engineer approves the result before the next one starts. Every release is
regression-tested against replayed scenarios before it ships. It is developed on a 30-module Android
app in this repository, its test bed, and in use on a production Android app.
Created and maintained by Pantelis Stampoulis.
The pipeline
| Stage | Skill | Produces | You decide |
|---|
| 1. Spec | /ai-pipeline:product-owner | the branch + SPEC.md | Are the acceptance criteria right? |
| 2. Plan | /ai-pipeline:architect | PLAN.md | The design — you propose it first |
| 3. Build | /ai-pipeline:developer | a commit per phase, then the PR | After every phase |
| 4. Gate | /ai-pipeline:pre-pr-checklist | GO / NO GO | Ship it or fix it |
| 5. Review | @claude-review, then /ai-pipeline:review-triage | PR comments → fixes | Which findings to act on |
| 6. Learn | /ai-pipeline:retrospective | RETRO.md + rule changes | Which lessons to keep |
Two stages hand bounded work to an agent: the developer implements each phase through
ai-pipeline:phase-implementer, and the gate runs as the read-only ai-pipeline:pre-pr-gate.
Each project describes itself (build commands, rules, issue tracker) in .claude/pipeline.md, so the
skills carry no project's names. docs/AI_WORKFLOW.md is the step-by-step
guide.
How it is tested
A change to a skill is a change to a program whose output varies, so every release is regression
tested before it is tagged. The suite is in docs/ai-pipeline/.
- Golden scenarios. Four scenarios — gate,
architect,
developer and
product owner — each replay a
historical snapshot whose outcome is already known, with the current pipeline, and a judge model
grades the result against criteria the run never sees. Multi-turn stages are answered by a
simulated user working from scripted answers.
- Three runs per scenario. 3 of 3 passes, 2 of 3 is a warning, less fails.
- The release rule: no scenario may score worse than the previous release, run the same day.
- Why the same day: on 2026-10-20 the released 2.0.0 scored 1 of 3 on the architect, where it
had scored 3 of 3 five days earlier, with no change to the pipeline. Model behaviour drifts, so an
old baseline proves nothing about today.
- A second codebase. A dry run on a production Android project found eleven places where a
skill still assumed this repository; ten were fixed in 2.1.0
(
V2.1.0_FIXES.md).
The harness is eval.py, a script around claude -p; each scenario's
RESULTS.md records its baselines.
Install it
In the project, once per developer:
claude plugin marketplace add "https://github.com/pantstamp/ai-dev-pipeline.git#pipeline-v3.0.1" --scope project --sparse .claude-plugin plugins
claude plugin install ai-pipeline@ai-pipeline --scope project
The first developer commits the .claude/settings.json these write, which pins the version:
{
"extraKnownMarketplaces": {
"ai-pipeline": {
"source": {
"source": "git",
"url": "https://github.com/pantstamp/ai-dev-pipeline.git",
"ref": "pipeline-v3.0.1",
"sparsePaths": [".claude-plugin", "plugins"]
}
}
},
"enabledPlugins": { "ai-pipeline@ai-pipeline": true }
}
The project also writes its .claude/pipeline.md from the plugin's
pipeline.template.md.
Update or roll back only when the project chooses: move ref to the new tag in a PR, and each
developer runs marketplace add with that tag, then claude plugin update ai-pipeline@ai-pipeline --scope project. Editing ref alone does nothing.
PLUGIN_GUIDE.pdf covers using, releasing, installing and
updating the plugin; AI_PIPELINE_ROADMAP.md §2 has the details.
Versions
Each release is a pipeline-vX.Y.Z tag. The
CHANGELOG says what changed, why, which test rule the
release passed and what a project must do to take it.