prjct-cli 0.7.3 → 0.8.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.
@@ -1,38 +1,348 @@
1
1
  ---
2
- allowed-tools: []
3
- description: 'Interactive guide'
2
+ allowed-tools: [Read]
3
+ description: 'Interactive contextual guide - helps users based on their current state'
4
4
  ---
5
5
 
6
6
  # /p:help
7
7
 
8
- ## Response
8
+ ## Purpose
9
9
 
10
+ Contextual help system that analyzes project state and provides relevant guidance. Different responses based on user's current situation.
11
+
12
+ ## Flow
13
+
14
+ 1. **Check project state**: Read core files if initialized
15
+ 2. **Determine context**: What state is the user in?
16
+ 3. **Provide relevant help**: Suggestions based on context
17
+ 4. **Show examples**: Concrete examples for their situation
18
+
19
+ ## Response Based on Context
20
+
21
+ ### Context 1: Project Not Initialized
22
+
23
+ ```
24
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
25
+ 👋 WELCOME TO PRJCT!
26
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
27
+
28
+ Ship Fast. No BS.
29
+
30
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
31
+
32
+ 🚀 FIRST STEP: Initialize
33
+
34
+ For existing project:
35
+ /p:init
36
+
37
+ For new blank project:
38
+ /p:init "your idea here"
39
+ → Activates ARCHITECT MODE
40
+ → Conversational setup
41
+ → Tech stack recommendations
42
+
43
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
44
+
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
54
+
55
+ ```
56
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
57
+ 🎯 WHAT DO YOU WANT TO DO?
58
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
59
+
60
+ 📊 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!
10
158
  ```
11
- 🎯 What do you want to do?
12
159
 
160
+ ### Context 4: Initialized, No Active Task, Has Queue
161
+
162
+ ```
163
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
164
+ 🎯 HELP - READY TO WORK!
13
165
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━
14
166
 
15
- 1. 🚀 Start working
16
- Say: "I want to start {task}"
17
- Or: /p:now "{task}"
167
+ 📊 Your status:
168
+ Active task: none
169
+ Queue: {N} tasks ready
170
+ • Last ship: {time_ago}
171
+
172
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
18
173
 
19
- 2. Finish task
20
- Say: "I'm done"
21
- Or: /p:done
174
+ 💡 RECOMMENDED ACTIONS:
22
175
 
23
- 3. 🎉 Ship feature
24
- Say: "ship {feature}"
25
- Or: /p:ship "{feature}"
176
+ 1. Start working (RECOMMENDED)
177
+ → /p:next
178
+ See your top 5 priority tasks
26
179
 
27
- 4. 💡 Capture idea
28
- Say: "idea about {thing}"
29
- Or: /p:idea "{idea}"
180
+ /p:build 1
181
+ Start task #1 immediately
30
182
 
31
- 5. 📊 See progress
32
- Say: "show progress"
33
- Or: /p:recap
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)
189
+
190
+ 3. 💡 Add new feature
191
+ → /p:feature "{description}"
192
+ Analyze, break down, and start
193
+
194
+ 4. 🐛 Report a bug
195
+ → /p:bug "{description}"
196
+ Auto-prioritized and queued
34
197
 
35
198
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━
36
199
 
