Commit 8fce25d
committed
feat: add explicit skills folder handling to create-rule.js
Update create-rule script to properly handle the new skills folder
structure for claude-code and claude-code-4.5.
**Changes:**
- Exclude 'skills' from main directory copy
- Copy skills folder explicitly with progress indication
- Apply template substitutions to skills files
- Show clear progress: "Copying skills folder"
**Behavior:**
Skills are now excluded from the main recursive copy and copied
separately with proper template substitutions and progress feedback.
This ensures:
- Skills copied only once (no duplication)
- Template variables properly substituted
- Clear user feedback during installation
- Consistent with output-styles handling
**Impact:**
When users run `node create-rule.js --tool=claude-code` or
`--tool=claude-code-4.5`, the skills folder will be properly
copied to `~/.claude/skills/` with all agent prompts, workflows,
scripts, and documentation intact.1 parent 83c1d63 commit 8fce25d
1 file changed
+15
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
396 | | - | |
| 396 | + | |
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | 402 | | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
403 | 415 | | |
404 | 416 | | |
405 | 417 | | |
| |||
0 commit comments