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,10 +1,14 @@
1
1
  ---
2
2
  name: workflow:lite-lite-lite
3
3
  description: Ultra-lightweight multi-tool analysis and direct execution. No artifacts for simple tasks; auto-creates planning docs in .workflow/.scratchpad/ for complex tasks. Auto tool selection based on task analysis, user-driven iteration via AskUser.
4
- argument-hint: "<task description>"
4
+ argument-hint: "[-y|--yes] <task description>"
5
5
  allowed-tools: TodoWrite(*), Task(*), AskUserQuestion(*), Read(*), Bash(*), Write(*), mcp__ace-tool__search_context(*), mcp__ccw-tools__write_file(*)
6
6
  ---
7
7
 
8
+ ## Auto Mode
9
+
10
+ When `--yes` or `-y`: Skip clarification questions, auto-select tools, execute directly with recommended settings.
11
+
8
12
  # Ultra-Lite Multi-Tool Workflow
9
13
 
10
14
  ## Quick Start
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: lite-plan
3
3
  description: Lightweight interactive planning workflow with in-memory planning, code exploration, and execution execute to lite-execute after user confirmation
4
- argument-hint: "[-e|--explore] \"task description\"|file.md"
4
+ argument-hint: "[-y|--yes] [-e|--explore] \"task description\"|file.md"
5
5
  allowed-tools: TodoWrite(*), Task(*), SlashCommand(*), AskUserQuestion(*)
6
6
  ---
7
7
 
@@ -25,10 +25,30 @@ Intelligent lightweight planning command with dynamic workflow adaptation based
25
25
  /workflow:lite-plan [FLAGS] <TASK_DESCRIPTION>
26
26
 
27
27
  # Flags
28
+ -y, --yes Skip all confirmations (auto mode)
28
29
  -e, --explore Force code exploration phase (overrides auto-detection)
29
30
 
30
31
  # Arguments
31
32
  <task-description> Task description or path to .md file (required)
33
+
34
+ # Examples
35
+ /workflow:lite-plan "实现JWT认证" # Interactive mode
36
+ /workflow:lite-plan --yes "实现JWT认证" # Auto mode (no confirmations)
37
+ /workflow:lite-plan -y -e "优化数据库查询性能" # Auto mode + force exploration
38
+ ```
39
+
40
+ ## Auto Mode Defaults
41
+
42
+ When `--yes` or `-y` flag is used:
43
+ - **Clarification Questions**: Skipped (no clarification phase)
44
+ - **Plan Confirmation**: Auto-selected "Allow"
45
+ - **Execution Method**: Auto-selected "Auto"
46
+ - **Code Review**: Auto-selected "Skip"
47
+
48
+ **Flag Parsing**:
49
+ ```javascript
50
+ const autoYes = $ARGUMENTS.includes('--yes') || $ARGUMENTS.includes('-y')
51
+ const forceExplore = $ARGUMENTS.includes('--explore') || $ARGUMENTS.includes('-e')
32
52
  ```
33
53
 
34
54
  ## Execution Process
@@ -323,8 +343,16 @@ explorations.forEach(exp => {
323
343
  // - Produce dedupedClarifications with unique intents only
324
344
  const dedupedClarifications = intelligentMerge(allClarifications)
325
345
 
326
- // Multi-round clarification: batch questions (max 4 per round)
327
- if (dedupedClarifications.length > 0) {
346
+ // Parse --yes flag
347
+ const autoYes = $ARGUMENTS.includes('--yes') || $ARGUMENTS.includes('-y')
348
+
349
+ if (autoYes) {
350
+ // Auto mode: Skip clarification phase
351
+ console.log(`[--yes] Skipping ${dedupedClarifications.length} clarification questions`)
352
+ console.log(`Proceeding to planning with exploration results...`)
353
+ // Continue to Phase 3
354
+ } else if (dedupedClarifications.length > 0) {
355
+ // Interactive mode: Multi-round clarification
328
356
  const BATCH_SIZE = 4
329
357
  const totalRounds = Math.ceil(dedupedClarifications.length / BATCH_SIZE)
330
358
 
@@ -497,42 +525,62 @@ ${plan.tasks.map((t, i) => `${i+1}. ${t.title} (${t.file})`).join('\n')}
497
525
 
498
526
  **Step 4.2: Collect Confirmation**
499
527
  ```javascript
