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.
@@ -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-{timestamp}
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: {iso_timestamp}
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, `/p:feature` enters interactive mode with quick start templates.
25
+ When executed without parameters, show 6 category templates:
25
26
 
26
- ### Response: Interactive Mode
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":"2025-10-04T14:30:00Z","type":"feature_add","name":"{feature}","tasks":{N},"impact":"{high/med/low}","effort":"{Xh}","status":"queued"}
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 2025-10-04
64
+ - [ ] {feature_name} ({N} tasks, {Xh} estimated) - Added {GetDate()}
172
65
  ```
173
66
 
174
- If roadmap.md > 30 days old entries, archive them to `planning/archive/roadmap-{YYYY-MM}.md`
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
- ยฟEmpezamos con tarea 1?
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 system that analyzes project state and provides relevant guidance. Different responses based on user's current situation.
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
- ## Response Based on Context
19
+ ## Context-Based Responses
20
20
 
21
- ### Context 1: Project Not Initialized
21
+ ### 1. Not Initialized
22
+ โ†’ Show welcome, explain `/p:init` vs `/p:init "idea"` (ARCHITECT MODE)
22
23
 
23
- ```
24
- โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
25
- ๐Ÿ‘‹ WELCOME TO PRJCT!
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
- ๐Ÿš€ FIRST STEP: Initialize
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
- For existing project:
35
- /p:init
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
- For new blank project:
38
- /p:init "your idea here"
39
- โ†’ Activates ARCHITECT MODE
40
- โ†’ Conversational setup
41
- โ†’ Tech stack recommendations
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
- After init, I'll help you:
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
- ๐ŸŽฏ WHAT DO YOU WANT TO DO?
51
+ ๐ŸŽฏ HELP - {CONTEXT_TITLE}
58
52
  โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
59
53
 
60
54
  ๐Ÿ“Š Your status:
61
- โ€ข Project: initialized โœ…
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. โšก Start working (RECOMMENDED)
177
- โ†’ /p:next
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
- 3. ๐Ÿ’ก Add new feature
191
- โ†’ /p:feature "{description}"
192
- Analyze, break down, and start
64
+ 2. {action_2}
65
+ โ†’ {command_or_natural_language}
193
66
 
194
- 4. ๐Ÿ› Report a bug
195
- โ†’ /p:bug "{description}"
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
- "Show me what's next"
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
- ๐Ÿš€ PRJCT PHILOSOPHY:
273
-
274
- Ship Fast. No BS.
275
-
276
- โ€ข One task at a time
277
- โ€ข Track progress automatically
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":"2025-10-04T16:00:00Z","type":"idea_add","idea":"{text}","actionable":{true/false},"priority":"{high/med/low}"}
27
+ {"ts":"{GetTimestamp()}","type":"idea_add","idea":"{text}","actionable":{true/false},"priority":"{high/med/low}"}
25
28
  ```
26
29
 
27
30
  ## Response