PRDs & Project Context
Create product requirements and project context that humans and coding assistants can execute effectively.
Two capabilities:
- PRDs & Specs - Requirements, specs, stories, acceptance criteria
- Project Context - Architecture, conventions, tribal knowledge (CLAUDE.md)
Modern Best Practices (Jan 2026): Context engineering (right info, right format, right time), decision-first docs, testable requirements with acceptance criteria, metrics with formula + timeframe + data source, cross-tool portability.
Workflow (Use This Order)
- Pick the deliverable (PRD, AI PRD, tech spec, story map, CLAUDE.md).
- Gather inputs (problem evidence, users, constraints, dependencies, risks).
- Fill the template (write decisions first; keep requirements testable).
- Validate with checklists (requirements, edge cases, security/compliance as needed).
- Hand off with next actions (implementation plan, owners, open questions).
Docs Folder + LLM Iteration Option (Any Repo)
Use this when a repository has a docs/ folder with:
- research docs prepared for LLM consumption
- feature docs/specs generated by LLMs during implementation
Run this flow before finalizing PRDs/specs:
- Classify each file by purpose (
Tutorial, How-to, Reference, Explanation) to prevent mixed doc types.
- Tag each non-canonical file with lifecycle metadata (
status, owner, last_verified, integrates_into, delete_by).
- Pick one canonical doc per feature/decision; merge duplicate drafts into it.
- Convert long research notes into short evidence-backed claims in canonical docs; keep links/dates for external facts.
- Maintain a compact canonical library for LLMs with root anchors:
AGENTS.md (agent instructions) and README.md (human + AI entrypoint), then link deeper specs from docs/.
- Delete integrated drafts by
delete_by date; do not keep .archive/ mirrors in docs/ unless compliance explicitly requires retention.
Quick Reference
PRDs & Specs
| Task |
Template |
| PRD creation |
assets/prd/prd-template.md |
| Tech spec |
assets/spec/tech-spec-template.md |
| Planning checklist |
assets/planning/planning-checklist.md |
| Story mapping |
assets/stories/story-mapping-template.md |
| Gherkin/BDD |
assets/stories/gherkin-example-template.md |
| AI PRD |
assets/prd/ai-prd-template.md |
Project Context (CLAUDE.md)
| Context Type |
Template |
Priority |
| Architecture |
assets/architecture-context.md |
Critical |
| Conventions |
assets/conventions-context.md |
High |
| Key Files |
assets/key-files-context.md |
Critical |
| Minimal Start |
assets/minimal-claudemd.md |
5-min |
| Cross-Tool |
assets/cross-tool-context.md |
Multi-tool |
Decision Tree
User needs:
├─► AI-Assisted Coding?
│ ├─ Non-trivial (>3 files)? → Planning checklist + agentic session
│ └─ Simple (<3 files)? → Direct implementation
│
├─► Repo has a docs folder with LLM-generated research/feature docs?
│ └─ Use Docs Folder + LLM Iteration Option, then validate with qa-docs-coverage
│
├─► Project Onboarding?
│ ├─ New to codebase? → Generate CLAUDE.md
│ └─ Quick context? → Minimal CLAUDE.md
│
└─► Traditional PRD?
├─ Product requirements? → PRD template
├─ AI feature? → AI PRD template
└─ Acceptance criteria? → Gherkin/BDD
Cross-Tool Context Files
| Tool |
Location |
Notes |
| Claude Code |
CLAUDE.md, .claude/ |
Auto-loaded |
| Cursor |
.cursor/rules/ |
Project rules |
| Copilot |
.github/copilot-instructions.md |
Workspace context |
| Generic |
AGENTS.md |
Tool-agnostic |
CLAUDE.md / AGENTS.md Guidance
- Start minimal: assets/minimal-claudemd.md
- Add only what’s needed: assets/architecture-context.md, assets/conventions-context.md, assets/key-files-context.md, assets/dependencies-context.md, assets/tribal-knowledge-context.md
- Keep it executable: commands must run; include no secrets; prefer file paths over pasted code
Do / Avoid
Do
- Start with executive summary (decision, users, scope, success)
- Define acceptance criteria in testable language
- Keep requirements unambiguous (must/should/may)
- Link to supporting docs instead of pasting
Avoid
- Vague requirements ("fast", "easy") without definitions
- Mixing draft notes and final requirements
- Metrics without measurement plan
- Docs with no owner or review cadence
- Dual-state wording that mixes live behavior, target behavior, and migration behavior in one statement
LLM Ambiguity Gate (Required for planning docs)
- Label every behavior as exactly one of:
Live now, Target, or Transition (with owner + end condition).
- Label every metric as either
Reference signal or Release blocker.
- Define one canonical feature-gating contract per feature; all other docs must link to it instead of restating variants.
- Keep assumptions/open questions separate from final decisions.
- If conflicts exist across docs, mark one canonical source and add follow-up tasks to resolve mirrors.
Context Extraction
Use:
- references/architecture-extraction.md for components/data flows
- references/convention-mining.md for naming/patterns
- references/tribal-knowledge-recovery.md for git-history “why”
- references/docs-audit-commands.md for audit commands and tool fallbacks
Quality Checklist
PRD Quality
CLAUDE.md Quality
Resources
| Resource |
Purpose |
| references/agentic-coding-best-practices.md |
AI coding patterns |
| references/requirements-checklists.md |
PRD validation |
| references/traditional-prd-writing.md |
Classic PRD format |
| references/architecture-extraction.md |
Mining architecture |
| references/convention-mining.md |
Extracting conventions |
| references/tribal-knowledge-recovery.md |
Git history analysis |
| references/docs-audit-commands.md |
Audit shell commands |
| references/stakeholder-alignment.md |
Stakeholder buy-in, RACI, conflict resolution |
| references/acceptance-criteria-patterns.md |
Testable ACs, BDD, edge case coverage |
| references/prd-review-facilitation.md |
Running PRD reviews, feedback categorization |
| data/sources.json |
Curated external sources |
Templates
| Category |
Templates |
| PRDs |
prd-template, ai-prd-template, tech-spec-template |
| Planning |
planning-checklist, agentic-session-template |
| Stories |
story-mapping-template, gherkin-example-template |
| Context |
architecture, conventions, key-files, minimal-claudemd |
| Stack-specific |
nodejs-context, python-context, react-context, go-context |
Related Skills
Fact-Checking
- Use web search/web fetch to verify current external facts, versions, pricing, deadlines, regulations, or platform behavior before final answers.
- Prefer primary sources; report source links and dates for volatile information.
- If web access is unavailable, state the limitation and mark guidance as unverified.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: docs-ai-prd3description: Writes PRDs and specs optimized for coding assistants. Use when authoring requirements or project context for Claude Code, Cursor, or Copilot. Use when this capability is needed.4---56# PRDs & Project Context78Create product requirements and project context that humans and coding assistants can execute effectively.910**Two capabilities:**111. **PRDs & Specs** - Requirements, specs, stories, acceptance criteria122. **Project Context** - Architecture, conventions, tribal knowledge (CLAUDE.md)1314**Modern Best Practices (Jan 2026)**: Context engineering (right info, right format, right time), decision-first docs, testable requirements with acceptance criteria, metrics with formula + timeframe + data source, cross-tool portability.1516## Workflow (Use This Order)17181. Pick the deliverable (PRD, AI PRD, tech spec, story map, CLAUDE.md).192. Gather inputs (problem evidence, users, constraints, dependencies, risks).203. Fill the template (write decisions first; keep requirements testable).214. Validate with checklists (requirements, edge cases, security/compliance as needed).225. Hand off with next actions (implementation plan, owners, open questions).2324### Docs Folder + LLM Iteration Option (Any Repo)2526Use this when a repository has a `docs/` folder with:27- research docs prepared for LLM consumption28- feature docs/specs generated by LLMs during implementation2930Run this flow before finalizing PRDs/specs:311. Classify each file by purpose (`Tutorial`, `How-to`, `Reference`, `Explanation`) to prevent mixed doc types.322. Tag each non-canonical file with lifecycle metadata (`status`, `owner`, `last_verified`, `integrates_into`, `delete_by`).333. Pick one canonical doc per feature/decision; merge duplicate drafts into it.344. Convert long research notes into short evidence-backed claims in canonical docs; keep links/dates for external facts.355. Maintain a compact canonical library for LLMs with root anchors: `AGENTS.md` (agent instructions) and `README.md` (human + AI entrypoint), then link deeper specs from `docs/`.366. Delete integrated drafts by `delete_by` date; do not keep `.archive/` mirrors in `docs/` unless compliance explicitly requires retention.3738## Quick Reference3940### PRDs & Specs4142| Task | Template |43|------|----------|44| PRD creation | [assets/prd/prd-template.md](assets/prd/prd-template.md) |45| Tech spec | [assets/spec/tech-spec-template.md](assets/spec/tech-spec-template.md) |46| Planning checklist | [assets/planning/planning-checklist.md](assets/planning/planning-checklist.md) |47| Story mapping | [assets/stories/story-mapping-template.md](assets/stories/story-mapping-template.md) |48| Gherkin/BDD | [assets/stories/gherkin-example-template.md](assets/stories/gherkin-example-template.md) |49| AI PRD | [assets/prd/ai-prd-template.md](assets/prd/ai-prd-template.md) |5051### Project Context (CLAUDE.md)5253| Context Type | Template | Priority |54|--------------|----------|----------|55| **Architecture** | [assets/architecture-context.md](assets/architecture-context.md) | Critical |56| **Conventions** | [assets/conventions-context.md](assets/conventions-context.md) | High |57| **Key Files** | [assets/key-files-context.md](assets/key-files-context.md) | Critical |58| **Minimal Start** | [assets/minimal-claudemd.md](assets/minimal-claudemd.md) | 5-min |59| **Cross-Tool** | [assets/cross-tool-context.md](assets/cross-tool-context.md) | Multi-tool |6061---6263## Decision Tree6465```text66User needs:67 ├─► AI-Assisted Coding?68 │ ├─ Non-trivial (>3 files)? → Planning checklist + agentic session69 │ └─ Simple (<3 files)? → Direct implementation70 │71 ├─► Repo has a docs folder with LLM-generated research/feature docs?72 │ └─ Use Docs Folder + LLM Iteration Option, then validate with qa-docs-coverage73 │74 ├─► Project Onboarding?75 │ ├─ New to codebase? → Generate CLAUDE.md76 │ └─ Quick context? → Minimal CLAUDE.md77 │78 └─► Traditional PRD?79 ├─ Product requirements? → PRD template80 ├─ AI feature? → AI PRD template81 └─ Acceptance criteria? → Gherkin/BDD82```8384---8586## Cross-Tool Context Files8788| Tool | Location | Notes |89|------|----------|-------|90| Claude Code | `CLAUDE.md`, `.claude/` | Auto-loaded |91| Cursor | `.cursor/rules/` | Project rules |92| Copilot | `.github/copilot-instructions.md` | Workspace context |93| Generic | `AGENTS.md` | Tool-agnostic |9495---9697## CLAUDE.md / AGENTS.md Guidance9899- Start minimal: [assets/minimal-claudemd.md](assets/minimal-claudemd.md)100- Add only what’s needed: [assets/architecture-context.md](assets/architecture-context.md), [assets/conventions-context.md](assets/conventions-context.md), [assets/key-files-context.md](assets/key-files-context.md), [assets/dependencies-context.md](assets/dependencies-context.md), [assets/tribal-knowledge-context.md](assets/tribal-knowledge-context.md)101- Keep it executable: commands must run; include no secrets; prefer file paths over pasted code102103---104105## Do / Avoid106107### Do108109- Start with executive summary (decision, users, scope, success)110- Define acceptance criteria in testable language111- Keep requirements unambiguous (must/should/may)112- Link to supporting docs instead of pasting113114### Avoid115116- Vague requirements ("fast", "easy") without definitions117- Mixing draft notes and final requirements118- Metrics without measurement plan119- Docs with no owner or review cadence120- Dual-state wording that mixes live behavior, target behavior, and migration behavior in one statement121122---123124## LLM Ambiguity Gate (Required for planning docs)125126- Label every behavior as exactly one of: `Live now`, `Target`, or `Transition` (with owner + end condition).127- Label every metric as either `Reference signal` or `Release blocker`.128- Define one canonical feature-gating contract per feature; all other docs must link to it instead of restating variants.129- Keep assumptions/open questions separate from final decisions.130- If conflicts exist across docs, mark one canonical source and add follow-up tasks to resolve mirrors.131132---133134## Context Extraction135136Use:137- [references/architecture-extraction.md](references/architecture-extraction.md) for components/data flows138- [references/convention-mining.md](references/convention-mining.md) for naming/patterns139- [references/tribal-knowledge-recovery.md](references/tribal-knowledge-recovery.md) for git-history “why”140- [references/docs-audit-commands.md](references/docs-audit-commands.md) for audit commands and tool fallbacks141142---143144## Quality Checklist145146### PRD Quality147- [ ] Clear problem statement148- [ ] Measurable success criteria149- [ ] Unambiguous acceptance criteria150- [ ] Edge cases documented151- [ ] AI can execute without clarification152- [ ] Every behavior is labeled `Live now`, `Target`, or `Transition`153- [ ] Metrics are labeled `Reference signal` or `Release blocker`154- [ ] Each feature-gating rule has one canonical source (no conflicting duplicates)155156### CLAUDE.md Quality157- [ ] Architecture reflects actual structure158- [ ] Key files exist at listed locations159- [ ] Conventions match actual patterns160- [ ] Commands actually work161- [ ] No sensitive information162163---164165## Resources166167| Resource | Purpose |168|----------|---------|169| [references/agentic-coding-best-practices.md](references/agentic-coding-best-practices.md) | AI coding patterns |170| [references/requirements-checklists.md](references/requirements-checklists.md) | PRD validation |171| [references/traditional-prd-writing.md](references/traditional-prd-writing.md) | Classic PRD format |172| [references/architecture-extraction.md](references/architecture-extraction.md) | Mining architecture |173| [references/convention-mining.md](references/convention-mining.md) | Extracting conventions |174| [references/tribal-knowledge-recovery.md](references/tribal-knowledge-recovery.md) | Git history analysis |175| [references/docs-audit-commands.md](references/docs-audit-commands.md) | Audit shell commands |176| [references/stakeholder-alignment.md](references/stakeholder-alignment.md) | Stakeholder buy-in, RACI, conflict resolution |177| [references/acceptance-criteria-patterns.md](references/acceptance-criteria-patterns.md) | Testable ACs, BDD, edge case coverage |178| [references/prd-review-facilitation.md](references/prd-review-facilitation.md) | Running PRD reviews, feedback categorization |179| [data/sources.json](data/sources.json) | Curated external sources |180181## Templates182183| Category | Templates |184|----------|-----------|185| PRDs | prd-template, ai-prd-template, tech-spec-template |186| Planning | planning-checklist, agentic-session-template |187| Stories | story-mapping-template, gherkin-example-template |188| Context | architecture, conventions, key-files, minimal-claudemd |189| Stack-specific | nodejs-context, python-context, react-context, go-context |190191## Related Skills192193| Skill | Purpose |194|-------|---------|195| [docs-codebase](../docs-codebase/SKILL.md) | README, API docs, ADRs |196| [qa-docs-coverage](../qa-docs-coverage/SKILL.md) | Documentation gaps |197| [product-management](../product-management/SKILL.md) | Product strategy |198| [software-architecture-design](../software-architecture-design/SKILL.md) | System design |199200## Fact-Checking201202- Use web search/web fetch to verify current external facts, versions, pricing, deadlines, regulations, or platform behavior before final answers.203- Prefer primary sources; report source links and dates for volatile information.204- If web access is unavailable, state the limitation and mark guidance as unverified.205206---207> Converted and distributed by [TomeVault](https://tomevault.io/claim/vasilyu1983) — claim your Tome and manage your conversions.208<!-- tomevault:4.0:skill_md:2026-04-11 -->