// Generate and optimize PRDs, Implementation Plans, and Progress Tracking documents optimized as AI artifacts for development agents. Use when creating new feature plans, breaking down long planning docs (>800 lines), or setting up progress tracking. Supports: 1) Create PRD from feature request, 2) Create Implementation Plan from PRD with phase breakdown and subagent assignments, 3) Optimize existing plans by breaking into phase-specific files, 4) Create progress tracking with task assignments. Example: "Create a PRD for user authentication feature" or "Break down the sidebar-polish implementation plan into phase files" or "Create progress tracking for data-layer-fixes PRD".
| name | planning |
| description | Generate and optimize PRDs, Implementation Plans, and Progress Tracking documents optimized as AI artifacts for development agents. Use when creating new feature plans, breaking down long planning docs (>800 lines), or setting up progress tracking. Supports: 1) Create PRD from feature request, 2) Create Implementation Plan from PRD with phase breakdown and subagent assignments, 3) Optimize existing plans by breaking into phase-specific files, 4) Create progress tracking with task assignments. Example: "Create a PRD for user authentication feature" or "Break down the sidebar-polish implementation plan into phase files" or "Create progress tracking for data-layer-fixes PRD". |
The Planning Skill generates and optimizes Product Requirements Documents (PRDs) and Implementation Plans as AI artifacts - file-based context caches optimized for AI agent consumption rather than human reading.
# User provides feature description
User: "Create a PRD for advanced filtering on the prompts page"
# Skill generates PRD at:
# docs/project_plans/PRDs/[category]/advanced-filtering-v1.md
# Provide PRD path
User: "Create implementation plan for docs/project_plans/PRDs/harden-polish/advanced-filtering-v1.md"
# Skill generates:
# - Main plan: docs/project_plans/implementation_plans/harden-polish/advanced-filtering-v1.md
# - Phase files (if needed): docs/project_plans/implementation_plans/harden-polish/advanced-filtering-v1/phase-[N]-[name].md
# Provide existing plan path
User: "Optimize docs/project_plans/implementation_plans/harden-polish/sidebar-polish-v1.md"
# Skill:
# 1. Analyzes plan length (e.g., 1200 lines)
# 2. Breaks into phase-specific files (~400 lines each)
# 3. Updates parent plan with links to phase files
# Provide PRD or Implementation Plan
User: "Create progress tracking for data-layer-fixes PRD"
# Skill generates:
# .claude/progress/[feature-name]/all-phases-progress.md
# With task breakdown, subagent assignments, completion tracking
Input: Feature description or request from user
Process:
Analyze Request
Structure PRD
./templates/prd-template.md./references/mp-architecture.md)Add Implementation Context
Determine Location
docs/project_plans/PRDs/[category]/harden-polish, features, enhancements, refactors[feature-name]-v1.md (kebab-case)Generate File
Output:
docs/project_plans/PRDs/[category]/[feature-name]-v1.mdExample:
Input: "Add real-time collaboration features to prompt editing"
Output Location: docs/project_plans/PRDs/features/realtime-collaboration-v1.md
Sections:
1. Executive Summary - Real-time collaborative editing
2. Context & Background - Current single-user editing limitations
3. Problem Statement - Users can't collaborate on prompts
4. Goals & Success Metrics - Multiple concurrent editors, conflict resolution
5. Requirements - WebSocket connections, operational transforms, presence indicators
6. Implementation Phases - Phase 1: Backend infrastructure, Phase 2: Frontend integration
... (full PRD structure)
Input: Path to existing PRD or newly created PRD
Process:
Analyze PRD
Plan Phase Structure
Generate Task Breakdown
./templates/implementation-plan-template.mdAssign Subagents
./references/subagent-assignments.mddata-layer-expertpython-backend-engineer, backend-architectui-engineer-enhanced, frontend-developerui-designer, ui-engineerdocumentation-writer, documentation-complexOptimize for Token Efficiency
[feature-name]-v1/phase-[N]-[name].md./references/optimization-patterns.mdGenerate Files
docs/project_plans/implementation_plans/[category]/[feature-name]-v1.mddocs/project_plans/implementation_plans/[category]/[feature-name]-v1/phase-[N]-[name].mdOutput:
Example:
Input PRD: docs/project_plans/PRDs/features/realtime-collaboration-v1.md
Output:
Main Plan: docs/project_plans/implementation_plans/features/realtime-collaboration-v1.md
Phase Breakdown:
- Phase 1: Database Layer (websocket_sessions, edit_locks tables) - data-layer-expert
- Phase 2: Repository Layer (session management, lock management) - python-backend-engineer
- Phase 3: Service Layer (operational transforms, conflict resolution) - backend-architect
- Phase 4: API Layer (WebSocket endpoints, presence API) - python-backend-engineer
- Phase 5: UI Layer (collaborative editor, presence indicators) - ui-engineer-enhanced, frontend-developer
- Phase 6: Testing (unit, integration, E2E conflict scenarios) - testing agents
- Phase 7: Documentation (API docs, user guides) - documentation-writer
- Phase 8: Deployment (feature flags, monitoring) - DevOps
Phase Files (if plan >800 lines):
- realtime-collaboration-v1/phase-1-database.md
- realtime-collaboration-v1/phase-2-repository.md
- realtime-collaboration-v1/phase-3-5-backend.md (grouped related phases)
- realtime-collaboration-v1/phase-6-8-validation.md (grouped related phases)
Input: Path to existing PRD or Implementation Plan that's >800 lines
Process:
Analyze Plan
Determine Breakout Strategy
Create Breakout Files
[plan-name]/phase-[N]-[name].md[plan-name]/[domain]-tasks.mdUpdate Parent Plan
## Phase 2: Repository Layer
See [Phase 2 Implementation Details](./[plan-name]/phase-2-repository.md)
Validate Optimization
Output:
Example:
Input: docs/project_plans/implementation_plans/harden-polish/sidebar-polish-v1.md (1200 lines)
Analysis:
- 8 phases, ~150 lines each
- Can group related phases: 1-3 (backend), 4-5 (frontend), 6-8 (validation)
Output:
Parent: sidebar-polish-v1.md (200 lines - summary + links)
Phase Files:
- sidebar-polish-v1/phase-1-3-backend.md (450 lines)
- sidebar-polish-v1/phase-4-5-frontend.md (400 lines)
- sidebar-polish-v1/phase-6-8-validation.md (350 lines)
Token Efficiency:
- Before: Load 1200 lines for any query
- After: Load 200-line summary, then specific phase (450 max) = 67% reduction
Input: PRD or Implementation Plan
Process:
Utilize artifact-tracking skill to create progress tracking and context artifacts per the skill instructions.
You should NOT create these files from this skill, as there are specific optimizations and structures required by the artifact-tracking skill.
Location: ./templates/prd-template.md
Based On: /docs/docs-v2/templates/PRD-TEMPLATE.md
Purpose: Standard PRD structure for MeatyPrompts features
Key Sections:
When to Use: Creating any new PRD
Location: ./templates/implementation-plan-template.md
Based On: /claude-export/templates/pm/implementation-plan-template.md
Purpose: Detailed phased implementation with task breakdown
Key Sections:
When to Use: Creating implementation plan from PRD
Location: ./templates/phase-breakdown-template.md
Purpose: Template for individual phase files when breaking up long plans
Key Sections:
When to Use: Breaking long implementation plans into phase-specific files
All scripts are in ./scripts/ directory and use Node.js (NOT Python).
Purpose: Generate PRD from feature request
Usage:
./scripts/generate-prd.sh "Feature description" "category"
Process:
docs/project_plans/PRDs/[category]/[feature-name]-v1.mdOutput: PRD file path
Purpose: Generate implementation plan from PRD
Usage:
./scripts/generate-impl-plan.sh "path/to/prd.md"
Process:
Output: Implementation plan file path(s)
Purpose: Break long plan into phase-specific files
Usage:
./scripts/optimize-plan.sh "path/to/plan.md"
Process:
Output: List of created phase files
Location: ./references/subagent-assignments.md
Purpose: Mapping of task types to appropriate subagents
Used By: Implementation planning, progress tracking creation
Location: ./references/file-structure.md
Purpose: Directory structure conventions for plans and progress
Naming Conventions:
[feature-name]-v1.md (kebab-case)[feature-name]-v1.mdphase-[N]-[name].md or phase-[N]-[M]-[name].md (grouped)
Used By: File creation, optimizationLocation: ./references/optimization-patterns.md
Purpose: Patterns for breaking up long files into token-efficient chunks
Content:
Pattern 1: Break by Phase (Most Common)
Pattern 2: Break by Domain
Pattern 3: Break by Task Type
Pattern 4: Keep Together
Token Efficiency Gains:
Used By: Plan optimization workflow
Guideline: No file should exceed ~800 lines
Rationale:
Strategies:
PRDs: [feature-name]-v1.md
advanced-filtering-v1.md)Implementation Plans: [feature-name]-v1.md
Phase Files: phase-[N]-[name].md
phase-1-3-backend.mdPRDs:
docs/project_plans/PRDs/[category]/harden-polish, features, enhancements, refactorsImplementation Plans:
docs/project_plans/implementation_plans/[category]/[plan-name]/Progressive Disclosure:
Structured References:
Chunk by Logical Units:
PRDs:
---
title: "Feature Name - PRD"
description: "Brief summary (1-2 sentences)"
audience: [ai-agents, developers]
tags: [relevant, tags, for, search]
created: 2025-11-11
updated: 2025-11-11
category: "product-planning"
status: draft|published
related:
- /docs/architecture/ADRs/relevant-adr.md
- /docs/guides/relevant-guide.md
---
Implementation Plans:
---
title: "Feature Name - Implementation Plan"
description: "Brief summary of implementation approach"
audience: [ai-agents, developers]
tags: [implementation, planning, phases]
created: 2025-11-11
updated: 2025-11-11
category: "product-planning"
status: draft|in-progress|published
related:
- /docs/project_plans/PRDs/category/feature-name-v1.md
---
Input:
User: "Create a PRD for adding advanced filtering to the prompts page. Users need to filter by multiple criteria: model, provider, date range, tags, and favorites."
Process:
Output:
File: docs/project_plans/PRDs/features/advanced-filtering-v1.md
# Advanced Filtering - PRD
**Feature Name**: Advanced Filtering
**Date**: 2025-11-11
**Author**: Claude (Sonnet 4.5)
**Related**: Filtering guides, search ADRs
## 1. Executive Summary
Enable users to filter prompts by multiple criteria simultaneously (model, provider, date range, tags, favorites) with the ability to save and reuse filter sets.
## 2. Context & Background
Current filtering supports single criteria only. Users frequently need to filter by combinations (e.g., "OpenAI models from last week tagged 'production'").
... (full PRD structure)
Input:
User: "Create implementation plan for docs/project_plans/PRDs/features/advanced-filtering-v1.md"
Process:
Output:
Main Plan: docs/project_plans/implementation_plans/features/advanced-filtering-v1.md (200 lines)
# Implementation Plan: Advanced Filtering
## Phase Overview
| Phase | Title | Effort | Files |
|-------|-------|--------|-------|
| 1-3 | Backend Implementation | 18 pts | [Details](./advanced-filtering-v1/phase-1-3-backend.md) |
| 4-5 | Frontend Implementation | 12 pts | [Details](./advanced-filtering-v1/phase-4-5-frontend.md) |
| 6-7 | Validation & Deployment | 8 pts | [Details](./advanced-filtering-v1/phase-6-7-validation.md) |
... (executive summary, strategy)
---
Phase Files Created:
- advanced-filtering-v1/phase-1-3-backend.md (500 lines)
- Phase 1: Database (filter_sets table, indexes)
- Phase 2: Repository (query builder, filter sets repo)
- Phase 3: Service (filter validation, DTO mapping)
- advanced-filtering-v1/phase-4-5-frontend.md (400 lines)
- Phase 4: API (filter endpoints, saved sets API)
- Phase 5: UI (filter builder component, saved sets UI)
- advanced-filtering-v1/phase-6-7-validation.md (300 lines)
- Phase 6: Testing (unit, integration, E2E)
- Phase 7: Deployment (feature flags, monitoring)
Input:
User: "Optimize docs/project_plans/implementation_plans/harden-polish/sidebar-polish-v1.md - it's 1200 lines"
Process:
Output:
Updated: docs/project_plans/implementation_plans/harden-polish/sidebar-polish-v1.md (200 lines)
Created Phase Files:
- sidebar-polish-v1/phase-1-3-backend.md (450 lines)
Phase 1: Database - Sidebar state, user preferences
Phase 2: Repository - State management, RLS
Phase 3: Service - Preference sync, DTOs
- sidebar-polish-v1/phase-4-5-frontend.md (400 lines)
Phase 4: API - Endpoints for sidebar state
Phase 5: UI - Sidebar component, animations
- sidebar-polish-v1/phase-6-8-validation.md (350 lines)
Phase 6: Testing - Unit, integration, visual
Phase 7: Documentation - Component docs, API docs
Phase 8: Deployment - Feature flags, rollout
Token Efficiency: 67% reduction for targeted queries
All plans follow project layered architecture.
Plans integrate with 50+ project subagents:
Architecture: lead-architect, backend-architect, data-layer-expert Development: python-backend-engineer, frontend-developer, ui-engineer-enhanced UI/UX: ui-designer, ux-researcher Review: code-reviewer, task-completion-validator Documentation: documentation-writer, documentation-complex Testing: testing specialists Performance: react-performance-optimizer, web-accessibility-checker
Follows CLAUDE.md documentation policy:
PRDs: /docs/project_plans/PRDs/[category]/[feature-name]-v1.md
Plans: /docs/project_plans/implementation_plans/[category]/[feature-name]-v1.md
Phase Files: [plan-name]/phase-[N]-[name].md
Edit templates in ./templates/ to match project needs:
PRD Template Customization:
Implementation Plan Template Customization:
Progress Tracking Template Customization:
For complex initiatives spanning multiple PRDs:
For research-heavy features:
Regularly optimize plans as work progresses: