/ai-pipeline:product-ownerfrom ai-pipeline
Interviews the user one topic at a time to produce a SPEC.md with user stories, acceptance criteria, edge cases, and out-of-scope items on a feature or fix branch. Use when you need to spec, scope, or define a feature or bug fix.
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.
Runs a requirements interview and produces a SPEC.md. Ambiguities are cheapest to resolve here, before a plan or code depends on them.
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.
{{issues}}user-profiles). If not given,
infer one and confirm it.feat (new behaviour) or fix (a bug). Infer it (an issue labelled bug is a
fix) and confirm it together with the name.Every later stage (architect, developer) works on the branch created here, so SPEC.md and PLAN.md are committed rather than left untracked in whatever checkout happens to be active.
git status --porcelain # must be empty
git fetch origin {{base}}
git checkout -b {prefix}{feature-name} origin/{{base}} # {{feat-prefix}} for feat, {{fix-prefix}} for fix
If the working tree is dirty or another branch has unmerged work, stop and ask instead of carrying changes along. If the branch already exists, check it out and continue from what is on it.
{{rules}} — conventions and constraints that affect feasibility
Existing specs in other features' {{feature-docs}} — avoid contradicting them
If the input is an issue, read it with its comments from {{issues}}:
gh issue view {n} --commentsglab issue view {n} --commentsnone: ask the user to paste the issue's text and comments.Then read the code the issue names and verify its root-cause claims. Issues describe symptoms well and causes partially; the code usually shows more causes than the issue lists, and each one is a requirement the spec must cover. Report what you confirmed and what you found beyond it.
Tell the user you'll interview them one topic at a time, then write SPEC.md.
Before asking anything, identify:
For each topic:
Cover what applies:
Save to {{feature-docs}}/SPEC.md:
# Feature: {Feature Name}
pipeline: v{X.Y.Z}
## Overview
One paragraph: what this does and why. For a fix, include the verified root cause.
## User Stories
- **As a** [user type], **I want** [action], **so that** [benefit]
- **Acceptance Criteria:**
- [ ] Criterion (observable and checkable — not "loads quickly"). An undecided point goes
under Open Questions, never into a criterion.
## Edge Cases
Each edge case and how it is handled.
## Error Handling
Network errors, database failures, invalid state.
## Out of Scope
What this does NOT include.
## Open Questions (if any)
Undecided points, with the options discussed.
pipeline: is the version in PIPELINE_VERSION, in the folder above this skill's base directory
(<base directory>/../PIPELINE_VERSION), so a later retro can tell which pipeline produced it.
Ask the user to review it. Apply requested changes. Once they approve, commit it:
git add {{feature-docs}}/SPEC.md
git commit -m "docs({feature-name}): add spec"
Do not push; the developer stage pushes the branch with the PR.
User: "Users should be able to mark movies as watched and see them in a new tab."
watched-movies, feat → branch {{feat-prefix}}watched-movies{{rules}} and existing specsWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub pantstamp/ai-dev-pipeline --plugin ai-pipeline6 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.
/developerImplements a PLAN.md one phase at a time on the feature branch, running each phase's verification, committing it, and stopping for the user's approval before the next; then offers the pre-PR gate, and pushes and opens the pull request. Use when the user wants to implement, build or execute a plan, start or resume a phase, or create the PR.
/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.
/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.
Other plugins' skills for the same job