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.
- package/.claude/agents/tdd-developer.md +530 -0
- package/.claude/commands/ccw-coordinator.md +1042 -0
- package/.claude/commands/ccw.md +486 -0
- package/.claude/commands/issue/discover-by-prompt.md +5 -1
- package/.claude/commands/issue/discover.md +472 -468
- package/.claude/commands/issue/execute.md +580 -581
- package/.claude/commands/issue/new.md +417 -413
- package/.claude/commands/issue/plan.md +5 -1
- package/.claude/commands/issue/queue.md +445 -441
- package/.claude/commands/task/breakdown.md +207 -203
- package/.claude/commands/task/replan.md +440 -436
- package/.claude/commands/workflow/action-plan-verify.md +485 -447
- package/.claude/commands/workflow/brainstorm/artifacts.md +457 -453
- package/.claude/commands/workflow/brainstorm/auto-parallel.md +5 -1
- package/.claude/commands/workflow/brainstorm/synthesis.md +402 -398
- package/.claude/commands/workflow/clean.md +67 -35
- package/.claude/commands/workflow/debug-with-file.md +670 -666
- package/.claude/commands/workflow/debug.md +331 -327
- package/.claude/commands/workflow/develop-with-file.md +5 -1
- package/.claude/commands/workflow/execute.md +546 -498
- package/.claude/commands/workflow/lite-execute.md +44 -26
- package/.claude/commands/workflow/lite-fix.md +780 -730
- package/.claude/commands/workflow/lite-lite-lite.md +5 -1
- package/.claude/commands/workflow/lite-plan.md +87 -39
- package/.claude/commands/workflow/multi-cli-plan.md +572 -568
- package/.claude/commands/workflow/plan-verify.md +527 -0
- package/.claude/commands/workflow/plan.md +555 -551
- package/.claude/commands/workflow/replan.md +572 -515
- package/.claude/commands/workflow/review-fix.md +608 -610
- package/.claude/commands/workflow/session/complete.md +37 -14
- package/.claude/commands/workflow/session/solidify.md +303 -299
- package/.claude/commands/workflow/tdd-plan.md +630 -597
- package/.claude/commands/workflow/tdd-verify.md +391 -206
- package/.claude/commands/workflow/tools/conflict-resolution.md +24 -12
- package/.claude/commands/workflow/tools/task-generate-agent.md +583 -563
- package/.claude/commands/workflow/tools/task-generate-tdd.md +749 -517
- package/.claude/commands/workflow/ui-design/animation-extract.md +1154 -1150
- package/.claude/commands/workflow/ui-design/layout-extract.md +792 -788
- package/.claude/commands/workflow/ui-design/style-extract.md +777 -773
- package/.claude/skills/ccw-help/command.json +5 -5
- package/.claude/skills/ccw-help/scripts/analyze_commands.py +337 -337
- package/.claude/workflows/cli-templates/prompts/workflow-impl-plan-template.txt +1 -1
- package/ccw/dist/commands/issue.d.ts +4 -0
- package/ccw/dist/commands/issue.d.ts.map +1 -1
- package/ccw/dist/commands/issue.js +73 -6
- package/ccw/dist/commands/issue.js.map +1 -1
- package/ccw/dist/core/routes/cli-routes.d.ts.map +1 -1
- package/ccw/dist/core/routes/cli-routes.js +32 -28
- package/ccw/dist/core/routes/cli-routes.js.map +1 -1
- package/ccw/dist/tools/claude-cli-tools.d.ts +10 -0
- package/ccw/dist/tools/claude-cli-tools.d.ts.map +1 -1
- package/ccw/dist/tools/claude-cli-tools.js +45 -0
- package/ccw/dist/tools/claude-cli-tools.js.map +1 -1
- package/ccw/dist/tools/codex-lens.d.ts.map +1 -1
- package/ccw/dist/tools/codex-lens.js +38 -11
- package/ccw/dist/tools/codex-lens.js.map +1 -1
- package/ccw/dist/tools/command-registry.d.ts +77 -0
- package/ccw/dist/tools/command-registry.d.ts.map +1 -0
- package/ccw/dist/tools/command-registry.js +265 -0
- package/ccw/dist/tools/command-registry.js.map +1 -0
- package/ccw/dist/tools/command-registry.test.d.ts +14 -0
- package/ccw/dist/tools/command-registry.test.d.ts.map +1 -0
- package/ccw/dist/tools/command-registry.test.js.map +1 -0
- package/ccw/dist/tools/index.d.ts +2 -0
- package/ccw/dist/tools/index.d.ts.map +1 -1
- package/ccw/dist/tools/index.js +2 -0
- package/ccw/dist/tools/index.js.map +1 -1
- package/ccw/src/commands/issue.ts +84 -6
- package/ccw/src/core/routes/cli-routes.ts +30 -25
- package/ccw/src/templates/dashboard-js/views/help.js +1 -1
- package/ccw/src/tools/claude-cli-tools.ts +50 -0
- package/ccw/src/tools/codex-lens.ts +40 -11
- package/ccw/src/tools/command-registry.test.ts +669 -0
- package/ccw/src/tools/command-registry.ts +308 -0
- package/ccw/src/tools/index.ts +4 -0
- package/package.json +1 -1
- package/.claude/skills/ccw/SKILL.md +0 -522
- 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
|
-
//
|
|
327
|
-
|
|
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
|
-
//
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
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
|
---
|