Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
acedergren avatar

Prd

  • 19 installs
  • 22 repo stars
  • Updated May 28, 2026
  • acedergren/agentic-tools

prd is a Claude Code skill that produces drift-proof Product Requirements Documents through codebase-aware interactive discovery.

About

prd is a Claude Code skill for creating, updating, validating, and phasing a Product Requirements Document. It runs interactive discovery, scans the codebase before asking questions, and writes a living PRD with Given/When/Then acceptance criteria and a phasing DAG. A developer uses it when planning a feature and needing requirements that will not drift from the real architecture. It bundles a template, validation checklist, drift-prevention rules, and phase-listing scripts.

  • Drives interactive discovery to produce a drift-proof Product Requirements Document
  • Scans the codebase first, then asks max 4 questions per round before drafting
  • Builds a phasing DAG and can emit an orchestrate-ready task plan via --to-plan

Prd by the numbers

  • 19 all-time installs (skills.sh)
  • Ranked #2,032 of 3,282 Productivity & Planning skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

prd capabilities & compatibility

Capabilities
prd generation · requirements discovery · phasing · spec validation
Use cases
planning · project management · documentation
Pricing
Free
From the docs

What prd says it does

Produce drift-proof Product Requirements Documents through iterative discovery.
SKILL.md
Never generate a PRD without scanning the codebase first
SKILL.md
npx skills add https://github.com/acedergren/agentic-tools --skill prd

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs19
repo stars22
Last updatedMay 28, 2026
Repositoryacedergren/agentic-tools

What it does

Create, update, validate, or phase a drift-proof Product Requirements Document through interactive discovery.

Who is it for?

Producing, updating, validating, or phasing a full PRD with testable acceptance criteria and a phasing DAG.

Skip if: Lightweight notes or issues, code reviews, or when a final spec exists and only implementation planning is needed.

When should I use this skill?

Creating, updating, validating, or phasing a PRD.

What you get

A living PRD at .claude/reference/PRD.md with testable criteria, architecture decisions, and a valid phasing DAG.

  • PRD.md requirements document
  • phasing DAG
  • orchestrate-ready task plan

By the numbers

  • Max 4 discovery questions per round
  • 2 to 4 discovery rounds
  • Four-wave phasing model (foundation to polish)

Files

SKILL.mdMarkdownGitHub ↗

PRD Skill

Produce drift-proof Product Requirements Documents through iterative discovery.

Output: .claude/reference/PRD.md (living requirements document for the project).

Do NOT load when

  • user has a final spec and only wants implementation planning (use /orchestrate or /prd --to-plan)
  • task is a code review or repo health check
  • request is a lightweight note or issue, not a full requirements document

NEVER

  • Never generate a PRD without scanning the codebase first — requirements that contradict existing architecture produce unimplementable specs
  • Never write acceptance criteria as "should work correctly" — use Given/When/Then; untestable criteria cannot be verified at phase completion
  • Never skip dependency analysis — untracked dependencies produce phases that can't be parallelized safely
  • Never batch all discovery questions into one wall of text — max 4 questions per round; users disengage from interrogations
  • Never assume a library version — check package.json and npm; version assumptions produce broken phase plans
  • Never write phasing without dependency arrows — phases must be a DAG; implicit ordering creates unmergeable parallel work
  • Never leave `[NEEDS CLARIFICATION]` markers in a finalized PRD — they signal a spec that cannot drive implementation

Mode routing

ArgumentModeDescription
_(empty)_CreateInteractive PRD creation from scratch
<feature text>CreateStart with context, then iterate
--updateUpdateIncremental update to existing PRD
--validateValidateRun validation checklist on existing PRD
--audit-depsAuditDependency/drift analysis only
--to-planPlanGenerate orchestrate-ready task plan

Create mode

Phase 1 — Codebase scan (automatic, before any questions)

Launch an Explore agent to map relevant codebase areas. Read roadmap/changelog for prior decisions. Check for outdated dependencies in scope. This prevents asking questions the codebase already answers.

Phase 2 — Interactive discovery (2–4 rounds, max 4 questions each)

  • Round 1: Problem, who, success criteria, personas
  • Round 2: MoSCoW priorities, explicit out-of-scope, interactions
  • Round 3: Architecture constraints, database, auth, performance
  • Round 4 (if needed): Phasing, parallelization risks

Never draft before Round 2. Never ask what the codebase scan already answered.

Phase 3 — Draft

Read template.md. Write to .claude/reference/PRD.md. Mark gaps [NEEDS CLARIFICATION: ...]. Populate Architecture Decisions (AD-N entries). Build phasing DAG with explicit arrows.

Phase 4 — Validation

Read validation.md, run every check. Present pass/fail. Iterate until critical gates pass.

Phase 5 — Finalize

Remove all markers. Commit: docs(prd): add <feature-name> requirements.

Update mode (--update)

1. Read existing PRD 2. Ask what changed (new requirement, scope change, dependency update) 3. Launch Explore agent to detect codebase drift since last PRD update 4. Generate diff-style updates: [ADDED], [CHANGED], [REMOVED], [DRIFT DETECTED] 5. Present for approval, apply, re-validate

Plan mode (--to-plan)

Transforms PRD phasing into an /orchestrate-ready task plan at docs/plans/<feature-name>-plan.md.

Wave assignment rules:

  • Wave 1: Schemas, types, migrations, config (foundation)
  • Wave 2: Routes, services, repositories (implementation)
  • Wave 3: Wiring, UI, end-to-end flows (integration)
  • Wave 4: Error handling, edge cases, docs (polish)

Agent assignment rules:

  • haiku: Type definitions, config, simple CRUD, test writing
  • sonnet: Business logic, complex integrations, security-sensitive code

Requires V5 (DAG) validation to pass before generating the plan.

Validate mode (--validate)

Read validation.md and run all gates. Print pass/fail with line references.

Audit-deps mode (--audit-deps)

Read drift-prevention.md and run dependency freshness + architectural drift checks.

Scripts

bash scripts/check-prd-assets.sh skills/prd
node scripts/list-prd-phases.js .claude/reference/PRD.md

Arguments

  • /prd — interactive creation
  • /prd Workflow Designer — start with context
  • /prd --update — incremental update
  • /prd --validate — run validation only
  • /prd --audit-deps — dependency audit only
  • /prd --to-plan — generate orchestrate-ready task plan

Related skills

FAQ

How does prd avoid requirements that contradict the code?

It launches an Explore agent to scan the codebase before asking any questions, preventing requirements that contradict existing architecture.

How should acceptance criteria be written?

As Given/When/Then statements, never as 'should work correctly', because untestable criteria cannot be verified at phase completion.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.