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,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"
|
|
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
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
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
|
---
|