claude-code-workflow 6.3.43 → 6.3.44

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 (77) hide show
  1. package/.claude/agents/tdd-developer.md +530 -0
  2. package/.claude/commands/issue/discover-by-prompt.md +5 -1
  3. package/.claude/commands/issue/discover.md +472 -468
  4. package/.claude/commands/issue/execute.md +580 -581
  5. package/.claude/commands/issue/new.md +417 -413
  6. package/.claude/commands/issue/plan.md +5 -1
  7. package/.claude/commands/issue/queue.md +445 -441
  8. package/.claude/commands/task/breakdown.md +207 -203
  9. package/.claude/commands/task/replan.md +440 -436
  10. package/.claude/commands/workflow/action-plan-verify.md +485 -447
  11. package/.claude/commands/workflow/brainstorm/artifacts.md +457 -453
  12. package/.claude/commands/workflow/brainstorm/auto-parallel.md +5 -1
  13. package/.claude/commands/workflow/brainstorm/synthesis.md +402 -398
  14. package/.claude/commands/workflow/clean.md +67 -35
  15. package/.claude/commands/workflow/debug-with-file.md +670 -666
  16. package/.claude/commands/workflow/debug.md +331 -327
  17. package/.claude/commands/workflow/develop-with-file.md +5 -1
  18. package/.claude/commands/workflow/execute.md +546 -498
  19. package/.claude/commands/workflow/lite-execute.md +44 -26
  20. package/.claude/commands/workflow/lite-fix.md +780 -730
  21. package/.claude/commands/workflow/lite-lite-lite.md +5 -1
  22. package/.claude/commands/workflow/lite-plan.md +87 -39
  23. package/.claude/commands/workflow/multi-cli-plan.md +572 -568
  24. package/.claude/commands/workflow/plan-verify.md +527 -0
  25. package/.claude/commands/workflow/plan.md +555 -551
  26. package/.claude/commands/workflow/replan.md +572 -515
  27. package/.claude/commands/workflow/review-fix.md +608 -610
  28. package/.claude/commands/workflow/session/complete.md +37 -14
  29. package/.claude/commands/workflow/session/solidify.md +303 -299
  30. package/.claude/commands/workflow/tdd-plan.md +630 -597
  31. package/.claude/commands/workflow/tdd-verify.md +391 -206
  32. package/.claude/commands/workflow/tools/conflict-resolution.md +24 -12
  33. package/.claude/commands/workflow/tools/task-generate-agent.md +583 -563
  34. package/.claude/commands/workflow/tools/task-generate-tdd.md +749 -517
  35. package/.claude/commands/workflow/ui-design/animation-extract.md +1154 -1150
  36. package/.claude/commands/workflow/ui-design/layout-extract.md +792 -788
  37. package/.claude/commands/workflow/ui-design/style-extract.md +777 -773
  38. package/.claude/skills/ccw/command.json +4 -4
  39. package/.claude/skills/ccw-coordinator/README.md +45 -0
  40. package/.claude/skills/ccw-coordinator/SKILL.md +320 -0
  41. package/.claude/skills/ccw-coordinator/phases/actions/action-abort.md +9 -0
  42. package/.claude/skills/ccw-coordinator/phases/actions/action-command-build.md +40 -0
  43. package/.claude/skills/ccw-coordinator/phases/actions/action-command-execute.md +124 -0
  44. package/.claude/skills/ccw-coordinator/phases/actions/action-command-selection.md +48 -0
  45. package/.claude/skills/ccw-coordinator/phases/actions/action-complete.md +25 -0
  46. package/.claude/skills/ccw-coordinator/phases/actions/action-init.md +26 -0
  47. package/.claude/skills/ccw-coordinator/phases/orchestrator.md +59 -0
  48. package/.claude/skills/ccw-coordinator/phases/state-schema.md +66 -0
  49. package/.claude/skills/ccw-coordinator/skill-config.json +66 -0
  50. package/.claude/skills/ccw-coordinator/specs/command-library.md +169 -0
  51. package/.claude/skills/ccw-coordinator/specs/specs.md +362 -0
  52. package/.claude/skills/ccw-coordinator/tools/README.md +95 -0
  53. package/.claude/skills/ccw-coordinator/tools/chain-validate.cjs +320 -0
  54. package/.claude/skills/ccw-coordinator/tools/command-registry.cjs +255 -0
  55. package/.claude/skills/ccw-help/command.json +5 -5
  56. package/.claude/skills/ccw-help/scripts/analyze_commands.py +337 -337
  57. package/.claude/workflows/cli-templates/prompts/workflow-impl-plan-template.txt +1 -1
  58. package/ccw/dist/commands/issue.d.ts +4 -0
  59. package/ccw/dist/commands/issue.d.ts.map +1 -1
  60. package/ccw/dist/commands/issue.js +73 -6
  61. package/ccw/dist/commands/issue.js.map +1 -1
  62. package/ccw/dist/core/routes/cli-routes.d.ts.map +1 -1
  63. package/ccw/dist/core/routes/cli-routes.js +32 -28
  64. package/ccw/dist/core/routes/cli-routes.js.map +1 -1
  65. package/ccw/dist/tools/claude-cli-tools.d.ts +10 -0
  66. package/ccw/dist/tools/claude-cli-tools.d.ts.map +1 -1
  67. package/ccw/dist/tools/claude-cli-tools.js +45 -0
  68. package/ccw/dist/tools/claude-cli-tools.js.map +1 -1
  69. package/ccw/dist/tools/codex-lens.d.ts.map +1 -1
  70. package/ccw/dist/tools/codex-lens.js +38 -11
  71. package/ccw/dist/tools/codex-lens.js.map +1 -1
  72. package/ccw/src/commands/issue.ts +84 -6
  73. package/ccw/src/core/routes/cli-routes.ts +30 -25
  74. package/ccw/src/templates/dashboard-js/views/help.js +1 -1
  75. package/ccw/src/tools/claude-cli-tools.ts +50 -0
  76. package/ccw/src/tools/codex-lens.ts +40 -11
  77. package/package.json +1 -1
@@ -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
  ---