aiag-cli 2.2.3 → 2.3.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.
- package/README.md +72 -37
- package/dist/cli.js +30 -2
- package/dist/cli.js.map +1 -1
- package/dist/commands/feature.d.ts +11 -0
- package/dist/commands/feature.d.ts.map +1 -0
- package/dist/commands/feature.js +153 -0
- package/dist/commands/feature.js.map +1 -0
- package/dist/commands/init.d.ts +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +29 -78
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/prd.d.ts +12 -0
- package/dist/commands/prd.d.ts.map +1 -0
- package/dist/commands/prd.js +179 -0
- package/dist/commands/prd.js.map +1 -0
- package/dist/prompts/index.d.ts +2 -0
- package/dist/prompts/index.d.ts.map +1 -1
- package/dist/prompts/index.js +2 -0
- package/dist/prompts/index.js.map +1 -1
- package/dist/prompts/prd.d.ts +28 -0
- package/dist/prompts/prd.d.ts.map +1 -0
- package/dist/prompts/prd.js +105 -0
- package/dist/prompts/prd.js.map +1 -0
- package/dist/skills/index.d.ts +12 -0
- package/dist/skills/index.d.ts.map +1 -0
- package/dist/skills/index.js +12 -0
- package/dist/skills/index.js.map +1 -0
- package/dist/skills/installer.d.ts +38 -0
- package/dist/skills/installer.d.ts.map +1 -0
- package/dist/skills/installer.js +153 -0
- package/dist/skills/installer.js.map +1 -0
- package/dist/skills/loader.d.ts +34 -0
- package/dist/skills/loader.d.ts.map +1 -0
- package/dist/skills/loader.js +134 -0
- package/dist/skills/loader.js.map +1 -0
- package/dist/skills/runner.d.ts +14 -0
- package/dist/skills/runner.d.ts.map +1 -0
- package/dist/skills/runner.js +238 -0
- package/dist/skills/runner.js.map +1 -0
- package/dist/types.d.ts +127 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/prd.d.ts +21 -0
- package/dist/utils/prd.d.ts.map +1 -1
- package/dist/utils/prd.js +69 -0
- package/dist/utils/prd.js.map +1 -1
- package/dist/utils/taskmasterConverter.d.ts +72 -0
- package/dist/utils/taskmasterConverter.d.ts.map +1 -0
- package/dist/utils/taskmasterConverter.js +401 -0
- package/dist/utils/taskmasterConverter.js.map +1 -0
- package/dist/utils/taskmasterParser.d.ts +35 -0
- package/dist/utils/taskmasterParser.d.ts.map +1 -0
- package/dist/utils/taskmasterParser.js +259 -0
- package/dist/utils/taskmasterParser.js.map +1 -0
- package/package.json +1 -1
- package/templates/skills/prd-taskmaster/.taskmaster/docs/prd.md +2571 -0
- package/templates/skills/prd-taskmaster/.taskmaster/scripts/execution-state.py +87 -0
- package/templates/skills/prd-taskmaster/.taskmaster/scripts/learn-accuracy.py +113 -0
- package/templates/skills/prd-taskmaster/.taskmaster/scripts/rollback.sh +71 -0
- package/templates/skills/prd-taskmaster/.taskmaster/scripts/security-audit.py +130 -0
- package/templates/skills/prd-taskmaster/.taskmaster/scripts/track-time.py +133 -0
- package/templates/skills/prd-taskmaster/LICENSE +21 -0
- package/templates/skills/prd-taskmaster/README.md +608 -0
- package/templates/skills/prd-taskmaster/SKILL.md +1258 -0
- package/templates/skills/prd-taskmaster/reference/taskmaster-integration-guide.md +645 -0
- package/templates/skills/prd-taskmaster/reference/validation-checklist.md +394 -0
- package/templates/skills/prd-taskmaster/scripts/setup-taskmaster.sh +112 -0
- package/templates/skills/prd-taskmaster/templates/CLAUDE.md.template +635 -0
- package/templates/skills/prd-taskmaster/templates/taskmaster-prd-comprehensive.md +983 -0
- package/templates/skills/prd-taskmaster/templates/taskmaster-prd-minimal.md +103 -0
|
@@ -0,0 +1,608 @@
|
|
|
1
|
+
# PRD-Taskmaster: AI-Generated Product Requirements Documents
|
|
2
|
+
|
|
3
|
+
> **Comprehensive PRD generation optimized for AI-assisted development workflows**
|
|
4
|
+
|
|
5
|
+
[]()
|
|
6
|
+
[]()
|
|
7
|
+
[]()
|
|
8
|
+
|
|
9
|
+
## What is This?
|
|
10
|
+
|
|
11
|
+
A Claude Code skill that generates **detailed, engineer-focused Product Requirements Documents (PRDs)** designed to work seamlessly with AI task breakdown tools like Taskmaster.
|
|
12
|
+
|
|
13
|
+
Think of it as your AI product manager that asks the right questions, writes comprehensive specs, and sets you up for successful implementation.
|
|
14
|
+
|
|
15
|
+
## Why You Might Want This
|
|
16
|
+
|
|
17
|
+
### The Problem
|
|
18
|
+
|
|
19
|
+
You have an idea for a feature or product, but:
|
|
20
|
+
- Writing comprehensive PRDs takes hours
|
|
21
|
+
- You're not sure what details to include
|
|
22
|
+
- You want to use AI task breakdown tools (like Taskmaster) but they need detailed requirements
|
|
23
|
+
- Vague specs lead to vague tasks, which lead to poor implementations
|
|
24
|
+
|
|
25
|
+
### The Solution
|
|
26
|
+
|
|
27
|
+
This skill:
|
|
28
|
+
1. **Asks 12+ detailed questions** to extract everything from your brain
|
|
29
|
+
2. **Generates a comprehensive PRD** with all the sections engineers need
|
|
30
|
+
3. **Sets up taskmaster integration** with proper directory structure
|
|
31
|
+
4. **Validates quality** with automated checks (13 different validations)
|
|
32
|
+
5. **Suggests task breakdowns** with complexity estimates and dependencies
|
|
33
|
+
|
|
34
|
+
**Result:** You go from "I have an idea" to "I have a complete, validated PRD ready for AI task generation" in minutes.
|
|
35
|
+
|
|
36
|
+
## Installation
|
|
37
|
+
|
|
38
|
+
This skill works with **Claude Code CLI** and **Codex** (VS Code extension). Choose your tool below:
|
|
39
|
+
|
|
40
|
+
### Option A: Claude Code CLI (Recommended)
|
|
41
|
+
|
|
42
|
+
**Prerequisites:**
|
|
43
|
+
- Claude Code CLI installed ([installation guide](https://docs.claude.com/en/docs/claude-code/installation))
|
|
44
|
+
- Git
|
|
45
|
+
|
|
46
|
+
**Install the skill:**
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
# Clone to your Claude Code skills directory
|
|
50
|
+
cd ~/.claude/skills
|
|
51
|
+
git clone https://github.com/anombyte93/prd-taskmaster.git
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
**Verify installation:**
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
# Start Claude Code in any project
|
|
58
|
+
claude
|
|
59
|
+
|
|
60
|
+
# In the chat, type:
|
|
61
|
+
# "I want a PRD for adding dark mode"
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Claude Code should recognize the skill and activate it automatically!
|
|
65
|
+
|
|
66
|
+
**Troubleshooting:**
|
|
67
|
+
- If skill doesn't activate, check it's in `~/.claude/skills/prd-taskmaster/`
|
|
68
|
+
- Verify `SKILL.md` exists in that directory
|
|
69
|
+
- Try restarting Claude Code
|
|
70
|
+
- Check skill is enabled: Look for the skill description when typing "/help" or similar commands
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
### Option B: Codex (Untested)
|
|
75
|
+
|
|
76
|
+
**Prerequisites:**
|
|
77
|
+
- Codex ([see](https://github.com/openai/codex/blob/main/README.md))
|
|
78
|
+
- Git
|
|
79
|
+
|
|
80
|
+
**Install the skill:**
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
# Clone to where you want to run codex
|
|
84
|
+
cd ~/<wherever>
|
|
85
|
+
git clone https://github.com/anombyte93/prd-taskmaster.git
|
|
86
|
+
cd prd-taskmaster
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
**Configure Codex to find the skill:**
|
|
90
|
+
|
|
91
|
+
1. Run Codex in the `prd-taskmaster` directory
|
|
92
|
+
2. Initialize Codex: `/init`
|
|
93
|
+
3. Codex will read `SKILL.md` and understand how to generate PRDs
|
|
94
|
+
|
|
95
|
+
**Verify installation:**
|
|
96
|
+
|
|
97
|
+
Ask Codex:
|
|
98
|
+
```
|
|
99
|
+
What would you do if I told you to generate a PRD?
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Confirm it outputs something similar to the workflow described in this README.
|
|
103
|
+
|
|
104
|
+
**Using the generated codex.md:**
|
|
105
|
+
|
|
106
|
+
When the skill generates a PRD for your project, it will ask if you're using Codex:
|
|
107
|
+
- If yes: Creates both `CLAUDE.md` and `codex.md` in your project root
|
|
108
|
+
- If no: Creates only `CLAUDE.md`
|
|
109
|
+
|
|
110
|
+
The `codex.md` file guides Codex to follow TDD workflow, use agents, and maintain quality gates throughout development.
|
|
111
|
+
|
|
112
|
+
**Troubleshooting:**
|
|
113
|
+
- Check you cloned to the correct directory
|
|
114
|
+
- Check you ran Codex in the `prd-taskmaster` directory
|
|
115
|
+
- Run `/init` to ensure Codex reads `SKILL.md`
|
|
116
|
+
- Verify `SKILL.md` exists in the directory
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## Quick Start Guide
|
|
121
|
+
|
|
122
|
+
### Basic Usage
|
|
123
|
+
|
|
124
|
+
Once installed, just tell Claude/Codex you want a PRD:
|
|
125
|
+
|
|
126
|
+
```
|
|
127
|
+
"I want a PRD for [your feature/product]"
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
**Activation phrases:**
|
|
131
|
+
- "I want a PRD for adding two-factor authentication"
|
|
132
|
+
- "Create product requirements for a user dashboard"
|
|
133
|
+
- "Write a PRD for integrating with Stripe payments"
|
|
134
|
+
- "Generate requirements for building a dark mode feature"
|
|
135
|
+
|
|
136
|
+
### What Happens Next
|
|
137
|
+
|
|
138
|
+
The skill will:
|
|
139
|
+
|
|
140
|
+
1. **Ask you 12+ detailed questions**
|
|
141
|
+
- What problem are you solving?
|
|
142
|
+
- Who's the target user?
|
|
143
|
+
- What are success metrics?
|
|
144
|
+
- What's the tech stack?
|
|
145
|
+
- Any constraints or dependencies?
|
|
146
|
+
|
|
147
|
+
2. **Analyze your codebase** (if applicable)
|
|
148
|
+
- Scans for related code
|
|
149
|
+
- Identifies integration points
|
|
150
|
+
- References existing patterns
|
|
151
|
+
|
|
152
|
+
3. **Generate a comprehensive PRD**
|
|
153
|
+
- All essential sections included
|
|
154
|
+
- Task breakdown hints
|
|
155
|
+
- Complexity estimates
|
|
156
|
+
|
|
157
|
+
4. **Set up taskmaster integration**
|
|
158
|
+
- Creates `.taskmaster/` directory
|
|
159
|
+
- Places PRD in correct location
|
|
160
|
+
- Updates `.gitignore`
|
|
161
|
+
|
|
162
|
+
5. **Validate everything**
|
|
163
|
+
- 13 automated quality checks
|
|
164
|
+
- Warns about vague language
|
|
165
|
+
- Scores PRD quality
|
|
166
|
+
|
|
167
|
+
6. **Show you next steps**
|
|
168
|
+
- Summary of what was created
|
|
169
|
+
- Suggestions for taskmaster usage
|
|
170
|
+
- Open questions to address
|
|
171
|
+
|
|
172
|
+
### First-Time Tips
|
|
173
|
+
|
|
174
|
+
**Be detailed in your answers!** The more context you provide, the better the PRD.
|
|
175
|
+
|
|
176
|
+
**Example good answer:**
|
|
177
|
+
> "We need 2FA because we're seeing 150 security incidents per month from compromised accounts. Target users are enterprise customers who require SOC2 compliance. Success = reduce incidents to <10/month and meet SOC2 requirements."
|
|
178
|
+
|
|
179
|
+
**Example too-vague answer:**
|
|
180
|
+
> "We need 2FA for security."
|
|
181
|
+
|
|
182
|
+
**Don't worry about perfect answers** - the skill will ask follow-ups if needed!
|
|
183
|
+
|
|
184
|
+
## What You Get
|
|
185
|
+
|
|
186
|
+
### 📄 Comprehensive PRD
|
|
187
|
+
|
|
188
|
+
A complete product requirements document with:
|
|
189
|
+
|
|
190
|
+
- **Executive Summary** - Quick overview
|
|
191
|
+
- **Problem Statement** - User pain points & business impact
|
|
192
|
+
- **Goals & Metrics** - SMART success criteria
|
|
193
|
+
- **User Stories** - With acceptance criteria
|
|
194
|
+
- **Functional Requirements** - Detailed, testable specs
|
|
195
|
+
- **Technical Considerations** - Architecture, data models, APIs
|
|
196
|
+
- **Task Breakdown Hints** - For AI task generation
|
|
197
|
+
- **Dependencies** - What depends on what
|
|
198
|
+
- **Out of Scope** - What you're NOT building
|
|
199
|
+
|
|
200
|
+
### 🗂️ Taskmaster Integration
|
|
201
|
+
|
|
202
|
+
Automatically sets up:
|
|
203
|
+
|
|
204
|
+
```
|
|
205
|
+
.taskmaster/
|
|
206
|
+
├── docs/
|
|
207
|
+
│ ├── prd.md # Your generated PRD
|
|
208
|
+
│ └── architecture.md # Placeholder for architecture docs
|
|
209
|
+
├── tasks/
|
|
210
|
+
│ └── .gitkeep
|
|
211
|
+
├── notes/
|
|
212
|
+
│ └── .gitkeep
|
|
213
|
+
└── .gitignore # Updated to exclude taskmaster artifacts
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
### 🤖 CLAUDE.md / codex.md - TDD Workflow Guide
|
|
217
|
+
|
|
218
|
+
Generates a comprehensive workflow file in your project root that guides Claude Code/Codex to:
|
|
219
|
+
|
|
220
|
+
- **Follow TDD by default** - Write tests first, then implementation
|
|
221
|
+
- **Use blind-validator agent** - Validate against PRD without seeing code
|
|
222
|
+
- **Execute parallel tasks** - Run independent tasks simultaneously
|
|
223
|
+
- **Leverage agents** - For validation, exploration, and context optimization
|
|
224
|
+
- **Enforce quality gates** - Automated validation before marking tasks complete
|
|
225
|
+
- **Follow taskmaster best practices** - Optimal workflow for AI-assisted development
|
|
226
|
+
|
|
227
|
+
**Key sections:**
|
|
228
|
+
- TDD workflow (RED → GREEN → REFACTOR cycle)
|
|
229
|
+
- Agent usage guidelines (when/how to use each agent type)
|
|
230
|
+
- Parallel task execution strategies
|
|
231
|
+
- Validation & quality gates
|
|
232
|
+
- Tool preferences & context optimization
|
|
233
|
+
- Project-specific configuration (tech stack, test commands, etc.)
|
|
234
|
+
|
|
235
|
+
**File naming:**
|
|
236
|
+
- **Claude Code:** Creates `CLAUDE.md` (read automatically by Claude Code)
|
|
237
|
+
- **Codex:** Creates `codex.md` (read by Codex when initialized with `/init`)
|
|
238
|
+
- The skill will ask which tool you're using and create the appropriate file(s)
|
|
239
|
+
- Both files have identical content
|
|
240
|
+
- Includes instructions for keeping them in sync if you use both tools
|
|
241
|
+
|
|
242
|
+
This ensures consistent, high-quality development across your entire project!
|
|
243
|
+
|
|
244
|
+
### ✅ Quality Validation
|
|
245
|
+
|
|
246
|
+
13 automated checks ensure:
|
|
247
|
+
- All required sections are present
|
|
248
|
+
- Requirements are testable (not vague)
|
|
249
|
+
- Success metrics are SMART
|
|
250
|
+
- Technical considerations address architecture
|
|
251
|
+
- Task breakdown hints are included
|
|
252
|
+
- Dependencies are mapped
|
|
253
|
+
|
|
254
|
+
### 📊 Example Output
|
|
255
|
+
|
|
256
|
+
```
|
|
257
|
+
📄 PRD Created: .taskmaster/docs/prd.md
|
|
258
|
+
🤖 CLAUDE.md Generated: Project root (TDD workflow guide)
|
|
259
|
+
+ codex.md (if you're using Codex)
|
|
260
|
+
|
|
261
|
+
📊 Overview:
|
|
262
|
+
- Feature: Two-Factor Authentication
|
|
263
|
+
- Complexity: Medium
|
|
264
|
+
- Estimated Effort: 26 tasks, ~119 hours
|
|
265
|
+
- Key Goal: Reduce security incidents from 150/month to <10/month
|
|
266
|
+
|
|
267
|
+
🎯 Key Requirements:
|
|
268
|
+
1. REQ-001: TOTP/SMS 2FA support
|
|
269
|
+
2. REQ-002: Backup codes for recovery
|
|
270
|
+
3. REQ-003: Login flow integration
|
|
271
|
+
|
|
272
|
+
🔧 Technical Highlights:
|
|
273
|
+
- Architecture: Auth service + Redis for sessions
|
|
274
|
+
- Integration: Twilio for SMS delivery
|
|
275
|
+
- Database: 2 new tables (user_2fa, backup_codes)
|
|
276
|
+
|
|
277
|
+
⚠️ Quality Validation: 58/60 (EXCELLENT ✅)
|
|
278
|
+
✅ All required elements present
|
|
279
|
+
⚠️ 1 minor warning (REQ-007 has vague language)
|
|
280
|
+
|
|
281
|
+
📋 Suggested Task Breakdown:
|
|
282
|
+
- Phase 1: 3 tasks (foundation)
|
|
283
|
+
- Phase 2: 8 tasks (core features)
|
|
284
|
+
- Phase 3: 5 tasks (testing)
|
|
285
|
+
|
|
286
|
+
🚀 Next Steps:
|
|
287
|
+
1. Review PRD: .taskmaster/docs/prd.md
|
|
288
|
+
2. Install taskmaster: npm install -g task-master-ai
|
|
289
|
+
3. Initialize: taskmaster init
|
|
290
|
+
4. Generate tasks: taskmaster generate
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
## Who Is This For?
|
|
294
|
+
|
|
295
|
+
### Perfect For You If:
|
|
296
|
+
|
|
297
|
+
- ✅ You use AI-assisted development workflows (Claude, Cursor, etc.)
|
|
298
|
+
- ✅ You want to use Taskmaster or similar task breakdown tools
|
|
299
|
+
- ✅ You're building features/products and need comprehensive specs
|
|
300
|
+
- ✅ You prefer detailed planning before coding
|
|
301
|
+
- ✅ You're tired of writing PRDs manually
|
|
302
|
+
|
|
303
|
+
### Maybe Not For You If:
|
|
304
|
+
|
|
305
|
+
- ❌ You prefer writing PRDs entirely yourself
|
|
306
|
+
- ❌ You don't use AI development tools
|
|
307
|
+
- ❌ You prefer minimal documentation
|
|
308
|
+
- ❌ You work in a strict corporate environment with specific PRD templates
|
|
309
|
+
|
|
310
|
+
## Features
|
|
311
|
+
|
|
312
|
+
### 🤖 Intelligent Discovery
|
|
313
|
+
|
|
314
|
+
Asks smart questions:
|
|
315
|
+
- What problem are you solving?
|
|
316
|
+
- Who's the user?
|
|
317
|
+
- What's the tech stack?
|
|
318
|
+
- What are success metrics?
|
|
319
|
+
- Timeline expectations?
|
|
320
|
+
|
|
321
|
+
### 🔍 Codebase-Aware
|
|
322
|
+
|
|
323
|
+
If you're working in an existing codebase:
|
|
324
|
+
- Scans related code
|
|
325
|
+
- References specific files
|
|
326
|
+
- Ensures consistency with existing patterns
|
|
327
|
+
- Identifies integration points
|
|
328
|
+
|
|
329
|
+
### 📐 Multiple Templates
|
|
330
|
+
|
|
331
|
+
Choose based on project size:
|
|
332
|
+
- **Comprehensive** (default) - Full 12-section PRD
|
|
333
|
+
- **Minimal** - Quick template for simple features
|
|
334
|
+
|
|
335
|
+
### 🎯 Taskmaster-Optimized
|
|
336
|
+
|
|
337
|
+
Everything taskmaster needs:
|
|
338
|
+
- Task breakdown hints
|
|
339
|
+
- Complexity estimates
|
|
340
|
+
- Dependency mapping
|
|
341
|
+
- Acceptance criteria
|
|
342
|
+
- Implementation notes
|
|
343
|
+
|
|
344
|
+
### ✨ Smart Validation
|
|
345
|
+
|
|
346
|
+
Catches common issues:
|
|
347
|
+
- Vague language ("fast", "secure" without specifics)
|
|
348
|
+
- Missing acceptance criteria
|
|
349
|
+
- Non-testable requirements
|
|
350
|
+
- Incomplete technical specs
|
|
351
|
+
|
|
352
|
+
## How It Works
|
|
353
|
+
|
|
354
|
+
### The 8-Step Workflow
|
|
355
|
+
|
|
356
|
+
1. **Discovery** - Ask comprehensive questions
|
|
357
|
+
2. **Environment Check** - Look for existing taskmaster setup
|
|
358
|
+
3. **Codebase Analysis** - Understand existing code (if applicable)
|
|
359
|
+
4. **PRD Generation** - Write comprehensive requirements
|
|
360
|
+
5. **Directory Setup** - Create `.taskmaster/` structure
|
|
361
|
+
6. **Validation** - Run 13 quality checks
|
|
362
|
+
7. **Task Hints** - Suggest breakdowns and dependencies
|
|
363
|
+
8. **Presentation** - Show summary and next steps
|
|
364
|
+
|
|
365
|
+
## Advanced Usage
|
|
366
|
+
|
|
367
|
+
### Using with Taskmaster
|
|
368
|
+
|
|
369
|
+
The skill now **automatically detects and prefers MCP** over CLI for seamless integration!
|
|
370
|
+
|
|
371
|
+
#### Automatic Detection (Recommended)
|
|
372
|
+
|
|
373
|
+
The skill will automatically:
|
|
374
|
+
1. **Detect MCP Task-Master-AI** (if installed in Claude Code)
|
|
375
|
+
2. **Fallback to CLI** (if MCP not available but CLI is installed)
|
|
376
|
+
3. **Provide installation instructions** (if neither is available)
|
|
377
|
+
|
|
378
|
+
**With MCP (PREFERRED):**
|
|
379
|
+
- ✅ Seamless integration with direct function calls
|
|
380
|
+
- ✅ No shell dependency
|
|
381
|
+
- ✅ Automatic task initialization, parsing, and expansion
|
|
382
|
+
- ✅ Query tasks using MCP tools directly in Claude Code
|
|
383
|
+
|
|
384
|
+
The skill will automatically:
|
|
385
|
+
- Initialize taskmaster project structure
|
|
386
|
+
- Parse your PRD to generate tasks
|
|
387
|
+
- Expand all tasks into subtasks
|
|
388
|
+
- No manual CLI commands needed!
|
|
389
|
+
|
|
390
|
+
**With CLI (Fallback):**
|
|
391
|
+
```bash
|
|
392
|
+
# After PRD is generated:
|
|
393
|
+
npm install -g task-master-ai
|
|
394
|
+
cd your-project
|
|
395
|
+
taskmaster init
|
|
396
|
+
taskmaster parse-prd --input .taskmaster/docs/prd.md
|
|
397
|
+
taskmaster expand-all --research
|
|
398
|
+
taskmaster next-task # Begin implementation
|
|
399
|
+
```
|
|
400
|
+
|
|
401
|
+
**Without Taskmaster:**
|
|
402
|
+
- Skill generates manual task files in `.taskmaster/tasks/`
|
|
403
|
+
- Provides installation instructions for MCP or CLI
|
|
404
|
+
- You can still follow the PRD and task files manually
|
|
405
|
+
|
|
406
|
+
### Customizing Templates
|
|
407
|
+
|
|
408
|
+
Edit templates in `templates/` directory:
|
|
409
|
+
- `taskmaster-prd-comprehensive.md` - Full template
|
|
410
|
+
- `taskmaster-prd-minimal.md` - Quick template
|
|
411
|
+
|
|
412
|
+
### Manual Validation
|
|
413
|
+
|
|
414
|
+
Use the validation checklist:
|
|
415
|
+
```bash
|
|
416
|
+
cat reference/validation-checklist.md
|
|
417
|
+
```
|
|
418
|
+
|
|
419
|
+
## Files & Structure
|
|
420
|
+
|
|
421
|
+
```
|
|
422
|
+
prd-taskmaster/
|
|
423
|
+
├── SKILL.md # Main skill (480 lines)
|
|
424
|
+
├── PUBLIC_README.md # This file
|
|
425
|
+
├── README.md # Developer documentation
|
|
426
|
+
├── templates/
|
|
427
|
+
│ ├── taskmaster-prd-comprehensive.md # Full PRD template
|
|
428
|
+
│ └── taskmaster-prd-minimal.md # Quick template
|
|
429
|
+
├── scripts/
|
|
430
|
+
│ └── setup-taskmaster.sh # Directory setup script
|
|
431
|
+
└── reference/
|
|
432
|
+
├── taskmaster-integration-guide.md # Taskmaster best practices
|
|
433
|
+
└── validation-checklist.md # Quality criteria
|
|
434
|
+
```
|
|
435
|
+
|
|
436
|
+
## Development Approach
|
|
437
|
+
|
|
438
|
+
### Honest Disclosure
|
|
439
|
+
|
|
440
|
+
This skill was built using an iterative "vibe-coding" approach:
|
|
441
|
+
- Designed multiple variations
|
|
442
|
+
- Evaluated with evidence-based scoring
|
|
443
|
+
- Validated with test scenarios
|
|
444
|
+
- Refined based on impact analysis
|
|
445
|
+
|
|
446
|
+
**Status:** Beta - Works well for the creator's workflow, but hasn't been extensively tested by others.
|
|
447
|
+
|
|
448
|
+
### Known Limitations
|
|
449
|
+
|
|
450
|
+
- Primarily tested for web/API projects
|
|
451
|
+
- English only
|
|
452
|
+
- Assumes taskmaster workflow
|
|
453
|
+
- May ask redundant questions for very simple features
|
|
454
|
+
- Validation is helpful but not perfect
|
|
455
|
+
|
|
456
|
+
### Your Feedback Matters
|
|
457
|
+
|
|
458
|
+
This is a **living skill**. If you:
|
|
459
|
+
- Find bugs or issues
|
|
460
|
+
- Have suggestions for improvement
|
|
461
|
+
- Want additional templates or patterns
|
|
462
|
+
- Need different validation rules
|
|
463
|
+
|
|
464
|
+
**Please open an issue!** Your real-world usage will make this better.
|
|
465
|
+
|
|
466
|
+
## Why Share This?
|
|
467
|
+
|
|
468
|
+
### The Philosophy
|
|
469
|
+
|
|
470
|
+
> "Planning is 95% of the work. A comprehensive, validated PRD is the foundation of successful implementation."
|
|
471
|
+
|
|
472
|
+
If you're using AI to help build software, the **quality of your requirements** directly impacts the **quality of your results**.
|
|
473
|
+
|
|
474
|
+
This skill codifies lessons learned from:
|
|
475
|
+
- Writing PRDs manually (painful)
|
|
476
|
+
- Using AI task breakdown tools (needs good input)
|
|
477
|
+
- Iterating on what makes a "good enough" PRD
|
|
478
|
+
- Automating the boring parts
|
|
479
|
+
|
|
480
|
+
### The Hope
|
|
481
|
+
|
|
482
|
+
Maybe this helps you:
|
|
483
|
+
- Save time on PRD writing
|
|
484
|
+
- Improve your planning process
|
|
485
|
+
- Get better results from AI task tools
|
|
486
|
+
- Ship features more successfully
|
|
487
|
+
|
|
488
|
+
If it does, great! If not, no worries - maybe you'll fork it and make it better for your needs.
|
|
489
|
+
|
|
490
|
+
## FAQ
|
|
491
|
+
|
|
492
|
+
### Q: Do I need Taskmaster to use this?
|
|
493
|
+
|
|
494
|
+
**A:** No. The PRD is useful on its own. Taskmaster integration is optional.
|
|
495
|
+
|
|
496
|
+
### Q: Will this work for my project?
|
|
497
|
+
|
|
498
|
+
**A:** Probably? It's designed for web/API projects but adaptable. Try it and see!
|
|
499
|
+
|
|
500
|
+
### Q: Can I modify the templates?
|
|
501
|
+
|
|
502
|
+
**A:** Absolutely! That's encouraged. Edit templates to match your needs.
|
|
503
|
+
|
|
504
|
+
### Q: What if the PRD quality validation fails?
|
|
505
|
+
|
|
506
|
+
**A:** The skill will warn you about issues. You can still use the PRD - validation is guidance, not enforcement.
|
|
507
|
+
|
|
508
|
+
### Q: How long does it take?
|
|
509
|
+
|
|
510
|
+
**A:** 5-15 minutes depending on how detailed your answers are.
|
|
511
|
+
|
|
512
|
+
### Q: Is this better than writing PRDs manually?
|
|
513
|
+
|
|
514
|
+
**A:** Different trade-off. Faster and more comprehensive, but less customized. Your call!
|
|
515
|
+
|
|
516
|
+
## Contributing
|
|
517
|
+
|
|
518
|
+
### Ways to Help
|
|
519
|
+
|
|
520
|
+
1. **Use it and report issues** - Real-world usage is invaluable
|
|
521
|
+
2. **Share improvements** - Better templates, validation rules, etc.
|
|
522
|
+
3. **Add patterns** - More examples for common project types
|
|
523
|
+
4. **Documentation** - Clarify confusing parts
|
|
524
|
+
|
|
525
|
+
### How to Contribute
|
|
526
|
+
|
|
527
|
+
```bash
|
|
528
|
+
# Fork the repo
|
|
529
|
+
# Make your changes
|
|
530
|
+
# Test with real projects
|
|
531
|
+
# Submit PR with:
|
|
532
|
+
# - What you changed
|
|
533
|
+
# - Why you changed it
|
|
534
|
+
# - How you tested it
|
|
535
|
+
```
|
|
536
|
+
|
|
537
|
+
## License
|
|
538
|
+
|
|
539
|
+
MIT License - Use freely, modify as needed, share improvements if you want.
|
|
540
|
+
|
|
541
|
+
## Acknowledgments
|
|
542
|
+
|
|
543
|
+
**Built with:**
|
|
544
|
+
- Claude Code (obviously)
|
|
545
|
+
- Research from Product School, Atlassian, Aha.io, Leanware
|
|
546
|
+
- Taskmaster AI documentation
|
|
547
|
+
- Lessons learned from shipping features
|
|
548
|
+
|
|
549
|
+
**Philosophy:**
|
|
550
|
+
- LEARN → PRACTICE → MASTER methodology
|
|
551
|
+
- Impact-weighted decision making
|
|
552
|
+
- Evidence-based evaluation
|
|
553
|
+
- Quality over speed
|
|
554
|
+
|
|
555
|
+
## Support & Contact
|
|
556
|
+
|
|
557
|
+
- **Issues:** [GitHub Issues](https://github.com/anombyte93/prd-taskmaster/issues)
|
|
558
|
+
- **Discussions:** [GitHub Discussions](https://github.com/anombyte93/prd-taskmaster/discussions)
|
|
559
|
+
- **Questions:** Open an issue with the "question" label
|
|
560
|
+
|
|
561
|
+
## Version History
|
|
562
|
+
|
|
563
|
+
- **v1.0** (2025-01-22) - Initial public release
|
|
564
|
+
- Comprehensive PRD generation
|
|
565
|
+
- Full taskmaster integration
|
|
566
|
+
- Automated validation (13 checks)
|
|
567
|
+
- Impact-weighted evaluation methodology
|
|
568
|
+
|
|
569
|
+
---
|
|
570
|
+
|
|
571
|
+
**Made with Claude Code** | **Status: Beta** | **Feedback Welcome**
|
|
572
|
+
|
|
573
|
+
*Planning is 95% of the work. Start with a solid PRD.*
|
|
574
|
+
|
|
575
|
+
## What's New in v2.0 (Top 5 Enhancements)
|
|
576
|
+
|
|
577
|
+
### 1. Real DateTime Tracking
|
|
578
|
+
- Precise UTC timestamps for all tasks/subtasks
|
|
579
|
+
- Automatic duration calculation
|
|
580
|
+
- JSON state persistence
|
|
581
|
+
- Compare actual vs estimated time
|
|
582
|
+
|
|
583
|
+
### 2. Instant Rollback Command
|
|
584
|
+
- Type "rollback to task X" any time during execution
|
|
585
|
+
- Reverts to any checkpoint tag
|
|
586
|
+
- Backs up current work before rollback
|
|
587
|
+
- Safety confirmations
|
|
588
|
+
|
|
589
|
+
### 3. Accuracy Learning System
|
|
590
|
+
- Analyzes estimated vs actual times
|
|
591
|
+
- Calculates adjustment factor
|
|
592
|
+
- Recommends estimate improvements
|
|
593
|
+
- Learns from your pace
|
|
594
|
+
|
|
595
|
+
### 4. Security Audit Checklist
|
|
596
|
+
- Auto-generated based on your code
|
|
597
|
+
- Scans for security patterns
|
|
598
|
+
- Standard security checks included
|
|
599
|
+
- Automated scan suggestions
|
|
600
|
+
|
|
601
|
+
### 5. Auto-Resume After Crash
|
|
602
|
+
- Detects incomplete work from previous session
|
|
603
|
+
- Offers multiple resume points
|
|
604
|
+
- Continues exactly where crashed
|
|
605
|
+
- No work lost
|
|
606
|
+
|
|
607
|
+
All enhancements work seamlessly with MCP or CLI integration!
|
|
608
|
+
|