aiag-cli 2.2.3 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/README.md +72 -37
  2. package/dist/api/client.d.ts +9 -1
  3. package/dist/api/client.d.ts.map +1 -1
  4. package/dist/api/client.js +20 -0
  5. package/dist/api/client.js.map +1 -1
  6. package/dist/api/endpoints.d.ts +2 -0
  7. package/dist/api/endpoints.d.ts.map +1 -1
  8. package/dist/api/endpoints.js +2 -0
  9. package/dist/api/endpoints.js.map +1 -1
  10. package/dist/api/types.d.ts +34 -0
  11. package/dist/api/types.d.ts.map +1 -1
  12. package/dist/cli.js +60 -9
  13. package/dist/cli.js.map +1 -1
  14. package/dist/commands/commit.d.ts.map +1 -1
  15. package/dist/commands/commit.js +37 -1
  16. package/dist/commands/commit.js.map +1 -1
  17. package/dist/commands/complete.d.ts.map +1 -1
  18. package/dist/commands/complete.js +11 -1
  19. package/dist/commands/complete.js.map +1 -1
  20. package/dist/commands/feature.d.ts +11 -0
  21. package/dist/commands/feature.d.ts.map +1 -0
  22. package/dist/commands/feature.js +153 -0
  23. package/dist/commands/feature.js.map +1 -0
  24. package/dist/commands/init.d.ts +1 -1
  25. package/dist/commands/init.d.ts.map +1 -1
  26. package/dist/commands/init.js +29 -78
  27. package/dist/commands/init.js.map +1 -1
  28. package/dist/commands/prd.d.ts +12 -0
  29. package/dist/commands/prd.d.ts.map +1 -0
  30. package/dist/commands/prd.js +179 -0
  31. package/dist/commands/prd.js.map +1 -0
  32. package/dist/commands/session.d.ts +29 -0
  33. package/dist/commands/session.d.ts.map +1 -1
  34. package/dist/commands/session.js +270 -120
  35. package/dist/commands/session.js.map +1 -1
  36. package/dist/commands/sync.d.ts +10 -0
  37. package/dist/commands/sync.d.ts.map +1 -1
  38. package/dist/commands/sync.js +95 -2
  39. package/dist/commands/sync.js.map +1 -1
  40. package/dist/commands/work.d.ts.map +1 -1
  41. package/dist/commands/work.js +13 -1
  42. package/dist/commands/work.js.map +1 -1
  43. package/dist/prompts/index.d.ts +2 -0
  44. package/dist/prompts/index.d.ts.map +1 -1
  45. package/dist/prompts/index.js +2 -0
  46. package/dist/prompts/index.js.map +1 -1
  47. package/dist/prompts/prd.d.ts +28 -0
  48. package/dist/prompts/prd.d.ts.map +1 -0
  49. package/dist/prompts/prd.js +105 -0
  50. package/dist/prompts/prd.js.map +1 -0
  51. package/dist/skills/index.d.ts +12 -0
  52. package/dist/skills/index.d.ts.map +1 -0
  53. package/dist/skills/index.js +12 -0
  54. package/dist/skills/index.js.map +1 -0
  55. package/dist/skills/installer.d.ts +38 -0
  56. package/dist/skills/installer.d.ts.map +1 -0
  57. package/dist/skills/installer.js +153 -0
  58. package/dist/skills/installer.js.map +1 -0
  59. package/dist/skills/loader.d.ts +34 -0
  60. package/dist/skills/loader.d.ts.map +1 -0
  61. package/dist/skills/loader.js +134 -0
  62. package/dist/skills/loader.js.map +1 -0
  63. package/dist/skills/runner.d.ts +14 -0
  64. package/dist/skills/runner.d.ts.map +1 -0
  65. package/dist/skills/runner.js +238 -0
  66. package/dist/skills/runner.js.map +1 -0
  67. package/dist/types.d.ts +160 -0
  68. package/dist/types.d.ts.map +1 -1
  69. package/dist/utils/prd.d.ts +21 -0
  70. package/dist/utils/prd.d.ts.map +1 -1
  71. package/dist/utils/prd.js +69 -0
  72. package/dist/utils/prd.js.map +1 -1
  73. package/dist/utils/sessionManager.d.ts +63 -0
  74. package/dist/utils/sessionManager.d.ts.map +1 -0
  75. package/dist/utils/sessionManager.js +372 -0
  76. package/dist/utils/sessionManager.js.map +1 -0
  77. package/dist/utils/taskmasterConverter.d.ts +72 -0
  78. package/dist/utils/taskmasterConverter.d.ts.map +1 -0
  79. package/dist/utils/taskmasterConverter.js +401 -0
  80. package/dist/utils/taskmasterConverter.js.map +1 -0
  81. package/dist/utils/taskmasterParser.d.ts +35 -0
  82. package/dist/utils/taskmasterParser.d.ts.map +1 -0
  83. package/dist/utils/taskmasterParser.js +259 -0
  84. package/dist/utils/taskmasterParser.js.map +1 -0
  85. package/package.json +1 -1
  86. package/templates/skills/prd-taskmaster/.taskmaster/docs/prd.md +2571 -0
  87. package/templates/skills/prd-taskmaster/.taskmaster/scripts/execution-state.py +87 -0
  88. package/templates/skills/prd-taskmaster/.taskmaster/scripts/learn-accuracy.py +113 -0
  89. package/templates/skills/prd-taskmaster/.taskmaster/scripts/rollback.sh +71 -0
  90. package/templates/skills/prd-taskmaster/.taskmaster/scripts/security-audit.py +130 -0
  91. package/templates/skills/prd-taskmaster/.taskmaster/scripts/track-time.py +133 -0
  92. package/templates/skills/prd-taskmaster/LICENSE +21 -0
  93. package/templates/skills/prd-taskmaster/README.md +608 -0
  94. package/templates/skills/prd-taskmaster/SKILL.md +1258 -0
  95. package/templates/skills/prd-taskmaster/reference/taskmaster-integration-guide.md +645 -0
  96. package/templates/skills/prd-taskmaster/reference/validation-checklist.md +394 -0
  97. package/templates/skills/prd-taskmaster/scripts/setup-taskmaster.sh +112 -0
  98. package/templates/skills/prd-taskmaster/templates/CLAUDE.md.template +635 -0
  99. package/templates/skills/prd-taskmaster/templates/taskmaster-prd-comprehensive.md +983 -0
  100. package/templates/skills/prd-taskmaster/templates/taskmaster-prd-minimal.md +103 -0
