prjct-cli 0.5.1 → 0.6.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 (45) hide show
  1. package/CHANGELOG.md +153 -1
  2. package/CLAUDE.md +43 -28
  3. package/README.md +1 -1
  4. package/bin/prjct +78 -63
  5. package/core/agent-generator.js +19 -10
  6. package/core/ascii-graphics.js +433 -0
  7. package/core/command-registry.js +553 -0
  8. package/core/commands.js +203 -4
  9. package/core/task-schema.js +342 -0
  10. package/package.json +2 -1
  11. package/templates/agents/AGENTS.md +79 -101
  12. package/templates/agents/be.template.md +14 -29
  13. package/templates/agents/coordinator.template.md +34 -0
  14. package/templates/agents/data.template.md +14 -28
  15. package/templates/agents/devops.template.md +14 -28
  16. package/templates/agents/fe.template.md +14 -29
  17. package/templates/agents/mobile.template.md +14 -28
  18. package/templates/agents/qa.template.md +14 -41
  19. package/templates/agents/scribe.template.md +15 -81
  20. package/templates/agents/security.template.md +14 -28
  21. package/templates/agents/ux.template.md +14 -36
  22. package/templates/commands/analyze.md +36 -239
  23. package/templates/commands/build.md +41 -0
  24. package/templates/commands/cleanup.md +24 -87
  25. package/templates/commands/context.md +24 -93
  26. package/templates/commands/design.md +20 -98
  27. package/templates/commands/done.md +16 -181
  28. package/templates/commands/fix.md +27 -66
  29. package/templates/commands/git.md +33 -60
  30. package/templates/commands/help.md +18 -52
  31. package/templates/commands/idea.md +11 -36
  32. package/templates/commands/init.md +30 -277
  33. package/templates/commands/next.md +20 -62
  34. package/templates/commands/now.md +18 -22
  35. package/templates/commands/progress.md +23 -78
  36. package/templates/commands/recap.md +22 -74
  37. package/templates/commands/roadmap.md +21 -90
  38. package/templates/commands/ship.md +26 -161
  39. package/templates/commands/status.md +40 -0
  40. package/templates/commands/stuck.md +21 -33
  41. package/templates/commands/sync.md +19 -209
  42. package/templates/commands/task.md +18 -80
  43. package/templates/commands/test.md +23 -72
  44. package/templates/commands/workflow.md +20 -212
  45. package/templates/agents/pm.template.md +0 -84
@@ -1,79 +1,52 @@
1
1
  ---
2
- allowed-tools: [Bash, Read, Grep, Glob]
3
- description: "Smart git operations with auto-generated commit messages"
2
+ allowed-tools: [Bash, Read, Write]
3
+ description: "Smart git operations with context"
4
4
  ---
5
5
 
6
- ## Global Architecture
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:git - Smart Git Operations
15
-
16
- ## Purpose
17
- Execute git operations with intelligent commit messages and automatic best practices. No thinking required.
6
+ # /p:git
18
7
 
19
8
  ## Usage
20
9
  ```
21
- /p:git [commit|push|status|sync]
10
+ /p:git commit # Smart commit with metadata
11
+ /p:git push # Push with verification
12
+ /p:git sync # Pull, rebase, push
13
+ /p:git undo # Undo last commit
22
14
  ```
23
15
 
24
- Default: commit
25
-
26
- ## Execution
16
+ ## Flow: commit
17
+ 1. Read: `core/now.md` → get task context
18
+ 2. Git: `add .` → stage changes
19
+ 3. Create: commit message with prjct metadata
20
+ 4. Commit: with message
21
+ 5. Log: `memory/context.jsonl`
27
22
 
28
- ### `/p:git` or `/p:git commit`
29
- 1. Run `git status` to see changes
30
- 2. Analyze changes to generate smart commit message
31
- 3. Stage all changes with `git add -A`
32
- 4. Commit with generated message
33
- 5. Log to `.prjct/memory/context.jsonl`
23
+ ## Flow: push
24
+ 1. Git: `status` verify clean
25
+ 2. Git: `push` with branch tracking
26
+ 3. Handle: errors (upstream, conflicts)
34
27
 
