prjct-cli 0.8.6 → 0.9.1
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/CHANGELOG.md +216 -0
- package/CLAUDE.md +34 -0
- package/core/agentic/agent-router.js +482 -0
- package/core/agentic/command-executor.js +70 -15
- package/core/agentic/context-builder.js +4 -3
- package/core/agentic/context-filter.js +545 -0
- package/core/agentic/prompt-builder.js +48 -38
- package/core/agentic/tool-registry.js +35 -0
- package/core/command-registry.js +104 -164
- package/core/commands.js +84 -0
- package/core/domain/agent-generator.js +55 -44
- package/core/domain/architecture-generator.js +561 -0
- package/core/domain/task-stack.js +496 -0
- package/core/infrastructure/legacy-installer-detector.js +546 -0
- package/core/infrastructure/session-manager.js +14 -2
- package/core/infrastructure/setup.js +29 -11
- package/core/utils/jsonl-helper.js +137 -0
- package/package.json +1 -1
- package/scripts/install.sh +45 -8
- package/scripts/postinstall.js +5 -5
- package/templates/agents/AGENTS.md +3 -3
- package/templates/commands/analyze.md +10 -53
- package/templates/commands/ask.md +25 -338
- package/templates/commands/bug.md +11 -70
- package/templates/commands/build.md +8 -35
- package/templates/commands/cleanup.md +9 -32
- package/templates/commands/dash.md +241 -0
- package/templates/commands/design.md +5 -28
- package/templates/commands/done.md +6 -20
- package/templates/commands/feature.md +12 -225
- package/templates/commands/help.md +26 -313
- package/templates/commands/idea.md +7 -25
- package/templates/commands/init.md +15 -191
- package/templates/commands/migrate-all.md +25 -84
- package/templates/commands/next.md +6 -26
- package/templates/commands/now.md +6 -25
- package/templates/commands/pause.md +18 -0
- package/templates/commands/progress.md +5 -50
- package/templates/commands/recap.md +5 -54
- package/templates/commands/resume.md +97 -0
- package/templates/commands/ship.md +14 -135
- package/templates/commands/status.md +7 -32
- package/templates/commands/suggest.md +36 -495
- package/templates/commands/sync.md +7 -24
- package/templates/commands/work.md +44 -0
- package/templates/commands/workflow.md +3 -25
- package/templates/planning-methodology.md +195 -0
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
---
|
|
2
|
+
allowed-tools: [Read, GetTimestamp, GetDate]
|
|
3
|
+
description: 'Unified dashboard - project status, progress, and roadmap'
|
|
4
|
+
timestamp-rule: 'ALWAYS use GetTimestamp() and GetDate() tools for timestamps'
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# /p:dash
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
/p:dash # Full dashboard (default view)
|
|
13
|
+
/p:dash week # Weekly progress focus
|
|
14
|
+
/p:dash month # Monthly progress focus
|
|
15
|
+
/p:dash roadmap # Roadmap and planning focus
|
|
16
|
+
/p:dash compact # Minimal status only
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Flow
|
|
20
|
+
|
|
21
|
+
1. **Read all relevant files**:
|
|
22
|
+
- `core/stack.jsonl` → Active and paused tasks
|
|
23
|
+
- `core/next.md` → Priority queue
|
|
24
|
+
- `progress/shipped.md` → Recent ships
|
|
25
|
+
- `planning/roadmap.md` → Active roadmap
|
|
26
|
+
- `planning/ideas.md` → Recent ideas
|
|
27
|
+
- `progress/metrics.md` → Velocity metrics
|
|
28
|
+
|
|
29
|
+
2. **Calculate metrics**:
|
|
30
|
+
- Current task and elapsed time
|
|
31
|
+
- Tasks completed today/week/month
|
|
32
|
+
- Paused tasks count
|
|
33
|
+
- Queue depth
|
|
34
|
+
- Days since last ship
|
|
35
|
+
- Velocity (tasks/week)
|
|
36
|
+
- Sprint progress percentage
|
|
37
|
+
|
|
38
|
+
3. **Generate view based on param**:
|
|
39
|
+
- Default → Balanced overview
|
|
40
|
+
- Week/Month → Progress focused
|
|
41
|
+
- Roadmap → Planning focused
|
|
42
|
+
- Compact → Just essentials
|
|
43
|
+
|
|
44
|
+
## Response Formats
|
|
45
|
+
|
|
46
|
+
### Default Dashboard
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
┌─────────────────────────────────────────┐
|
|
50
|
+
│ 📊 PROJECT DASHBOARD │
|
|
51
|
+
├─────────────────────────────────────────┤
|
|
52
|
+
│ 🎯 Current Focus │
|
|
53
|
+
│ {active_task} │
|
|
54
|
+
│ Started: {time_ago} | Agent: {agent} │
|
|
55
|
+
├─────────────────────────────────────────┤
|
|
56
|
+
│ ⏸️ Paused Tasks: {count} │
|
|
57
|
+
│ 1. {task} (paused {time} ago) │
|
|
58
|
+
├─────────────────────────────────────────┤
|
|
59
|
+
│ 📋 Priority Queue │
|
|
60
|
+
│ • {next_task_1} ({estimate}) │
|
|
61
|
+
│ • {next_task_2} ({estimate}) │
|
|
62
|
+
│ • {next_task_3} ({estimate}) │
|
|
63
|
+
│ → /p:next for full queue │
|
|
64
|
+
├─────────────────────────────────────────┤
|
|
65
|
+
│ 📈 Progress This Week │
|
|
66
|
+
│ Sprint: [████████░░] 80% │
|
|
67
|
+
│ Completed: {N} tasks │
|
|
68
|
+
│ Shipped: {M} features │
|
|
69
|
+
│ Velocity: {V} tasks/week │
|
|
70
|
+
├─────────────────────────────────────────┤
|
|
71
|
+
│ 🚀 Last Ship: {days} days ago │
|
|
72
|
+
│ {last_shipped_feature} │
|
|
73
|
+
├─────────────────────────────────────────┤
|
|
74
|
+
│ 🗺️ Roadmap Status │
|
|
75
|
+
│ Phase: {current_phase} ({progress}%) │
|
|
76
|
+
│ Next milestone: {milestone} │
|
|
77
|
+
└─────────────────────────────────────────┘
|
|
78
|
+
|
|
79
|
+
💡 Suggestions:
|
|
80
|
+
{contextual_suggestions_based_on_state}
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### Weekly Progress View
|
|
84
|
+
|
|
85
|
+
```
|
|
86
|
+
📊 WEEKLY PROGRESS - Week of {week_start}
|
|
87
|
+
|
|
88
|
+
## 🎯 This Week's Accomplishments
|
|
89
|
+
|
|
90
|
+
### Completed Tasks ({count})
|
|
91
|
+
✅ {task_1} - {duration}
|
|
92
|
+
✅ {task_2} - {duration}
|
|
93
|
+
✅ {task_3} - {duration}
|
|
94
|
+
|
|
95
|
+
### Features Shipped ({count})
|
|
96
|
+
🚀 {feature_1} - {complexity} - {date}
|
|
97
|
+
🚀 {feature_2} - {complexity} - {date}
|
|
98
|
+
|
|
99
|
+
## 📈 Metrics
|
|
100
|
+
|
|
101
|
+
**Velocity**: {tasks_per_day} tasks/day
|
|
102
|
+
**Focus Time**: {total_hours} hours
|
|
103
|
+
**Efficiency**: {completion_rate}%
|
|
104
|
+
**Interruptions**: {pause_count} pauses
|
|
105
|
+
|
|
106
|
+
## 🔄 Week-over-Week
|
|
107
|
+
|
|
108
|
+
Compared to last week:
|
|
109
|
+
• Tasks: {trend} ({percentage}%)
|
|
110
|
+
• Velocity: {trend} ({percentage}%)
|
|
111
|
+
• Ships: {trend} ({count_diff})
|
|
112
|
+
|
|
113
|
+
## 📋 Upcoming
|
|
114
|
+
|
|
115
|
+
Next week's priorities:
|
|
116
|
+
1. {priority_1}
|
|
117
|
+
2. {priority_2}
|
|
118
|
+
3. {priority_3}
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
### Roadmap View
|
|
122
|
+
|
|
123
|
+
```
|
|
124
|
+
🗺️ ROADMAP & PLANNING
|
|
125
|
+
|
|
126
|
+
## Current Phase: {phase_name}
|
|
127
|
+
Progress: [████████░░] {percentage}%
|
|
128
|
+
Timeline: {start_date} → {end_date}
|
|
129
|
+
Status: {on_track|at_risk|delayed}
|
|
130
|
+
|
|
131
|
+
### Phase Goals
|
|
132
|
+
• {goal_1} - {status}
|
|
133
|
+
• {goal_2} - {status}
|
|
134
|
+
• {goal_3} - {status}
|
|
135
|
+
|
|
136
|
+
### Completed Milestones
|
|
137
|
+
✅ {milestone_1} - {date}
|
|
138
|
+
✅ {milestone_2} - {date}
|
|
139
|
+
|
|
140
|
+
### Upcoming Milestones
|
|
141
|
+
🎯 {milestone_1} - {eta}
|
|
142
|
+
🎯 {milestone_2} - {eta}
|
|
143
|
+
|
|
144
|
+
## Future Phases
|
|
145
|
+
|
|
146
|
+
**Phase 2**: {name} ({estimate})
|
|
147
|
+
- {key_feature_1}
|
|
148
|
+
- {key_feature_2}
|
|
149
|
+
|
|
150
|
+
**Phase 3**: {name} ({estimate})
|
|
151
|
+
- {key_feature_1}
|
|
152
|
+
- {key_feature_2}
|
|
153
|
+
|
|
154
|
+
## 💡 Recent Ideas ({count})
|
|
155
|
+
• {idea_1} - {priority}
|
|
156
|
+
• {idea_2} - {priority}
|
|
157
|
+
• {idea_3} - {priority}
|
|
158
|
+
|
|
159
|
+
→ /p:idea for new ideas
|
|
160
|
+
→ /p:feature to add to roadmap
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
### Compact View
|
|
164
|
+
|
|
165
|
+
```
|
|
166
|
+
🎯 {active_task} ({time_elapsed})
|
|
167
|
+
📋 Queue: {queue_count} | ⏸️ Paused: {paused_count}
|
|
168
|
+
📈 Week: {tasks_done} done | {velocity}/day
|
|
169
|
+
🚀 Last ship: {days}d ago
|
|
170
|
+
|
|
171
|
+
→ /p:done | /p:next | /p:ship
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
## Contextual Suggestions
|
|
175
|
+
|
|
176
|
+
Based on project state, suggest next actions:
|
|
177
|
+
|
|
178
|
+
### If no active task
|
|
179
|
+
```
|
|
180
|
+
💡 Start working:
|
|
181
|
+
→ /p:work 1 (from queue)
|
|
182
|
+
→ /p:resume (paused task)
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
### If haven't shipped recently
|
|
186
|
+
```
|
|
187
|
+
⚠️ {days} days since last ship!
|
|
188
|
+
→ /p:ship "{feature}"
|
|
189
|
+
→ Find quick win in /p:next
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
### If velocity dropping
|
|
193
|
+
```
|
|
194
|
+
📉 Velocity trend down
|
|
195
|
+
→ Check if tasks too complex
|
|
196
|
+
→ Consider breaking down with /p:feature
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
### If many paused tasks
|
|
200
|
+
```
|
|
201
|
+
⏸️ {count} tasks paused
|
|
202
|
+
→ Review with /p:stack
|
|
203
|
+
→ Consider completing or dropping
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
## Natural Language Support
|
|
207
|
+
|
|
208
|
+
Detect intent:
|
|
209
|
+
- "p. dashboard" → Full dashboard
|
|
210
|
+
- "p. status" → Default view
|
|
211
|
+
- "p. progress" → Weekly view
|
|
212
|
+
- "p. how am I doing" → Default view
|
|
213
|
+
- "p. roadmap" → Roadmap view
|
|
214
|
+
- "p. weekly" → Weekly progress
|
|
215
|
+
|
|
216
|
+
## ASCII Art Helpers
|
|
217
|
+
|
|
218
|
+
For progress bars:
|
|
219
|
+
```
|
|
220
|
+
Empty: ░░░░░░░░░░
|
|
221
|
+
Full: ██████████
|
|
222
|
+
Mixed: ████████░░
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
For borders:
|
|
226
|
+
```
|
|
227
|
+
┌─┬─┐
|
|
228
|
+
│ │ │
|
|
229
|
+
├─┼─┤
|
|
230
|
+
└─┴─┘
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
## Migration Note
|
|
234
|
+
|
|
235
|
+
This command replaces:
|
|
236
|
+
- `/p:status` → Use `/p:dash`
|
|
237
|
+
- `/p:recap` → Use `/p:dash`
|
|
238
|
+
- `/p:progress` → Use `/p:dash week`
|
|
239
|
+
- `/p:roadmap` → Use `/p:dash roadmap`
|
|
240
|
+
|
|
241
|
+
Old commands will show deprecation notice and redirect here.
|
|
@@ -1,38 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
allowed-tools: [Read, Write]
|
|
3
|
-
description: 'Design
|
|
3
|
+
description: 'Design systems'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# /p:design
|
|
7
7
|
|
|
8
|
-
## Usage
|
|
9
|
-
|
|
10
|
-
```
|
|
11
|
-
/p:design [target] [--type architecture|api|component|database|flow]
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
## Flow
|
|
15
|
-
|
|
16
|
-
1. Parse: target + type
|
|
17
|
-
2. Generate: ASCII diagrams
|
|
18
|
-
3. Create: specifications
|
|
19
|
-
4. Save: `designs/{target}-{type}.md`
|
|
20
|
-
|
|
21
8
|
## Types
|
|
9
|
+
architecture | api | component | database | flow
|
|
22
10
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
- **component**: Interfaces, props, state
|
|
26
|
-
- **database**: Schema, relationships, indexes
|
|
27
|
-
- **flow**: User journeys, workflows
|
|
11
|
+
## Flow
|
|
12
|
+
Parse → Generate ASCII diagrams → Specs → Save `designs/{target}-{type}.md`
|
|
28
13
|
|
|
29
14
|
## Response
|
|
30
|
-
|
|
31
|
-
```
|
|
32
|
-
🎨 Design complete!
|
|
33
|
-
|
|
34
|
-
📐 {target} - {type}
|
|
35
|
-
📄 Saved: designs/{target}-{type}.md
|
|
36
|
-
|
|
37
|
-
/p:now "Implement {target}"
|
|
38
|
-
```
|
|
15
|
+
`🎨 {target} design | Saved: designs/{target}-{type}.md`
|
|
@@ -1,30 +1,16 @@
|
|
|
1
1
|
---
|
|
2
2
|
allowed-tools: [Read, Write]
|
|
3
|
-
description: 'Complete task
|
|
3
|
+
description: 'Complete task'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# /p:done
|
|
7
7
|
|
|
8
|
-
##
|
|
9
|
-
|
|
10
|
-
- Requires: `.prjct/prjct.config.json` exists
|
|
11
|
-
- Requires: `core/now.md` has content
|
|
12
|
-
- Else: "Not working on anything. Use /p:now or /p:next"
|
|
8
|
+
## Check
|
|
9
|
+
Requires: `core/now.md` has content
|
|
13
10
|
|
|
14
11
|
## Flow
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
2. Clear: `core/now.md`
|
|
18
|
-
3. Update: `progress/metrics.md`, `core/context.md`
|
|
19
|
-
4. Log: `memory/context.jsonl`
|
|
12
|
+
1. Read `core/now.md` → calculate duration
|
|
13
|
+
2. Clear now.md → Update metrics → Log
|
|
20
14
|
|
|
21
15
|
## Response
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
✅ {task} ({duration})
|
|
25
|
-
|
|
26
|
-
Next?
|
|
27
|
-
• "start {task}" → work
|
|
28
|
-
• "ship {feature}" → celebrate
|
|
29
|
-
• /p:now | /p:ship
|
|
30
|
-
```
|
|
16
|
+
`✅ {task} ({duration}) | Next: /p:now or /p:ship`
|
|
@@ -1,239 +1,26 @@
|
|
|
1
1
|
---
|
|
2
|
-
allowed-tools: [Read, Write, Bash]
|
|
2
|
+
allowed-tools: [Read, Write, Bash, GetTimestamp, GetDate]
|
|
3
3
|
description: 'Value analysis + roadmap + task breakdown + auto-start'
|
|
4
|
+
timestamp-rule: 'GetTimestamp() and GetDate() for ALL timestamps'
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# /p:feature
|
|
7
8
|
|
|
8
|
-
## Usage
|
|
9
|
-
|
|
10
|
-
```
|
|
11
|
-
/p:feature "<description>" # Direct description
|
|
12
|
-
/p:feature # Interactive mode with templates
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## What It Does
|
|
16
|
-
|
|
17
|
-
1. **Value analysis**: Impact/effort/timing analysis
|
|
18
|
-
2. **Roadmap**: Positioning in project roadmap
|
|
19
|
-
3. **Task breakdown**: Smart breakdown into logical tasks
|
|
20
|
-
4. **Auto-start**: First task starts automatically
|
|
21
|
-
|
|
22
|
-
## Interactive Mode (No Parameters)
|
|
23
|
-
|
|
24
|
-
When executed without parameters, `/p:feature` enters interactive mode with quick start templates.
|
|
25
|
-
|
|
26
|
-
### Response: Interactive Mode
|
|
27
|
-
|
|
28
|
-
```
|
|
29
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
30
|
-
💡 WHAT FEATURE DO YOU WANT TO ADD?
|
|
31
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
32
|
-
|
|
33
|
-
You can describe freely or choose a template:
|
|
34
|
-
|
|
35
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
36
|
-
|
|
37
|
-
📋 QUICK START TEMPLATES:
|
|
38
|
-
|
|
39
|
-
1. 🎨 UI/UX Improvements
|
|
40
|
-
Examples:
|
|
41
|
-
• "add dark mode"
|
|
42
|
-
• "redesign dashboard"
|
|
43
|
-
• "improve mobile responsiveness"
|
|
44
|
-
• "add animations and transitions"
|
|
45
|
-
|
|
46
|
-
2. ⚡ Performance Optimization
|
|
47
|
-
Examples:
|
|
48
|
-
• "optimize page load time"
|
|
49
|
-
• "reduce memory leaks"
|
|
50
|
-
• "implement code splitting"
|
|
51
|
-
• "improve API response time"
|
|
52
|
-
|
|
53
|
-
3. 🔐 Features & Functionality
|
|
54
|
-
Examples:
|
|
55
|
-
• "implement user authentication"
|
|
56
|
-
• "add payment system"
|
|
57
|
-
• "create admin dashboard"
|
|
58
|
-
• "implement real-time notifications"
|
|
59
|
-
|
|
60
|
-
4. 🧪 Quality & Testing
|
|
61
|
-
Examples:
|
|
62
|
-
• "add unit tests"
|
|
63
|
-
• "implement E2E testing"
|
|
64
|
-
• "add error tracking"
|
|
65
|
-
• "improve code coverage"
|
|
66
|
-
|
|
67
|
-
5. 🐛 Bug Fixes & Refactoring
|
|
68
|
-
Examples:
|
|
69
|
-
• "refactor authentication flow"
|
|
70
|
-
• "fix memory leaks"
|
|
71
|
-
• "clean up deprecated code"
|
|
72
|
-
• "improve error handling"
|
|
73
|
-
|
|
74
|
-
6. 📚 Documentation & DevX
|
|
75
|
-
Examples:
|
|
76
|
-
• "add API documentation"
|
|
77
|
-
• "create onboarding guide"
|
|
78
|
-
• "improve developer setup"
|
|
79
|
-
• "add code examples"
|
|
80
|
-
|
|
81
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
82
|
-
|
|
83
|
-
💬 HOW TO USE:
|
|
84
|
-
|
|
85
|
-
Choose a number (1-6) or just describe what you want:
|
|
86
|
-
"I want to add authentication"
|
|
87
|
-
"Need to optimize performance"
|
|
88
|
-
"3" (shows feature examples)
|
|
89
|
-
|
|
90
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
91
|
-
|
|
92
|
-
What feature do you want to add?
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
### Template Category Deep Dive
|
|
96
|
-
|
|
97
|
-
If user selects a category number (1-6):
|
|
98
|
-
|
|
99
|
-
```
|
|
100
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
101
|
-
{CATEGORY_ICON} {CATEGORY_NAME}
|
|
102
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
103
|
-
|
|
104
|
-
Common features in this category:
|
|
105
|
-
|
|
106
|
-
{template_options_with_descriptions}
|
|
107
|
-
|
|
108
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
109
|
-
|
|
110
|
-
Choose one or describe your own:
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
**Example for Performance (Category 2):**
|
|
114
|
-
|
|
115
|
-
```
|
|
116
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
117
|
-
⚡ PERFORMANCE OPTIMIZATION
|
|
118
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
119
|
-
|
|
120
|
-
Common features in this category:
|
|
121
|
-
|
|
122
|
-
1. "Optimize page load time"
|
|
123
|
-
→ Bundle analysis, lazy loading, CDN setup
|
|
124
|
-
Impact: HIGH | Effort: 6-8h
|
|
125
|
-
|
|
126
|
-
2. "Reduce memory leaks"
|
|
127
|
-
→ Profiling, cleanup, optimization
|
|
128
|
-
Impact: HIGH | Effort: 4-6h
|
|
129
|
-
|
|
130
|
-
3. "Implement code splitting"
|
|
131
|
-
→ Route-based, component-based splitting
|
|
132
|
-
Impact: MEDIUM | Effort: 3-4h
|
|
133
|
-
|
|
134
|
-
4. "Improve API response time"
|
|
135
|
-
→ Caching, query optimization, CDN
|
|
136
|
-
Impact: HIGH | Effort: 6-10h
|
|
137
|
-
|
|
138
|
-
5. "Optimize rendering performance"
|
|
139
|
-
→ React.memo, useMemo, virtualization
|
|
140
|
-
Impact: MEDIUM | Effort: 4-6h
|
|
141
|
-
|
|
142
|
-
━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
143
|
-
|
|
144
|
-
Choose a number or describe your specific need:
|
|
145
|
-
```
|
|
146
|
-
|
|
147
9
|
## Flow
|
|
148
10
|
|
|
149
|
-
1.
|
|
150
|
-
2.
|
|
151
|
-
3. Break down
|
|
152
|
-
4. **
|
|
153
|
-
5. **
|
|
154
|
-
6. **Queue tasks**: Write to `core/next.md`
|
|
155
|
-
7. Auto-start first task
|
|
156
|
-
|
|
157
|
-
## Session Log Format
|
|
158
|
-
|
|
159
|
-
Append to `planning/sessions/{YYYY-MM}/{YYYY-MM-DD}.jsonl`:
|
|
160
|
-
|
|
161
|
-
```jsonl
|
|
162
|
-
{"ts":"2025-10-04T14:30:00Z","type":"feature_add","name":"{feature}","tasks":{N},"impact":"{high/med/low}","effort":"{Xh}","status":"queued"}
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
## Index Update
|
|
166
|
-
|
|
167
|
-
Append to `planning/roadmap.md` (keep only last 30 days):
|
|
168
|
-
|
|
169
|
-
```markdown
|
|
170
|
-
## Queued
|
|
171
|
-
- [ ] {feature_name} ({N} tasks, {Xh} estimated) - Added 2025-10-04
|
|
172
|
-
```
|
|
11
|
+
1. **Value**: Impact/effort/timing → do_now/defer/blocked
|
|
12
|
+
2. **Roadmap**: Add to `planning/roadmap.md` (30 days max)
|
|
13
|
+
3. **Tasks**: Break down → `core/next.md`
|
|
14
|
+
4. **Session**: Log to `planning/sessions/{YYYY-MM}/{DD}.jsonl`
|
|
15
|
+
5. **Start**: Auto-start task 1 with agent assignment
|
|
173
16
|
|
|
174
|
-
|
|
17
|
+
**No params**: Show 6 categories (UI/Performance/Features/Quality/Bugs/Docs)
|
|
175
18
|
|
|
176
|
-
##
|
|
19
|
+
## Data
|
|
177
20
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
Value Analysis:
|
|
182
|
-
• Impact: {high/medium/low}
|
|
183
|
-
• Effort: {hours estimation}
|
|
184
|
-
• Timing: {now/later/blocked_by}
|
|
185
|
-
• Recommendation: {do_now/defer/needs_X_first}
|
|
186
|
-
```
|
|
187
|
-
|
|
188
|
-
## Task Breakdown
|
|
189
|
-
|
|
190
|
-
```
|
|
191
|
-
Roadmap: {feature_name}
|
|
192
|
-
|
|
193
|
-
Tasks:
|
|
194
|
-
1. [ ] {task_1}
|
|
195
|
-
2. [ ] {task_2}
|
|
196
|
-
3. [ ] {task_3}
|
|
197
|
-
... (as many as needed)
|
|
198
|
-
|
|
199
|
-
Estimated: {total_hours}h
|
|
200
|
-
```
|
|
21
|
+
Session: `{"ts":"{GetTimestamp()}","type":"feature_add","name":"{f}","tasks":{n},"impact":"{h/m/l}","effort":"{Xh}"}`
|
|
22
|
+
Roadmap: `- [ ] {feature} ({n} tasks, {Xh}) - {GetDate()}`
|
|
201
23
|
|
|
202
24
|
## Response
|
|
203
25
|
|
|
204
|
-
|
|
205
|
-
✅ Feature roadmap created!
|
|
206
|
-
|
|
207
|
-
{feature_name}
|
|
208
|
-
📊 Value: {impact} | Effort: {hours}h
|
|
209
|
-
⏰ Recommendation: {timing_advice}
|
|
210
|
-
|
|
211
|
-
Tasks:
|
|
212
|
-
1. {task_1}
|
|
213
|
-
2. {task_2}
|
|
214
|
-
...
|
|
215
|
-
|
|
216
|
-
¿Empezamos con tarea 1?
|
|
217
|
-
|
|
218
|
-
/p:done (when task complete) | /p:ship (when feature complete)
|
|
219
|
-
```
|
|
220
|
-
|
|
221
|
-
## Example
|
|
222
|
-
|
|
223
|
-
```
|
|
224
|
-
User: p. feature "agregar unit testing"
|
|
225
|
-
|
|
226
|
-
Claude analyzes:
|
|
227
|
-
- Impact: HIGH (quality improvement)
|
|
228
|
-
- Effort: 8h
|
|
229
|
-
- Timing: NOW (before shipping more features)
|
|
230
|
-
|
|
231
|
-
Tasks created:
|
|
232
|
-
1. Setup Jest/Vitest configuration
|
|
233
|
-
2. Write tests for core utilities
|
|
234
|
-
3. Write tests for components
|
|
235
|
-
4. Add CI/CD test runner
|
|
236
|
-
5. Update docs with testing guide
|
|
237
|
-
|
|
238
|
-
"¿Empezamos con tarea 1: Setup Jest/Vitest?"
|
|
239
|
-
```
|
|
26
|
+
`✅ {feature} | Impact: {impact} | {n} tasks | Starting #{1}`
|