/ai-pipeline:developerfrom ai-pipeline
Implements a feature by following its PLAN.md phase by phase, with human checkpoints after each phase. Runs verification, commits, and opens a pull request.
Ships in ai-pipeline. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Implements a feature by following its PLAN.md phase by phase, with a human checkpoint after each one. A defect caught right after the phase that introduced it is far cheaper than one found under the phases built on top of it.
Read .claude/pipeline.md before you start. A name in double braces below, such as {{base}},
stands for that name's value in its table.
If a value this skill uses is missing there, stop and tell the user which; do not
guess it.
{{feature-docs}}/PLAN.md. If not given, use the
most recent PLAN.md and confirm.Read {{rules}}, the PLAN.md, and the SPEC.md (for the why).
The product-owner and architect stages created the branch and committed SPEC.md and PLAN.md on it. Check it out:
git checkout {prefix}{feature-name} # {{feat-prefix}}… or {{fix-prefix}}…
If no such branch exists (earlier stages were skipped), create it from an up-to-date base, with
the prefix matching the change type: git fetch origin {{base}}, then branch from
origin/{{base}}. Tell the user the branch and the phase you're
starting from. When resuming, git log --oneline {{base}}..HEAD shows which phases are done.
Each phase is implemented by the ai-pipeline:phase-implementer agent (Sonnet), not in this
conversation. Implementation is the bulky part of the work — file reads, build output, fix
loops — and running it in the agent keeps this conversation down to the plan,
the reports and the user's decisions for the whole feature. Every phase also starts from PLAN.md
alone, so a gap in the plan shows up immediately instead of being covered by what this session
remembers. This conversation keeps the checkpoint and the commit.
a) Spawn the agent in the foreground with the feature name and the phase number. Do not paraphrase the phase for it: it reads PLAN.md itself, and a summary would replace the agreed plan with your reading of it.
b) Handle the result.
BLOCKED — put the question to the user. Then continue the same agent (SendMessage)
with the answer, and handle its next result the same way. If the answer changes the plan,
update PLAN.md first and tell the agent what changed.DONE — go to c).c) Check the report; don't take it on trust.
git status --short against the phase's file list in PLAN.md and the agent's own list. Any
file the report doesn't mention, or the plan doesn't list, needs an explanation.d) Report to the user concisely: files created and modified, any decision the plan left open, anything done differently from the plan and why, and the verification result — the agent's report, corrected by what c) found.
e) Wait for approval. Do not start the next phase until the user says to continue.
Between phases the user checks what no test covers: the app on a device, a preview in Android Studio. When you check behaviour on a device or emulator yourself, confirm the precondition is on screen (screenshot or log) before acting. An action taken while a spinner is still showing tests the spinner.
If the user asks for changes, continue the same agent with their feedback, so it keeps its context of the phase, then go back to c). If the feedback changes what the phase specifies, update PLAN.md first and tell the agent to re-read it: PLAN.md is the agreed record, and the pre-PR gate checks the code against it.
f) Commit the approved phase. Stage the phase's files by name — not git add -A, which also
sweeps in scratch files and IDE state. Ask about anything unexpected.
Record every manual check the user reported for this phase (on a device, emulator or preview)
as a Verified-manually: trailer, one per check, naming what was checked and where. The pre-PR
gate reads these from git to count a criterion as covered; it never sees this conversation.
git status --short
git add {files from this phase}
git commit -m "{type}({feature-name}): {phase title from the plan}" \
-m "Verified-manually: {what was checked} ({device, emulator or preview})"
Per-phase commits give each checkpoint a rollback point, let a resumed session see progress in
git log, and give the pre-PR gate a real diff to check.
PLAN.md is self-contained and every approved phase is a commit, so a new session resumes from
the branch: git log --oneline {{base}}..HEAD shows which phases are done. Uncommitted changes in
the working tree are a phase that was never approved — show them to the user before spawning
the next agent.
After the last phase, offer the gate: "All phases are done. Want me to run the pre-PR quality gate? It checks what CI can't — whether the plan was followed, whether the acceptance criteria hold, and whether debug leftovers made it in — then runs a CI pre-flight." If the user agrees, hand off to the ai-pipeline:pre-pr-checklist skill.
{{pre-flight}}) first. It mirrors CI; skipping the gate should not mean pushing a branch CI rejects.{{format-fix}} is none, run it and commit any files it reformatted.Then push and open the PR, the host's way ({{hosting}}). Use the plan's phase titles as the
structure of the description, not a fixed list of layers.
On GitHub:
git push -u origin {prefix}{feature-name}
gh pr create --base {{base}} --title "{type}: {title}" --body "$(cat <<'EOF'
## Summary
{What this PR does and why. For a fix, the root cause. "Fixes #{issue}" if there is one.}
## Changes
### {Phase 1 title}
- {key changes}
### {Phase 2 title}
- {key changes}
## Testing
- {tests added and what they cover; anything verified manually}
## References
- Spec: `{{feature-docs}}/SPEC.md`
- Plan: `{{feature-docs}}/PLAN.md`
## Checklist
- [ ] Code review
- [ ] Manual testing on device
- {anything the gate marked NEEDS VERIFICATION}
EOF
)"
On GitLab, the PR is a merge request, with the same description read from stdin so its line breaks survive:
git push -u origin {prefix}{feature-name}
glab mr create --source-branch {prefix}{feature-name} --target-branch {{base}} \
--title "{type}: {title}" --description-file - --yes <<'EOF'
{the same description as above}
EOF
Do not merge. Tell the user the PR link, that a review is requested with: {{review}}; and that the ai-pipeline:review-triage skill walks through the findings.
What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/architectDesigns a feature together with the user and turns the approved SPEC.md into a phased PLAN.md that another agent can execute without further context: briefs the user on the code the feature touches with a current-state diagram, has the user propose their own design first, reviews it honestly against best practice and the codebase, then writes buildable, dependency-ordered phases with files, signatures, tests and a verification command each. Use when the user wants an implementation plan, a technical design, a PLAN.md, or a feature broken into phases.
/pre-pr-checklistRuns a pre-PR quality gate on a feature branch: checks that the PLAN.md was followed, that each SPEC.md acceptance criterion is covered, that no debug leftovers or TODOs are in the diff, and that the changed code follows the project's written judgement rules, then runs a local mirror of CI and reports GO, CONDITIONAL GO or NO GO. Use when the user asks whether a branch is ready for a PR, or for a pre-PR check, quality gate or final check.
/product-ownerInterviews the user one topic at a time to turn raw requirements or an issue into a SPEC.md with user stories, acceptance criteria, edge cases and out-of-scope items, on a new feature or fix branch. Use when the user wants to spec, scope or define a feature or bug fix, write user stories or acceptance criteria, or start work on an issue.
/retrospectiveRuns a post-merge retrospective for a feature's pull request: reads the review comments, the diff, the fix commits, SPEC.md and PLAN.md, writes a RETRO.md comparing against earlier retros, and routes each lesson to the project's rules, an architecture or lint rule, a skill, or the review prompt. Use after a PR is merged when the user asks for a retro, retrospective, lessons learned, or to turn review findings into project rules.
/review-triageWalks through a pull request's inline review comments one at a time, showing the code, the suggestion and an assessment, and waits for the user's decision on each; then applies the accepted fixes, verifies, commits, pushes, replies on each thread, and checks for comments newer than the last commit before merge. Use when the user wants to triage, go through or address PR review comments or findings.
npx claudepluginhub pantstamp/ai-dev-pipeline --plugin ai-pipelineOther plugins' skills for the same job