35
- ### `/p:git push`
36
- 1. Commit any pending changes first
37
- 2. Push to current branch
38
- 3. Show deployment status if applicable
28
+ ## Flow: sync
29
+ 1. Git: `pull --rebase`
30
+ 2. Resolve: conflicts if any
31
+ 3. Git: `push`
39
32
 
40
- ### `/p:git status`
41
- 1. Show clean git status with emoji indicators
42
- 2. Suggest next logical action
43
-
44
- ### `/p:git sync`
45
- 1. Pull latest changes
46
- 2. Commit local changes if any
47
- 3. Push to remote
48
- 4. Handle merge conflicts if needed
49
-
50
- ## Implementation
33
+ ## Commit Message Format
34
+ ```
35
+ {type}: {description}
51
36
 
52
- **Smart commit message generation**:
53
- - Analyze file changes to determine type (feat/fix/docs/refactor)
54
- - Extract meaningful description from changes
55
- - Add emoji for visual clarity
56
- - Include file scope when relevant
37
+ Agent: {agent}
38
+ Dev: @{github_dev}
57
39
 
58
- **Example messages**:
59
- - "✨ feat: Add user authentication system"
60
- - "🐛 fix: Resolve null pointer in auth middleware"
61
- - "📝 docs: Update API documentation"
62
- - "♻️ refactor: Simplify database connection logic"
40
+ Generated-by: prjct/cli
41
+ Co-Authored-By: @{github_dev}
42
+ ```
63
43
 
64
- **Response format**:
44
+ ## Response
65
45
  ```
66
- Changes committed!
46
+ Git {operation}
67
47
 
68
- 📝 Message: feat: Add user authentication
69
- 📊 Files: 3 changed, +150 lines
70
- 🔄 Branch: main
48
+ {operation_details}
71
49
 
72
- 💡 Next: /p:git push to deploy
50
+ /p:ship | /p:status
73
51
  ```
74
52
 
75
- ## Best Practices
76
- - Always pulls before pushing
77
- - Auto-stages all changes
78
- - Generates conventional commit messages
79
- - Tracks in project memory for context
@@ -1,72 +1,38 @@
1
1
  ---
2
- allowed-tools: [Read]
3
- description: "Interactive guide - talk naturally, no memorization needed"
2
+ allowed-tools: []
3
+ description: "Interactive guide"
4
4
  ---
5
5
 
6
6
  # /p:help
7
7
 
8
- ## Usage
9
- ```
10
- /p:help
11
- ```
12
-
13
- ## Purpose
14
- Interactive guide for users who want to talk naturally without memorizing commands.
15
-
16
8
  ## Response
17
-
18
9
  ```
19
10
  🎯 What do you want to do?
20
11
 
21
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
12
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
22
13
 
23
- 1. 🚀 Start working on something
24
- Say: "I want to start [task]"
25
- Or: /p:now "task description"
14
+ 1. 🚀 Start working
15
+ Say: "I want to start {task}"
16
+ Or: /p:now "{task}"
26
17
 
27
- 2. ✅ I finished a task
28
- Say: "I'm done" or "finished"
18
+ 2. ✅ Finish task
19
+ Say: "I'm done"
29
20
  Or: /p:done
30
21
 
31
- 3. 🎉 Ship a feature
32
- Say: "ship [feature name]"
33
- Or: /p:ship "feature"
22
+ 3. 🎉 Ship feature
23
+ Say: "ship {feature}"
24
+ Or: /p:ship "{feature}"
34
25
 
35
- 4. 💡 Capture an idea
36
- Say: "I have an idea about [thing]"
37
- Or: /p:idea "idea text"
26
+ 4. 💡 Capture idea
27
+ Say: "idea about {thing}"
28
+ Or: /p:idea "{idea}"
38
29
 
39
- 5. 📊 See my progress
40
- Say: "show me my progress"
30
+ 5. 📊 See progress
31
+ Say: "show progress"
41
32
  Or: /p:recap
42
33
 
43
- 6. 🗺️ Plan ahead
44
- Say: "show my roadmap"
45
- Or: /p:roadmap
46
-
47
- 7. 🆘 I'm stuck on something
48
- Say: "I'm stuck on [problem]"
49
- Or: /p:stuck "issue description"
50
-
51
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
52
-
53
- 💬 Pro tip: Just talk naturally!
54
-
55
- Instead of memorizing commands, tell me what you want:
56
- • "let me start building the login"
57
- • "I finished that"
58
- • "ship the authentication system"
59
- • "what should I work on next?"
60
-
61
- I understand both natural language and /p:* commands.
62
-
63
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
34
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
64
35
 
65
- What would you like to do?
36
+ 💬 Talk naturally - I understand both!
66
37
  ```
