prjct-cli 0.8.6 โ 0.8.8
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 +76 -0
- package/CLAUDE.md +34 -0
- package/core/agentic/context-builder.js +4 -3
- package/core/agentic/tool-registry.js +35 -0
- package/core/commands.js +84 -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/ask.md +25 -338
- package/templates/commands/build.md +7 -4
- package/templates/commands/feature.md +19 -160
- package/templates/commands/help.md +41 -299
- package/templates/commands/idea.md +7 -4
- package/templates/commands/init.md +15 -112
- package/templates/commands/migrate-all.md +25 -84
- package/templates/commands/now.md +4 -3
- package/templates/commands/ship.md +20 -86
- package/templates/commands/suggest.md +36 -495
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
allowed-tools: [Read, Write]
|
|
2
|
+
allowed-tools: [Read, Write, GetTimestamp]
|
|
3
3
|
description: 'Start task with agent assignment'
|
|
4
|
+
timestamp-rule: 'CRITICAL - ALWAYS use GetTimestamp() tool for id and started fields. NEVER generate timestamps manually.'
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# /p:build
|
|
@@ -16,18 +17,20 @@ description: 'Start task with agent assignment'
|
|
|
16
17
|
2. Detect: `TaskSchema.detectAgent(task)` + complexity
|
|
17
18
|
3. Get: GitHub dev from `git config user.name` + remote
|
|
18
19
|
4. Create: task metadata with agent, complexity, estimate
|
|
19
|
-
5. Write: `core/now.md` with frontmatter
|
|
20
|
+
5. Write: `core/now.md` with frontmatter (use GetTimestamp() for id and started)
|
|
20
21
|
|
|
21
22
|
## Frontmatter
|
|
22
23
|
|
|
24
|
+
**Use GetTimestamp() tool for both id and started fields:**
|
|
25
|
+
|
|
23
26
|
```yaml
|
|
24
27
|
---
|
|
25
|
-
id: task-{
|
|
28
|
+
id: task-{GetTimestamp()}
|
|
26
29
|
agent: {detected_agent}
|
|
27
30
|
dev: @{github_username}
|
|
28
31
|
complexity: {trivial|simple|moderate|complex|epic}
|
|
29
32
|
estimated: {time_range}
|
|
30
|
-
started: {
|
|
33
|
+
started: {GetTimestamp()}
|
|
31
34
|
---
|
|
32
35
|
{task_description}
|
|
33
36
|
```
|
|
@@ -1,6 +1,7 @@
|
|
|
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: 'CRITICAL - ALWAYS use GetTimestamp() and GetDate() tools for ALL timestamps and dates. NEVER generate dates manually. LLM does not know current date.'
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# /p:feature
|
|
@@ -21,128 +22,16 @@ description: 'Value analysis + roadmap + task breakdown + auto-start'
|
|
|
21
22
|
|
|
22
23
|
## Interactive Mode (No Parameters)
|
|
23
24
|
|
|
24
|
-
When executed without parameters,
|
|
25
|
+
When executed without parameters, show 6 category templates:
|
|
25
26
|
|
|
26
|
-
|
|
27
|
+
**1. ๐จ UI/UX**: dark mode, redesign, responsiveness, animations
|
|
28
|
+
**2. โก Performance**: load time, memory leaks, code splitting, API speed
|
|
29
|
+
**3. ๐ Features**: authentication, payments, admin dashboard, notifications
|
|
30
|
+
**4. ๐งช Quality**: unit tests, E2E testing, error tracking, coverage
|
|
31
|
+
**5. ๐ Bug Fixes**: refactoring, memory leaks, deprecated code, error handling
|
|
32
|
+
**6. ๐ Docs**: API docs, onboarding, developer setup, examples
|
|
27
33
|
|
|
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
|
-
```
|
|
34
|
+
User can: choose category number OR describe freely
|
|
146
35
|
|
|
147
36
|
## Flow
|
|
148
37
|
|
|
@@ -158,22 +47,26 @@ Choose a number or describe your specific need:
|
|
|
158
47
|
|
|
159
48
|
Append to `planning/sessions/{YYYY-MM}/{YYYY-MM-DD}.jsonl`:
|
|
160
49
|
|
|
50
|
+
**Use GetTimestamp() and GetDate() tools to get real system time:**
|
|
51
|
+
|
|
161
52
|
```jsonl
|
|
162
|
-
{"ts":"
|
|
53
|
+
{"ts":"{GetTimestamp()}","type":"feature_add","name":"{feature}","tasks":{N},"impact":"{high/med/low}","effort":"{Xh}","status":"queued"}
|
|
163
54
|
```
|
|
164
55
|
|
|
165
56
|
## Index Update
|
|
166
57
|
|
|
167
58
|
Append to `planning/roadmap.md` (keep only last 30 days):
|
|
168
59
|
|
|
60
|
+
**Use GetDate() tool for current date:**
|
|
61
|
+
|
|
169
62
|
```markdown
|
|
170
63
|
## Queued
|
|
171
|
-
- [ ] {feature_name} ({N} tasks, {Xh} estimated) - Added
|
|
64
|
+
- [ ] {feature_name} ({N} tasks, {Xh} estimated) - Added {GetDate()}
|
|
172
65
|
```
|
|
173
66
|
|
|
174
|
-
If roadmap.md > 30 days old entries, archive
|
|
67
|
+
If roadmap.md > 30 days old entries, archive to `planning/archive/roadmap-{YYYY-MM}.md`
|
|
175
68
|
|
|
176
|
-
## Value Analysis
|
|
69
|
+
## Value Analysis Format
|
|
177
70
|
|
|
178
71
|
```
|
|
179
72
|
Feature: {description}
|
|
@@ -185,20 +78,6 @@ Value Analysis:
|
|
|
185
78
|
โข Recommendation: {do_now/defer/needs_X_first}
|
|
186
79
|
```
|
|
187
80
|
|
|
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
|
-
```
|
|
201
|
-
|
|
202
81
|
## Response
|
|
203
82
|
|
|
204
83
|
```
|
|
@@ -213,27 +92,7 @@ Tasks:
|
|
|
213
92
|
2. {task_2}
|
|
214
93
|
...
|
|
215
94
|
|
|
216
|
-
|
|
95
|
+
Ready to start with task 1?
|
|
217
96
|
|
|
218
97
|
/p:done (when task complete) | /p:ship (when feature complete)
|
|
219
98
|
```
|
|
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
|
-
```
|
|
@@ -7,7 +7,7 @@ description: 'Interactive contextual guide - helps users based on their current
|
|
|
7
7
|
|
|
8
8
|
## Purpose
|
|
9
9
|
|
|
10
|
-
Contextual help
|
|
10
|
+
Contextual help that analyzes project state and provides relevant guidance based on user's current situation.
|
|
11
11
|
|
|
12
12
|
## Flow
|
|
13
13
|
|
|
@@ -16,333 +16,75 @@ Contextual help system that analyzes project state and provides relevant guidanc
|
|
|
16
16
|
3. **Provide relevant help**: Suggestions based on context
|
|
17
17
|
4. **Show examples**: Concrete examples for their situation
|
|
18
18
|
|
|
19
|
-
##
|
|
19
|
+
## Context-Based Responses
|
|
20
20
|
|
|
21
|
-
###
|
|
21
|
+
### 1. Not Initialized
|
|
22
|
+
โ Show welcome, explain `/p:init` vs `/p:init "idea"` (ARCHITECT MODE)
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
27
|
-
|
|
28
|
-
Ship Fast. No BS.
|
|
24
|
+
### 2. Empty Queue + No Active Task
|
|
25
|
+
โ Suggest: `/p:feature "{desc}"`, `/p:analyze`, `/p:roadmap`
|
|
26
|
+
โ Emphasize: Can talk naturally, no need to memorize commands
|
|
29
27
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
### 3. Has Active Task
|
|
29
|
+
โ Show: current task, duration, started time
|
|
30
|
+
โ Suggest: `/p:done` (finished?), `/p:stuck "{issue}"` (blocked?), `/p:next` (see queue?)
|
|
31
|
+
โ Emphasize: Focus on one task โ Ship faster
|
|
33
32
|
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
### 4. Has Queue, No Active Task
|
|
34
|
+
โ Suggest: `/p:next` (see top 5), `/p:build 1` (start #1), `/p:build "{name}"` (start specific)
|
|
35
|
+
โ Show: queue size, last ship time
|
|
36
|
+
โ Tip: `/p:suggest` for personalized recommendations
|
|
36
37
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
โ
|
|
40
|
-
โ
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
38
|
+
### 5. Lost/Confused
|
|
39
|
+
โ Show 5 scenarios with examples:
|
|
40
|
+
- Want to build? โ `/p:feature "{desc}"`
|
|
41
|
+
- Something broken? โ `/p:bug "{desc}"`
|
|
42
|
+
- Don't know what to do? โ `/p:suggest`
|
|
43
|
+
- See progress? โ `/p:status` or `/p:recap`
|
|
44
|
+
- Need guidance? โ `/p:ask "{what you want}"`
|
|
45
|
+
โ Emphasize: Natural language works (English & Spanish)
|
|
44
46
|
|
|
45
|
-
|
|
46
|
-
โข Break down features into tasks
|
|
47
|
-
โข Track your progress
|
|
48
|
-
โข Ship faster
|
|
49
|
-
|
|
50
|
-
Let's start! ๐
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
### Context 2: Initialized, No Active Task, Empty Queue
|
|
47
|
+
## Response Format
|
|
54
48
|
|
|
55
49
|
```
|
|
56
50
|
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
57
|
-
๐ฏ
|
|
51
|
+
๐ฏ HELP - {CONTEXT_TITLE}
|
|
58
52
|
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
59
53
|
|
|
60
54
|
๐ Your status:
|
|
61
|
-
โข
|
|
62
|
-
โข Active task: none
|
|
63
|
-
โข Queue: empty
|
|
64
|
-
โข Ready to work!
|
|
65
|
-
|
|
66
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
67
|
-
|
|
68
|
-
๐ก RECOMMENDED NEXT STEPS:
|
|
69
|
-
|
|
70
|
-
1. ๐ Add a feature
|
|
71
|
-
Tell me what you want to build:
|
|
72
|
-
โ /p:feature "add dark mode"
|
|
73
|
-
โ /p:feature "implement auth"
|
|
74
|
-
โ /p:feature "optimize performance"
|
|
75
|
-
|
|
76
|
-
I'll analyze value, break it into tasks, and start working!
|
|
77
|
-
|
|
78
|
-
2. ๐ Analyze your project
|
|
79
|
-
โ /p:analyze
|
|
80
|
-
Find TODOs, improvements, and opportunities
|
|
81
|
-
|
|
82
|
-
3. ๐ See your roadmap
|
|
83
|
-
โ /p:roadmap
|
|
84
|
-
View planned features and progress
|
|
85
|
-
|
|
86
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
87
|
-
|
|
88
|
-
๐ฌ TALK NATURALLY:
|
|
89
|
-
|
|
90
|
-
You can just tell me:
|
|
91
|
-
"I want to add authentication"
|
|
92
|
-
"Help me optimize the app"
|
|
93
|
-
"What should I do?"
|
|
94
|
-
|
|
95
|
-
I understand! No need to memorize commands.
|
|
96
|
-
|
|
97
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
98
|
-
|
|
99
|
-
๐ NEED MORE HELP?
|
|
100
|
-
|
|
101
|
-
โ /p:ask "what you want to do"
|
|
102
|
-
(I'll guide you step by step)
|
|
103
|
-
|
|
104
|
-
โ /p:suggest
|
|
105
|
-
(I'll analyze and recommend actions)
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
### Context 3: Initialized, Has Active Task
|
|
109
|
-
|
|
110
|
-
```
|
|
111
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
112
|
-
๐ฏ HELP - CURRENT STATUS
|
|
113
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
114
|
-
|
|
115
|
-
๐ Your status:
|
|
116
|
-
โข Working on: "{current_task}"
|
|
117
|
-
โข Started: {time_ago}
|
|
118
|
-
โข Queue: {N} tasks waiting
|
|
119
|
-
|
|
120
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
121
|
-
|
|
122
|
-
๐ก WHAT YOU CAN DO:
|
|
123
|
-
|
|
124
|
-
1. โ
Finished current task?
|
|
125
|
-
โ /p:done
|
|
126
|
-
Marks complete, moves to next automatically
|
|
127
|
-
|
|
128
|
-
2. โ Stuck or need help?
|
|
129
|
-
โ /p:stuck "{what's blocking you}"
|
|
130
|
-
I'll help troubleshoot
|
|
131
|
-
|
|
132
|
-
3. ๐ See what's next?
|
|
133
|
-
โ /p:next
|
|
134
|
-
View your priority queue
|
|
135
|
-
|
|
136
|
-
4. ๐ฏ Check progress?
|
|
137
|
-
โ /p:status (visual dashboard)
|
|
138
|
-
โ /p:recap (detailed overview)
|
|
139
|
-
|
|
140
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
141
|
-
|
|
142
|
-
๐ฌ OR JUST TELL ME:
|
|
143
|
-
|
|
144
|
-
"I'm done"
|
|
145
|
-
"I'm stuck with X"
|
|
146
|
-
"What's next?"
|
|
147
|
-
"Show me my progress"
|
|
148
|
-
|
|
149
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
150
|
-
|
|
151
|
-
โฑ๏ธ ACTIVE TASK INFO:
|
|
152
|
-
|
|
153
|
-
Task: {current_task}
|
|
154
|
-
Duration: {duration}
|
|
155
|
-
Started: {timestamp}
|
|
156
|
-
|
|
157
|
-
Focus on one task at a time โ Ship faster!
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
### Context 4: Initialized, No Active Task, Has Queue
|
|
161
|
-
|
|
162
|
-
```
|
|
163
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
164
|
-
๐ฏ HELP - READY TO WORK!
|
|
165
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
166
|
-
|
|
167
|
-
๐ Your status:
|
|
168
|
-
โข Active task: none
|
|
169
|
-
โข Queue: {N} tasks ready
|
|
170
|
-
โข Last ship: {time_ago}
|
|
55
|
+
โข {relevant_state_info}
|
|
171
56
|
|
|
172
57
|
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
173
58
|
|
|
174
59
|
๐ก RECOMMENDED ACTIONS:
|
|
175
60
|
|
|
176
|
-
1.
|
|
177
|
-
โ
|
|
178
|
-
See your top 5 priority tasks
|
|
179
|
-
|
|
180
|
-
โ /p:build 1
|
|
181
|
-
Start task #1 immediately
|
|
182
|
-
|
|
183
|
-
โ /p:build "task name"
|
|
184
|
-
Start specific task
|
|
185
|
-
|
|
186
|
-
2. ๐ Check your progress
|
|
187
|
-
โ /p:status (visual dashboard)
|
|
188
|
-
โ /p:recap (detailed overview)
|
|
61
|
+
1. {action_1}
|
|
62
|
+
โ {command_or_natural_language}
|
|
189
63
|
|
|
190
|
-
|
|
191
|
-
โ
|
|
192
|
-
Analyze, break down, and start
|
|
64
|
+
2. {action_2}
|
|
65
|
+
โ {command_or_natural_language}
|
|
193
66
|
|
|
194
|
-
|
|
195
|
-
โ
|
|
196
|
-
Auto-prioritized and queued
|
|
67
|
+
3. {action_3}
|
|
68
|
+
โ {command_or_natural_language}
|
|
197
69
|
|
|
198
70
|
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
199
71
|
|
|
200
72
|
๐ฌ OR JUST SAY:
|
|
201
|
-
|
|
202
|
-
"
|
|
203
|
-
"Start task 1"
|
|
204
|
-
"I want to work on X"
|
|
205
|
-
|
|
206
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
207
|
-
|
|
208
|
-
๐ก TIP:
|
|
209
|
-
|
|
210
|
-
You have {N} tasks waiting!
|
|
211
|
-
โ /p:suggest for personalized recommendations
|
|
212
|
-
```
|
|
213
|
-
|
|
214
|
-
### Context 5: Lost/Confused
|
|
215
|
-
|
|
216
|
-
```
|
|
217
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
218
|
-
๐ HOW CAN I HELP?
|
|
219
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
220
|
-
|
|
221
|
-
No worries! Let me guide you.
|
|
222
|
-
|
|
223
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
224
|
-
|
|
225
|
-
๐ฏ CHOOSE YOUR SCENARIO:
|
|
226
|
-
|
|
227
|
-
1. ๐ก "I want to build something new"
|
|
228
|
-
โ /p:feature "{what you want to build}"
|
|
229
|
-
|
|
230
|
-
Examples:
|
|
231
|
-
โข /p:feature "add user authentication"
|
|
232
|
-
โข /p:feature "improve performance"
|
|
233
|
-
โข /p:feature "redesign homepage"
|
|
234
|
-
|
|
235
|
-
2. ๐ "Something is broken"
|
|
236
|
-
โ /p:bug "{description}"
|
|
237
|
-
|
|
238
|
-
Example:
|
|
239
|
-
โข /p:bug "login button not working"
|
|
240
|
-
|
|
241
|
-
3. โ "I don't know what to do"
|
|
242
|
-
โ /p:suggest
|
|
243
|
-
I'll analyze your project and recommend
|
|
244
|
-
|
|
245
|
-
4. ๐ "I want to see my progress"
|
|
246
|
-
โ /p:status (visual)
|
|
247
|
-
โ /p:recap (detailed)
|
|
248
|
-
|
|
249
|
-
5. ๐ค "I need to understand something"
|
|
250
|
-
โ /p:ask "{what you want to do}"
|
|
251
|
-
|
|
252
|
-
I'll translate your intent into actions!
|
|
253
|
-
|
|
254
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
255
|
-
|
|
256
|
-
๐ฌ REMEMBER:
|
|
257
|
-
|
|
258
|
-
You can talk naturally! Just tell me what you want:
|
|
259
|
-
|
|
260
|
-
"I want to add dark mode"
|
|
261
|
-
"Help me fix this bug"
|
|
262
|
-
"What should I work on?"
|
|
263
|
-
"I'm stuck with X"
|
|
264
|
-
|
|
265
|
-
I understand both:
|
|
266
|
-
โข Natural language โ
|
|
267
|
-
โข Commands โ
|
|
268
|
-
โข English & Spanish โ
|
|
73
|
+
"{natural_example_1}"
|
|
74
|
+
"{natural_example_2}"
|
|
269
75
|
|
|
270
76
|
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
271
77
|
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
โข Celebrate every ship
|
|
279
|
-
โข No ceremonies, no overhead
|
|
280
|
-
|
|
281
|
-
Just build and ship! ๐
|
|
78
|
+
๐ CORE COMMANDS:
|
|
79
|
+
Planning: /p:feature, /p:roadmap, /p:bug
|
|
80
|
+
Working: /p:next, /p:build, /p:done
|
|
81
|
+
Shipping: /p:ship
|
|
82
|
+
Progress: /p:status, /p:recap
|
|
83
|
+
Help: /p:ask, /p:suggest, /p:stuck
|
|
282
84
|
```
|
|
283
85
|
|
|
284
|
-
## Core Commands Reference
|
|
285
|
-
|
|
286
|
-
Always include at the end of contextual help:
|
|
287
|
-
|
|
288
|
-
```
|
|
289
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
290
|
-
๐ CORE COMMANDS (if you prefer)
|
|
291
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
292
|
-
|
|
293
|
-
Planning:
|
|
294
|
-
/p:feature "{desc}" โ Add feature with roadmap
|
|
295
|
-
/p:roadmap โ View strategic plan
|
|
296
|
-
/p:bug "{desc}" โ Report and track bug
|
|
297
|
-
|
|
298
|
-
Working:
|
|
299
|
-
/p:next โ See priority queue
|
|
300
|
-
/p:build {1-5} โ Start task
|
|
301
|
-
/p:now โ Show current task
|
|
302
|
-
/p:done โ Complete task
|
|
303
|
-
|
|
304
|
-
Shipping:
|
|
305
|
-
/p:ship "{name}" โ Commit, push, celebrate
|
|
306
|
-
|
|
307
|
-
Progress:
|
|
308
|
-
/p:status โ Visual dashboard
|
|
309
|
-
/p:recap โ Detailed overview
|
|
310
|
-
|
|
311
|
-
Help:
|
|
312
|
-
/p:ask "{intent}" โ Intent โ Action guide
|
|
313
|
-
/p:suggest โ Smart recommendations
|
|
314
|
-
/p:stuck "{issue}" โ Get help
|
|
315
|
-
|
|
316
|
-
Setup:
|
|
317
|
-
/p:init โ Initialize project
|
|
318
|
-
/p:analyze โ Deep analysis
|
|
319
|
-
|
|
320
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
321
|
-
|
|
322
|
-
But remember: You can just talk naturally! ๐ฌ
|
|
323
|
-
```
|
|
324
|
-
|
|
325
|
-
## Key Principles
|
|
326
|
-
|
|
327
|
-
1. **Context-aware**: Different help based on state
|
|
328
|
-
2. **Actionable**: Always show what to do next
|
|
329
|
-
3. **Examples**: Concrete examples, not abstract
|
|
330
|
-
4. **Encouraging**: Positive, helpful tone
|
|
331
|
-
5. **Bilingual**: Support English and Spanish
|
|
332
|
-
6. **No jargon**: Simple, clear language
|
|
333
|
-
7. **Progressive**: Start simple, show depth if needed
|
|
334
|
-
|
|
335
86
|
## Validation
|
|
336
87
|
|
|
337
88
|
- **Optional**: Works before project initialized
|
|
338
|
-
- **Adaptive**: Response changes based on state
|
|
339
89
|
- **Read-only**: Never modifies files
|
|
340
|
-
|
|
341
|
-
## Success Criteria
|
|
342
|
-
|
|
343
|
-
After using `/p:help`, user should:
|
|
344
|
-
- โ
Know exactly what to do next
|
|
345
|
-
- โ
Understand they can talk naturally
|
|
346
|
-
- โ
Feel confident to proceed
|
|
347
|
-
- โ
Have concrete commands to try
|
|
348
|
-
- โ
Not feel overwhelmed
|
|
90
|
+
- **Adaptive**: Response changes based on state
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
allowed-tools: [Write]
|
|
2
|
+
allowed-tools: [Write, GetTimestamp, GetDate]
|
|
3
3
|
description: 'Quick idea capture'
|
|
4
|
+
timestamp-rule: 'CRITICAL - ALWAYS use GetTimestamp() tool for timestamps. NEVER generate timestamps manually. LLM does not know current date/time.'
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# /p:idea
|
|
@@ -13,15 +14,17 @@ description: 'Quick idea capture'
|
|
|
13
14
|
|
|
14
15
|
## Flow
|
|
15
16
|
|
|
16
|
-
1. **Append to session**: `planning/sessions/{YYYY-MM}/{YYYY-MM-DD}.jsonl`
|
|
17
|
-
2. **Update index**: Append to `planning/ideas.md` (keep only last 30 days)
|
|
17
|
+
1. **Append to session**: `planning/sessions/{YYYY-MM}/{YYYY-MM-DD}.jsonl` (use GetTimestamp())
|
|
18
|
+
2. **Update index**: Append to `planning/ideas.md` (keep only last 30 days, use GetDate())
|
|
18
19
|
3. If actionable โ add to `core/next.md`
|
|
19
20
|
4. **Archive old**: If ideas.md > 30 days, move to `planning/archive/ideas-{YYYY-MM}.md`
|
|
20
21
|
|
|
21
22
|
## Session Log Format
|
|
22
23
|
|
|
24
|
+
**Use GetTimestamp() tool for real system time:**
|
|
25
|
+
|
|
23
26
|
```jsonl
|
|
24
|
-
{"ts":"
|
|
27
|
+
{"ts":"{GetTimestamp()}","type":"idea_add","idea":"{text}","actionable":{true/false},"priority":"{high/med/low}"}
|
|
25
28
|
```
|
|
26
29
|
|
|
27
30
|
## Response
|