/pr-workflow:plan-pipeline-startfrom pr-workflow
Runs a structured 5-phase planning process (PRD analysis, design review, technical decisions, research, metrics) that produces implementation plans and ADRs before any code is written. Use for non-trivial features.
Ships in pr-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Analyze the request and produce a complete implementation plan through structured phases. No code is written. Every significant decision is recorded. Run /clear after this command before running /plan-pipeline-validate.
Skip if no PRD exists (refactor, infra change, bug fix).
Read all PRD files and docs/INFORMATION_ARCHITECTURE.md if present. Scan the codebase to understand current implementation status.
Surface findings in 3 buckets:
Missing requirements: acceptance criteria that are absent or incomplete Ambiguous requirements: items with multiple valid interpretations Compliance concerns: security, data privacy, API contract implications
For each finding: present options with concrete pros/cons. Discuss with user. Record every decision in the plan file under a ## Decisions section before moving on. Do not proceed past unresolved ambiguities.
Skip if no UI changes are in scope.
Read: DESIGN_SYSTEM.md, existing UX ADRs, CLAUDE.md UX rules.
Produce specs for:
prefers-reduced-motion fallbacksCreate Design ADRs for significant UX decisions (choice of interaction pattern, new animation convention, platform divergence). Record minor layout choices directly in the plan file.
Spawn 1-2 Explore agents for targeted codebase research. Run them in the background via the Agent tool.
While agents run, check:
docs/adr/: if 3+ ADRs confirm a decision → auto-resolve without askingWhen agents return: present architecture decisions with 2-3 options each, concrete pros/cons, and a recommendation. Ask for user input on each unresolved decision.
For each significant decision:
docs/adr/ADR-XXXX.md using standard Nygard format (Context / Decision / Status / Consequences)docs/adr/PATTERNS.md with the new observationApply trigger rules to determine which research agents are needed. Present the proposed team with justification for each inclusion.
Research agent pool:
| Agent | Trigger | Model |
|---|---|---|
code-explorer | Always | Sonnet |
arch-researcher | Changes touch 2+ architectural layers | Sonnet |
database-analyst | Any DB schema change | Sonnet |
security-analyst | Auth, payments, PII, RBAC, rate limiting | Opus |
test-analyzer | Non-trivial feature (not just a bug fix) | Sonnet |
cross-platform-specialist | Web + mobile parity required | Sonnet |
native-app-specialist | Tasks touch mobile/native UI package | Sonnet |
design-system-researcher | UI changes in scope | Sonnet |
dependency-researcher | New packages being added | Sonnet |
devops-specialist | Docker, env vars, CI/CD changes | Sonnet |
integration-researcher | New services, libraries, OTEL config | Opus |
planning-coordinator | Always, when 2+ agents selected | Opus |
Tier labels (descriptive, not prescriptive):
Tell the user: "I recommend a [Tier N - Label] team: [agent list with one-line justification each]. Want to add or remove any agents?"
Wait for approval before Phase 4.
Tier 0: Conduct inline research. Write plan directly without spawning agents.
Tier 1+: Spawn approved agents in parallel using the Agent tool (run_in_background: true). For each agent, provide:
Monitor agents by reading their output files directly (TaskOutput was removed in v2.1.277; use Read on the output path reported by the agent instead). Report progress: "3/6 agents complete..."
When all agents return: if planning-coordinator was spawned, send it all agent reports and have it synthesize the final plan. Otherwise, synthesize directly.
Plan file structure (docs/plans/plan-{name}.md):
# Plan: {feature-name}
Created: {date} | Branch: {branch-name} | Tier: {N}
## Summary
One paragraph: what this implements and why.
## Decisions
Decisions recorded during Phase 1 (PRD analysis).
## Architecture
ADRs created, patterns applied, architectural choices made.
## Tasks
Ordered task list with layers (1 = foundation, 2 = depends on 1, etc.)
### Layer 1
- [ ] Task A: description, files affected, acceptance criteria
- [ ] Task B: description, files affected, acceptance criteria
### Layer 2
- [ ] Task C (depends on A): description, files affected, acceptance criteria
## Test Plan
How each task will be verified. TDD tasks marked explicitly.
## Integration Verification
Smoke test commands to run post-execution (if backend/services in scope).
## Out of Scope
What this plan explicitly does not address.
Commit: plan file + ADR files + agent report manifests.
Record timestamps, phase durations, agent counts, and cost estimates in docs/plans/metrics/{name}.json. Commit.
Report the plan path and tell the user to run /clear, then /plan-pipeline-validate. This skill is user-invoked only, so Claude cannot start validation itself. If human discussion occurred, ask "Ready to validate this plan?" first.
/plan-pipeline-start
Provide the feature description or point to a PRD file when prompted. The skill handles the rest interactively.
Use for any non-trivial feature: anything touching more than 2 files, involving architecture decisions, or where a planning mistake would be expensive to undo.
For simple changes (typos, trivial refactors): use /plan mode instead.
/plan-pipeline-ceo-review → product direction locked
/plan-pipeline-eng-review → architecture locked
/plan-pipeline-start → produce implementation plan ← you are here
/plan-pipeline-validate → validate before execution
/plan-pipeline-execute → execute to merged PR
What SKILL.md sets; muted values are Claude Code's defaults
highnpx claudepluginhub florianbruniaux/claude-code-plugins --plugin pr-workflow14 skills in this plugin
/handoff-createGenerate a structured handoff document from the current session. Captures scope, relevant files with line numbers, key discoveries, work completed, current status, next steps, and code snippets. Use before ending a session or handing work to another agent./handoff-resumeLoad a handoff document and resume work from where a previous session left off. Parses scope, file references, completed work, and next steps, then checks live state and existing authorization before proceeding./handoff-updateUpdate an existing handoff document with current session progress. Applies section-specific merge rules: append-only for Work Done (never deletes history), replace for Status and Next Steps, merge for Files and Discoveries. Falls back to creating a new handoff if no source file is found./issue-triageTriage a GitHub issue backlog in 3 phases: audit, deep analysis, and validated comment, label, or close actions. Use when triaging GitHub issues, sorting bug reports, cleaning up stale tickets, or detecting duplicate issues. Not for pull requests (use pr-triage)./plan-pipelineCoordinate the plan-to-merged-PR pipeline: product direction (ceo-review), architecture (eng-review), implementation plan (start), validation (validate), execution (execute). Use when planning and shipping a non-trivial feature end to end, or to resume the pipeline from a given stage. Not for small changes (use plan mode)./plan-pipeline-ceo-reviewStrategic product gate: challenge the brief and find the 10-star product hiding in the request before any code is written. Use before implementing a significant feature when the product direction is not locked.Other plugins' skills for the same job