67
38
 
68
- ## Implementation Notes
69
- - Always respond conversationally
70
- - Detect user intent from natural language
71
- - Map to appropriate /p:* command
72
- - Show example in both natural + command format
@@ -1,5 +1,5 @@
1
1
  ---
2
- allowed-tools: [Read, Write, Edit]
2
+ allowed-tools: [Write]
3
3
  description: "Quick idea capture"
4
4
  ---
5
5
 
@@ -10,41 +10,16 @@ description: "Quick idea capture"
10
10
  /p:idea <text>
11
11
  ```
12
12
 
13
- ## Execution
13
+ ## Flow
14
+ 1. Append: `planning/ideas.md` with timestamp
15
+ 2. If actionable → add to `core/next.md`
16
+ 3. Log: `memory/context.jsonl`
14
17
 
15
- 1. Append to `~/.prjct-cli/projects/{id}/planning/ideas.md`:
16
- ```markdown
17
- - [timestamp] [idea]
18
- ```
19
-
20
- 2. If actionable (has action verbs), add to `core/next.md`
21
- 3. Log to `memory/context.jsonl`:
22
- ```json
23
- {"action":"idea","text":"[idea]","category":"[type]","actionable":true,"added_to_queue":true}
24
- ```
25
-
26
- 4. Response (if actionable):
27
- ```
28
- 💡 Idea captured: [idea text]
29
-
30
- ✅ Added to task queue!
31
-
32
- Ready to start?
33
- • "start this idea" → Begin now
34
- • "plan more" → Keep brainstorming
35
- • "see all ideas" → View backlog
36
-
37
- Or: /p:now "[idea]" | /p:idea | /p:recap
38
- ```
39
-
40
- Or (if just backlog):
41
- ```
42
- 💡 Idea saved: [idea text]
18
+ ## Response
19
+ ```
20
+ 💡 {idea}
21
+ {✅ Added to queue | 📝 Saved to backlog}
43
22
 
44
- What now?
45
- • "add another idea" → Keep brainstorming
46
- • "start working" → Pick a task
47
- • "see my ideas" → View backlog
23
+ /p:now "{idea}" | /p:next
24
+ ```
48
25
 
