Loading...
Loading...
Use when the user wants to author, refine, or audit a Product Requirements Document for AI coding agents. Walks through an 8-phase pipeline (Socratic discovery → PRD draft → acceptance criteria → adversarial review → task decomposition → AI-readiness gate → test generation → handoff). Triggers on "write a PRD", "spec this feature", "draft requirements", "prepare X for Claude/Cursor/Copilot/Windsurf/Aider to build", "audit my PRD", "is this PRD AI-ready", "score this spec".
npx skill4agent add el-frontend/software-engineering-skills ai-driven-prd| # | Phase | Input | Output | Prompt file |
|---|---|---|---|---|
| 1 | Socratic discovery | Raw request | | prompts/01-discovery.md |
| 2 | Raw → PRD | | | prompts/02-raw-to-prd.md |
| 3 | Acceptance criteria | PRD with FRs | Gherkin/EARS blocks | prompts/03-acceptance.md |
| 4 | Adversarial pass | PRD + ACs | failure-modes table | prompts/04-adversarial.md |
| 5 | Task decomposition | Validated PRD | | prompts/05-tasks.md |
| 6 | AI-readiness review | PRD + tasks | score ≥13/15 or fixes | prompts/06-readiness.md |
| 7 | Test generation | ACs + edge cases | failing tests committed | prompts/07-tests.md |
| 8 | Execution loop | PRD + tasks + tests | implemented PR | prompts/08-execution.md |
prompts/<section>templates/master-prd.mddocs/prd/tasks/tests/evals/progress.json⚠️ NEEDS INPUT:<context><requirements><do_not><acceptance_criteria>