@@ -0,0 +1,394 @@
1
+ # PRD Validation Checklist
2
+
3
+ Automated and manual checks to ensure PRD quality before taskmaster task generation.
4
+
5
+ ## Automated Validation Checks
6
+
7
+ These checks are run automatically by the skill before presenting the PRD to the user.
8
+
9
+ ### Required Elements (Must Pass All)
10
+
11
+ - [ ] **Executive Summary exists**
12
+ - Check: Document contains "## Executive Summary" section
13
+ - Check: Executive summary is 2-4 sentences (50-200 words)
14
+ - Failure: Add executive summary
15
+
16
+ - [ ] **Problem Statement includes user impact**
17
+ - Check: Contains "User Impact" or "Who is affected"
18
+ - Check: Describes specific pain points
19
+ - Failure: Add user impact section to problem statement
20
+
21
+ - [ ] **Problem Statement includes business impact**
22
+ - Check: Contains "Business Impact" or quantifiable cost
23
+ - Check: Mentions revenue, costs, or strategic importance
24
+ - Failure: Add business impact to problem statement
25
+
26
+ - [ ] **All goals have SMART metrics**
27
+ - Check: Each goal has: Metric, Baseline, Target, Timeframe
28
+ - Check: Metrics are measurable (numbers, percentages, counts)
29
+ - Failure: Convert vague goals to SMART format
30
+
31
+ - [ ] **User stories have acceptance criteria**
32
+ - Check: Each user story has "Acceptance Criteria:" section
33
+ - Check: Minimum 3 criteria per story
34
+ - Check: Criteria are specific (not vague)
35
+ - Failure: Add concrete acceptance criteria
36
+
37
+ - [ ] **All functional requirements are testable**
38
+ - Check: Each requirement has measurable acceptance criteria
39
+ - Check: No vague language ("fast", "good", "user-friendly")
40
+ - Failure: Make requirements specific and testable
41
+
42
+ - [ ] **Non-functional requirements have specific targets**
43
+ - Check: Performance metrics have numbers (e.g., "< 200ms")
44
+ - Check: Security requirements specify methods (e.g., "bcrypt cost 12")
45
+ - Failure: Replace vague NFRs with specific targets
46
+
47
+ - [ ] **Technical considerations address architecture**
48
+ - Check: Contains architecture description or diagram
49
+ - Check: Mentions integration points or dependencies
50
+ - Failure: Add architectural considerations
51
+
52
+ - [ ] **Out of scope is explicitly defined**
53
+ - Check: Contains "## Out of Scope" section
54
+ - Check: Lists at least 1 item
55
+ - Failure: Define what's NOT being built
56
+
57
+ ---
58
+
59
+ ### Taskmaster-Specific Checks (Should Pass Most)
60
+
61
+ - [ ] **Requirements have task breakdown hints**
62
+ - Check: Requirements include "Task Breakdown:" section
63
+ - Check: Tasks have complexity estimates (Small/Medium/Large)
64
+ - Warning: Add task breakdowns for better taskmaster output
65
+
66
+ - [ ] **Complexity estimates provided**
67
+ - Check: Tasks include time estimates (e.g., "Medium (4-8h)")
68
+ - Check: Estimates are realistic ranges, not exact times
69
+ - Warning: Add complexity estimates to help taskmaster schedule
70
+
71
+ - [ ] **Dependencies identified for task sequencing**
72
+ - Check: Requirements list dependencies (or "None")
73
+ - Check: Dependencies reference other requirements (REQ-XXX)
74
+ - Warning: Document dependencies for proper task ordering
75
+
76
+ - [ ] **Acceptance criteria are concrete**
77
+ - Check: Criteria can be directly converted to task completion checks
78
+ - Check: Each criterion is verifiable (not subjective)
79
+ - Warning: Make criteria more specific for better tasks
80
+
81
+ ---
82
+
83
+ ## Quality Warnings
84
+
85
+ These warnings don't block PRD creation but suggest improvements.
86
+
87
+ ### Vague Language Warnings
88
+
89
+ **Pattern:** Detect vague adjectives/adverbs
90
+
91
+ - ⚠️ **"should be fast"**
92
+ - Suggestion: Replace with specific metric (e.g., "< 200ms p95")
93
+
94
+ - ⚠️ **"should be performant"**
95
+ - Suggestion: Define performance target (throughput, latency, etc.)
96
+
97
+ - ⚠️ **"should be user-friendly"**
98
+ - Suggestion: Define UX criteria (click count, time to complete, etc.)
99
+
100
+ - ⚠️ **"should be secure"**
101
+ - Suggestion: Specify security controls (authentication method, encryption, etc.)
102
+
103
+ - ⚠️ **"should be scalable"**
104
+ - Suggestion: Define scale requirements (users, requests/sec, data volume)
105
+
106
+ - ⚠️ **"should work well"**
107
+ - Suggestion: Define success criteria objectively
108
+
109
+ **Auto-Detection:**
110
+ ```
111
+ Search for patterns:
112
+ - "fast", "quick", "slow"
113
+ - "good", "bad", "poor"
114
+ - "user-friendly", "easy", "simple"
115
+ - "secure", "safe"
116
+ - "scalable", "flexible"
117
+ - "performant", "efficient"
118
+
119
+ Without accompanying numbers or specific criteria
120
+ ```
121
+
122
+ ---
123
+
124
+ ### Missing Detail Warnings
125
+
126
+ - ⚠️ **Technical spec missing code examples**
127
+ - Pattern: "Technical Specification:" section exists but no code blocks
128
+ - Suggestion: Add API request/response, database schema, or code example
129
+
130
+ - ⚠️ **No complexity estimates for tasks**
131
+ - Pattern: Task breakdown exists but no (Small/Medium/Large) labels
132
+ - Suggestion: Add complexity estimates for taskmaster scheduling
133
+
134
+ - ⚠️ **User story has < 3 acceptance criteria**
135
+ - Pattern: Acceptance criteria list has only 1-2 items
136
+ - Suggestion: Add more criteria (edge cases, error handling)
137
+
138
+ - ⚠️ **No validation checkpoints defined**
139
+ - Pattern: Missing "Validation Checkpoints" section
140
+ - Suggestion: Add checkpoints for each implementation phase
141
+
142
+ ---
143
+
144
+ ### Insufficient Detail Warnings
145
+
146
+ - ⚠️ **API endpoint missing error responses**
147
+ - Pattern: API spec shows only success response
148
+ - Suggestion: Document all error cases (400, 401, 404, 500, etc.)
149
+
150
+ - ⚠️ **Database schema missing indexes**
151
+ - Pattern: CREATE TABLE exists but no CREATE INDEX
152
+ - Suggestion: Add indexes for foreign keys and query columns
153
+
154
+ - ⚠️ **No test strategy defined**
155
+ - Pattern: Missing "Testing Strategy" section in technical considerations
156
+ - Suggestion: Define unit, integration, and E2E testing approach
157
+
158
+ - ⚠️ **No error handling specified**
159
+ - Pattern: No mention of error handling in technical spec
160
+ - Suggestion: Document error handling approach and fallback behavior
161
+
162
+ ---
163
+
164
+ ## Validation Output Format
165
+
166
+ ```
167
+ ✅ PRD Quality Validation
168
+
169
+ Required Elements: 9/9 ✅
170
+ Taskmaster Optimization: 4/4 ✅
171
+
172
+ Overall Quality: EXCELLENT
173
+ Ready for taskmaster task generation.
174
+ ```
175
+
176
+ Or with warnings:
177
+
178
+ ```
179
+ ✅ PRD Quality Validation
180
+
181
+ Required Elements: 9/9 ✅
182
+ Taskmaster Optimization: 3/4 ⚠️
183
+
184
+ ⚠️ Warnings (4):
185
+
186
+ 1. REQ-007: "should be performant" is vague
187
+ Location: Functional Requirements > REQ-007
188
+ Suggestion: Replace with "< 200ms response time for 95th percentile"
189
+
190
+ 2. User Story 2: Only 2 acceptance criteria
191
+ Location: User Stories > Story 2
192
+ Suggestion: Minimum 3 recommended. Add edge case criterion.
193
+
194
+ 3. No complexity estimates for Phase 2 tasks
195
+ Location: Implementation Roadmap > Phase 2
196
+ Suggestion: Add estimates (Small: 2-4h, Medium: 4-8h, Large: 8-16h)
197
+
198
+ 4. API endpoint /api/users missing error responses
199
+ Location: Technical Considerations > API Specifications
200
+ Suggestion: Document 400 (validation), 401 (auth), 409 (conflict) responses
201
+
202
+ Overall Quality: GOOD (minor improvements suggested)
203
+ Safe to proceed with taskmaster task generation.
204
+
205
+ Would you like to:
206
+ 1. Proceed with current PRD
207
+ 2. Let me fix warnings automatically
208
+ 3. Review and fix warnings manually
209
+ ```
210
+
211
+ ---
212
+
213
+ ## Manual Validation Checklist
214
+
215
+ For human review before finalizing PRD:
216
+
217
+ ### Content Quality
218
+
219
+ - [ ] **Problem is clearly articulated**
220
+ - Can someone unfamiliar with the project understand the problem?
221
+ - Is the user pain point specific and relatable?
222
+ - Is there data or evidence supporting the problem?
223
+
224
+ - [ ] **Solution makes sense**
225
+ - Does the proposed solution actually solve the problem?
226
+ - Is it the simplest solution that could work?
227
+ - Are there obvious alternatives considered?
228
+
229
+ - [ ] **Goals are achievable**
230
+ - Are targets realistic given timeline and resources?
231
+ - Are metrics actually measurable with available tools?
232
+ - Do goals align with business strategy?
233
+
234
+ ### Technical Accuracy
235
+
236
+ - [ ] **Architecture is sound**
237
+ - Does the proposed architecture fit existing system?
238
+ - Are integration points correctly identified?
239
+ - Are there technical red flags or risks?
240
+
241
+ - [ ] **Estimates are realistic**
242
+ - Do task estimates account for complexity?
243
+ - Is there buffer for unknowns?
244
+ - Have similar projects taken longer?
245
+
246
+ - [ ] **Dependencies are complete**
247
+ - Are all technical dependencies identified?
248
+ - Are team/resource dependencies noted?
249
+ - Are external dependencies (APIs, services) documented?
250
+
251
+ ### Completeness
252
+
253
+ - [ ] **All user scenarios covered**
254
+ - Happy path
255
+ - Error scenarios
256
+ - Edge cases
257
+ - Recovery flows
258
+
259
+ - [ ] **All stakeholders addressed**
260
+ - Engineering (technical details)
261
+ - Product (business value)
262
+ - Design (UX requirements)
263
+ - QA (testing criteria)
264
+ - Support (documentation needs)
265
+
266
+ - [ ] **Nothing ambiguous**
267
+ - No "TBD" or "TODO" in final PRD
268
+ - All open questions have owners and deadlines
269
+ - Success criteria are clear
270
+
271
+ ### Taskmaster Readiness
272
+
273
+ - [ ] **Can taskmaster generate tasks?**
274
+ - Are requirements atomic enough?
275
+ - Is detail level sufficient?
276
+ - Are task boundaries clear?
277
+
278
+ - [ ] **Will tasks be actionable?**
279
+ - Can an engineer pick up a task and implement it?
280
+ - Is enough context provided?
281
+ - Are acceptance criteria clear?
282
+
283
+ - [ ] **Will task scheduling work?**
284
+ - Are dependencies correct?
285
+ - Can tasks be parallelized appropriately?
286
+ - Is the critical path identified?
287
+
288
+ ---
289
+
290
+ ## Validation Scoring
291
+
292
+ **Score Calculation:**
293
+
294
+ ```
295
+ Required Elements (60 points):
296
+ - 9 required checks × 5 points each = 45 points
297
+ - 4 taskmaster checks × 3 points each = 12 points
298
+ - Vague language penalty: -1 point per instance (max -5)
299
+ - Missing detail penalty: -1 point per instance (max -5)
300
+
301
+ Total: /60 points
302
+
303
+ Grading:
304
+ 55-60 points: EXCELLENT ✅ (91-100%)
305
+ 50-54 points: GOOD ⚠️ (83-90%)
306
+ 45-49 points: ACCEPTABLE ⚠️⚠️ (75-82%)
307
+ < 45 points: NEEDS WORK ❌ (< 75%)
308
+ ```
309
+
310
+ **EXCELLENT (91-100%):**
311
+ - All required elements present
312
+ - All taskmaster optimizations included
313
+ - 0-1 minor warnings
314
+ - Ready for immediate use
315
+
316
+ **GOOD (83-90%):**
317
+ - All required elements present
318
+ - Most taskmaster optimizations included
319
+ - 2-4 minor warnings
320
+ - Safe to use, improvements recommended
321
+
322
+ **ACCEPTABLE (75-82%):**
323
+ - All required elements present
324
+ - Some taskmaster optimizations missing
325
+ - 5-8 warnings
326
+ - Usable but may need refinement
327
+
328
+ **NEEDS WORK (< 75%):**
329
+ - Missing required elements
330
+ - Significant taskmaster gaps
331
+ - 9+ warnings or critical issues
332
+ - Should be refined before use
333
+
334
+ ---
335
+
336
+ ## Example Validation Run
337
+
338
+ **Input PRD:** User authentication with 2FA
339
+
340
+ **Automated Checks:**
341
+ ```
342
+ Required Elements:
343
+ ✅ Executive Summary exists (78 words)
344
+ ✅ Problem Statement includes user impact
345
+ ✅ Problem Statement includes business impact
346
+ ✅ Goals have SMART metrics (3/3 goals)
347
+ ✅ User stories have acceptance criteria (5 stories, avg 4.2 criteria)
348
+ ✅ Functional requirements are testable (12/12 requirements)
349
+ ✅ Non-functional requirements have targets (Performance: ✅, Security: ✅, Scalability: ✅)
350
+ ✅ Technical considerations address architecture
351
+ ✅ Out of scope defined (5 items)
352
+
353
+ Taskmaster Checks:
354
+ ✅ Requirements have task breakdowns (12/12)
355
+ ✅ Complexity estimates provided (26 tasks estimated)
356
+ ✅ Dependencies identified (12/12 requirements)
357
+ ✅ Acceptance criteria are concrete
358
+
359
+ Warnings:
360
+ ⚠️ REQ-007: "should be fast enough" detected
361
+ Suggestion: Replace with "< 200ms response time"
362
+
363
+ ⚠️ Phase 2: No validation checkpoint defined
364
+ Suggestion: Add checkpoint criteria
365
+
366
+ Score: 58/60 points (97%)
367
+ Grade: EXCELLENT ✅
368
+
369
+ Result: Ready for taskmaster task generation!
370
+ ```
371
+
372
+ ---
373
+
374
+ ## Continuous Validation
375
+
376
+ **During PRD Development:**
377
+ - Run validation after each major section completed
378
+ - Fix issues immediately (easier than batch fixing)
379
+ - Use warnings as learning guide
380
+
381
+ **Before Finalizing:**
382
+ - Run full validation suite
383
+ - Address all required element failures
384
+ - Review and address warnings
385
+ - Score should be ≥ 50/60 (GOOD)
386
+
387
+ **After Taskmaster Generation:**
388
+ - Review generated tasks for quality
389
+ - If tasks are vague, trace back to PRD
390
+ - Improve PRD and regenerate tasks
391
+
392
+ ---
393
+
394
+ **Remember:** Validation is not just a checklist - it's quality assurance. A well-validated PRD leads to high-quality tasks, which leads to successful implementation. Take the time to validate thoroughly.
@@ -0,0 +1,112 @@
1
+ #!/bin/bash
2
+ # Setup taskmaster directory structure
3
+ # This script creates the necessary .taskmaster/ directories and files
4
+ # for taskmaster AI integration
5
+
6
+ set -e # Exit on error
7
+
8
+ echo "🔧 Setting up taskmaster directory structure..."
9
+
10
+ # Create main .taskmaster directory
11
+ if [ ! -d ".taskmaster" ]; then
12
+ mkdir -p .taskmaster
13
+ echo "✅ Created .taskmaster/ directory"
14
+ else
15
+ echo "ℹ️ .taskmaster/ directory already exists"
16
+ fi
17
+
18
+ # Create subdirectories
19
+ mkdir -p .taskmaster/docs
20
+ mkdir -p .taskmaster/tasks
21
+ mkdir -p .taskmaster/reports
22
+
23
+ echo "✅ Created subdirectories: docs/, tasks/, reports/"
24
+
25
+ # Update .gitignore to exclude taskmaster state files
26
+ GITIGNORE_FILE=".gitignore"
27
+
28
+ if [ -f "$GITIGNORE_FILE" ]; then
29
+ if ! grep -q ".taskmaster/state.json" "$GITIGNORE_FILE" 2>/dev/null; then
30
+ echo "" >> "$GITIGNORE_FILE"
31
+ echo "# Taskmaster AI state files" >> "$GITIGNORE_FILE"
32
+ echo ".taskmaster/state.json" >> "$GITIGNORE_FILE"
33
+ echo ".taskmaster/tasks/" >> "$GITIGNORE_FILE"
34
+ echo ".taskmaster/reports/" >> "$GITIGNORE_FILE"
35
+ echo "✅ Updated .gitignore with taskmaster exclusions"
36
+ else
37
+ echo "ℹ️ .gitignore already configured for taskmaster"
38
+ fi
39
+ else
40
+ # Create .gitignore if it doesn't exist
41
+ echo "# Taskmaster AI state files" > "$GITIGNORE_FILE"
42
+ echo ".taskmaster/state.json" >> "$GITIGNORE_FILE"
43
+ echo ".taskmaster/tasks/" >> "$GITIGNORE_FILE"
44
+ echo ".taskmaster/reports/" >> "$GITIGNORE_FILE"
45
+ echo "✅ Created .gitignore with taskmaster exclusions"
46
+ fi
47
+
48
+ # Create placeholder README in docs/
49
+ if [ ! -f ".taskmaster/docs/README.md" ]; then
50
+ cat > .taskmaster/docs/README.md <<'EOF'
51
+ # Taskmaster Documentation
52
+
53
+ This directory contains project documentation for taskmaster AI.
54
+
55
+ ## Files
56
+
57
+ - `prd.md` - Product Requirements Document (auto-generated)
58
+ - `task-hints.md` - Task breakdown suggestions (optional)
59
+
60
+ ## Usage
61
+
62
+ 1. Ensure `prd.md` exists with comprehensive requirements
63
+ 2. Run `taskmaster init` to initialize project
64
+ 3. Run `taskmaster generate` to generate tasks from PRD
65
+ 4. Run `taskmaster start` to begin implementation
66
+
67
+ See https://www.task-master.dev/ for full documentation.
68
+ EOF
69
+ echo "✅ Created .taskmaster/docs/README.md"
70
+ fi
71
+
72
+ # Create placeholder config if taskmaster CLI not initialized
73
+ if [ ! -f ".taskmaster/config.json" ]; then
74
+ cat > .taskmaster/config.json <<'EOF'
75
+ {
76
+ "version": "2.0",
77
+ "project": {
78
+ "name": "Project Name",
79
+ "description": "Project description"
80
+ },
81
+ "ai": {
82
+ "provider": "anthropic",
83
+ "model": "claude-sonnet-4"
84
+ },
85
+ "workflow": {
86
+ "autoGenerate": false,
87
+ "taskFormat": "json"
88
+ }
89
+ }
90
+ EOF
91
+ echo "✅ Created placeholder .taskmaster/config.json"
92
+ echo "ℹ️ Note: Run 'taskmaster init' to configure with your API keys"
93
+ fi
94
+
95
+ echo ""
96
+ echo "🎉 Taskmaster directory structure ready!"
97
+ echo ""
98
+ echo "Directory structure:"
99
+ echo ".taskmaster/"
100
+ echo "├── config.json (placeholder - run 'taskmaster init' to configure)"
101
+ echo "├── docs/"
102
+ echo "│ ├── README.md"
103
+ echo "│ └── prd.md (will be created by PRD skill)"
104
+ echo "├── tasks/ (taskmaster generates tasks here)"
105
+ echo "└── reports/ (taskmaster creates reports here)"
106
+ echo ""
107
+ echo "Next steps:"
108
+ echo "1. PRD will be created at .taskmaster/docs/prd.md"
109
+ echo "2. Install taskmaster CLI: npm install -g task-master-ai"
110
+ echo "3. Initialize taskmaster: taskmaster init"
111
+ echo "4. Generate tasks: taskmaster generate"
112
+ echo ""