PRD Planning System
This repository is designed to be forked so teams can set up their own documentation-first planning system quickly.
Main Goal
Fork this repo, rename it for your team, and immediately start producing consistent planning artifacts with built-in quality rules.
What you get out of the box:
- standard project planning structure under
src/<project-slug>/ - traceable requirement system (
FR-*,NFR-*,TASK-*,RISK-*) - reusable Copilot instructions, prompts, and skill assets
- deterministic validation hook for planning quality gates
Fork and Setup
- Fork this repository to your GitHub account or organization.
- Clone your fork locally.
- Install dependencies:
npm install
- Verify formatting and validation tools:
npm run format:checknode .github/hooks/scripts/validate-prd.mjs
Create Your First Project Space
- Create
src/<project-slug>/in kebab-case, for examplecustomer-support-copilot. - Copy all files from
src/_project-template/into the new folder. - Fill documents in this order:
00-project-brief.md01-prd.md03-architecture-notes.md02-roadmap.md04-task-breakdown.md05-risks-and-decisions.md
Default Folder Standard
Every project folder under src/ should include:
00-project-brief.md01-prd.md02-roadmap.md03-architecture-notes.md04-task-breakdown.md05-risks-and-decisions.md
Planning Rules (Built In)
01-prd.mdshould include bothFR-*andNFR-*IDs.01-prd.mdshould include aDecision Logsection.04-task-breakdown.mdshould includeTASK-*IDs and links toFR-*orNFR-*.05-risks-and-decisions.mdshould includeRISK-*IDs.02-roadmap.mdshould define milestones.
These are enforced by:
- hook config:
.github/hooks/prd-validation.json - validator:
.github/hooks/scripts/validate-prd.mjs
Customize for Your Team
Start here:
.github/copilot-instructions.md: repository-wide behavior.github/AGENTS.md: agent role definitions.github/instructions/*.instructions.md: file-specific standards.github/prompts/*.prompt.md: reusable workflows.github/skills/prd-planning/: templates and quality checklist
Recommended customization order:
- update wording in
.github/copilot-instructions.mdfor your domain - adjust
applyTocoverage in.github/instructions/ - adapt templates in
.github/skills/prd-planning/templates/ - tighten or relax checks in
.github/hooks/scripts/validate-prd.mjs
Repository Layout
.
|-- .github/
| |-- copilot-instructions.md
| |-- AGENTS.md
| |-- instructions/
| |-- prompts/
| |-- skills/
| `-- hooks/
|-- src/
| |-- _project-template/
| `-- <project-slug>/
|-- package.json
`-- README.md
Useful Commands
npm run format
npm run format:check
node .github/hooks/scripts/validate-prd.mjs
Keeping Your Fork Updated
- Add upstream remote:
git remote add upstream <original-repo-url>
- Fetch updates:
git fetch upstream
- Rebase or merge as your team policy requires.
- Resolve conflicts in
.github/**carefully, because these files define your planning system behavior.
Who This Is For
- product and engineering teams that want a repeatable PRD-to-execution flow
- agencies and consultancies managing multiple project plans
- teams using Copilot with repository-level planning governance