claudekit-cli 1.12.3 → 1.14.0

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 CHANGED
@@ -62,15 +62,6 @@ yarn global add claudekit-cli
62
62
  pnpm add -g claudekit-cli
63
63
  ```
64
64
 
65
- ### From Source
66
-
67
- ```bash
68
- git clone https://github.com/mrgoonie/claudekit-cli
69
- cd claudekit-cli
70
- bun install
71
- bun link
72
- ```
73
-
74
65
  After installation, verify it's working:
75
66
 
76
67
  ```bash
@@ -104,6 +95,28 @@ ck new
104
95
  ck new --opencode --gemini
105
96
  ck new --opencode
106
97
  ck new --gemini
98
+
99
+ # With /ck: prefix for slash commands
100
+ ck new --prefix # All commands will be prefixed with /ck:
101
+ ck new --prefix --kit engineer
102
+ ```
103
+
104
+ **Command Prefix (`--prefix` flag):**
105
+
106
+ The `--prefix` flag reorganizes slash commands to use a `/ck:` namespace, moving all commands from `.claude/commands/*` to `.claude/commands/ck/*`.
107
+
108
+ **Benefits:**
109
+ - Namespace all ClaudeKit commands under `/ck:` (e.g., `/ck:plan`, `/ck:fix`, `/ck:cook`)
110
+ - Avoid conflicts with user's custom commands or other tools
111
+ - Cleaner command organization
112
+
113
+ **Example:**
114
+ ```bash
115
+ # Without --prefix
116
+ /plan, /fix, /cook
117
+
118
+ # With --prefix
119
+ /ck:plan, /ck:fix, /ck:cook
107
120
  ```
108
121
 
109
122
  ### Initialize or Update Project
@@ -129,10 +142,44 @@ ck init --exclude "local-config/**" --exclude "*.local"
129
142
  ck init --global
130
143
  ck init -g --kit engineer
131
144
 
145
+ # Fresh installation - completely remove .claude directory before downloading
146
+ # ⚠️ WARNING: This will permanently delete ALL custom files and configurations!
147
+ ck init --fresh
148
+ ck init --fresh --global # Fresh install in global mode
149
+
150
+ # With /ck: prefix for slash commands
151
+ ck init --prefix # All commands will be prefixed with /ck:
152
+ ck init --prefix --global
153
+
132
154
  # Legacy (deprecated - use 'init' instead)
133
155
  ck update # Shows deprecation warning
134
156
  ```
135
157
 
158
+ **Fresh Installation (`--fresh` flag):**
159
+
160
+ ⚠️ **WARNING: DESTRUCTIVE OPERATION**
161
+
162
+ The `--fresh` flag completely removes your `.claude` directory before downloading a new version. This is useful when:
163
+ - You want a completely clean installation
164
+ - You're experiencing corruption or configuration issues
165
+ - You want to reset to default settings
166
+
167
+ **What happens:**
168
+ 1. Shows confirmation prompt with full path to be deleted
169
+ 2. Requires typing "yes" to confirm
170
+ 3. Completely removes the `.claude` directory (or global directory with `--global`)
171
+ 4. Permanently deletes ALL custom files, configurations, and modifications
172
+ 5. Downloads and installs fresh version
173
+
174
+ **⚠️ Use with extreme caution:** All customizations will be lost. Back up any custom files before using this flag.
175
+
176
+ ```bash
177
+ # Fresh installation examples
178
+ ck init --fresh # Remove local .claude directory
179
+ ck init --fresh --global # Remove global ~/.claude directory
180
+ ck init --fresh --kit engineer # Fresh install specific kit
181
+ ```
182
+
136
183
  **Global vs Local Configuration:**
137
184
 
138
185
  By default, ClaudeKit will be installed in the current directory (`.claude` directory), or we used to call it project-scoped.
@@ -169,12 +216,60 @@ ck versions --all
169
216
 
170
217
  ### Diagnostics & Doctor
171
218
 
219
+ The `ck doctor` command checks system dependencies required for ClaudeKit skills and offers to install them automatically.
220
+
221
+ ```bash
222
+ # Interactive mode - checks and offers to install missing dependencies
223
+ ck doctor
224
+
225
+ # Non-interactive mode (CI/CD) - shows status only
226
+ CI=true ck doctor
227
+ NON_INTERACTIVE=1 ck doctor
228
+
229
+ # Also available: authentication and access diagnostics
230
+ ck diagnose # Check auth, access, releases
231
+ ck diagnose --verbose # Detailed diagnostics
232
+ ```
233
+
234
+ **What it checks:**
235
+ - Claude CLI (optional, v1.0.0+)
236
+ - Python (required, v3.8.0+)
237
+ - pip (required, any version)
238
+ - Node.js (required, v16.0.0+)
239
+ - npm (required, any version)
240
+ - Global and project ClaudeKit setup
241
+ - Component counts (agents, commands, workflows, skills)
242
+
243
+ **Auto-installation support:**
244
+ - **macOS**: Homebrew, installer script
245
+ - **Linux**: apt, dnf, pacman, installer script
246
+ - **Windows**: PowerShell script
247
+ - Cross-platform with WSL support
248
+
249
+ **Security notes:**
250
+ - All installations require user confirmation in interactive mode
251
+ - Manual installation instructions provided as fallback
252
+ - No automatic installation in CI/CD environments
253
+
254
+ ### Uninstall
255
+
256
+ Remove ClaudeKit installations from your system:
257
+
172
258
  ```bash
173
- ck diagnose # Check auth, access, releases
174
- ck doctor # Show setup overview, component counts
175
- ck diagnose --verbose # Detailed diagnostics
259
+ ck uninstall # Interactive mode - prompts for confirmation
260
+ ck uninstall --yes # Non-interactive - skip confirmation (for scripts)
261
+ ck uninstall -y # Short flag
176
262
  ```
177
263
 
264
+ **What it does:**
265
+ - Detects local `.claude` directory in current project
266
+ - Detects global `~/.claude` ClaudeKit installation
267
+ - Shows paths before deletion
268
+ - Requires confirmation (unless `--yes` flag)
269
+ - Safely removes detected installations
270
+
271
+ **Note:** Only removes valid ClaudeKit installations (with metadata.json). Regular `.claude` directories from Claude Desktop are not affected.
272
+
178
273
  ### Other Commands
179
274
 
180
275
  ```bash
@@ -272,9 +367,9 @@ sudo apt install gh
272
367
  Run diagnostics to check for common issues:
273
368
 
274
369
  ```bash
370
+ ck doctor # Check dependencies and offer installation
275
371
  ck diagnose # Check authentication, access, releases
276
372
  ck new --verbose # Enable detailed logging
277
- ck doctor # Show setup overview
278
373
  ```
279
374
 
280
375
  **Common Issues:**
Binary file
package/bin/ck-darwin-x64 CHANGED
Binary file
package/bin/ck-linux-x64 CHANGED
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudekit-cli",
3
- "version": "1.12.3",
3
+ "version": "1.14.0",
4
4
  "description": "CLI tool for bootstrapping and updating ClaudeKit projects",
5
5
  "type": "module",
6
6
  "repository": {