49
- Or: /p:idea | /p:now | /p:next
50
- ```
@@ -1,295 +1,48 @@
1
1
  ---
2
- allowed-tools: [Read, Write, Bash, Glob]
3
- description: "Initialize prjct project with global architecture"
2
+ allowed-tools: [Read, Write, Bash]
3
+ description: "Initialize prjct project"
4
4
  ---
5
5
 
6
- # /p:init - Initialize Project
6
+ # /p:init
7
7
 
8
- ## Purpose
9
- Initialize a new prjct project using global architecture with centralized data storage.
8
+ ## Flow
9
+ 1. Generate: project ID from path hash
10
+ 2. Create: `~/.prjct-cli/projects/{id}/` structure
11
+ 3. Write: `.prjct/prjct.config.json`
12
+ 4. Init: all markdown files with templates
13
+ 5. Log: `memory/context.jsonl`
10
14
 
11
- ## Global Architecture
12
- This command creates:
13
- - **Global data directory**: `~/.prjct-cli/projects/{id}/` (shared across editors)
14
- - **Local config file**: `.prjct/prjct.config.json` (links to global data)
15
- - **Synchronized commands**: Available in Claude Code, Cursor, Windsurf
16
-
17
- ## Usage
18
- ```
19
- /p:init
20
- ```
21
-
22
- ## Implementation
23
-
24
- When this command is executed in Claude Code:
25
-
26
- ### 1. Generate Project ID
27
- ```bash
28
- # Generate unique ID from project path hash
29
- PROJECT_PATH="$(pwd)"
30
- PROJECT_ID=$(echo -n "$PROJECT_PATH" | shasum -a 256 | cut -c1-12)
15
+ ## Directory Structure
31
16
  ```
32
-
33
- ### 2. Create Global Directory Structure
34
- ```bash
35
- # Create global data directory
36
- mkdir -p ~/.prjct-cli/projects/$PROJECT_ID/{core,progress,planning,analysis,memory}
17
+ ~/.prjct-cli/projects/{id}/
18
+ ├── core/ # now.md, next.md, context.md
19
+ ├── progress/ # shipped.md, metrics.md
20
+ ├── planning/ # ideas.md, roadmap.md
21
+ ├── analysis/ # repo-summary.md
22
+ └── memory/ # context.jsonl
37
23
  ```
38
24
 
39
- ### 3. Create Local Configuration
40
- ```bash
41
- # Create local config directory
42
- mkdir -p .prjct
43
-
44
- # Get author info from git
45
- AUTHOR_NAME=$(git config user.name 2>/dev/null || echo "Unknown")
46
- AUTHOR_EMAIL=$(git config user.email 2>/dev/null || echo "unknown@example.com")
47
-
48
- # Create config file linking to global data
49
- cat > .prjct/prjct.config.json << EOF
25
+ ## Config Format
26
+ ```json
50
27
  {
51
- "version": "0.3.0",
52
- "projectId": "$PROJECT_ID",
53
- "dataPath": "~/.prjct-cli/projects/$PROJECT_ID",
28
+ "version": "0.6.0",
29
+ "projectId": "{id}",
30
+ "dataPath": "~/.prjct-cli/projects/{id}",
54
31
  "author": {
55
- "name": "$AUTHOR_NAME",
56
- "email": "$AUTHOR_EMAIL"
57
- },
58
- "createdAt": "$(date -u +"%Y-%m-%dT%H:%M:%SZ")"
32
+ "name": "{from git}",
33
+ "email": "{from git}",
34
+ "github": "{from remote}"
35
+ }
59
36
  }
60
- EOF
61
- ```
62
-
63
- ### 4. Initialize Core Files (in global directory)
64
-
65
- **~/.prjct-cli/projects/{id}/core/now.md**:
66
- ```markdown
67
- # NOW: No current task
68
-
69
- Start a new task with `/p:now [task description]`
70
- ```
71
-
72
- **~/.prjct-cli/projects/{id}/core/next.md**:
73
- ```markdown
74
- # NEXT - Priority Queue
75
-
76
- Add tasks here that should be done after the current task.
77
- ```
78
-
79
- **~/.prjct-cli/projects/{id}/core/context.md**:
80
- ```markdown
81
- # Project Context
82
-
83
- ## Overview
84
- [Auto-generated from `/p:analyze`]
85
-
86
- ## Current Focus
87
- [Link to current task in now.md]
88
-
89
- ## Key Information
90
- - **Repository**: [auto-detected]
91
- - **Tech Stack**: [auto-detected]
92
- - **Architecture**: [auto-detected]
93
- ```
94
-
95
- ### 5. Initialize Progress Tracking
96
-
97
- **~/.prjct-cli/projects/{id}/progress/shipped.md**:
98
- ```markdown
99
- # SHIPPED - Completed Features
100
-
101
- ## Week [CURRENT_WEEK], [YEAR]
102
-
103
- _Ship features with `/p:ship <feature>`_
104
- ```
105
-
106
- **~/.prjct-cli/projects/{id}/progress/metrics.md**:
107
- ```markdown
108
- # Progress Metrics
109
-
110
- ## This Week
111
- - **Shipped**: 0 features
112
- - **Active**: 0 tasks
113
- - **Planned**: 0 items
114
-
115
- ## Historical
116
- [Auto-updated by commands]
117
- ```
118
-
119
- ### 6. Initialize Planning Layer
120
-
121
- **~/.prjct-cli/projects/{id}/planning/ideas.md**:
122
- ```markdown
123
- # IDEAS - Brain Dump
124
-
125
- Capture ideas quickly with `/p:idea <text>`
126
-
127
- ## Backlog
128
- - [ ] [Ideas will appear here]
129
-
130
- ## Someday/Maybe
131
- - [ ] [Future ideas]
132
- ```
133
-
134
- **~/.prjct-cli/projects/{id}/planning/roadmap.md**:
135
- ```markdown
136
- # Roadmap
137
-
138
- ## Current Sprint
139
- [Active items from next.md]
140
-
141
- ## Upcoming
142
- [Planned features and improvements]
143
-
144
- ## Long-term Vision
145
- [Strategic goals and objectives]
146
- ```
147
-
148
- ### 7. Initialize Memory Layer
149
-
150
- Create empty JSONL files for historical tracking:
151
- - **memory/context.jsonl**: Activity log with timestamps
152
- - **memory/decisions.jsonl**: Decision history (not used yet)
153
-
154
- ### 8. Run Project Analysis
155
-
156
- Execute `/p:analyze` to understand the project:
157
-
158
- ```javascript
159
- // This should execute the analyze command internally
160
- // The AI will:
161
- // 1. Scan project structure
162
- // 2. Detect stack and frameworks
163
- // 3. Check git status
164
- // 4. Determine which agents are needed
165
- // 5. Save analysis to .prjct/analysis/repo-summary.md
166
- ```
167
-
168
- ### 9. Generate AI Agents
169
-
170
- Based on the analysis, generate specialized AI agents:
171
-
172
- ```javascript
173
- const agentGenerator = require('../core/agent-generator')
174
- const analysis = await readAnalysisFile('.prjct/analysis/repo-summary.md')
175
-
176
- // Generate all required agents
177
- const generatedAgents = await agentGenerator.generateAll(analysis)
178
-
179
- // Agents are created in ~/.claude/agents/
180
- // They are immediately available in Claude Code and Claude Desktop
181
37
  ```
