From PDLC Pipeline
Development process orchestrator. Runs the full PDLC pipeline from an approved REQ — parallel cross-reviews, feedback loops, spec generation, and implementation handoff. Implements Evaluator-Optimizer + Parallelization patterns from Anthropic's Building Effective Agents.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pdlc:orchestrate-devThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are the **orchestrator** for the product development lifecycle. You coordinate skills as workers, manage feedback loops, and gate each phase on quality approval.
You are the orchestrator for the product development lifecycle. You coordinate skills as workers, manage feedback loops, and gate each phase on quality approval.
Pattern: Evaluator-Optimizer with Parallelization.
Scope: You do NOT write requirements, specs, or code yourself. You coordinate skills and manage gates. Your only direct action is reading documents, determining approval status, and dispatching agents.
/pdlc:orchestrate-dev docs/{feature-name}/REQ-{feature-name}.md
The argument must be a path to a user-approved REQ document.
| Skill | Role |
|---|---|
pm-author | Creates REQ, FSPEC; processes feedback on PM-owned docs |
pm-review | Reviews TSPEC, PLAN, PROPERTIES, implementation from product perspective |
se-author | Creates TSPEC, PLAN; implements code (TDD); addresses feedback on SE-owned docs |
se-review | Reviews REQ, FSPEC, PROPERTIES from technical perspective |
te-author | Creates PROPERTIES; addresses feedback on TE-owned docs |
te-review | Reviews REQ, FSPEC, TSPEC, PLAN, implementation from testing perspective |
tech-lead | Executes PLAN by dispatching parallel SE agents |
harvest-learnings | Distills cross-reviews + post-mortems into LEARNINGS, then deletes the process artifacts (Phase H) |
[User-approved REQ]
│
▼
┌────────────────────────────────────────────┐
│ Phase R: REQ Cross-Review Loop │
│ Reviewers (parallel): se-review, te-review│
│ Optimizer: pm-author │
│ Loop until: se-review ✅ AND te-review ✅ │
└────────────────────────────────────────────┘
│
▼
┌────────────────────────────────────────────┐
│ Phase F: FSPEC Creation + Review Loop │
│ Creator: pm-author │
│ Reviewers (parallel): se-review, te-review│
│ Optimizer: pm-author │
│ Loop until: se-review ✅ AND te-review ✅ │
└────────────────────────────────────────────┘
│
▼
┌────────────────────────────────────────────┐
│ Phase T: TSPEC Creation + Review Loop │
│ Creator: se-author │
│ Reviewers (parallel): pm-review, te-review│
│ Optimizer: se-author │
│ Loop until: pm-review ✅ AND te-review ✅ │
└────────────────────────────────────────────┘
│
▼
┌────────────────────────────────────────────┐
│ Phase D: DECISIONS Gate (conditional) │
│ Orchestrator judges if warranted; │
│ if yes — Creator: se-author, │
│ Reviewers: pm-review, te-review; │
│ if no — log skip for Phase H │
└────────────────────────────────────────────┘
│
▼
┌────────────────────────────────────────────┐
│ Phase P: PLAN Creation + Review Loop │
│ Creator: se-author │
│ Reviewers (parallel): pm-review, te-review│
│ Optimizer: se-author │
│ Loop until: pm-review ✅ AND te-review ✅ │
└────────────────────────────────────────────┘
│
▼
┌────────────────────────────────────────────┐
│ Phase PR: PROPERTIES Creation + Review │
│ Creator: te-author │
│ Reviewers (parallel): pm-review, se-review│
│ Optimizer: te-author │
│ Loop until: pm-review ✅ AND se-review ✅ │
└────────────────────────────────────────────┘
│
▼
┌────────────────────────────────────────────┐
│ Phase I: Implementation │
│ tech-lead executes PLAN (parallel agents) │
└────────────────────────────────────────────┘
│
▼
┌────────────────────────────────────────────┐
│ Phase PT: PROPERTIES Tests │
│ se-author implements all PROPERTIES tests │
│ (TDD, full suite passes) │
└────────────────────────────────────────────┘
│
▼
┌────────────────────────────────────────────┐
│ Phase CR: Final Codebase Review Loop │
│ Reviewers (parallel): pm-review, te-review│
│ Against: REQ acceptance criteria │
│ Optimizer: se-author │
│ Loop until: pm-review ✅ AND te-review ✅ │
└────────────────────────────────────────────┘
│
▼
┌────────────────────────────────────────────┐
│ Phase H: Harvest │
│ harvest-learnings distills cross-reviews │
│ + post-mortems → LEARNINGS, then deletes │
│ the harvested CROSS-REVIEW-* files │
└────────────────────────────────────────────┘
│
▼
Pipeline Complete — ready for PR
| Document | Reviewers (parallel) | Optimizer |
|---|---|---|
| REQ | se-review, te-review | pm-author |
| FSPEC | se-review, te-review | pm-author |
| TSPEC | pm-review, te-review | se-author |
| DECISIONS (conditional) | pm-review, te-review | se-author |
| PLAN | pm-review, te-review | se-author |
| PROPERTIES | pm-review, se-review | te-author |
| Implementation | pm-review, te-review | se-author |
docs/postgres-storage/REQ-postgres-storage.md → postgres-storage).docs/{feature-name}/.Goal: Both se-review and te-review issue Approved.
Dispatch two agents in parallel using isolation: "worktree":
Agent 1 — se-review:
Invoke /pdlc:se-review to review docs/{feature-name}/REQ-{feature-name}.md.
Scope: technical feasibility, implementability of acceptance criteria,
non-functional requirements, missing technical constraints.
Output: docs/{feature-name}/CROSS-REVIEW-software-engineer-REQ[-v{N}].md
Commit and push.
Agent 2 — te-review:
Invoke /pdlc:te-review to review docs/{feature-name}/REQ-{feature-name}.md.
Scope: testability of acceptance criteria, completeness of edge cases,
precision of requirements, missing negative scenarios.
Output: docs/{feature-name}/CROSS-REVIEW-test-engineer-REQ[-v{N}].md
Commit and push.
Wait for both agents to complete.
Read both cross-review files. Check the Recommendation: line in each.
Report gate status to user: which reviewers approved/failed, summary of critical findings.
Invoke /pdlc:pm-author to process feedback on docs/{feature-name}/REQ-{feature-name}.md.
Read ALL cross-review files for REQ (including all versioned suffixes).
Address every High and Medium finding. Use judgment for Low.
Update docs/{feature-name}/REQ-{feature-name}.md in place.
Commit and push.
Loop back to 2a (increment review version suffix: -v2, -v3, ...).
Trigger: REQ approved.
Invoke /pdlc:pm-author to create a functional specification.
Input: docs/{feature-name}/REQ-{feature-name}.md
Output: docs/{feature-name}/FSPEC-{feature-name}.md
Commit and push.
Same structure as Step 2, targeting FSPEC-{feature-name}.md and output files CROSS-REVIEW-software-engineer-FSPEC[-v{N}].md / CROSS-REVIEW-test-engineer-FSPEC[-v{N}].md.
Loop until both approve or 5-iteration limit.
Trigger: FSPEC approved.
Invoke /pdlc:se-author to create a technical specification.
Input: docs/{feature-name}/REQ-{feature-name}.md
docs/{feature-name}/FSPEC-{feature-name}.md
Output: docs/{feature-name}/TSPEC-{feature-name}.md
Commit and push.
Dispatch two agents in parallel:
Agent 1 — pm-review:
Invoke /pdlc:pm-review to review docs/{feature-name}/TSPEC-{feature-name}.md.
Output: docs/{feature-name}/CROSS-REVIEW-product-manager-TSPEC[-v{N}].md
Commit and push.
Agent 2 — te-review:
Invoke /pdlc:te-review to review docs/{feature-name}/TSPEC-{feature-name}.md.
Output: docs/{feature-name}/CROSS-REVIEW-test-engineer-TSPEC[-v{N}].md
Commit and push.
Optimizer — se-author:
Invoke /pdlc:se-author to address feedback on docs/{feature-name}/TSPEC-{feature-name}.md.
Read ALL cross-review files for TSPEC (all versioned suffixes).
Address every High and Medium finding. Update TSPEC in place.
Commit and push.
Loop until both pm-review and te-review approve or 5-iteration limit.
Trigger: TSPEC approved.
Judge whether this feature has architectural decisions worth recording: were real alternatives weighed and rejected during TSPEC authoring/review? Look for rejected proposals in the TSPEC cross-reviews, contested design choices, or constraints that forced a non-obvious shape.
DECISIONS: skipped — no load-bearing alternatives), and proceed to Step 5. Do not create an empty DECISIONS doc.Invoke /pdlc:se-author to create a decisions document.
Input: docs/{feature-name}/TSPEC-{feature-name}.md (+ REQ, FSPEC, TSPEC cross-reviews)
Output: docs/{feature-name}/DECISIONS-{feature-name}.md
Commit and push.
Then run a cross-review loop (reviewers pm-review + te-review, optimizer se-author), output files CROSS-REVIEW-product-manager-DECISIONS[-v{N}].md / CROSS-REVIEW-test-engineer-DECISIONS[-v{N}].md, same gate and 5-iteration limit as other phases. pm-review checks each decision traces to a real product/scope constraint; te-review checks re-evaluation triggers are observable/testable.
Loop until both approve, then proceed to Step 5.
Trigger: TSPEC approved.
Invoke /pdlc:se-author to create an execution plan.
Input: docs/{feature-name}/REQ-{feature-name}.md
docs/{feature-name}/FSPEC-{feature-name}.md
docs/{feature-name}/TSPEC-{feature-name}.md
Output: docs/{feature-name}/PLAN-{feature-name}.md
Commit and push.
Dispatch two agents in parallel:
Agent 1 — pm-review:
Invoke /pdlc:pm-review to review docs/{feature-name}/PLAN-{feature-name}.md.
Output: docs/{feature-name}/CROSS-REVIEW-product-manager-PLAN[-v{N}].md
Commit and push.
Agent 2 — te-review:
Invoke /pdlc:te-review to review docs/{feature-name}/PLAN-{feature-name}.md.
Output: docs/{feature-name}/CROSS-REVIEW-test-engineer-PLAN[-v{N}].md
Commit and push.
Optimizer — se-author:
Invoke /pdlc:se-author to address feedback on docs/{feature-name}/PLAN-{feature-name}.md.
Read ALL cross-review files for PLAN (all versioned suffixes).
Update PLAN in place. Commit and push.
Loop until both pm-review and te-review approve or 5-iteration limit.
Trigger: PLAN approved.
Invoke /pdlc:te-author to create a properties document.
Input: docs/{feature-name}/REQ-{feature-name}.md
docs/{feature-name}/FSPEC-{feature-name}.md
docs/{feature-name}/TSPEC-{feature-name}.md
docs/{feature-name}/PLAN-{feature-name}.md
Output: docs/{feature-name}/PROPERTIES-{feature-name}.md
Commit and push.
Dispatch two agents in parallel:
Agent 1 — pm-review:
Invoke /pdlc:pm-review to review docs/{feature-name}/PROPERTIES-{feature-name}.md.
Output: docs/{feature-name}/CROSS-REVIEW-product-manager-PROPERTIES[-v{N}].md
Commit and push.
Agent 2 — se-review:
Invoke /pdlc:se-review to review docs/{feature-name}/PROPERTIES-{feature-name}.md.
Output: docs/{feature-name}/CROSS-REVIEW-software-engineer-PROPERTIES[-v{N}].md
Commit and push.
Optimizer — te-author:
Invoke /pdlc:te-author to address feedback on docs/{feature-name}/PROPERTIES-{feature-name}.md.
Read ALL cross-review files for PROPERTIES (all versioned suffixes).
Update PROPERTIES in place. Commit and push.
Loop until both pm-review and se-review approve or 5-iteration limit.
Trigger: PROPERTIES approved.
Invoke /pdlc:tech-lead docs/{feature-name}/PLAN-{feature-name}.md
The tech-lead will parse the PLAN, present the batch execution plan to the user for approval, dispatch se-author agents in parallel per batch, merge worktrees, run the test suite, and update PLAN statuses to ✅.
Wait for tech-lead to report all phases complete. If tech-lead halts for any reason → halt the orchestrator and report the failure. Do not proceed to Step 8.
Trigger: tech-lead reports all PLAN phases complete.
Invoke /pdlc:se-implement to implement PROPERTIES tests.
Input: docs/{feature-name}/PROPERTIES-{feature-name}.md
docs/{feature-name}/TSPEC-{feature-name}.md
docs/{feature-name}/PLAN-{feature-name}.md
Task: For each property without a corresponding test, write it using TDD
(Red → Green → Refactor) at the level specified in PROPERTIES (Unit / Integration / E2E).
Run the full test suite. All tests must pass before committing.
Commit and push.
If any test fails → halt and report to user.
Trigger: PROPERTIES tests passing.
Dispatch two agents in parallel:
Agent 1 — pm-review:
Invoke /pdlc:pm-review to review the implemented codebase.
Input: docs/{feature-name}/REQ-{feature-name}.md (source of truth) + current feature branch.
Output: docs/{feature-name}/CROSS-REVIEW-product-manager-IMPLEMENTATION[-v{N}].md
Commit and push.
Agent 2 — te-review:
Invoke /pdlc:te-review to review the implemented codebase.
Input: docs/{feature-name}/REQ-{feature-name}.md
docs/{feature-name}/PROPERTIES-{feature-name}.md
test suite on current feature branch.
Output: docs/{feature-name}/CROSS-REVIEW-test-engineer-IMPLEMENTATION[-v{N}].md
Commit and push.
Gate Check:
Invoke /pdlc:se-implement to address implementation review feedback.
Read all CROSS-REVIEW-*-IMPLEMENTATION[-v{N}].md files.
Fix all High and Medium findings. Follow TDD for new code.
Run full test suite. All tests must pass. Commit and push.
Loop until both approve or 5-iteration limit.
Trigger: Final codebase review approved.
⚠️ Gating prerequisite: This phase reads
CROSS-REVIEW-*andPOSTMORTEM-*files that subagents wrote in worktrees. They must have merged ontofeat-{feature-name}first. Do not enable Phase H until the feature-branch-consistency fix has landed (artifacts written in a worktree must survive merge before harvest reads them), or harvest will read a branch missing the files. Until then, skip Phase H and leave cross-reviews in place.
Invoke /pdlc:harvest-learnings docs/{feature-name}
Read ALL CROSS-REVIEW-*.md (every doc type, every -v{N}) and POSTMORTEM-*.md for the feature.
Distill durable signal into docs/{feature-name}/LEARNINGS-{feature-name}.md using Scope tags.
Commit and push LEARNINGS FIRST.
Then delete the harvested CROSS-REVIEW-* files. Commit and push.
A guard hook blocks deletion of any CROSS-REVIEW-* file until LEARNINGS-{feature-name}.md exists on the branch — harvest-then-delete is enforced, not merely intended.
If harvest-learnings fails or the guard blocks a deletion → halt and report. Leave cross-reviews in place; do not proceed to Step 10 with a half-harvested feature.
Pipeline complete. Feature {feature-name} is fully implemented and reviewed.
REQ: docs/{feature-name}/REQ-{feature-name}.md ✅ Approved
FSPEC: docs/{feature-name}/FSPEC-{feature-name}.md ✅ Approved
TSPEC: docs/{feature-name}/TSPEC-{feature-name}.md ✅ Approved
PLAN: docs/{feature-name}/PLAN-{feature-name}.md ✅ Complete
PROPERTIES: docs/{feature-name}/PROPERTIES-{feature-name}.md ✅ Approved
Implementation: ✅ Approved
All tests passing: ✅
LEARNINGS: docs/{feature-name}/LEARNINGS-{feature-name}.md ✅ Harvested
Cross-reviews harvested and removed: ✅
Ready for PR. Run /review to generate a pull request review.
CROSS-REVIEW-{skill}-{doc-type}.mdCROSS-REVIEW-{skill}-{doc-type}-v2.md-v3.md, -v4.md, ...The optimizer always reads all versions before addressing feedback.
Each review loop has a maximum of 5 iterations. If the limit is reached:
When any review loop hits the 5-iteration limit, before halting, write docs/{feature-name}/POSTMORTEM-{phase}-{feature-name}.md (e.g. POSTMORTEM-TSPEC-postgres-storage.md):
# POSTMORTEM — {phase} non-convergence — {feature-name}
| Field | Detail |
|---|---|
| Phase | {REQ / FSPEC / TSPEC / DECISIONS / PLAN / PROPERTIES / IMPLEMENTATION} |
| Iterations | 5 (limit reached) |
| Reviewers | {who} |
## Pattern of Disagreement
Across iterations: did one reviewer keep raising the same finding? did findings shift each round? did two reviewers pull in opposite directions?
## Best-Guess Root Cause
The optimizer's read on *why* it wouldn't converge.
## Recommendation
One of: **skill-prompt issue** (a review/author skill needs sharper guidance) · **upstream-doc ambiguity** (REQ/FSPEC under-specified) · **genuine cross-functional tension** (needs human/leadership resolution).
This file is read by Phase H (harvest-learnings) and feeds the next consolidation pass. Commit and push it before halting.
| Recommendation | Gate Decision |
|---|---|
| Approved | ✅ Pass |
| Approved with minor changes | ✅ Pass |
| Needs revision | ❌ Fail — trigger optimizer |
A gate passes only when all reviewers for that phase have issued a passing recommendation.
| Scenario | Action |
|---|---|
| REQ file not found | Report path, halt |
| Reviewer agent fails | Report failure, halt |
| Optimizer agent fails | Report failure, halt — do not proceed with stale doc |
| Loop limit reached | Write POSTMORTEM-{phase}-{feature}.md, then halt and summarize unresolved findings |
| tech-lead halts | Propagate failure, halt orchestrator |
| Test suite fails | Halt, report failing tests |
| Merge conflict in worktree | Abort merge, halt, report conflicting files |
[Phase R — REQ Review] Iteration 1
se-review: Needs revision (3 findings: 2 High, 1 Low)
te-review: Needs revision (2 findings: 1 High, 1 Medium)
[Phase R — REQ Review] pm-author addressing 6 findings...
[Phase R — REQ Review] Iteration 2
se-review: Approved ✅
te-review: Approved with minor changes ✅
[Phase R] REQ approved — proceeding to FSPEC.
Use this format for all phases. Never silently skip a phase or loop iteration.
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub ohenak/yumo-plugins --plugin pdlc