jettypod 4.4.74 → 4.4.76

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.
@@ -0,0 +1,327 @@
1
+ ---
2
+ name: simple-improvement
3
+ description: Guide implementation of simple improvements to existing functionality. Use when feature-planning routes here for basic enhancements like copy changes, styling tweaks, or minor behavior adjustments. (project)
4
+ ---
5
+
6
+ # Simple Improvement Skill
7
+
8
+ ```
9
+ ┌─────────────────────────────────────────────────────────────────────┐
10
+ │ Simple Improvement Flow │
11
+ │ │
12
+ │ Feature Planning → [SIMPLE IMPROVEMENT] → Done │
13
+ │ ▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲ │
14
+ │ YOU ARE HERE │
15
+ │ │
16
+ │ This is a LIGHTWEIGHT workflow - no speed/stable modes. │
17
+ │ Single chore, direct implementation, done. │
18
+ └─────────────────────────────────────────────────────────────────────┘
19
+ ```
20
+
21
+ Lightweight workflow for basic enhancements to existing functionality. Bypasses the full speed/stable mode progression for simple changes.
22
+
23
+ ## When to Use
24
+
25
+ This skill is invoked by feature-planning when the user confirms their work is a **simple improvement**:
26
+ - Copy/text changes
27
+ - Styling tweaks
28
+ - Minor behavior adjustments
29
+ - Small bug fixes to existing functionality
30
+
31
+ ## When NOT to Use
32
+
33
+ Route back to feature-planning for:
34
+ - New functionality (even if small)
35
+ - Changes requiring new data models
36
+ - Complex logic changes
37
+ - Features needing error handling design
38
+
39
+ ---
40
+
41
+ ## Instructions
42
+
43
+ ### Step 1: Validate Simplicity
44
+
45
+ **Confirm the work is truly a simple improvement.**
46
+
47
+ **Ask the user:**
48
+
49
+ ```
50
+ Let me confirm this is a simple improvement. Please describe the change:
51
+
52
+ What exactly needs to change? (Be specific - e.g., "Change button text from 'Submit' to 'Save'")
53
+ ```
54
+
55
+ **⚡ WAIT for user response.**
56
+
57
+ **First, check for vague or incomplete descriptions:**
58
+
59
+ **Vague Description Signals:**
60
+ | Signal | Examples |
61
+ |--------|----------|
62
+ | Too short | Less than 20 characters |
63
+ | No specifics | "fix the thing", "update it", "make it better" |
64
+ | Missing context | No file, component, or location mentioned |
65
+ | Ambiguous action | "change something", "tweak the code" |
66
+
67
+ **If description is vague or unclear:**
68
+
69
+ ```
70
+ I need more details to proceed. Your description is too vague for me to understand what needs to change.
71
+
72
+ Please provide:
73
+ • What specific element/text/behavior needs to change?
74
+ • Where is it located? (file, page, component)
75
+ • What should it look like after the change?
76
+
77
+ Example: "Change the submit button text from 'Submit' to 'Save Changes' on the contact form"
78
+ ```
79
+
80
+ **⚡ WAIT for user to provide a clearer description before proceeding.**
81
+
82
+ Do NOT continue until you have a specific, actionable description.
83
+
84
+ ---
85
+
86
+ **Once you have a clear description, analyze for complexity signals:**
87
+
88
+ **Complexity Signal Detection:**
89
+ Scan the user's description for these patterns:
90
+
91
+ | Signal | Keywords/Patterns |
92
+ |--------|-------------------|
93
+ | New data models | "new table", "add column", "database", "schema" |
94
+ | New API | "new endpoint", "API", "new route" |
95
+ | Complex logic | "if/else", "conditional", "depends on", multiple "and" clauses |
96
+ | Multiple components | mentions 3+ different files/areas, "also need to" |
97
+ | Architectural changes | "refactor", "restructure", "new system" |
98
+
99
+ ❌ **Route back to feature-planning if ANY complexity signal detected:**
100
+ - New database tables/columns needed
101
+ - New API endpoints required
102
+ - Complex conditional logic
103
+ - Multiple interconnected changes
104
+ - Need for error handling design
105
+
106
+ ✅ **Continue if the change is:**
107
+ - Single file or 2-3 related files
108
+ - Modifying existing code (not creating new features)
109
+ - Clear, specific scope
110
+ - No architectural decisions needed
111
+
112
+ **If too complex:**
113
+
114
+ ```
115
+ ⚠️ This change appears to require new data models or architectural changes. This is more than a simple improvement.
116
+
117
+ I'm routing you back to feature-planning for proper planning with BDD scenarios.
118
+ ```
119
+
120
+ **Then IMMEDIATELY:**
121
+ 1. Invoke feature-planning skill using the Skill tool
122
+ 2. END this skill (do not continue)
123
+
124
+ **If confirmed simple:**
125
+
126
+ ```
127
+ ✅ Confirmed: This is a simple improvement.
128
+
129
+ Change: [summarize the specific change]
130
+ Scope: [list files likely affected]
131
+
132
+ Creating implementation chore...
133
+ ```
134
+
135
+ **Proceed to Step 2.**
136
+
137
+ ---
138
+
139
+ ### Step 2: Create Implementation Chore
140
+
141
+ **Create a single chore with NO mode assigned.**
142
+
143
+ ```bash
144
+ jettypod work create chore "[Brief description of the change]" "[Detailed description including:
145
+ - What to change
146
+ - Where to change it
147
+ - Expected outcome]" --parent=<feature-id>
148
+ ```
149
+
150
+ **IMPORTANT:** Do NOT use `--mode` flag. Simple improvements don't use speed/stable modes.
151
+
152
+ **Display to user:**
153
+
154
+ ```
155
+ ✅ Created Chore #[id]: [title]
156
+
157
+ Ready to implement. Starting chore...
158
+ ```
159
+
160
+ **If chore creation fails:**
161
+
162
+ When the `jettypod work create` command fails, display error details and suggest recovery:
163
+
164
+ ```
165
+ ❌ Failed to create chore: [error message] ([error code if available])
166
+
167
+ This could be caused by:
168
+ • Database is locked by another process
169
+ • File system permissions issue
170
+ • Corrupted work.db file
171
+
172
+ Suggested actions:
173
+ 1. Retry the operation
174
+ 2. Check if another process is using the database
175
+ 3. Verify system status with: ls -la .jettypod/
176
+ 4. If persistent, try: jettypod work cleanup --all
177
+ ```
178
+
179
+ **⚡ WAIT for user to acknowledge before retrying or investigating further.**
180
+
181
+ Do NOT proceed to Step 3 until chore is successfully created.
182
+
183
+ **Proceed to Step 3.**
184
+
185
+ ---
186
+
187
+ ### Step 3: Start Chore and Implement
188
+
189
+ **Start the chore to create a worktree:**
190
+
191
+ ```bash
192
+ jettypod work start <chore-id>
193
+ ```
194
+
195
+ **Then implement the change directly:**
196
+
197
+ 1. Read the file(s) that need modification
198
+ 2. Make the specific change requested
199
+ 3. Verify the change looks correct
200
+
201
+ **Display progress:**
202
+
203
+ ```
204
+ 📝 Implementing change...
205
+
206
+ Modified: [file path]
207
+ Change: [what was changed]
208
+
209
+ Verifying...
210
+ ```
211
+
212
+ **Proceed to Step 4.**
213
+
214
+ ---
215
+
216
+ ### Step 4: Verify and Complete
217
+
218
+ **Quick verification:**
219
+ - Does the change match what was requested?
220
+ - Is the code syntactically correct?
221
+ - Are there any obvious issues?
222
+
223
+ **If issues found:** Fix them before proceeding.
224
+
225
+ **If verification passes:**
226
+
227
+ ```bash
228
+ # Commit the change
229
+ cd <worktree-path>
230
+ git add .
231
+ git commit -m "fix: [brief description]
232
+
233
+ 🤖 Generated with [Claude Code](https://claude.com/claude-code)
234
+
235
+ Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>"
236
+ ```
237
+
238
+ **Then merge (from main repo):**
239
+
240
+ ```bash
241
+ cd <main-repo-path>
242
+ jettypod work merge <chore-id>
243
+ jettypod work cleanup <chore-id>
244
+ ```
245
+
246
+ **If merge fails:**
247
+
248
+ When `jettypod work merge` encounters an error (e.g., merge conflicts), the worktree is preserved for debugging.
249
+
250
+ ```
251
+ ❌ Merge failed: [error message from git]
252
+
253
+ Conflicting files:
254
+ • [list conflicting files if available]
255
+
256
+ ⚠️ IMPORTANT: The worktree has been PRESERVED for debugging at:
257
+ [worktree-path]
258
+
259
+ Resolution steps:
260
+ 1. Navigate to the worktree: cd [worktree-path]
261
+ 2. Resolve the conflicts in the listed files
262
+ 3. Stage resolved files: git add [resolved-files]
263
+ 4. Commit the resolution: git commit -m "resolve: merge conflicts"
264
+ 5. Return to main repo: cd [main-repo-path]
265
+ 6. Retry the merge: jettypod work merge <chore-id>
266
+
267
+ Need help? Run: git status (in worktree) to see conflict status
268
+ ```
269
+
270
+ **⚡ WAIT for user to resolve conflicts before retrying.**
271
+
272
+ Do NOT attempt to auto-resolve conflicts - let the user handle them manually.
273
+
274
+ **Mark feature as done:**
275
+
276
+ ```bash
277
+ jettypod work status <feature-id> done
278
+ ```
279
+
280
+ **Display completion:**
281
+
282
+ ```
283
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
284
+ ✅ Simple Improvement Complete!
285
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
286
+
287
+ Change: [what was changed]
288
+ Files: [files modified]
289
+ Feature: #[id] marked as done
290
+
291
+ No further action needed.
292
+ ```
293
+
294
+ **END skill.**
295
+
296
+ ---
297
+
298
+ ## Key Differences from Speed/Stable Mode
299
+
300
+ | Aspect | Simple Improvement | Speed/Stable Mode |
301
+ |--------|-------------------|-------------------|
302
+ | Chores | 1 chore, no mode | Multiple chores with modes |
303
+ | BDD | Not required | Required |
304
+ | Handoff | None - direct to done | Speed → Stable → (Production) |
305
+ | Scope | Single focused change | Full feature implementation |
306
+ | Time | Minutes | Hours to days |
307
+
308
+ ---
309
+
310
+ ## Command Reference
311
+
312
+ ```bash
313
+ # Create chore (no mode)
314
+ jettypod work create chore "<title>" "<description>" --parent=<feature-id>
315
+
316
+ # Start chore
317
+ jettypod work start <chore-id>
318
+
319
+ # Merge (from main repo)
320
+ cd <main-repo> && jettypod work merge <chore-id>
321
+
322
+ # Cleanup
323
+ jettypod work cleanup <chore-id>
324
+
325
+ # Mark feature done
326
+ jettypod work status <feature-id> done
327
+ ```