claude-code-workflow 6.3.43 → 6.3.46

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.
Files changed (78) hide show
  1. package/.claude/agents/tdd-developer.md +530 -0
  2. package/.claude/commands/ccw-coordinator.md +1042 -0
  3. package/.claude/commands/ccw.md +486 -0
  4. package/.claude/commands/issue/discover-by-prompt.md +5 -1
  5. package/.claude/commands/issue/discover.md +472 -468
  6. package/.claude/commands/issue/execute.md +580 -581
  7. package/.claude/commands/issue/new.md +417 -413
  8. package/.claude/commands/issue/plan.md +5 -1
  9. package/.claude/commands/issue/queue.md +445 -441
  10. package/.claude/commands/task/breakdown.md +207 -203
  11. package/.claude/commands/task/replan.md +440 -436
  12. package/.claude/commands/workflow/action-plan-verify.md +485 -447
  13. package/.claude/commands/workflow/brainstorm/artifacts.md +457 -453
  14. package/.claude/commands/workflow/brainstorm/auto-parallel.md +5 -1
  15. package/.claude/commands/workflow/brainstorm/synthesis.md +402 -398
  16. package/.claude/commands/workflow/clean.md +67 -35
  17. package/.claude/commands/workflow/debug-with-file.md +670 -666
  18. package/.claude/commands/workflow/debug.md +331 -327
  19. package/.claude/commands/workflow/develop-with-file.md +5 -1
  20. package/.claude/commands/workflow/execute.md +546 -498
  21. package/.claude/commands/workflow/lite-execute.md +44 -26
  22. package/.claude/commands/workflow/lite-fix.md +780 -730
  23. package/.claude/commands/workflow/lite-lite-lite.md +5 -1
  24. package/.claude/commands/workflow/lite-plan.md +87 -39
  25. package/.claude/commands/workflow/multi-cli-plan.md +572 -568
  26. package/.claude/commands/workflow/plan-verify.md +527 -0
  27. package/.claude/commands/workflow/plan.md +555 -551
  28. package/.claude/commands/workflow/replan.md +572 -515
  29. package/.claude/commands/workflow/review-fix.md +608 -610
  30. package/.claude/commands/workflow/session/complete.md +37 -14
  31. package/.claude/commands/workflow/session/solidify.md +303 -299
  32. package/.claude/commands/workflow/tdd-plan.md +630 -597
  33. package/.claude/commands/workflow/tdd-verify.md +391 -206
  34. package/.claude/commands/workflow/tools/conflict-resolution.md +24 -12
  35. package/.claude/commands/workflow/tools/task-generate-agent.md +583 -563
  36. package/.claude/commands/workflow/tools/task-generate-tdd.md +749 -517
  37. package/.claude/commands/workflow/ui-design/animation-extract.md +1154 -1150
  38. package/.claude/commands/workflow/ui-design/layout-extract.md +792 -788
  39. package/.claude/commands/workflow/ui-design/style-extract.md +777 -773
  40. package/.claude/skills/ccw-help/command.json +5 -5
  41. package/.claude/skills/ccw-help/scripts/analyze_commands.py +337 -337
  42. package/.claude/workflows/cli-templates/prompts/workflow-impl-plan-template.txt +1 -1
  43. package/ccw/dist/commands/issue.d.ts +4 -0
  44. package/ccw/dist/commands/issue.d.ts.map +1 -1
  45. package/ccw/dist/commands/issue.js +73 -6
  46. package/ccw/dist/commands/issue.js.map +1 -1
  47. package/ccw/dist/core/routes/cli-routes.d.ts.map +1 -1
  48. package/ccw/dist/core/routes/cli-routes.js +32 -28
  49. package/ccw/dist/core/routes/cli-routes.js.map +1 -1
  50. package/ccw/dist/tools/claude-cli-tools.d.ts +10 -0
  51. package/ccw/dist/tools/claude-cli-tools.d.ts.map +1 -1
  52. package/ccw/dist/tools/claude-cli-tools.js +45 -0
  53. package/ccw/dist/tools/claude-cli-tools.js.map +1 -1
  54. package/ccw/dist/tools/codex-lens.d.ts.map +1 -1
  55. package/ccw/dist/tools/codex-lens.js +38 -11
  56. package/ccw/dist/tools/codex-lens.js.map +1 -1
  57. package/ccw/dist/tools/command-registry.d.ts +77 -0
  58. package/ccw/dist/tools/command-registry.d.ts.map +1 -0
  59. package/ccw/dist/tools/command-registry.js +265 -0
  60. package/ccw/dist/tools/command-registry.js.map +1 -0
  61. package/ccw/dist/tools/command-registry.test.d.ts +14 -0
  62. package/ccw/dist/tools/command-registry.test.d.ts.map +1 -0
  63. package/ccw/dist/tools/command-registry.test.js.map +1 -0
  64. package/ccw/dist/tools/index.d.ts +2 -0
  65. package/ccw/dist/tools/index.d.ts.map +1 -1
  66. package/ccw/dist/tools/index.js +2 -0
  67. package/ccw/dist/tools/index.js.map +1 -1
  68. package/ccw/src/commands/issue.ts +84 -6
  69. package/ccw/src/core/routes/cli-routes.ts +30 -25
  70. package/ccw/src/templates/dashboard-js/views/help.js +1 -1
  71. package/ccw/src/tools/claude-cli-tools.ts +50 -0
  72. package/ccw/src/tools/codex-lens.ts +40 -11
  73. package/ccw/src/tools/command-registry.test.ts +669 -0
  74. package/ccw/src/tools/command-registry.ts +308 -0
  75. package/ccw/src/tools/index.ts +4 -0
  76. package/package.json +1 -1
  77. package/.claude/skills/ccw/SKILL.md +0 -522
  78. package/.claude/skills/ccw/command.json +0 -641
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: clean
3
3
  description: Intelligent code cleanup with mainline detection, stale artifact discovery, and safe execution
