@kood/claude-code 0.4.0 → 0.4.1
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/dist/index.js +1 -1
- package/package.json +1 -1
- package/templates/.claude/commands/plan.md +8 -13
package/dist/index.js
CHANGED
|
@@ -435,7 +435,7 @@ var init = async (options) => {
|
|
|
435
435
|
|
|
436
436
|
// src/index.ts
|
|
437
437
|
var program = new Command();
|
|
438
|
-
program.name("claude-code").description("Claude Code documentation installer for projects").version("0.4.
|
|
438
|
+
program.name("claude-code").description("Claude Code documentation installer for projects").version("0.4.1");
|
|
439
439
|
program.option(
|
|
440
440
|
"-t, --template <names>",
|
|
441
441
|
"template names (comma-separated: tanstack-start,hono)"
|
package/package.json
CHANGED
|
@@ -61,8 +61,7 @@ $ARGUMENTS provided → Proceed to next step
|
|
|
61
61
|
| 3. Explore codebase | Understand current state, explore related files | Task (Explore) + Read/Grep |
|
|
62
62
|
| 4. Derive options | Generate 4-5 possible approaches → select 2-3 main | sequentialthinking (steps 2-6) |
|
|
63
63
|
| 5. Present options | Present pros/cons, impact scope, recommendation | - |
|
|
64
|
-
| 6. User selection | Wait for option selection |
|
|
65
|
-
| 7. Document generation | Generate plan document when selected | Write |
|
|
64
|
+
| 6. User selection & document generation | Wait for option selection, then generate plan document | Write |
|
|
66
65
|
|
|
67
66
|
</workflow>
|
|
68
67
|
|
|
@@ -323,16 +322,14 @@ Which option would you choose? (A/B)
|
|
|
323
322
|
|
|
324
323
|
## Document generation
|
|
325
324
|
|
|
326
|
-
###
|
|
325
|
+
### Automatic document creation
|
|
326
|
+
|
|
327
|
+
After user selects an option, automatically create a plan document at `.claude/plans/[feature-name].md`.
|
|
327
328
|
|
|
328
329
|
```
|
|
329
330
|
You selected Option [N].
|
|
330
331
|
|
|
331
|
-
|
|
332
|
-
- Y: Create .claude/plans/[feature-name].md
|
|
333
|
-
- N: Start implementation directly
|
|
334
|
-
|
|
335
|
-
Please choose. (Y/N)
|
|
332
|
+
Creating plan document at .claude/plans/[feature-name].md...
|
|
336
333
|
```
|
|
337
334
|
|
|
338
335
|
### Plan document template
|
|
@@ -479,9 +476,7 @@ User: /plan Change user authentication from JWT to session-based
|
|
|
479
476
|
|
|
480
477
|
4. User choice: 1
|
|
481
478
|
|
|
482
|
-
5.
|
|
483
|
-
|
|
484
|
-
6. Create .claude/plans/session-auth.md
|
|
479
|
+
5. Automatically create .claude/plans/session-auth.md
|
|
485
480
|
```
|
|
486
481
|
|
|
487
482
|
### Example 2: Add real-time notifications
|
|
@@ -504,7 +499,7 @@ User: /plan Add real-time notification feature
|
|
|
504
499
|
Option 2: Server-Sent Events
|
|
505
500
|
Option 3: Short Polling
|
|
506
501
|
|
|
507
|
-
4. After selection, create plan document
|
|
502
|
+
4. After user selection, automatically create plan document
|
|
508
503
|
```
|
|
509
504
|
|
|
510
505
|
### Example 3: Simple refactoring
|
|
@@ -525,7 +520,7 @@ User: /plan Convert utils functions to TypeScript
|
|
|
525
520
|
Option A: Incremental conversion (per file)
|
|
526
521
|
Option B: Batch conversion
|
|
527
522
|
|
|
528
|
-
4. After choice →
|
|
523
|
+
4. After user choice → create plan document → implement
|
|
529
524
|
```
|
|
530
525
|
|
|
531
526
|
</examples>
|