prjct-cli 0.5.1 → 0.7.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/CHANGELOG.md +220 -7
- package/CLAUDE.md +476 -55
- package/README.md +48 -55
- package/bin/prjct +170 -225
- package/core/agentic/command-executor.js +113 -0
- package/core/agentic/context-builder.js +85 -0
- package/core/agentic/prompt-builder.js +86 -0
- package/core/agentic/template-loader.js +104 -0
- package/core/agentic/tool-registry.js +117 -0
- package/core/command-registry.js +597 -0
- package/core/commands.js +2046 -2028
- package/core/domain/agent-generator.js +118 -0
- package/core/domain/analyzer.js +211 -0
- package/core/domain/architect-session.js +300 -0
- package/core/{agents → infrastructure/agents}/claude-agent.js +16 -13
- package/core/{author-detector.js → infrastructure/author-detector.js} +3 -1
- package/core/{capability-installer.js → infrastructure/capability-installer.js} +3 -6
- package/core/{command-installer.js → infrastructure/command-installer.js} +4 -2
- package/core/{config-manager.js → infrastructure/config-manager.js} +4 -4
- package/core/{editors-config.js → infrastructure/editors-config.js} +2 -10
- package/core/{migrator.js → infrastructure/migrator.js} +34 -19
- package/core/{path-manager.js → infrastructure/path-manager.js} +20 -44
- package/core/{session-manager.js → infrastructure/session-manager.js} +45 -105
- package/core/{update-checker.js → infrastructure/update-checker.js} +67 -67
- package/core/{animations-simple.js → utils/animations.js} +3 -23
- package/core/utils/date-helper.js +238 -0
- package/core/utils/file-helper.js +327 -0
- package/core/utils/jsonl-helper.js +206 -0
- package/core/{project-capabilities.js → utils/project-capabilities.js} +21 -22
- package/core/utils/session-helper.js +277 -0
- package/core/{version.js → utils/version.js} +1 -1
- package/package.json +5 -12
- package/templates/agents/AGENTS.md +151 -99
- package/templates/analysis/analyze.md +84 -0
- package/templates/commands/analyze.md +37 -233
- package/templates/commands/bug.md +79 -0
- package/templates/commands/build.md +44 -0
- package/templates/commands/cleanup.md +24 -84
- package/templates/commands/design.md +20 -95
- package/templates/commands/done.md +17 -180
- package/templates/commands/feature.md +113 -0
- package/templates/commands/fix.md +58 -66
- package/templates/commands/git.md +35 -57
- package/templates/commands/help.md +18 -52
- package/templates/commands/idea.md +18 -34
- package/templates/commands/init.md +65 -257
- package/templates/commands/next.md +20 -60
- package/templates/commands/now.md +21 -23
- package/templates/commands/progress.md +40 -73
- package/templates/commands/recap.md +52 -75
- package/templates/commands/roadmap.md +30 -85
- package/templates/commands/ship.md +93 -126
- package/templates/commands/status.md +42 -0
- package/templates/commands/sync.md +19 -205
- package/templates/commands/task.md +19 -79
- package/templates/commands/test.md +25 -71
- package/templates/commands/workflow.md +20 -210
- package/core/agent-generator.js +0 -516
- package/core/analyzer.js +0 -600
- package/core/animations.js +0 -277
- package/core/git-integration.js +0 -401
- package/core/workflow-engine.js +0 -213
- package/core/workflow-prompts.js +0 -192
- package/core/workflow-rules.js +0 -147
- package/scripts/post-install.js +0 -121
- package/scripts/preuninstall.js +0 -94
- package/scripts/verify-installation.sh +0 -158
- package/templates/agents/be.template.md +0 -42
- package/templates/agents/data.template.md +0 -41
- package/templates/agents/devops.template.md +0 -41
- package/templates/agents/fe.template.md +0 -42
- package/templates/agents/mobile.template.md +0 -41
- package/templates/agents/pm.template.md +0 -84
- package/templates/agents/qa.template.md +0 -54
- package/templates/agents/scribe.template.md +0 -95
- package/templates/agents/security.template.md +0 -41
- package/templates/agents/ux.template.md +0 -49
- package/templates/commands/context.md +0 -105
- package/templates/commands/stuck.md +0 -48
- package/templates/examples/natural-language-examples.md +0 -532
- /package/core/{agent-detector.js → infrastructure/agent-detector.js} +0 -0
|
@@ -1,74 +1,34 @@
|
|
|
1
1
|
---
|
|
2
|
-
allowed-tools: [Read
|
|
3
|
-
description:
|
|
2
|
+
allowed-tools: [Read]
|
|
3
|
+
description: 'Show priority queue (top 5 non-blocking)'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
This command uses the global prjct architecture:
|
|
8
|
-
- Data stored in: `~/.prjct-cli/projects/{id}/`
|
|
9
|
-
- Config stored in: `{project}/.prjct/prjct.config.json`
|
|
10
|
-
- Commands synchronized across all editors
|
|
6
|
+
# /p:next
|
|
11
7
|
|
|
8
|
+
## Flow
|
|
12
9
|
|
|
10
|
+
1. Check: `core/now.md` → if active task, show warning
|
|
11
|
+
2. Read: `core/next.md` → filter blocked tasks
|
|
12
|
+
3. Return: top 5 actionable
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
## Response (active task)
|
|
15
15
|
|
|
16
|
-
## Purpose
|
|
17
|
-
Display the prioritized queue of upcoming tasks.
|
|
18
|
-
|
|
19
|
-
## Usage
|
|
20
|
-
```
|
|
21
|
-
/p:next
|
|
22
16
|
```
|
|
17
|
+
⚠️ Active: {current_task}
|
|
18
|
+
Started: {time_ago}
|
|
23
19
|
|
|
24
|
-
|
|
25
|
-
1. Read `.prjct/core/next.md`
|
|
26
|
-
2. Display numbered list of pending tasks with context
|
|
27
|
-
3. Show task count and suggest next action
|
|
28
|
-
4. Reference related planning and progress layers
|
|
29
|
-
|
|
30
|
-
## Implementation
|
|
31
|
-
|
|
32
|
-
1. **Read core/next.md**:
|
|
33
|
-
- Parse markdown list of tasks
|
|
34
|
-
- Number them for easy reference
|
|
35
|
-
- Show task priorities and contexts
|
|
36
|
-
|
|
37
|
-
2. **Context integration**:
|
|
38
|
-
- Reference planning/roadmap.md for strategic context
|
|
39
|
-
- Show progress/metrics.md for capacity planning
|
|
40
|
-
- Link to analysis/repo-summary.md for technical context
|
|
20
|
+
Complete first: /p:done
|
|
41
21
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
1. [first task]
|
|
47
|
-
- Context: [link to planning/analysis if relevant]
|
|
48
|
-
- Priority: [high/medium/low]
|
|
49
|
-
2. [second task]
|
|
50
|
-
3. [third task]
|
|
51
|
-
...
|
|
52
|
-
|
|
53
|
-
💡 Start next task with: /p:now "[first task]"
|
|
54
|
-
📊 Context: See planning/roadmap.md for strategic priorities
|
|
55
|
-
```
|
|
22
|
+
📋 Queue preview:
|
|
23
|
+
{top_5_numbered}
|
|
24
|
+
```
|
|
56
25
|
|
|
57
|
-
|
|
58
|
-
```
|
|
59
|
-
📋 Queue is empty!
|
|
26
|
+
## Response (no active)
|
|
60
27
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
- Use /p:idea for quick capture
|
|
64
|
-
- Check /p:roadmap for strategic planning
|
|
28
|
+
```
|
|
29
|
+
📋 Priority Queue
|
|
65
30
|
|
|
66
|
-
|
|
67
|
-
- Planning: .prjct/planning/roadmap.md
|
|
68
|
-
- Ideas: .prjct/planning/ideas.md
|
|
69
|
-
```
|
|
31
|
+
{numbered_tasks_1_to_5}
|
|
70
32
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
- Most important tasks first
|
|
74
|
-
- Review and reprioritize regularly
|
|
33
|
+
/p:build {1-5} | /p:build "{task}"
|
|
34
|
+
```
|
|
@@ -1,35 +1,33 @@
|
|
|
1
1
|
---
|
|
2
|
-
allowed-tools: [Read, Write
|
|
3
|
-
description:
|
|
2
|
+
allowed-tools: [Read, Write]
|
|
3
|
+
description: 'Manage current focus task'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# /p:now
|
|
7
7
|
|
|
8
8
|
## Usage
|
|
9
|
+
|
|
9
10
|
```
|
|
10
|
-
/p:now # Show
|
|
11
|
-
/p:now [task] # Set
|
|
11
|
+
/p:now # Show
|
|
12
|
+
/p:now [task] # Set
|
|
12
13
|
```
|
|
13
14
|
|
|
14
|
-
##
|
|
15
|
+
## Flow
|
|
15
16
|
|
|
16
|
-
**Show**: Read
|
|
17
|
+
**Show**: Read `core/now.md` → display task + elapsed
|
|
17
18
|
|
|
18
19
|
**Set**:
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
Need help? Say "I'm stuck" or use /p:stuck
|
|
35
|
-
```
|
|
20
|
+
|
|
21
|
+
1. Write: `core/now.md` with task + timestamp
|
|
22
|
+
2. Update: `core/context.md`, `progress/metrics.md`
|
|
23
|
+
3. Log: `memory/context.jsonl`
|
|
24
|
+
|
|
25
|
+
## Response
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
🎯 {task}
|
|
29
|
+
Started: {time}
|
|
30
|
+
|
|
31
|
+
Done? → /p:done
|
|
32
|
+
Stuck? → /p:stuck
|
|
33
|
+
```
|
|
@@ -1,92 +1,59 @@
|
|
|
1
1
|
---
|
|
2
|
-
allowed-tools: [Read
|
|
3
|
-
description:
|
|
2
|
+
allowed-tools: [Read]
|
|
3
|
+
description: 'Progress metrics for period'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
This command uses the global prjct architecture:
|
|
8
|
-
- Data stored in: `~/.prjct-cli/projects/{id}/`
|
|
9
|
-
- Config stored in: `{project}/.prjct/prjct.config.json`
|
|
10
|
-
- Commands synchronized across all editors
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
# /p:progress - Progress Metrics
|
|
15
|
-
|
|
16
|
-
## Purpose
|
|
17
|
-
Display detailed progress metrics and trends for a specified time period.
|
|
6
|
+
# /p:progress
|
|
18
7
|
|
|
19
8
|
## Usage
|
|
9
|
+
|
|
20
10
|
```
|
|
21
|
-
/p:progress [day|week|month]
|
|
11
|
+
/p:progress [day|week|month] # Default: week
|
|
22
12
|
```
|
|
23
13
|
|
|
24
|
-
|
|
14
|
+
## Flow
|
|
25
15
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
16
|
+
1. Parse: timeframe (day/week/month)
|
|
17
|
+
2. **Calculate date range**: Based on timeframe
|
|
18
|
+
3. **Read sessions**: Query `progress/sessions/{YYYY-MM}/` for date range
|
|
19
|
+
4. **Aggregate**: Ships, tasks, duration from sessions
|
|
20
|
+
5. **Calculate**: Velocity, trends, quality metrics
|
|
21
|
+
6. Display: detailed metrics
|
|
32
22
|
|
|
33
|
-
##
|
|
23
|
+
## Session Queries by Period
|
|
34
24
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
25
|
+
```javascript
|
|
26
|
+
// Day: Today's sessions
|
|
27
|
+
const today = await readSessionFile('progress/sessions', today)
|
|
28
|
+
const shipped = today.filter(s => s.type === 'feature_ship')
|
|
39
29
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
- **Planning Layer**: Roadmap progress, idea conversion rate
|
|
44
|
-
- **Memory Layer**: Decision impact, learning velocity
|
|
30
|
+
// Week: Last 7 days
|
|
31
|
+
const weekSessions = await readSessions('progress/sessions', -7, 'now')
|
|
32
|
+
const velocity = weekSessions.filter(s => s.type === 'feature_ship').length / 7
|
|
45
33
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
Count: 7 features (↗ +40% vs last week)
|
|
53
|
-
Velocity: 1.4 features/day
|
|
54
|
-
Quality: 95% passed validation
|
|
55
|
-
|
|
56
|
-
⚡ CORE PRODUCTIVITY
|
|
57
|
-
Tasks completed: 12 (avg 1.7/day)
|
|
58
|
-
Focus time: 28h (70% efficiency)
|
|
59
|
-
Context switches: 3 (↘ -50%)
|
|
34
|
+
// Month: Last 30 days
|
|
35
|
+
const monthSessions = await readSessions('progress/sessions', -30, 'now')
|
|
36
|
+
const totalTime = monthSessions
|
|
37
|
+
.filter(s => s.type === 'feature_ship')
|
|
38
|
+
.reduce((sum, s) => sum + parseTime(s.duration), 0)
|
|
39
|
+
```
|
|
60
40
|
|
|
61
|
-
|
|
62
|
-
Roadmap progress: 23% complete
|
|
63
|
-
Ideas converted: 4/8 (50% rate)
|
|
64
|
-
Strategic alignment: High
|
|
41
|
+
## Response
|
|
65
42
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
Knowledge growth: +15% complexity
|
|
43
|
+
```
|
|
44
|
+
📈 PROGRESS - This {period}
|
|
45
|
+
━━━━━━━━━━━━━━━━━━━━━
|
|
70
46
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
• ✅ API optimization (2d ago)
|
|
47
|
+
🚀 SHIPPED: {N} features
|
|
48
|
+
⚡ VELOCITY: {X.X} features/day
|
|
49
|
+
📊 TREND: {↗ +X%}
|
|
75
50
|
|
|
76
|
-
|
|
77
|
-
|
|
51
|
+
Recent ships:
|
|
52
|
+
• ✅ {feature} ({time_ago})
|
|
53
|
+
• ✅ {feature} ({time_ago})
|
|
78
54
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
- Shipped: .prjct/progress/shipped.md
|
|
82
|
-
```
|
|
55
|
+
🏆 Best day: {day} ({N} features)
|
|
56
|
+
🔥 Streak: {N} days
|
|
83
57
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
- ➡️ Steady
|
|
87
|
-
- 📉 Declining
|
|
88
|
-
|
|
89
|
-
5. **Motivational insights**:
|
|
90
|
-
- "You're 40% more productive than last week!"
|
|
91
|
-
- "On track to ship 10 features this week!"
|
|
92
|
-
- "Your best week yet!"
|
|
58
|
+
/p:ship | /p:status
|
|
59
|
+
```
|
|
@@ -1,86 +1,63 @@
|
|
|
1
1
|
---
|
|
2
|
-
allowed-tools: [Read
|
|
3
|
-
description:
|
|
2
|
+
allowed-tools: [Read]
|
|
3
|
+
description: 'Project context and status overview'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
This command uses the global prjct architecture:
|
|
8
|
-
- Data stored in: `~/.prjct-cli/projects/{id}/`
|
|
9
|
-
- Config stored in: `{project}/.prjct/prjct.config.json`
|
|
10
|
-
- Commands synchronized across all editors
|
|
6
|
+
# /p:recap
|
|
11
7
|
|
|
8
|
+
## Usage
|
|
12
9
|
|
|
10
|
+
```
|
|
11
|
+
/p:recap # Full overview
|
|
12
|
+
/p:context # Alias for recap
|
|
13
|
+
```
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
## Flow
|
|
15
16
|
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
1. **Read indexes**: Recent data from core/, progress/, planning/ (last 30 days)
|
|
18
|
+
2. **Read sessions**: Last 7 days from all session directories
|
|
19
|
+
3. **Aggregate**: Metrics from sessions (features added, tasks done, ships)
|
|
20
|
+
4. **Display**: Comprehensive context and status
|
|
18
21
|
|
|
19
|
-
##
|
|
22
|
+
## Session Queries
|
|
23
|
+
|
|
24
|
+
```javascript
|
|
25
|
+
// Aggregate last 7 days activity
|
|
26
|
+
const recentSessions = await readSessions('*/sessions', -7, 'now')
|
|
27
|
+
const shipped = recentSessions.filter(s => s.type === 'feature_ship').length
|
|
28
|
+
const tasksComplete = recentSessions.filter(s => s.type === 'task_complete').length
|
|
29
|
+
const velocity = shipped / 7 // features per day
|
|
20
30
|
```
|
|
21
|
-
|
|
31
|
+
|
|
32
|
+
## Response
|
|
33
|
+
|
|
22
34
|
```
|
|
35
|
+
📊 PROJECT OVERVIEW
|
|
36
|
+
━━━━━━━━━━━━━━━━━━
|
|
23
37
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
📈 PROGRESS
|
|
52
|
-
Shipped: [X] this week, [Y] total
|
|
53
|
-
Velocity: [X.X] features/day
|
|
54
|
-
Streak: [N] days shipping
|
|
55
|
-
|
|
56
|
-
💡 PLANNING
|
|
57
|
-
Ideas: [M] captured
|
|
58
|
-
Roadmap: [X]% complete
|
|
59
|
-
|
|
60
|
-
🔍 INSIGHTS
|
|
61
|
-
Repository: [project_type] with [tech_stack]
|
|
62
|
-
Architecture: [key_patterns]
|
|
63
|
-
|
|
64
|
-
🧠 MEMORY
|
|
65
|
-
Decisions: [N] logged
|
|
66
|
-
Learnings: [key_insights]
|
|
67
|
-
|
|
68
|
-
[Motivational message based on metrics]
|
|
69
|
-
|
|
70
|
-
📂 Quick Access:
|
|
71
|
-
- Core: .prjct/core/ (focus & priorities)
|
|
72
|
-
- Progress: .prjct/progress/ (metrics & shipped)
|
|
73
|
-
- Planning: .prjct/planning/ (ideas & roadmap)
|
|
74
|
-
- Analysis: .prjct/analysis/ (technical insights)
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
3. **Motivational messages**:
|
|
78
|
-
- High velocity: "🔥 You're on fire! Keep shipping!"
|
|
79
|
-
- Many ideas: "💡 Creative flow is strong!"
|
|
80
|
-
- Long streak: "🏆 Consistency champion!"
|
|
81
|
-
- Empty queue: "🎆 Time to dream bigger!"
|
|
82
|
-
|
|
83
|
-
## Visual Elements
|
|
84
|
-
- Use progress bars for completion
|
|
85
|
-
- Show week-over-week trends
|
|
86
|
-
- Highlight achievements
|
|
38
|
+
📦 PROJECT
|
|
39
|
+
Type: {type}
|
|
40
|
+
Stack: {stack}
|
|
41
|
+
|
|
42
|
+
🎯 CURRENT FOCUS
|
|
43
|
+
Task: {task}
|
|
44
|
+
Started: {time_ago} ({duration})
|
|
45
|
+
|
|
46
|
+
📈 PROGRESS
|
|
47
|
+
Shipped: {X} this week
|
|
48
|
+
Velocity: {X.X} features/day
|
|
49
|
+
|
|
50
|
+
💡 PLANNING
|
|
51
|
+
Queue: {N} tasks
|
|
52
|
+
Ideas: {M} captured
|
|
53
|
+
Roadmap: {X}% complete
|
|
54
|
+
|
|
55
|
+
🔄 RECENT ACTIVITY
|
|
56
|
+
• {event}: {desc} ({time_ago})
|
|
57
|
+
• {event}: {desc} ({time_ago})
|
|
58
|
+
• {event}: {desc} ({time_ago})
|
|
59
|
+
|
|
60
|
+
{motivational_message}
|
|
61
|
+
|
|
62
|
+
/p:now | /p:status | /p:next
|
|
63
|
+
```
|
|
@@ -1,107 +1,52 @@
|
|
|
1
1
|
---
|
|
2
|
-
allowed-tools: [Read, Write
|
|
3
|
-
description:
|
|
2
|
+
allowed-tools: [Read, Write]
|
|
3
|
+
description: 'Strategic roadmap management'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
This command uses the global prjct architecture:
|
|
8
|
-
- Data stored in: `~/.prjct-cli/projects/{id}/`
|
|
9
|
-
- Config stored in: `{project}/.prjct/prjct.config.json`
|
|
10
|
-
- Commands synchronized across all editors
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
# /p:roadmap - Strategic Planning
|
|
15
|
-
|
|
16
|
-
## Purpose
|
|
17
|
-
Plan features, track strategic progress, and stay aligned with goals. Zero PM overhead.
|
|
6
|
+
# /p:roadmap
|
|
18
7
|
|
|
19
8
|
## Usage
|
|
9
|
+
|
|
20
10
|
```
|
|
21
|
-
/p:roadmap [show|add|complete|next]
|
|
11
|
+
/p:roadmap [show|add|complete|next] # Default: show
|
|
22
12
|
```
|
|
23
13
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
## Execution
|
|
27
|
-
|
|
28
|
-
### `/p:roadmap` or `/p:roadmap show`
|
|
29
|
-
Display current roadmap with progress
|
|
30
|
-
|
|
31
|
-
### `/p:roadmap add <feature>`
|
|
32
|
-
Add feature to roadmap with smart prioritization
|
|
33
|
-
|
|
34
|
-
### `/p:roadmap complete <feature>`
|
|
35
|
-
Mark feature as shipped and celebrate
|
|
14
|
+
## Flow
|
|
36
15
|
|
|
37
|
-
|
|
38
|
-
|
|
16
|
+
1. Parse: action (show/add/complete/next)
|
|
17
|
+
2. **Read index**: `planning/roadmap.md` (last 30 days)
|
|
18
|
+
3. **Read sessions**: Last 3-7 days from `planning/sessions/{YYYY-MM}/` for details
|
|
19
|
+
4. Execute: based on action
|
|
20
|
+
5. Update: roadmap index if needed
|
|
21
|
+
6. Archive: entries > 30 days to `planning/archive/roadmap-{YYYY-MM}.md`
|
|
39
22
|
|
|
40
|
-
##
|
|
23
|
+
## Query Sessions
|
|
41
24
|
|
|
42
|
-
|
|
43
|
-
```markdown
|
|
44
|
-
# Product Roadmap
|
|
25
|
+
To get complete roadmap history or specific date range:
|
|
45
26
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
## 📅 Next Up
|
|
52
|
-
- [ ] Real-time notifications
|
|
53
|
-
- [ ] Data export feature
|
|
54
|
-
- [ ] Mobile responsive design
|
|
55
|
-
|
|
56
|
-
## 🌟 Future Vision
|
|
57
|
-
- [ ] AI recommendations
|
|
58
|
-
- [ ] Team collaboration
|
|
59
|
-
- [ ] Analytics dashboard
|
|
27
|
+
```javascript
|
|
28
|
+
// Read sessions for date range
|
|
29
|
+
const sessions = await readSessions('planning/sessions', startDate, endDate)
|
|
30
|
+
const features = sessions.filter(s => s.type === 'feature_add')
|
|
60
31
|
```
|
|
61
32
|
|
|
62
|
-
|
|
63
|
-
- Impact vs effort matrix
|
|
64
|
-
- User value scoring
|
|
65
|
-
- Technical dependencies
|
|
66
|
-
- Strategic alignment
|
|
33
|
+
## Response (show)
|
|
67
34
|
|
|
68
|
-
**Response format for show**:
|
|
69
35
|
```
|
|
70
36
|
📍 PRODUCT ROADMAP
|
|
71
37
|
|
|
72
|
-
🚀 Current Sprint (
|
|
73
|
-
├── ✅
|
|
74
|
-
├── 🔄
|
|
75
|
-
└── ⏳
|
|
76
|
-
|
|
77
|
-
📅 Next Up (3 features)
|
|
78
|
-
├── Real-time notifications
|
|
79
|
-
├── Data export feature
|
|
80
|
-
└── Mobile responsive design
|
|
81
|
-
|
|
82
|
-
📊 Progress Metrics:
|
|
83
|
-
• Sprint velocity: 1.4 features/week
|
|
84
|
-
• On track for: Dec 15 completion
|
|
85
|
-
• Strategic alignment: High
|
|
38
|
+
🚀 Current Sprint ({X}% complete)
|
|
39
|
+
├── ✅ {feature}
|
|
40
|
+
├── 🔄 {feature} (in progress)
|
|
41
|
+
└── ⏳ {feature}
|
|
86
42
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
**Response format for add**:
|
|
91
|
-
```
|
|
92
|
-
✅ Added to roadmap: "Payment integration"
|
|
43
|
+
📅 Next Up ({N} features)
|
|
44
|
+
├── {feature}
|
|
45
|
+
└── {feature}
|
|
93
46
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
🔗 Dependencies: User authentication ✅
|
|
47
|
+
📊 Progress:
|
|
48
|
+
• Velocity: {X.X} features/week
|
|
49
|
+
• On track: {date}
|
|
98
50
|
|
|
99
|
-
|
|
51
|
+
/p:now "{next_feature}"
|
|
100
52
|
```
|
|
101
|
-
|
|
102
|
-
## Features
|
|
103
|
-
- Visual progress tracking
|
|
104
|
-
- Smart prioritization
|
|
105
|
-
- Sprint management
|
|
106
|
-
- Velocity tracking
|
|
107
|
-
- Strategic alignment
|