| name | aid-impl-plan |
| description | AID Phase 3 - Implementation Planning with consolidation-first approach. Resolves contradictions between PRD and Tech Spec, creates consolidated master document, then breaks down into actionable tasks and populates Jira. Includes sprint planning and risk assessment. |
AID Implementation Plan Skill (Phase 3)
Phase 3 is the bridge between design and development. This skill ensures all planning artifacts are consistent, consolidated, and ready for development.
๐ PHASE 3 ENTRY - MANDATORY WELCOME MESSAGE
When user enters Phase 3, Claude MUST display this message FIRST:
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ ๐ฏ Welcome to Phase 3: Implementation Planning โ
โ โ
โ Phase 3 is all about creating ONE SOURCE OF TRUTH! โ
โ โ
โ Before we can break down tasks and create Jira issues, โ
โ we need to consolidate all your planning documents into โ
โ a single, comprehensive specification. โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ ๐ Documents I'll consolidate: โ
โ โ
โ 1. Research Report (if exists) - Phase 0 findings โ
โ 2. PRD - Your product requirements from Phase 1 โ
โ 3. Tech Spec - Technical design from Phase 2 โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ ๐ What I'll do: โ
โ โ
โ โข Read each document SECTION BY SECTION โ
โ โข Find ALL contradictions between documents โ
โ โข Resolve conflicts using this hierarchy: โ
โ Research > PRD > Tech Spec โ
โ โข Create ONE consolidated document (can be long!) โ
โ โข NO information will be lost โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ โ ๏ธ This is a BIG task - the consolidated document will โ
โ contain EVERYTHING from all source documents. โ
โ โ
โ Ready to begin the consolidation process? โ
โ โ
โ Reply: "yes, begin" or ask questions first โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Claude MUST wait for user confirmation before proceeding.
CRITICAL: Phase 3 Sub-Phase Structure
Phase 3 is divided into three mandatory sub-phases. Each must complete before proceeding.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ PHASE 3 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ Phase 3a Phase 3b Phase 3c โ
โ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โ
โ โ Consolidationโโโโโโบโ Task โโโโโโบโ Jira โ โ
โ โ & Validation โ โ Breakdown โ โ Population โ โ
โ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โ
โ โ โ โ โ
โ โผ โผ โผ โ
โ [User Approval] [Milestone] [Final Review] โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Phase 3a: Consolidation & Validation
Purpose
Resolve all contradictions between PRD, Tech Spec, and Research before any planning begins.
CRITICAL: Section-by-Section Processing
WHY SECTION-BY-SECTION?
- Source documents are LARGE (PRD + Tech Spec + Research)
- Processing all at once will cause information loss
- Dependencies between sections must be tracked
- Each section needs focused contradiction analysis
Process
Step 1: Document Discovery & Section Mapping
First, Claude MUST read and map ALL sections from each document:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ DOCUMENT SECTION MAPPING โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ Research Report (if exists): โ
โ โโโ Section 1: [Title] โ
โ โโโ Section 2: [Title] โ
โ โโโ Section N: [Title] โ
โ โ
โ PRD: โ
โ โโโ Section 1: [Title] โโโโโโโโโโโ โ
โ โโโ Section 2: [Title] โโโโโโโโโโโผโโ Dependencies โ
โ โโโ Section 3: [Title] โโโโโโโโโโโ โ
โ โโโ Section N: [Title] โ
โ โ
โ Tech Spec: โ
โ โโโ Section 1: [Title] โโโบ Related to PRD Section [X] โ
โ โโโ Section 2: [Title] โโโบ Related to PRD Section [Y] โ
โ โโโ Section N: [Title] โ
โ โ
โ Cross-Document Dependencies: โ
โ โข PRD Section 3 depends on PRD Section 2 โ
โ โข Tech Spec Section 1 implements PRD Section 1 โ
โ โข Tech Spec Section 4 references Research Section 2 โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Show this mapping to user and confirm before proceeding.
Step 2: Create Processing Order
Based on dependencies, create the consolidation order:
consolidation_order:
# Process in dependency order - foundations first
round_1_foundations:
- research_section: "Market Analysis"
related_prd: null
related_tech: null
- prd_section: "Problem Statement"
related_research: "Market Analysis"
related_tech: null
round_2_requirements:
- prd_section: "User Stories"
depends_on: ["Problem Statement"]
related_tech: "Component Design"
- prd_section: "Acceptance Criteria"
depends_on: ["User Stories"]
related_tech: "API Contracts"
round_3_technical:
- tech_section: "Architecture"
depends_on: ["User Stories"]
related_prd: "Non-Functional Requirements"
- tech_section: "Data Models"
depends_on: ["Architecture"]
related_prd: "User Stories"
round_4_implementation:
- tech_section: "API Contracts"
depends_on: ["Data Models"]
related_prd: "Acceptance Criteria"
- tech_section: "Security"
depends_on: ["Architecture", "API Contracts"]
related_prd: "Non-Functional Requirements"
Step 3: Section-by-Section Consolidation
For EACH section in processing order:
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ ๐ PROCESSING SECTION: [Section Name] โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ Source: [PRD/Tech Spec/Research] โ
โ Related Sections: โ
โ โข [Document]: [Section] - [Relationship] โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ Content from this section: โ
โ [Full section content] โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ Contradictions found with related sections: โ
โ โ
โ โ ๏ธ Contradiction #1: โ
โ PRD says: "[text]" โ
โ Tech Spec says: "[text]" โ
โ Resolution: [Using PRD because...] โ
โ โ
โ โ No contradictions with: [list sections] โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ Consolidated output for this section: [preview] โ
โ โ
โ Continue to next section? [yes/pause] โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Claude processes sections ONE AT A TIME, showing progress.
Step 4: Contradiction Analysis (Per Section)
| Contradiction Type | Example | Resolution Priority |
|---|---|---|
| Scope conflicts | PRD says "mobile-first", Tech Spec is desktop-only | 1 (Critical) |
| Technical conflicts | Different API designs for same feature | 1 (Critical) |
| Requirement gaps | PRD feature missing from Tech Spec | 2 (High) |
| Implementation conflicts | Different approaches to same problem | 2 (High) |
| Minor inconsistencies | Naming differences, format variations | 3 (Low) |
Step 5: Resolution Hierarchy
Resolution Authority (in order):
1. Research Report (if exists)
โโโ Data-driven findings override assumptions
2. PRD (Source of Truth)
โโโ Business requirements take precedence
3. Tech Spec
โโโ Technical constraints inform implementation
Resolution Template (logged for each):
## Contradiction #[N]
**Found In:** [PRD section] vs [Tech Spec section]
**Description:** [What conflicts]
**Resolution:** [How resolved]
**Authority Used:** [Research/PRD/Tech Spec]
**Rationale:** [Why this decision]
**Preserved Original Text:**
- PRD: "[original]"
- Tech Spec: "[original]"
Step 6: Progressive Document Building
As each section is processed, Claude WRITES to the consolidated document:
After processing Section 1:
โ Write Section 1 to consolidated-spec.md
After processing Section 2:
โ Append Section 2 to consolidated-spec.md
โ Update cross-references if needed
After processing Section N:
โ Append Section N to consolidated-spec.md
โ Final cross-reference check
โ Generate table of contents
This ensures NO information is lost even if context is long.
Progress Tracking
Claude MUST show progress after each section:
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ ๐ CONSOLIDATION PROGRESS โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ Sections Processed: [X] of [Total] โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 35% โ
โ โ
โ Completed: โ
โ โ Problem Statement โ
โ โ User Stories โ
โ โ Architecture Overview โ
โ โ
โ In Progress: โ
โ โ Data Models โ
โ โ
โ Remaining: โ
โ โ API Contracts โ
โ โ Security โ
โ โ Testing Strategy โ
โ โ
โ Contradictions Found: [N] (all resolved) โ
โ Current Document Size: [X] words โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Phase 3a Checkpoint
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ PHASE 3a CHECKPOINT: Consolidation Complete โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ Documents Analyzed: โ
โ โ PRD: [path] ([X] sections) โ
โ โ Tech Spec: [path] ([Y] sections) โ
โ โ Research: [path or N/A] ([Z] sections) โ
โ โ
โ Total Sections Processed: [N] โ
โ โ
โ Contradictions Found: [N] โ
โ โโโ Critical: [count] - ALL RESOLVED โ
โ โโโ High: [count] - ALL RESOLVED โ
โ โโโ Low: [count] - ALL RESOLVED โ
โ โ
โ Consolidated Document: โ
โ ๐ [path] โ
โ ๐ [word count] words โ
โ ๐ [section count] sections โ
โ โ
โ Information Verification: โ
โ โ All PRD sections included โ
โ โ All Tech Spec sections included โ
โ โ All Research findings included โ
โ โ No information lost โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ โ ๏ธ USER APPROVAL REQUIRED โ
โ โ
โ Please review the consolidated document and confirm: โ
โ โ
โ Reply: "approve consolidation" to proceed to task breakdownโ
โ Reply: "show section [X]" to review a specific section โ
โ Reply: "change [X]" to request modifications โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
CRITICAL: Cannot proceed to Phase 3b without user approval.
Phase 3b: Task Breakdown
๐ PHASE 3b ENTRY - MANDATORY MESSAGE AFTER CONSOLIDATION APPROVAL
When user approves the consolidated document, Claude MUST display:
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ โ
Consolidated Document Approved! โ
โ โ
โ Great! Now we have our SINGLE SOURCE OF TRUTH. โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ ๐ NEXT STEP: High-Level Task Breakdown โ
โ โ
โ Now I'm going to create a HIGH-LEVEL breakdown of all โ
โ the work that needs to be done: โ
โ โ
โ โข Epics (major feature areas) โ
โ โข Stories (user-facing functionality) โ
โ โข Tasks (technical work items) โ
โ โข Subtasks (atomic work units) โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ ๐ THE PROCESS: โ
โ โ
โ Step 1: Create the breakdown structure โ
โ (Epics โ Stories โ Tasks โ Subtasks) โ
โ โ
โ Step 2: You review and approve the structure โ
โ โ
โ Step 3: Enter structure into Jira (or export) โ
โ (Creates the issue hierarchy FIRST) โ
โ โ
โ Step 4: Enhance each Jira issue with FULL details โ
โ (Adds all info from consolidated spec) โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ ๐ก WHY THIS ORDER? โ
โ โ
โ Creating the Jira structure FIRST, then enhancing, โ
โ ensures we don't miss any tasks and can track โ
โ progress step-by-step through the full development. โ
โ โ
โ Ready to create the high-level breakdown? โ
โ โ
โ Reply: "yes, create breakdown" to proceed โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Claude MUST wait for user confirmation before proceeding.
Purpose
Transform the consolidated specification into actionable development tasks.
Process
Step 1: Component Identification
Extract all implementable components from consolidated spec:
Component Categories:
โโโ Backend
โ โโโ API Endpoints
โ โโโ Database Models
โ โโโ Business Logic
โ โโโ Integrations
โโโ Frontend
โ โโโ Pages/Views
โ โโโ Components
โ โโโ State Management
โ โโโ API Integration
โโโ Infrastructure
โ โโโ Database Setup
โ โโโ Environment Config
โ โโโ CI/CD
โโโ Cross-Cutting
โโโ Authentication
โโโ Authorization
โโโ Logging/Monitoring
โโโ Error Handling
Step 2: Task Decomposition Rules
| Rule | Requirement |
|---|---|
| Size | Each task < 4 hours (prefer 1-2 hours) |
| Independence | Task should be completable without other tasks (unless dependency) |
| Testability | Task has clear acceptance criteria |
| Traceability | Task links to consolidated spec section |
Step 3: Estimation Guidelines
| Issue Type | Estimation Unit | Typical Range |
|---|---|---|
| Epic | Sprints | 1-3 sprints |
| Story | Story Points (Fibonacci) | 1, 2, 3, 5, 8, 13 |
| Task | Hours | 1-8 hours |
| Subtask | Minutes/Hours | 15 min - 4 hours |
Step 4: Dependency Mapping
graph TD
A[Database Schema] --> B[API Models]
B --> C[API Endpoints]
C --> D[Frontend Integration]
A --> E[Migrations]
E --> F[Seed Data]
Claude MUST:
- Identify blocking dependencies
- Mark critical path
- Flag parallel workstreams
Step 5: Sprint/Agile Planning
If using sprints:
sprint_planning:
sprint_length: [days]
team_capacity: [story points or hours]
velocity_reference: [historical or estimated]
sprint_1:
goal: "[Sprint goal]"
stories: [list]
total_points: [N]
sprint_2:
goal: "[Sprint goal]"
stories: [list]
total_points: [N]
Step 6: Risk Assessment
| Risk Category | Examples | Mitigation Required |
|---|---|---|
| Technical | New technology, complex integration | Yes |
| Dependency | External API, third-party service | Yes |
| Resource | Skill gaps, availability | Yes |
| Timeline | Hard deadlines, dependencies | Yes |
| Scope | Unclear requirements | Flag for clarification |
Risk Template:
### Risk: [Name]
- **Category:** [Technical/Dependency/Resource/Timeline/Scope]
- **Probability:** [High/Medium/Low]
- **Impact:** [High/Medium/Low]
- **Mitigation:** [Strategy]
- **Contingency:** [Backup plan]
- **Owner:** [Role responsible]
Phase 3b Checkpoint
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ PHASE 3b CHECKPOINT: Task Breakdown Complete โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ Task Summary: โ
โ โโโ Epics: [count] โ
โ โโโ Stories: [count] โ
โ โโโ Tasks: [count] โ
โ โโโ Subtasks: [count] โ
โ โ
โ Estimation Summary: โ
โ โโโ Total Story Points: [N] โ
โ โโโ Total Hours: [N] โ
โ โโโ Estimated Sprints: [N] โ
โ โ
โ Dependencies: โ
โ โโโ Critical Path Items: [count] โ
โ โโโ Parallel Workstreams: [count] โ
โ โ
โ Risks Identified: [count] โ
โ โโโ High: [count] โ
โ โโโ Medium: [count] โ
โ โโโ Low: [count] โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ Breakdown document saved to: โ
โ ๐ docs/implementation-plan/task-breakdown-YYYY-MM-DD.md โ
โ โ
โ Ready for Phase 3c: Jira Population โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Phase 3c: Jira Population
๐ PHASE 3c ENTRY - MANDATORY JIRA QUESTION
After task breakdown is complete, Claude MUST ask:
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
โ ๐ Task Breakdown Complete! โ
โ โ
โ Now it's time to create the full project structure โ
โ so we can track every task and never miss anything. โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ ๐ง Do you have Jira set up for this project? โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ If YES (Jira available): โ
โ โ
โ I'll do this in TWO steps: โ
โ โ
โ STEP 1: Create the Jira STRUCTURE โ
โ โข Create all Epics โ
โ โข Create all Stories under Epics โ
โ โข Create all Tasks under Stories โ
โ โข Create all Subtasks under Tasks โ
โ โข Link all dependencies โ
โ โ
โ STEP 2: ENHANCE each issue with FULL details โ
โ โข Add complete descriptions โ
โ โข Add business context from PRD โ
โ โข Add technical notes from Tech Spec โ
โ โข Add acceptance criteria โ
โ โข Add test strategy โ
โ โข Reference consolidated spec sections โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ If NO (No Jira): โ
โ โ
โ I can export the breakdown to: โ
โ โข CSV file (for spreadsheet tracking) โ
โ โข JSON file (for import into other tools) โ
โ โ
โ โ ๏ธ RECOMMENDATION: โ
โ โ
โ For full SaaS development, we STRONGLY recommend โ
โ using Jira (or similar tool) because: โ
โ โ
โ โ Never miss a task - everything is tracked โ
โ โ Step-by-step completion visibility โ
โ โ Dependencies are enforced โ
โ โ Progress dashboards โ
โ โ Sprint planning & velocity tracking โ
โ โ Better team collaboration โ
โ โ
โ Building a complete SaaS has HUNDREDS of tasks. โ
โ Without proper tracking, tasks WILL be forgotten. โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ Please choose: โ
โ โ
โ Reply: "use jira" - I'll create structure then enhance โ
โ Reply: "export csv" - I'll create CSV file โ
โ Reply: "export json" - I'll create JSON file โ
โ Reply: "setup jira first" - Let's configure Jira MCP โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Claude MUST wait for user choice before proceeding.
Purpose
Create Jira issues with ALL information from the consolidated document.
TWO-STEP JIRA POPULATION PROCESS
CRITICAL: Structure FIRST, then Enhance.
This ensures:
- All tasks exist in Jira before we start enhancing
- Dependencies can be properly linked
- No tasks are forgotten during enhancement
- Progress is visible immediately
STEP 1: Create Jira Structure (Skeleton)
1.1 Create All Epics First
For each Epic in breakdown:
โ Create Epic with:
โข Summary (title only)
โข Basic description (1-2 sentences)
โข Priority
โข Labels
โ Store Epic key for Story creation
Progress Display:
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ ๐ฆ Creating Jira Structure - STEP 1 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ Creating Epics... โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 100% โ
โ โ
โ โ PROJ-1: User Authentication Epic โ
โ โ PROJ-2: Dashboard Epic โ
โ โ PROJ-3: Payment Integration Epic โ
โ โ
โ Epics Created: 3 of 3 โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
1.2 Create All Stories Under Epics
For each Story in breakdown:
โ Create Story with:
โข Summary (title)
โข Parent Epic link
โข Story Points estimate
โข Priority
โ Store Story key for Task creation
1.3 Create All Tasks Under Stories
For each Task in breakdown:
โ Create Task with:
โข Summary (title)
โข Parent Story link
โข Hour estimate
โข Priority
โ Store Task key for Subtask creation
1.4 Create All Subtasks Under Tasks
For each Subtask in breakdown:
โ Create Subtask with:
โข Summary (title)
โข Parent Task link
โข Hour estimate
1.5 Link All Dependencies
For each dependency in breakdown:
โ Create issue link:
โข "is blocked by" / "blocks"
โข Link source and target issues
Structure Complete Display:
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ โ
STEP 1 COMPLETE: Jira Structure Created โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ Issues Created: โ
โ โโโ Epics: 3 โ
โ โ โโโ PROJ-1: User Authentication โ
โ โ โโโ PROJ-2: Dashboard โ
โ โ โโโ PROJ-3: Payment Integration โ
โ โโโ Stories: 12 โ
โ โโโ Tasks: 45 โ
โ โโโ Subtasks: 89 โ
โ โ
โ Dependencies Linked: 34 โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ The skeleton is ready! All issues exist in Jira. โ
โ โ
โ Now proceeding to STEP 2: Enhance with full details... โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
STEP 2: Enhance Each Issue With Full Details
Now that all issues exist, enhance them ONE BY ONE with full information from the consolidated spec.
2.1 Enhancement Process
For each issue (in hierarchy order):
1. Read corresponding section from consolidated spec
2. Update issue description with:
โข Full business context (from PRD)
โข Technical implementation details (from Tech Spec)
โข Acceptance criteria (complete list)
โข Technical notes & gotchas
โข Test strategy
โข Reference to consolidated spec section
3. Show progress
2.2 Enhancement Template
## Summary
[What this issue accomplishes]
## Business Context
[Why this matters - from PRD section of consolidated spec]
## Technical Implementation
[How to implement - from Tech Spec section of consolidated spec]
## Acceptance Criteria
- [ ] [Criterion 1 - from consolidated spec]
- [ ] [Criterion 2 - from consolidated spec]
- [ ] [Criterion 3 - from consolidated spec]
## Technical Notes
[Implementation details, gotchas, considerations from Tech Spec]
## Dependencies
- Blocks: [issue keys - already linked]
- Blocked By: [issue keys - already linked]
## Test Strategy
[How this will be tested - from consolidated spec]
## Reference
๐ Consolidated Spec: [doc path]
๐ Section: [section name]
2.3 Enhancement Progress Display
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ ๐ STEP 2: Enhancing Issues With Full Details โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ Progress: 23 of 149 issues enhanced โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 15% โ
โ โ
โ Currently enhancing: โ
โ โ PROJ-15: Implement password hashing โ
โ Source: Consolidated Spec Section 4.2.1 โ
โ โ
โ Recently completed: โ
โ โ PROJ-14: Create user database schema โ
โ โ PROJ-13: Design authentication flow โ
โ โ PROJ-12: Define user data model โ
โ โ
โ Remaining: 126 issues โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Alternative: CSV/JSON Export
If user chooses export instead of Jira:
CSV Export Format
Type,Key,Summary,Description,Parent,Story Points,Hours,Priority,Dependencies,Spec Reference
Epic,,User Authentication,"Full auth system",,,,High,,Section 4
Story,,[Epic] Login Flow,"User login",[Epic-1],5,,High,,[Epic] 4.1
Task,,[Story] Password hashing,"Bcrypt impl",[Story-1],,4,Medium,,[Story] 4.1.1
Subtask,,[Task] Add bcrypt lib,"npm install",[Task-1],,0.5,Low,,[Task] 4.1.1.1
JSON Export Format
{
"project": "[Feature Name]",
"exported_at": "YYYY-MM-DD",
"consolidated_spec": "path/to/consolidated-spec.md",
"hierarchy": {
"epics": [
{
"summary": "User Authentication",
"description": "Full authentication system...",
"spec_reference": "Section 4",
"stories": [
{
"summary": "Login Flow",
"story_points": 5,
"spec_reference": "Section 4.1",
"tasks": [...]
}
]
}
]
}
}
Export Complete Display:
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ ๐ Export Complete โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ Files created: โ
โ โ
โ ๐ docs/implementation-plan/jira-export-YYYY-MM-DD.csv โ
โ ๐ docs/implementation-plan/jira-export-YYYY-MM-DD.json โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ โ ๏ธ REMINDER: โ
โ โ
โ For better tracking during development, consider: โ
โ โ
โ โข Import this into Jira, Trello, or Linear โ
โ โข Use a spreadsheet with status columns โ
โ โข Set up the Jira MCP for automated tracking โ
โ โ
โ Run "/setup jira" when ready to configure Jira. โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Phase 3c Checkpoint (Final)
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ PHASE 3c CHECKPOINT: Jira Population Complete โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ Jira Issues Created & Enhanced: โ
โ โโโ Epics: [count] - [list keys] โ
โ โโโ Stories: [count] โ
โ โโโ Tasks: [count] โ
โ โโโ Subtasks: [count] โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ STEP 1 - Structure: โ
Complete โ
โ โข All issues created โ
โ โข All dependencies linked โ
โ โข Hierarchy verified โ
โ โ
โ STEP 2 - Enhancement: โ
Complete โ
โ โข All descriptions populated โ
โ โข All acceptance criteria added โ
โ โข All technical notes included โ
โ โข All spec references linked โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ Information Validation: โ
โ โ All issues have FULL descriptions โ
โ โ All issues have acceptance criteria โ
โ โ All issues have estimates โ
โ โ All dependencies linked โ
โ โ All issues reference consolidated spec โ
โ โ
โ Sprint Assignment: โ
โ โโโ Sprint 1: [count] issues โ
โ โโโ Sprint 2: [count] issues โ
โ โโโ Backlog: [count] issues โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ ๐ PHASE 3 COMPLETE! โ
โ โ
โ You now have: โ
โ โ ONE consolidated source of truth โ
โ โ Complete task breakdown โ
โ โ Full Jira structure with detailed issues โ
โ โ Every task traceable to requirements โ
โ โ
โ Ready for Phase 4 (Development)! โ
โ โ
โ Run: /aid-start to begin development โ
โ โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Output Artifacts
Required Documents
| Artifact | Location | Format |
|---|---|---|
| Consolidated Spec | docs/implementation-plan/consolidated-spec-YYYY-MM-DD-[feature].md |
Markdown |
| Contradiction Log | docs/implementation-plan/contradiction-log-YYYY-MM-DD.md |
Markdown |
| Task Breakdown | docs/implementation-plan/task-breakdown-YYYY-MM-DD-[feature].md |
Markdown |
| Jira Export | docs/implementation-plan/jira-export-YYYY-MM-DD.json |
JSON |
| Risk Assessment | docs/implementation-plan/risks-YYYY-MM-DD.md |
Markdown |
| Sprint Plan | docs/implementation-plan/sprint-plan-YYYY-MM-DD.yaml |
YAML |
Machine-Readable Output
All documents have companion JSON/YAML files for automation:
docs/implementation-plan/
โโโ consolidated-spec-2024-12-15-user-auth.md
โโโ consolidated-spec-2024-12-15-user-auth.json # Machine-readable
โโโ task-breakdown-2024-12-15-user-auth.md
โโโ task-breakdown-2024-12-15-user-auth.json # Machine-readable
โโโ sprint-plan-2024-12-15.yaml # Machine-readable
โโโ risks-2024-12-15.yaml # Machine-readable
Exit Criteria (Phase 3 โ Phase 4)
Mandatory Checklist
Phase 3a Complete
- All input documents analyzed (PRD, Tech Spec, Research)
- All contradictions identified and resolved
- Consolidated master document created
- User approved consolidation
Phase 3b Complete
- All tasks broken down (< 4 hours each)
- All tasks have acceptance criteria
- Dependencies mapped with critical path
- Risk assessment complete with mitigations
- Sprint/iteration plan defined
Phase 3c Complete
- Jira issues created (or export file ready)
- All issues have full descriptions from consolidated spec
- All issues have estimates
- Dependencies linked between issues
- Issues assigned to sprints
Quality Gates
- Sub-agent review PASSED
- User feedback collected via
/aid end
Commands
| Command | Purpose |
|---|---|
/impl-plan |
Start Phase 3 workflow |
/consolidate |
Run Phase 3a consolidation |
/breakdown |
Run Phase 3b task breakdown |
/populate-jira |
Run Phase 3c Jira population |
/phase 3a |
Check Phase 3a status |
/phase 3b |
Check Phase 3b status |
/phase 3c |
Check Phase 3c status |
Integration with Other Skills
| Skill | Integration Point |
|---|---|
phase-enforcement |
Validates sub-phase transitions |
system-architect |
Tech Spec input for Phase 3a |
aid-prd |
PRD input for Phase 3a |
test-driven |
Test strategy feeds into Phase 3b tasks |
code-review |
Task structure informs review scope |
State Tracking
Phase 3 uses extended state in .aid/state.json:
{
"current_phase": 3,
"phase_name": "Implementation Plan",
"sub_phase": "3b",
"sub_phase_name": "Task Breakdown",
"phase_3_state": {
"3a": {
"status": "complete",
"contradictions_found": 5,
"contradictions_resolved": 5,
"consolidated_doc": "docs/implementation-plan/consolidated-spec-2024-12-15-user-auth.md",
"user_approved": true,
"approved_at": "2024-12-15T10:00:00Z"
},
"3b": {
"status": "in_progress",
"tasks_created": 24,
"risks_identified": 3,
"sprint_plan_ready": false
},
"3c": {
"status": "locked",
"jira_issues_created": 0
}
}
}