37
- 💬 Talk naturally - I understand both!
200
+ 💬 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
38
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 ✅
269
+
270
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
271
+
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! 🎉
282
+ ```
283
+
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
+ ## Validation
336
+
337
+ - **Optional**: Works before project initialized
338
+ - **Adaptive**: Response changes based on state
339
+ - **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
@@ -70,9 +70,61 @@ description: 'Initialize prjct project (with architect mode for blank projects)'
70
70
  📊 Analysis: {stack_summary}
71
71
  🤖 Agents: {N} agents generated
72
72
 
73
- Listo para trabajar! ¿Qué feature agregamos?
73
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
74
+ 🎯 WHAT DO YOU WANT TO DO FIRST?
75
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
74
76
 
75
- /p:feature | /p:analyze
77
+ Choose your path:
78
+
79
+ 1. 🚀 Add a new feature
80
+ Tell me what you want to build!
81
+
82
+ Examples:
83
+ • "add user authentication"
84
+ • "implement dark mode"
85
+ • "optimize performance"
86
+
87
+ → /p:feature "{description}"
88
+
89
+ 2. 🐛 Fix a bug
90
+ Describe what's broken
91
+
92
+ Example:
93
+ • "login button not working"
94
+
95
+ → /p:bug "{description}"
96
+
97
+ 3. 🔍 Analyze deeper
98
+ Discover TODOs and improvements
99
+
100
+ → /p:analyze
101
+
102
+ 4. 📊 See current status
103
+ View what's in your project
104
+
105
+ → /p:status (visual dashboard)
106
+ → /p:recap (detailed overview)
107
+
108
+ 5. 💡 Not sure yet?
109
+ Get personalized suggestions
110
+
111
+ → /p:suggest
112
+ → /p:help
113
+
114
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
115
+
116
+ 💬 OR JUST TELL ME:
117
+
118
+ You can talk naturally:
119
+ "I want to add authentication"
120
+ "Help me fix this performance issue"
121
+ "What should I do?"
122
+
123
+ I understand! No need to memorize commands.
124
+
125
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
126
+
127
+ Let's ship something! 🚀
76
128
  ```
77
129
 
78
130
  ## Response: Blank Project
@@ -80,24 +132,79 @@ Listo para trabajar! ¿Qué feature agregamos?
80
132
  ```
81
133
  ✅ prjct initialized!
82
134
 
83
- 📐 ARCHITECT MODE
135
+ 📐 ARCHITECT MODE ACTIVATED
84
136
 
85
137
  Your idea: "{idea}"
86
138
 
87
- Recommended stack:
88
- Option 1: Next.js + TypeScript + Tailwind (⭐ Recommended)
139
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
140
+
141
+ 🎨 TECH STACK RECOMMENDATIONS:
142
+
143
+ Based on your idea, I recommend:
144
+
145
+ ⭐ Option 1: Next.js + TypeScript + Tailwind
146
+ → Best for: Full-stack apps, SEO, modern UI
147
+ → Why: Fast, scalable, great DX
148
+
89
149
  Option 2: React + Vite + shadcn/ui
150
+ → Best for: SPAs, rapid prototyping
151
+ → Why: Lightweight, flexible
152
+
90
153
  Option 3: Vue 3 + Nuxt
154
+ → Best for: Progressive apps, content sites
155
+ → Why: Easy learning curve, performant
91
156
 
92
- Which option? (or describe your preference)
157
+ Custom: Tell me your preference
158
+ → Any stack works with prjct!
159
+
160
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
161
+
162
+ Which option works for you? (1, 2, 3, or describe your choice)
93
163
 
94
164
  [After user confirms:]
95
165
 
166
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
167
+
96
168
  ✅ Structure created!
169
+
170
+ 📁 Project: {path}
171
+ 📦 Stack: {chosen_stack}
97
172
  📋 Initial roadmap: {N} features
98
- 🤖 Agents: generated
173
+ 🤖 Agents: {N} specialists generated
174
+
175
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
176
+ 🎯 WHAT'S NEXT?
177
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
178
+
179
+ Your roadmap is ready! You can:
180
+
181
+ 1. 🚀 Start with first feature (RECOMMENDED)
182
+ → /p:feature "{first_feature}"
183
+ I'll break it down and we'll start building
184
+
185
+ 2. 📊 See your roadmap
186
+ → /p:roadmap
187
+ View all planned features
188
+
189
+ 3. 🔍 Review project structure
190
+ → /p:recap
191
+ See what was created
192
+
193
+ 4. 💡 Modify the plan
194
+ Just tell me:
195
+ "I also want to add {feature}"
196
+ "Let's do {different_feature} first"
197
+
198
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
199
+
200
+ 💬 REMEMBER:
201
+
202
+ You can talk naturally! Just tell me what you want:
203
+ "Start with authentication"
204
+ "Show me the roadmap"
205
+ "I want to add another feature"
99
206
 
100
- ¿Empezamos con la primera feature?
207
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━
101
208
 
102
- /p:feature | /p:ship
209
+ Ready to start building? 🚀
103
210
  ```