4
- argument-hint: "[--dry-run] [\"focus area\"]"
4
+ argument-hint: "[-y|--yes] [--dry-run] [\"focus area\"]"
5
5
  allowed-tools: TodoWrite(*), Task(*), AskUserQuestion(*), Read(*), Glob(*), Bash(*), Write(*)
6
6
  ---
7
7
 
@@ -21,8 +21,22 @@ Intelligent cleanup command that explores the codebase to identify the developme
21
21
 
22
22
  ```bash
23
23
  /workflow:clean # Full intelligent cleanup (explore → analyze → confirm → execute)
24
+ /workflow:clean --yes # Auto mode (use safe defaults, no confirmation)
24
25
  /workflow:clean --dry-run # Explore and analyze only, no execution
25
- /workflow:clean "auth module" # Focus cleanup on specific area
26
+ /workflow:clean -y "auth module" # Auto mode with focus area
27
+ ```
28
+
29
+ ## Auto Mode Defaults
30
+
31
+ When `--yes` or `-y` flag is used:
32
+ - **Categories to Clean**: Auto-selects `["Sessions"]` only (safest - only workflow sessions)
33
+ - **Risk Level**: Auto-selects `"Low only"` (only low-risk items)
34
+ - All confirmations skipped, proceeds directly to execution
35
+
36
+ **Flag Parsing**:
37
+ ```javascript
38
+ const autoYes = $ARGUMENTS.includes('--yes') || $ARGUMENTS.includes('-y')
39
+ const dryRun = $ARGUMENTS.includes('--dry-run')
26
40
  ```
27
41
 
28
42
  ## Execution Process
@@ -329,39 +343,57 @@ To execute cleanup: /workflow:clean
329
343
 
330
344
  **Step 3.3: User Confirmation**
331
345
  ```javascript
332
- AskUserQuestion({
333
- questions: [
334
- {
335
- question: "Which categories to clean?",
336
- header: "Categories",
337
- multiSelect: true,
338
- options: [
339
- {
340
- label: "Sessions",
341
- description: `${manifest.summary.by_category.stale_sessions} stale workflow sessions`
342
- },
343
- {
344
- label: "Documents",
345
- description: `${manifest.summary.by_category.drifted_documents} drifted documents`
346
- },
347
- {
348
- label: "Dead Code",
349
- description: `${manifest.summary.by_category.dead_code} unused code files`
350
- }
351
- ]
352
- },
353
- {
354
- question: "Risk level to include?",
355
- header: "Risk",
356
- multiSelect: false,
357
- options: [
358
- { label: "Low only", description: "Safest - only obviously stale items" },
359
- { label: "Low + Medium", description: "Recommended - includes likely unused items" },
360
- { label: "All", description: "Aggressive - includes high-risk items" }
361
- ]
362
- }
363
- ]
364
- })
346
+ // Parse --yes flag
347
+ const autoYes = $ARGUMENTS.includes('--yes') || $ARGUMENTS.includes('-y')
348
+
349
+ let userSelection
350
+
351
+ if (autoYes) {
352
+ // Auto mode: Use safe defaults
353
+ console.log(`[--yes] Auto-selecting safe cleanup defaults:`)
354
+ console.log(` - Categories: Sessions only`)
355
+ console.log(` - Risk level: Low only`)
356
+
357
+ userSelection = {
358
+ categories: ["Sessions"],
359
+ risk: "Low only"
360
+ }
361
+ } else {
362
+ // Interactive mode: Ask user
363
+ userSelection = AskUserQuestion({
364
+ questions: [
365
+ {
366
+ question: "Which categories to clean?",
367
+ header: "Categories",
368
+ multiSelect: true,
369
+ options: [
370
+ {
371
+ label: "Sessions",
372
+ description: `${manifest.summary.by_category.stale_sessions} stale workflow sessions`
373
+ },
374
+ {
375
+ label: "Documents",
376
+ description: `${manifest.summary.by_category.drifted_documents} drifted documents`
377
+ },
378
+ {
379
+ label: "Dead Code",
380
+ description: `${manifest.summary.by_category.dead_code} unused code files`
381
+ }
382
+ ]
383
+ },
384
+ {
385
+ question: "Risk level to include?",
386
+ header: "Risk",
387
+ multiSelect: false,
388
+ options: [
389
+ { label: "Low only", description: "Safest - only obviously stale items" },
390
+ { label: "Low + Medium", description: "Recommended - includes likely unused items" },
391
+ { label: "All", description: "Aggressive - includes high-risk items" }
392
+ ]
393
+ }
394
+ ]
395
+ })
396
+ }
365
397
  ```
366
398
 
367
399
  ---