claude-cli-advanced-starter-pack 1.8.3 → 1.8.4
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/README.md +6 -2
- package/bin/gtask.js +24 -0
- package/package.json +1 -1
- package/src/commands/global-reinstall.js +243 -0
- package/src/commands/global-uninstall.js +229 -0
- package/src/commands/init.js +224 -0
- package/src/commands/uninstall.js +8 -1
- package/src/data/releases.json +15 -0
- package/src/utils/global-registry.js +230 -0
- package/src/utils/paths.js +146 -0
- package/templates/commands/create-task-list-for-issue.template.md +216 -0
- package/templates/commands/create-task-list.template.md +280 -82
- package/templates/commands/menu-issues-list.template.md +288 -0
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Mobile-friendly menu of open GitHub issues sorted by date
|
|
3
|
+
type: utility
|
|
4
|
+
complexity: simple
|
|
5
|
+
model: haiku
|
|
6
|
+
allowed-tools:
|
|
7
|
+
- Bash
|
|
8
|
+
- AskUserQuestion
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# /menu-issues-list - Quick Issues View
|
|
12
|
+
|
|
13
|
+
**Mobile-friendly list of open GitHub issues with single-character selection.**
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## EXECUTION
|
|
18
|
+
|
|
19
|
+
### Step 1: Fetch and Display Issues
|
|
20
|
+
|
|
21
|
+
Run this command to get open issues:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
gh issue list --state open --json number,title,createdAt,labels --limit 20
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### Step 2: Format for Mobile Display
|
|
28
|
+
|
|
29
|
+
Display issues in this compact format (sorted newest to oldest):
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
╔═══════════════════════════════════════╗
|
|
33
|
+
║ 📋 Open Issues ║
|
|
34
|
+
╠═══════════════════════════════════════╣
|
|
35
|
+
║ ║
|
|
36
|
+
║ [A] #123 - Fix login redirect bug ║
|
|
37
|
+
║ 01/30 • P1 • frontend ║
|
|
38
|
+
║ ║
|
|
39
|
+
║ [B] #122 - Add dark mode toggle ║
|
|
40
|
+
║ 01/29 • P2 • feature ║
|
|
41
|
+
║ ║
|
|
42
|
+
║ [C] #121 - Update API docs ║
|
|
43
|
+
║ 01/28 • P3 • docs ║
|
|
44
|
+
║ ║
|
|
45
|
+
║ [D] #120 - Refactor auth module ║
|
|
46
|
+
║ 01/27 • P2 • backend ║
|
|
47
|
+
║ ║
|
|
48
|
+
╠═══════════════════════════════════════╣
|
|
49
|
+
║ [R] Refresh [X] Exit ║
|
|
50
|
+
╚═══════════════════════════════════════╝
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
**Format Rules:**
|
|
54
|
+
- Title: Max 30 chars, truncate with `...` if longer
|
|
55
|
+
- Date: `MM/DD` format (createdAt)
|
|
56
|
+
- Priority: Extract from labels (P0, P1, P2, P3) or show `-`
|
|
57
|
+
- Labels: Show first non-priority label, max 10 chars
|
|
58
|
+
- Sort: Newest first (by createdAt descending)
|
|
59
|
+
|
|
60
|
+
### Step 3: Ask User Selection
|
|
61
|
+
|
|
62
|
+
Use AskUserQuestion with single-letter options:
|
|
63
|
+
|
|
64
|
+
```
|
|
65
|
+
header: "Select"
|
|
66
|
+
question: "Pick an issue (A-Z) or action:"
|
|
67
|
+
options:
|
|
68
|
+
- label: "A"
|
|
69
|
+
description: "#123 - Fix login redirect bug"
|
|
70
|
+
- label: "B"
|
|
71
|
+
description: "#122 - Add dark mode toggle"
|
|
72
|
+
- label: "C"
|
|
73
|
+
description: "#121 - Update API docs"
|
|
74
|
+
- label: "R"
|
|
75
|
+
description: "Refresh list"
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Step 4: Handle Selection
|
|
79
|
+
|
|
80
|
+
**If user selects an issue (A-Z):**
|
|
81
|
+
|
|
82
|
+
First, fetch full issue details including body:
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
gh issue view [NUMBER] --json number,title,body,createdAt,labels,url
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
**Detect Issue Format:**
|
|
89
|
+
|
|
90
|
+
Check if the issue body contains BOTH of these indicators of `/github-task` format:
|
|
91
|
+
- `## Acceptance Criteria` OR `## Task Checklist` section
|
|
92
|
+
- `## Suggested Implementation` OR `## Implementation Approach` section
|
|
93
|
+
|
|
94
|
+
**If PROPERLY FORMATTED** (created by `/github-task`):
|
|
95
|
+
|
|
96
|
+
Show issue details with format indicator:
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
╔═══════════════════════════════════════╗
|
|
100
|
+
║ Issue #123 ✓ Task-Ready ║
|
|
101
|
+
╠═══════════════════════════════════════╣
|
|
102
|
+
║ ║
|
|
103
|
+
║ Fix login redirect bug ║
|
|
104
|
+
║ ║
|
|
105
|
+
║ Created: 01/30/2026 ║
|
|
106
|
+
║ Labels: P1, frontend, bug ║
|
|
107
|
+
║ URL: github.com/.../issues/123 ║
|
|
108
|
+
║ ║
|
|
109
|
+
║ Format: Task-ready (has checklist) ║
|
|
110
|
+
║ ║
|
|
111
|
+
╠═══════════════════════════════════════╣
|
|
112
|
+
║ [S] Start (use existing tasks) ║
|
|
113
|
+
║ [V] View details [B] Back [X] Exit ║
|
|
114
|
+
╚═══════════════════════════════════════╝
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
Then ask:
|
|
118
|
+
|
|
119
|
+
```
|
|
120
|
+
header: "Action"
|
|
121
|
+
question: "What would you like to do?"
|
|
122
|
+
options:
|
|
123
|
+
- label: "S - Start working"
|
|
124
|
+
description: "Execute task checklist from issue"
|
|
125
|
+
- label: "V - View details"
|
|
126
|
+
description: "Show full issue body"
|
|
127
|
+
- label: "B - Back"
|
|
128
|
+
description: "Return to issues list"
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
**If NOT PROPERLY FORMATTED** (generic issue):
|
|
132
|
+
|
|
133
|
+
Show issue details with exploration indicator:
|
|
134
|
+
|
|
135
|
+
```
|
|
136
|
+
╔═══════════════════════════════════════╗
|
|
137
|
+
║ Issue #123 ⚠ Needs Analysis ║
|
|
138
|
+
╠═══════════════════════════════════════╣
|
|
139
|
+
║ ║
|
|
140
|
+
║ Fix login redirect bug ║
|
|
141
|
+
║ ║
|
|
142
|
+
║ Created: 01/30/2026 ║
|
|
143
|
+
║ Labels: P1, frontend, bug ║
|
|
144
|
+
║ URL: github.com/.../issues/123 ║
|
|
145
|
+
║ ║
|
|
146
|
+
║ Format: Needs task list generation ║
|
|
147
|
+
║ ║
|
|
148
|
+
╠═══════════════════════════════════════╣
|
|
149
|
+
║ [S] Start (explore + generate tasks) ║
|
|
150
|
+
║ [V] View details [B] Back [X] Exit ║
|
|
151
|
+
╚═══════════════════════════════════════╝
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
Then ask:
|
|
155
|
+
|
|
156
|
+
```
|
|
157
|
+
header: "Action"
|
|
158
|
+
question: "What would you like to do?"
|
|
159
|
+
options:
|
|
160
|
+
- label: "S - Start working"
|
|
161
|
+
description: "Run /create-task-list to analyze and generate tasks"
|
|
162
|
+
- label: "V - View details"
|
|
163
|
+
description: "Show full issue body"
|
|
164
|
+
- label: "B - Back"
|
|
165
|
+
description: "Return to issues list"
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
### Step 5: Handle "Start Working" - ALWAYS Run Full /create-task-list Process
|
|
169
|
+
|
|
170
|
+
**BOTH PATHS run the full `/create-task-list` workflow**, including:
|
|
171
|
+
- Agent-based codebase exploration
|
|
172
|
+
- Testing options (Ralph loop, E2E framework selection)
|
|
173
|
+
- Environment configuration from tech-stack.json
|
|
174
|
+
- Workflow options (branch, worktree, project board)
|
|
175
|
+
|
|
176
|
+
The only difference is whether we **generate** a new task list or **use** the existing one from the issue.
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
**For PROPERLY FORMATTED issues (S action):**
|
|
181
|
+
|
|
182
|
+
Run `/create-task-list for issue #[NUMBER] --use-existing-tasks`
|
|
183
|
+
|
|
184
|
+
This executes the full `/create-task-list` process but:
|
|
185
|
+
1. **Skips task generation** - uses the existing `## Task Checklist` from issue body
|
|
186
|
+
2. **Runs codebase exploration** - agents analyze relevant files for context
|
|
187
|
+
3. **Asks testing questions** - Ralph loop, E2E framework, test environment
|
|
188
|
+
4. **Asks workflow questions** - branch creation, worktree, project board sync
|
|
189
|
+
5. **Creates TodoWrite entries** from the issue's existing checklist
|
|
190
|
+
6. **Begins implementation** with full context
|
|
191
|
+
|
|
192
|
+
```
|
|
193
|
+
╔═══════════════════════════════════════════════════════════════╗
|
|
194
|
+
║ 📋 Starting Issue #[NUMBER] (Task-Ready) ║
|
|
195
|
+
╠═══════════════════════════════════════════════════════════════╣
|
|
196
|
+
║ Using existing task checklist from issue ║
|
|
197
|
+
║ Running full /create-task-list workflow for: ║
|
|
198
|
+
║ • Codebase exploration & context ║
|
|
199
|
+
║ • Testing configuration (Ralph loop, E2E) ║
|
|
200
|
+
║ • Workflow setup (branch, board sync) ║
|
|
201
|
+
╚═══════════════════════════════════════════════════════════════╝
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
---
|
|
205
|
+
|
|
206
|
+
**For NOT PROPERLY FORMATTED issues (S action):**
|
|
207
|
+
|
|
208
|
+
Run `/create-task-list for issue #[NUMBER]`
|
|
209
|
+
|
|
210
|
+
This executes the full `/create-task-list` process:
|
|
211
|
+
1. **Generates task list** - agents explore codebase and create tasks
|
|
212
|
+
2. **Runs codebase exploration** - deep analysis of relevant files
|
|
213
|
+
3. **Asks testing questions** - Ralph loop, E2E framework, test environment
|
|
214
|
+
4. **Asks workflow questions** - branch creation, worktree, project board sync
|
|
215
|
+
5. **Creates TodoWrite entries** from generated tasks
|
|
216
|
+
6. **Offers to update GitHub issue** with the generated task list
|
|
217
|
+
7. **Begins implementation** with full context
|
|
218
|
+
|
|
219
|
+
```
|
|
220
|
+
╔═══════════════════════════════════════════════════════════════╗
|
|
221
|
+
║ 📋 Starting Issue #[NUMBER] (Needs Analysis) ║
|
|
222
|
+
╠═══════════════════════════════════════════════════════════════╣
|
|
223
|
+
║ Running full /create-task-list workflow for: ║
|
|
224
|
+
║ • Task generation via codebase exploration ║
|
|
225
|
+
║ • Testing configuration (Ralph loop, E2E) ║
|
|
226
|
+
║ • Workflow setup (branch, board sync) ║
|
|
227
|
+
║ • Option to update issue with generated tasks ║
|
|
228
|
+
╚═══════════════════════════════════════════════════════════════╝
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
After task list is generated, ask:
|
|
232
|
+
|
|
233
|
+
```
|
|
234
|
+
header: "Update"
|
|
235
|
+
question: "Update GitHub issue with generated task list?"
|
|
236
|
+
options:
|
|
237
|
+
- label: "Y - Yes, update issue"
|
|
238
|
+
description: "Add task checklist to issue body"
|
|
239
|
+
- label: "N - No, just implement"
|
|
240
|
+
description: "Keep issue as-is, start work"
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
If user selects Y:
|
|
244
|
+
```bash
|
|
245
|
+
# Append task checklist to issue body
|
|
246
|
+
gh issue edit [NUMBER] --body "$(gh issue view [NUMBER] --json body -q .body)
|
|
247
|
+
|
|
248
|
+
## Task Checklist (Auto-generated)
|
|
249
|
+
|
|
250
|
+
- [ ] Task 1
|
|
251
|
+
- [ ] Task 2
|
|
252
|
+
..."
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
**Other Actions:**
|
|
256
|
+
- **V (View)**: Run `gh issue view [NUMBER]` and display full body
|
|
257
|
+
- **B (Back)**: Return to Step 2
|
|
258
|
+
- **R (Refresh)**: Re-fetch issues and display
|
|
259
|
+
- **X (Exit)**: End command
|
|
260
|
+
|
|
261
|
+
---
|
|
262
|
+
|
|
263
|
+
## MOBILE OPTIMIZATION
|
|
264
|
+
|
|
265
|
+
- Single character inputs (A, B, C, S, V, X)
|
|
266
|
+
- Compact display fits small screens
|
|
267
|
+
- No scrolling needed for main list
|
|
268
|
+
- Clear visual hierarchy with boxes
|
|
269
|
+
- Truncated titles prevent overflow
|
|
270
|
+
|
|
271
|
+
---
|
|
272
|
+
|
|
273
|
+
## ERROR HANDLING
|
|
274
|
+
|
|
275
|
+
| Error | Action |
|
|
276
|
+
|-------|--------|
|
|
277
|
+
| No issues found | Display "No open issues" message |
|
|
278
|
+
| gh not authenticated | Show `gh auth login` instructions |
|
|
279
|
+
| Network error | Show retry option |
|
|
280
|
+
|
|
281
|
+
---
|
|
282
|
+
|
|
283
|
+
## RELATED COMMANDS
|
|
284
|
+
|
|
285
|
+
- `/create-task-list-for-issue` - Start issue by number directly
|
|
286
|
+
- `/create-task-list` - Create task list from issue
|
|
287
|
+
- `/github-task-start` - Start working on issue
|
|
288
|
+
- `/github-update` - Sync with project board
|