182
38
 
183
- **Generated Agents**:
184
- - **Base** (always): PM, UX, FE, BE, QA, Scribe (6 agents)
185
- - **Conditional** (based on project):
186
- - Security (if web app or has auth)
187
- - DevOps (if Docker/CI/CD detected)
188
- - Mobile (if React Native/Flutter detected)
189
- - Data (if ML/data science detected)
190
-
191
- ### 10. Log Initialization
192
-
193
- Add initialization record to memory:
194
- ```jsonl
195
- {"timestamp":"2025-10-01T09:00:00Z","action":"init","author":"Name","projectPath":"/path/to/project","projectId":"abc123def456","agents":["pm","ux","fe","be","qa","scribe","security"]}
39
+ ## Response
196
40
  ```
41
+ ✅ prjct initialized!
197
42
 
198
- ### 11. Success Message (Conversational Onboarding)
43
+ 📁 Data: ~/.prjct-cli/projects/{id}
44
+ 📝 Config: .prjct/prjct.config.json
199
45
 
46
+ /p:now | /p:idea | /p:status
200
47
  ```
201
- ✅ Your project is ready!
202
-
203
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
204
-
205
- 📦 Project Analysis Complete
206
-
207
- Project: [PROJECT_NAME]
208
- Type: [PROJECT_TYPE]
209
- Stack: [DETECTED_STACK]
210
-
211
- 🤖 AI Agents Generated ([COUNT] specialists)
212
-
213
- ✅ PM - Project coordination
214
- ✅ UX - Design & user experience
215
- ✅ FE - Frontend development
216
- ✅ BE - Backend development
217
- ✅ QA - Testing & quality
218
- ✅ Scribe - Documentation
219
- [+ conditional agents if detected]
220
-
221
- These agents are now available in Claude and will provide
222
- specialized expertise for your project tasks.
223
-
224
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
225
-
226
- 💬 Let me show you around...
227
-
228
- You don't need to memorize commands.
229
- Just talk to me naturally!
230
-
231
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
232
-
233
- 🎯 To start working:
234
-
235
- Say: "I want to start building the login page"
236
- Or: /p:now "build login page"
237
-
238
- → I'll track your focus and time
239
-
240
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
241
-
242
- ✅ When you finish something:
243
-
244
- Say: "I'm done" or "finished that"
245
- Or: /p:done
246
-
247
- → I'll celebrate and suggest what's next
248
-
249
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
250
-
251
- 🚀 To ship a feature:
252
-
253
- Say: "ship the authentication system"
254
- Or: /p:ship "authentication system"
255
-
256
- → I'll track your velocity and wins
257
-
258
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
259
-
260
- 💡 Have ideas? Just say:
261
-
262
- "I have an idea about dark mode"
263
- "What should I work on next?"
264
- "Show me my progress"
265
- "I'm stuck on async state"
266
-
267
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
268
-
269
- 🆘 Need help anytime?
270
-
271
- Type: /p:help
272
-
273
- → I'll show you all options in plain language
274
-
275
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
276
-
277
- Ready to start? Tell me what you want to build first!
278
-
279
- (Or type /p:help to see all options)
280
- ```
281
-
282
- ## Error Handling
283
-
284
- - **If .prjct/ exists**: Warn that project may already be initialized
285
- - **If git not available**: Use generic author info
286
- - **If global directory creation fails**: Show error and suggest manual creation
287
- - **If config write fails**: Check permissions on .prjct/ directory
288
-
289
- ## Notes
290
48
 