500
- // Note: Execution "Other" option allows specifying CLI tools from ~/.claude/cli-tools.json
501
- AskUserQuestion({
502
- questions: [
503
- {
504
- question: `Confirm plan? (${plan.tasks.length} tasks, ${plan.complexity})`,
505
- header: "Confirm",
506
- multiSelect: true,
507
- options: [
508
- { label: "Allow", description: "Proceed as-is" },
509
- { label: "Modify", description: "Adjust before execution" },
510
- { label: "Cancel", description: "Abort workflow" }
511
- ]
512
- },
513
- {
514
- question: "Execution method:",
515
- header: "Execution",
516
- multiSelect: false,
517
- options: [
518
- { label: "Agent", description: "@code-developer agent" },
519
- { label: "Codex", description: "codex CLI tool" },
520
- { label: "Auto", description: `Auto: ${plan.complexity === 'Low' ? 'Agent' : 'Codex'}` }
521
- ]
522
- },
523
- {
524
- question: "Code review after execution?",
525
- header: "Review",
526
- multiSelect: false,
527
- options: [
528
- { label: "Gemini Review", description: "Gemini CLI review" },
529
- { label: "Codex Review", description: "Git-aware review (prompt OR --uncommitted)" },
530
- { label: "Agent Review", description: "@code-reviewer agent" },
531
- { label: "Skip", description: "No review" }
532
- ]
533
- }
534
- ]
535
- })
528
+ // Parse --yes flag
529
+ const autoYes = $ARGUMENTS.includes('--yes') || $ARGUMENTS.includes('-y')
530
+
531
+ let userSelection
532
+
533
+ if (autoYes) {
534
+ // Auto mode: Use defaults
535
+ console.log(`[--yes] Auto-confirming plan:`)
536
+ console.log(` - Confirmation: Allow`)
537
+ console.log(` - Execution: Auto`)
538
+ console.log(` - Review: Skip`)
539
+
540
+ userSelection = {
541
+ confirmation: "Allow",
542
+ execution_method: "Auto",
543
+ code_review_tool: "Skip"
544
+ }
545
+ } else {
546
+ // Interactive mode: Ask user
547
+ // Note: Execution "Other" option allows specifying CLI tools from ~/.claude/cli-tools.json
548
+ userSelection = AskUserQuestion({
549
+ questions: [
550
+ {
551
+ question: `Confirm plan? (${plan.tasks.length} tasks, ${plan.complexity})`,
552
+ header: "Confirm",
553
+ multiSelect: false,
554
+ options: [
555
+ { label: "Allow", description: "Proceed as-is" },
556
+ { label: "Modify", description: "Adjust before execution" },
557
+ { label: "Cancel", description: "Abort workflow" }
558
+ ]
559
+ },
560
+ {
561
+ question: "Execution method:",
562
+ header: "Execution",
563
+ multiSelect: false,
564
+ options: [
565
+ { label: "Agent", description: "@code-developer agent" },
566
+ { label: "Codex", description: "codex CLI tool" },
567
+ { label: "Auto", description: `Auto: ${plan.complexity === 'Low' ? 'Agent' : 'Codex'}` }
568
+ ]
569
+ },
570
+ {
571
+ question: "Code review after execution?",
572
+ header: "Review",
573
+ multiSelect: false,
574
+ options: [
575
+ { label: "Gemini Review", description: "Gemini CLI review" },
576
+ { label: "Codex Review", description: "Git-aware review (prompt OR --uncommitted)" },
577
+ { label: "Agent Review", description: "@code-reviewer agent" },
578
+ { label: "Skip", description: "No review" }
579
+ ]
580
+ }
581
+ ]
582
+ })
583
+ }
536
584
  ```
537
585
 
538
586
  ---