/pr-workflow:plan-pipeline-validate [plan-name]from pr-workflow
Validates plans from /plan-pipeline-start with structural checks and specialist agent reviews. Auto-fixes issues using ADRs and first principles before execution.
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.
Independently validate the plan produced by /plan-pipeline-start. No code is written. Run /clear after this command before running /plan-pipeline-execute.
Validation is separate from planning by design: validators that didn't write the plan are not anchored to its assumptions.
A committed plan file must exist at docs/plans/plan-{name}.md. If multiple plans exist, list them and ask the user which to validate.
Run immediately, no agents required. Check the plan document for:
Format & Completeness
Dependency Chain
File Existence
ADR Consistency
/plan-pipeline-startdocs/adr/CLAUDE.md Compliance
Test Coverage
Record all Layer 1 issues with severity (BLOCKER / WARNING / INFO) before proceeding to Layer 2.
Select agents by applying trigger rules to the plan content. No user input needed; triggers are objective.
Validation agent pool:
| Agent | Trigger | Model |
|---|---|---|
security-reviewer | Auth, payments, PII, RBAC, new public APIs | Opus |
db-migration-reviewer | New tables, columns, indexes, or migration files | Opus |
performance-reviewer | New queries, resolvers, routes, or added dependencies | Sonnet |
design-system-reviewer | New UI components or visual styling changes | Sonnet |
ux-reviewer | New pages, forms, modals, or interaction patterns | Sonnet |
cross-platform-reviewer | Changes touching both web and mobile, or shared packages | Sonnet |
native-app-reviewer | Mobile screens, native UI package changes | Sonnet |
integration-reviewer | New external services, libraries, or OTEL config | Opus |
Spawn triggered agents in parallel (Agent tool, run_in_background: true). Each agent receives: the plan file, relevant ADRs, and targeted questions based on its domain.
Monitor via Read on the output path reported by the agent (TaskOutput was removed in v2.1.277). Report progress to user.
Each agent must return structured findings:
FINDING: [BLOCKER|WARNING|INFO]
Location: [plan section or file reference]
Issue: [concrete description]
Risk: [what breaks if this isn't addressed]
Suggestion: [specific fix or alternative]
Merge Layer 1 structural issues + Layer 2 specialist findings into a single issue list. Every issue must be resolved. No skipping.
Triage each issue:
Bucket A: Auto-resolve
Bucket B: Needs human input
For Bucket B items: present the issue, explain why it can't be auto-resolved, propose options, wait for decision. Record the decision in the plan's ## Decisions section and create a new ADR if it's architecturally significant.
Apply all fixes in one batch once all issues are triaged. Update the plan file. Commit the updated plan.
Record every issue in docs/plans/metrics/{name}.json under validation.issues:
{
"id": "S-001",
"layer": 1,
"severity": "WARNING",
"category": "test-coverage",
"description": "No test task for the new webhook handler",
"reporting_agent": "structural",
"triage": "A",
"resolution_source": "first-principles",
"resolution": "Added test task in Layer 2 of the plan"
}
Report the resolved issue count and tell the user to run /clear, then /plan-pipeline-execute. Never start execution automatically: it merges a PR. If human input was required (Bucket B), ask "All issues resolved. Ready to execute?" first.
/plan-pipeline-validate
Picks up the most recent plan in docs/plans/ automatically. Or specify:
/plan-pipeline-validate plan-user-authentication
Layer 1: Structural validation...
✓ Format complete
✓ Dependencies valid
⚠ WARNING S-001: Missing test task for webhook handler
✓ CLAUDE.md compliant
Layer 2: Triggering specialist agents...
→ security-reviewer (auth changes detected) [Opus]
→ db-migration-reviewer (new users table) [Opus]
→ performance-reviewer (new query in /api/users) [Sonnet]
Monitoring... 1/3 complete... 2/3 complete... done.
BLOCKER B-001 [security-reviewer]: JWT expiry not validated on refresh endpoint
WARNING B-002 [db-migration-reviewer]: Migration lacks rollback strategy
Auto-fix phase:
S-001 → auto-resolved (first principles: test coverage rule)
B-001 → NEEDS INPUT (no existing ADR for JWT refresh strategy)
B-002 → auto-resolved (ADR-0003: migration rollback pattern)
[User input requested for B-001]
Decision recorded. ADR-0011 created.
All 3 issues resolved. Plan updated.
→ Next: /clear, then /plan-pipeline-execute
Always run before any /plan-pipeline-execute call. The cost of validation is small against the cost of discovering issues mid-execution.
/plan-pipeline-ceo-review → product direction locked
/plan-pipeline-eng-review → architecture locked
/plan-pipeline-start → produce implementation plan
/plan-pipeline-validate → validate before execution ← you are here
/plan-pipeline-execute → execute to merged PR
What SKILL.md sets; muted values are Claude Code's defaults
mediumnpx 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