291
- - Project ID is deterministic based on project path
292
- - Same project path always gets same ID
293
- - Global data enables cross-editor synchronization
294
- - Local config is minimal (just links to global data)
295
- - Works for solo developers and small teams (2-5 people)
@@ -1,74 +1,32 @@
1
1
  ---
2
- allowed-tools: [Read, Write, Edit]
3
- description: "Display and manage priority queue"
2
+ allowed-tools: [Read]
3
+ description: "Show priority queue (top 5 non-blocking)"
4
4
  ---
5
5
 
6
- ## Global Architecture
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
9
+ 1. Check: `core/now.md` → if active task, show warning
10
+ 2. Read: `core/next.md` → filter blocked tasks
11
+ 3. Return: top 5 actionable
12
12
 
13
-
14
- # /p:next - Priority Queue
15
-
16
- ## Purpose
17
- Display the prioritized queue of upcoming tasks.
18
-
19
- ## Usage
13
+ ## Response (active task)
20
14
  ```
21
- /p:next
22
- ```
23
-
24
- ## Execution
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
15
+ ⚠️ Active: {current_task}
16
+ Started: {time_ago}
31
17
 
32
- 1. **Read core/next.md**:
33
- - Parse markdown list of tasks
34
- - Number them for easy reference
35
- - Show task priorities and contexts
18
+ Complete first: /p:done
36
19
 
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
41
-
42
- 3. **Response format**:
43
- ```
44
- 📋 Priority Queue ([count] tasks):
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
- ```
20
+ 📋 Queue preview:
21
+ {top_5_numbered}
22
+ ```
56
23
 
57
- Or if empty:
58
- ```
59
- 📋 Queue is empty!
24
+ ## Response (no active)
25
+ ```
26
+ 📋 Priority Queue
60
27
 
61
- Add tasks:
62
- - Directly edit .prjct/core/next.md
63
- - Use /p:idea for quick capture
64
- - Check /p:roadmap for strategic planning
28
+ {numbered_tasks_1_to_5}
65
29
 
66
- 📂 Related:
67
- - Planning: .prjct/planning/roadmap.md
68
- - Ideas: .prjct/planning/ideas.md
69
- ```
30
+ /p:build {1-5} | /p:build "{task}"
31
+ ```
70
32
 
71
- ## Tips
72
- - Keep queue short (5-10 items)
73
- - Most important tasks first
74
- - Review and reprioritize regularly