Generate initial project planning documents (PVS, ADR, Tech Spec, Roadmap) from a project concept description. Use when starting a new project, when docs/planning/ contains placeholder files, or when user requests project planning document generation.
Generate four essential planning documents to guide AI-assisted development. These documents maintain context coherence across coding sessions and prevent architectural drift.
docs/planning/ show "Awaiting Generation" status/plan command with project description| Document | Location | Purpose |
|---|---|---|
| Project Vision & Scope | docs/planning/project-vision.md | What & Why - problem, solution, scope |
| Technical Spec | docs/planning/tech-spec.md | How - architecture, data model, APIs |
| Development Roadmap | docs/planning/roadmap.md | When - phased implementation plan |
| Architecture Decision Record | docs/planning/adr/adr-001-*.md | Key technical decisions with rationale |
Before generating, collect:
pyproject.toml and existing codeGenerate documents sequentially, as later documents reference earlier ones:
After generating each document, use the zen-mcp-server consensus tool to get expert review:
Use mcp__zen__consensus with gemini-3-pro-preview to review:
"Review this [document type] for sufficiency to begin development.
Evaluate:
1. SPECIFICITY: Are requirements concrete enough to implement?
2. COMPLETENESS: Are all critical sections filled with project-specific content?
3. FEASIBILITY: Are timelines and technical choices realistic?
4. CLARITY: Can a developer understand what to build from this?
5. GAPS: What critical information is missing?
Respond with:
- READY: Document is sufficient to begin work
- NEEDS REVISION: [List specific improvements required]
Document content:
[paste document content]"
Review each document in order:
If any document NEEDS REVISION, incorporate feedback and re-review before proceeding.
After all documents pass review:
Use template: templates/pvs-template.md
Focus on:
Use template: templates/adr-template.md
Create ADR for:
Format: adr-001-{decision-slug}.md
Use template: templates/tech-spec-template.md
Include:
Use template: templates/roadmap-template.md
Structure as:
Each phase needs:
When generating, incorporate known information:
# From pyproject.toml / cookiecutter context
python_version = "3.12"
project_name = "Audio Processor"
project_slug = "audio_processor"
cli_framework = "Click"
containerization = "Docker"
Before completing generation:
docs/planning/Templates are in templates/ directory:
pvs-template.md - Project Vision & Scope structureadr-template.md - Architecture Decision Record structuretech-spec-template.md - Technical Spec structureroadmap-template.md - Development Roadmap structureFor comprehensive documentation on each document type, see reference/ directory:
reference/document-guide.md - Full guidance for all document typesreference/prompting-patterns.md - How to use documents during developmentInstruct user to:
[ ]When user says: "I want to build a CLI tool for managing personal finances..."
Generate PVS
templates/pvs-template.mddocs/planning/project-vision.md with finance CLI specificsmcp__zen__consensus with gemini-3-pro-preview → READY or reviseGenerate ADR
templates/adr-template.mddocs/planning/adr/adr-001-database-choice.md for SQLite decisionmcp__zen__consensus with gemini-3-pro-preview → READY or reviseGenerate Tech Spec
templates/tech-spec-template.mddocs/planning/tech-spec.md with Python/Click/SQLite stackmcp__zen__consensus with gemini-3-pro-preview → READY or reviseGenerate Roadmap
templates/roadmap-template.mddocs/planning/roadmap.md with phased implementationmcp__zen__consensus with gemini-3-pro-preview → READY or reviseFinal Validation
scripts/validate-planning-docs.pymcp__zen__consensus with gemini-3-pro-preview:
Review this Project Vision & Scope document for Audio Processor.
EVALUATION CRITERIA:
1. SPECIFICITY - Can a developer implement from these requirements?
2. COMPLETENESS - All sections filled with project-specific content?
3. FEASIBILITY - Realistic scope for the described constraints?
4. CLARITY - Unambiguous success criteria and scope boundaries?
5. GAPS - Any critical missing information?
RESPOND:
- READY: Sufficient to proceed to next document
- NEEDS REVISION: [Specific improvements with examples]
DOCUMENT:
[Full document content here]
This skill requires the zen-mcp-server for consensus review. If not available, skip Step 3 and proceed with manual review.
Configuration: Ensure mcp__zen__consensus tool is accessible.