claude-cli-advanced-starter-pack 1.0.4 → 1.0.5
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 +40 -5
- package/package.json +1 -1
- package/src/commands/init.js +71 -26
- package/src/commands/setup-wizard.js +428 -64
- package/src/data/releases.json +265 -0
- package/src/utils/version-check.js +512 -0
- package/templates/commands/project-impl.template.md +320 -0
- package/templates/commands/update-check.template.md +322 -0
package/README.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# Claude CLI Advanced Starter Pack
|
|
2
2
|
|
|
3
|
+
```
|
|
4
|
+
╔═══════════════════════════════════════════════════════════════════════════════╗
|
|
5
|
+
║ ║
|
|
6
|
+
║ ╔═╗╦ ╔═╗╦ ╦╔╦╗╔═╗ ╔═╗╔╦╗╦ ╦╔═╗╔╗╔╔═╗╔═╗╔╦╗ ╔═╗╔╦╗╔═╗╦═╗╔╦╗╔═╗╦═╗ ║
|
|
7
|
+
║ ║ ║ ╠═╣║ ║ ║║║╣ ╠═╣ ║║╚╗╔╝╠═╣║║║║ ║╣ ║║ ╚═╗ ║ ╠═╣╠╦╝ ║ ║╣ ╠╦╝ ║
|
|
8
|
+
║ ╚═╝╩═╝╩ ╩╚═╝═╩╝╚═╝ ╩ ╩═╩╝ ╚╝ ╩ ╩╝╚╝╚═╝╚═╝═╩╝ ╚═╝ ╩ ╩ ╩╩╚═ ╩ ╚═╝╩╚═ ║
|
|
9
|
+
║ ║
|
|
10
|
+
║ Your Project Name Here ║
|
|
11
|
+
║ ║
|
|
12
|
+
╠═══════════════════════════════════════════════════════════════════════════════╣
|
|
13
|
+
║ ║
|
|
14
|
+
║ Quick Actions: ║
|
|
15
|
+
║ ───────────── ║
|
|
16
|
+
║ [T] Run Tests [G] GitHub Task [P] Phase Dev Plan ║
|
|
17
|
+
║ [A] Create Agent [H] Create Hook [S] Create Skill ║
|
|
18
|
+
║ [M] Explore MCP [C] Claude Audit [E] Explore Codebase ║
|
|
19
|
+
║ ║
|
|
20
|
+
║ Project Resources: ║
|
|
21
|
+
║ ────────────────── ║
|
|
22
|
+
║ [1] View Agents [2] View Skills [3] View Hooks ║
|
|
23
|
+
║ [4] View Commands [5] Settings [6] Documentation ║
|
|
24
|
+
║ ║
|
|
25
|
+
║ Project Implementation: ║
|
|
26
|
+
║ ─────────────────────── ║
|
|
27
|
+
║ [I] /project-impl Agent-powered setup & configuration ║
|
|
28
|
+
║ ║
|
|
29
|
+
║ Navigation: ║
|
|
30
|
+
║ ─────────── ║
|
|
31
|
+
║ [U] Check for Updates [R] Refresh Menu [?] Help [Q] Exit ║
|
|
32
|
+
║ ║
|
|
33
|
+
╚═══════════════════════════════════════════════════════════════════════════════╝
|
|
34
|
+
```
|
|
35
|
+
|
|
3
36
|
**Advanced Claude Code CLI Toolkit - Agents, Hooks, Skills, MCP Servers, Phased Development, and GitHub Integration**
|
|
4
37
|
|
|
5
38
|
A platform-agnostic toolkit for supercharging your Claude Code CLI experience with:
|
|
@@ -65,12 +98,14 @@ Mobile-ready setup with single-character inputs:
|
|
|
65
98
|
1. Quick Start - Detect stack + init .claude
|
|
66
99
|
2. Full Setup - All features + customization
|
|
67
100
|
3. GitHub Setup - Connect project board
|
|
68
|
-
4.
|
|
69
|
-
5.
|
|
70
|
-
6.
|
|
71
|
-
7. View Templates - Browse available items
|
|
72
|
-
8. Project Settings - Configure deployment, tunnels, etc.
|
|
101
|
+
4. View Templates - Browse available items
|
|
102
|
+
5. Prior Releases - Review & add features from past versions
|
|
103
|
+
6. Remove CCASP - Uninstall from this project
|
|
73
104
|
0. Exit
|
|
105
|
+
|
|
106
|
+
Agent-powered features (audit, enhance, detect, configure) available via:
|
|
107
|
+
/project-impl - In Claude Code CLI
|
|
108
|
+
/update-check - Check for updates and add new features
|
|
74
109
|
```
|
|
75
110
|
|
|
76
111
|
**Feature Presets** (just type A, B, C, or D):
|
package/package.json
CHANGED
package/src/commands/init.js
CHANGED
|
@@ -233,6 +233,18 @@ const AVAILABLE_COMMANDS = [
|
|
|
233
233
|
selected: false,
|
|
234
234
|
feature: 'deploymentAutomation',
|
|
235
235
|
},
|
|
236
|
+
{
|
|
237
|
+
name: 'project-impl',
|
|
238
|
+
description: 'Agent-powered project implementation (audit, enhance, detect, configure)',
|
|
239
|
+
category: 'Setup',
|
|
240
|
+
selected: true,
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
name: 'update-check',
|
|
244
|
+
description: 'Check for CCASP updates and add new features to your project',
|
|
245
|
+
category: 'Maintenance',
|
|
246
|
+
selected: true,
|
|
247
|
+
},
|
|
236
248
|
];
|
|
237
249
|
|
|
238
250
|
/**
|
|
@@ -324,9 +336,13 @@ description: Interactive project menu - Quick access to all commands, agents, sk
|
|
|
324
336
|
║ [1] View Agents [2] View Skills [3] View Hooks ║
|
|
325
337
|
║ [4] View Commands [5] Settings [6] Documentation ║
|
|
326
338
|
║ ║
|
|
339
|
+
║ Project Implementation: ║
|
|
340
|
+
║ ─────────────────────── ║
|
|
341
|
+
║ [I] /project-impl Agent-powered setup & configuration ║
|
|
342
|
+
║ ║
|
|
327
343
|
║ Navigation: ║
|
|
328
344
|
║ ─────────── ║
|
|
329
|
-
║ [R] Refresh Menu [?] Help
|
|
345
|
+
║ [U] Check for Updates [R] Refresh Menu [?] Help [Q] Exit ║
|
|
330
346
|
║ ║
|
|
331
347
|
╚═══════════════════════════════════════════════════════════════════════════════╝
|
|
332
348
|
\`\`\`
|
|
@@ -354,6 +370,8 @@ When the user invokes \`/menu\`, display the ASCII menu above and wait for their
|
|
|
354
370
|
| **4** | List all commands | Read \`.claude/commands/INDEX.md\` |
|
|
355
371
|
| **5** | View/edit settings | Read \`.claude/settings.json\` |
|
|
356
372
|
| **6** | Open documentation | Read \`.claude/docs/\` |
|
|
373
|
+
| **I** | Project Implementation | \`/project-impl\` |
|
|
374
|
+
| **U** | Check for Updates | \`/update-check\` |
|
|
357
375
|
| **R** | Refresh and redisplay menu | Re-invoke \`/menu\` |
|
|
358
376
|
| **?** | Show help | Display command descriptions |
|
|
359
377
|
| **Q** | Exit menu | End menu interaction |
|
|
@@ -368,12 +386,26 @@ ${hooksSection}
|
|
|
368
386
|
|
|
369
387
|
When this command is invoked:
|
|
370
388
|
|
|
371
|
-
1. **
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
389
|
+
1. **Check for updates** (background check):
|
|
390
|
+
- Read \`.claude/config/ccasp-state.json\` if it exists
|
|
391
|
+
- Check if there's a cached update notification that should be shown
|
|
392
|
+
- If an update is available and not dismissed, show a banner above the menu:
|
|
393
|
+
|
|
394
|
+
\`\`\`
|
|
395
|
+
┌──────────────────────────────────────────────────────────────┐
|
|
396
|
+
│ 🆕 UPDATE AVAILABLE: v1.0.X → v1.0.Y │
|
|
397
|
+
│ New features available! Press [U] to see what's new. │
|
|
398
|
+
└──────────────────────────────────────────────────────────────┘
|
|
399
|
+
\`\`\`
|
|
400
|
+
|
|
401
|
+
2. **Display the ASCII menu** exactly as shown above
|
|
402
|
+
3. **Ask the user** what they would like to do (show the key bindings)
|
|
403
|
+
4. **Wait for user input** - a single character or command name
|
|
404
|
+
5. **Execute the corresponding action**:
|
|
375
405
|
- For slash commands: Invoke the command directly
|
|
376
406
|
- For resource views: Read and display the contents
|
|
407
|
+
- For U: Invoke \`/update-check\` to show updates and add features
|
|
408
|
+
- For I: Invoke \`/project-impl\` for project implementation
|
|
377
409
|
- For R: Redisplay the menu
|
|
378
410
|
- For Q: End the menu session
|
|
379
411
|
|
|
@@ -381,13 +413,22 @@ When this command is invoked:
|
|
|
381
413
|
|
|
382
414
|
\`\`\`
|
|
383
415
|
User: /menu
|
|
416
|
+
Claude: [Shows update banner if available]
|
|
384
417
|
Claude: [Displays ASCII menu]
|
|
385
|
-
Claude: What would you like to do? Enter a key (T/G/P/A/H/S/M/C/E/1-6/R/?/Q):
|
|
418
|
+
Claude: What would you like to do? Enter a key (T/G/P/A/H/S/M/C/E/1-6/I/U/R/?/Q):
|
|
386
419
|
|
|
387
|
-
User:
|
|
388
|
-
Claude:
|
|
420
|
+
User: U
|
|
421
|
+
Claude: [Invokes /update-check to show available updates]
|
|
389
422
|
\`\`\`
|
|
390
423
|
|
|
424
|
+
### Update Check Behavior
|
|
425
|
+
|
|
426
|
+
When checking for updates:
|
|
427
|
+
- Read \`.claude/config/ccasp-state.json\` for cached update info
|
|
428
|
+
- If \`lastCheckResult.latestVersion\` is newer than installed version, show banner
|
|
429
|
+
- Update notifications auto-dismiss after 1 day
|
|
430
|
+
- User can press [U] anytime to check manually and add new features
|
|
431
|
+
|
|
391
432
|
### Dynamic Content
|
|
392
433
|
|
|
393
434
|
When displaying resource views (1-6), read the actual contents from:
|
|
@@ -1023,10 +1064,8 @@ options:
|
|
|
1023
1064
|
description: "Auto-detect + init"
|
|
1024
1065
|
- label: "Full Setup"
|
|
1025
1066
|
description: "All features"
|
|
1026
|
-
- label: "
|
|
1027
|
-
description: "
|
|
1028
|
-
- label: "Enhance"
|
|
1029
|
-
description: "Generate CLAUDE.md"
|
|
1067
|
+
- label: "Prior Releases"
|
|
1068
|
+
description: "Add features from updates"
|
|
1030
1069
|
---
|
|
1031
1070
|
|
|
1032
1071
|
# CCASP Setup Wizard
|
|
@@ -1035,17 +1074,17 @@ Interactive setup wizard for Claude Code CLI enhancement.
|
|
|
1035
1074
|
|
|
1036
1075
|
## Quick Options
|
|
1037
1076
|
|
|
1038
|
-
Reply with a **number**
|
|
1077
|
+
Reply with a **number** to select:
|
|
1039
1078
|
|
|
1040
1079
|
| # | Action | Description |
|
|
1041
1080
|
|---|--------|-------------|
|
|
1042
1081
|
| **1** | Quick Start | Auto-detect stack + init .claude |
|
|
1043
1082
|
| **2** | Full Setup | All features with customization |
|
|
1044
1083
|
| **3** | GitHub | Connect project board |
|
|
1045
|
-
| **4** |
|
|
1046
|
-
| **5** |
|
|
1047
|
-
| **6** |
|
|
1048
|
-
| **
|
|
1084
|
+
| **4** | Templates | Browse available items |
|
|
1085
|
+
| **5** | Prior Releases | Review & add features from past versions |
|
|
1086
|
+
| **6** | Remove CCASP | Uninstall from this project |
|
|
1087
|
+
| **0** | Exit | Close wizard |
|
|
1049
1088
|
|
|
1050
1089
|
## Feature Presets
|
|
1051
1090
|
|
|
@@ -1056,6 +1095,11 @@ Reply with a **number** or **letter** to select:
|
|
|
1056
1095
|
| **C** | Full | Everything including agents |
|
|
1057
1096
|
| **D** | Custom | Pick individual features |
|
|
1058
1097
|
|
|
1098
|
+
## Related Commands
|
|
1099
|
+
|
|
1100
|
+
- \`/project-impl\` - Agent-powered project implementation (audit, enhance, detect, configure)
|
|
1101
|
+
- \`/update-check\` - Check for updates and add new features to your project
|
|
1102
|
+
|
|
1059
1103
|
## Instructions for Claude
|
|
1060
1104
|
|
|
1061
1105
|
When this command is invoked:
|
|
@@ -1065,22 +1109,23 @@ When this command is invoked:
|
|
|
1065
1109
|
- Does \`CLAUDE.md\` exist? (check with Bash: ls -la CLAUDE.md 2>/dev/null)
|
|
1066
1110
|
- Is tech stack detected? (check for package.json, pyproject.toml, etc.)
|
|
1067
1111
|
|
|
1068
|
-
2. **
|
|
1112
|
+
2. **Check for updates** (display banner if new version available)
|
|
1113
|
+
|
|
1114
|
+
3. **Present the quick options menu** and wait for user selection
|
|
1069
1115
|
|
|
1070
|
-
|
|
1071
|
-
- If user types a number (1-
|
|
1116
|
+
4. **Handle user selection**:
|
|
1117
|
+
- If user types a number (1-6), execute that action
|
|
1072
1118
|
- If user types a letter (A-D), apply that preset
|
|
1073
1119
|
- For "1" (Quick Start): run tech detection, show results, apply Standard preset
|
|
1074
|
-
- For "
|
|
1075
|
-
- For "5" (Enhance): offer to generate missing sections
|
|
1120
|
+
- For "5" (Prior Releases): show release history and feature management
|
|
1076
1121
|
|
|
1077
|
-
|
|
1122
|
+
5. **For Quick Start**:
|
|
1078
1123
|
- Detect tech stack from package.json, config files
|
|
1079
1124
|
- Show summary of detected stack
|
|
1080
1125
|
- Create .claude/ folder with commands, settings
|
|
1081
1126
|
- Generate CLAUDE.md with detected stack info
|
|
1082
1127
|
|
|
1083
|
-
|
|
1128
|
+
6. **CRITICAL - Session Restart Reminder**:
|
|
1084
1129
|
After ANY action that modifies \`.claude/\` or \`CLAUDE.md\`, display:
|
|
1085
1130
|
|
|
1086
1131
|
⚠️ RESTART REQUIRED
|
|
@@ -1092,8 +1137,8 @@ When this command is invoked:
|
|
|
1092
1137
|
2. Restart: claude or claude .
|
|
1093
1138
|
3. New commands will be available
|
|
1094
1139
|
|
|
1095
|
-
Actions requiring restart: 1, 2, 3, 5
|
|
1096
|
-
Actions NOT requiring restart: 4 (
|
|
1140
|
+
Actions requiring restart: 1, 2, 3, 5 (if features added)
|
|
1141
|
+
Actions NOT requiring restart: 4 (templates)
|
|
1097
1142
|
|
|
1098
1143
|
## Vibe-Code Design
|
|
1099
1144
|
|