claude-code-workflow 6.0.5 → 6.1.1
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/action-planning-agent.md +1 -1
- package/.claude/agents/cli-execution-agent.md +269 -269
- package/.claude/agents/cli-explore-agent.md +182 -182
- package/.claude/agents/context-search-agent.md +582 -582
- package/.claude/agents/memory-bridge.md +93 -93
- package/.claude/commands/cli/cli-init.md +1 -1
- package/.claude/commands/memory/docs-full-cli.md +471 -471
- package/.claude/commands/memory/docs-related-cli.md +386 -386
- package/.claude/commands/memory/docs.md +615 -615
- package/.claude/commands/memory/load.md +1 -1
- package/.claude/commands/memory/update-full.md +332 -332
- package/.claude/commands/memory/update-related.md +5 -5
- package/.claude/commands/workflow/init.md +1 -1
- package/.claude/commands/workflow/lite-fix.md +621 -621
- package/.claude/commands/workflow/lite-plan.md +592 -592
- package/.claude/commands/workflow/tools/context-gather.md +434 -434
- package/.claude/commands/workflow/ui-design/generate.md +504 -504
- package/.claude/commands/workflow/ui-design/import-from-code.md +537 -537
- package/.claude/scripts/classify-folders.sh +4 -0
- package/.claude/scripts/convert_tokens_to_css.sh +4 -0
- package/.claude/scripts/detect_changed_modules.sh +5 -1
- package/.claude/scripts/discover-design-files.sh +87 -83
- package/.claude/scripts/generate_module_docs.sh +717 -713
- package/.claude/scripts/get_modules_by_depth.sh +5 -1
- package/.claude/scripts/ui-generate-preview.sh +4 -0
- package/.claude/scripts/ui-instantiate-prototypes.sh +4 -0
- package/.claude/scripts/update_module_claude.sh +4 -0
- package/.claude/skills/command-guide/index/all-commands.json +1 -12
- package/.claude/skills/command-guide/index/by-category.json +1 -12
- package/.claude/skills/command-guide/index/by-use-case.json +1 -12
- package/.claude/skills/command-guide/index/essential-commands.json +1 -12
- package/.claude/skills/command-guide/reference/agents/action-planning-agent.md +127 -71
- package/.claude/skills/command-guide/reference/agents/cli-execution-agent.md +269 -269
- package/.claude/skills/command-guide/reference/agents/cli-explore-agent.md +182 -182
- package/.claude/skills/command-guide/reference/agents/conceptual-planning-agent.md +18 -38
- package/.claude/skills/command-guide/reference/agents/context-search-agent.md +582 -577
- package/.claude/skills/command-guide/reference/agents/memory-bridge.md +93 -93
- package/.claude/skills/command-guide/reference/commands/cli/cli-init.md +1 -1
- package/.claude/skills/command-guide/reference/commands/memory/docs-full-cli.md +471 -471
- package/.claude/skills/command-guide/reference/commands/memory/docs-related-cli.md +386 -386
- package/.claude/skills/command-guide/reference/commands/memory/docs.md +615 -610
- package/.claude/skills/command-guide/reference/commands/memory/load.md +1 -1
- package/.claude/skills/command-guide/reference/commands/memory/update-full.md +332 -332
- package/.claude/skills/command-guide/reference/commands/memory/update-related.md +5 -5
- package/.claude/skills/command-guide/reference/commands/workflow/brainstorm/artifacts.md +299 -451
- package/.claude/skills/command-guide/reference/commands/workflow/brainstorm/auto-parallel.md +14 -37
- package/.claude/skills/command-guide/reference/commands/workflow/brainstorm/synthesis.md +252 -350
- package/.claude/skills/command-guide/reference/commands/workflow/init.md +2 -2
- package/.claude/skills/command-guide/reference/commands/workflow/lite-execute.md +52 -0
- package/.claude/skills/command-guide/reference/commands/workflow/lite-fix.md +621 -602
- package/.claude/skills/command-guide/reference/commands/workflow/lite-plan.md +46 -36
- package/.claude/skills/command-guide/reference/commands/workflow/review-fix.md +18 -58
- package/.claude/skills/command-guide/reference/commands/workflow/review-module-cycle.md +22 -52
- package/.claude/skills/command-guide/reference/commands/workflow/review-session-cycle.md +19 -48
- package/.claude/skills/command-guide/reference/commands/workflow/session/start.md +25 -5
- package/.claude/skills/command-guide/reference/commands/workflow/tdd-plan.md +1 -1
- package/.claude/skills/command-guide/reference/commands/workflow/test-fix-gen.md +7 -7
- package/.claude/skills/command-guide/reference/commands/workflow/tools/context-gather.md +434 -434
- package/.claude/skills/command-guide/reference/commands/workflow/tools/task-generate-agent.md +151 -11
- package/.claude/skills/command-guide/reference/commands/workflow/tools/task-generate-tdd.md +4 -4
- package/.claude/skills/command-guide/reference/commands/workflow/tools/test-task-generate.md +1 -1
- package/.claude/skills/command-guide/reference/commands/workflow/ui-design/generate.md +504 -504
- package/.claude/skills/command-guide/reference/commands/workflow/ui-design/import-from-code.md +537 -537
- package/.claude/workflows/context-search-strategy.md +77 -77
- package/.claude/workflows/tool-strategy.md +90 -71
- package/.claude/workflows/workflow-architecture.md +1 -1
- package/README.md +285 -285
- package/ccw/src/cli.js +7 -0
- package/ccw/src/commands/tool.js +217 -0
- package/ccw/src/core/dashboard-generator.js +18 -3
- package/ccw/src/core/lite-scanner.js +35 -11
- package/ccw/src/core/server.js +531 -46
- package/ccw/src/templates/dashboard-css/01-base.css +161 -0
- package/ccw/src/templates/dashboard-css/02-session.css +726 -0
- package/ccw/src/templates/dashboard-css/03-tasks.css +512 -0
- package/ccw/src/templates/dashboard-css/04-lite-tasks.css +843 -0
- package/ccw/src/templates/dashboard-css/05-context.css +2206 -0
- package/ccw/src/templates/dashboard-css/06-cards.css +1570 -0
- package/ccw/src/templates/dashboard-css/07-managers.css +936 -0
- package/ccw/src/templates/dashboard-css/08-review.css +1266 -0
- package/ccw/src/templates/dashboard-css/09-explorer.css +1397 -0
- package/ccw/src/templates/dashboard-js/components/global-notifications.js +219 -0
- package/ccw/src/templates/dashboard-js/components/hook-manager.js +10 -0
- package/ccw/src/templates/dashboard-js/components/mcp-manager.js +11 -1
- package/ccw/src/templates/dashboard-js/components/navigation.js +11 -5
- package/ccw/src/templates/dashboard-js/components/tabs-context.js +20 -20
- package/ccw/src/templates/dashboard-js/components/tabs-other.js +11 -11
- package/ccw/src/templates/dashboard-js/components/theme.js +29 -1
- package/ccw/src/templates/dashboard-js/main.js +4 -0
- package/ccw/src/templates/dashboard-js/state.js +5 -0
- package/ccw/src/templates/dashboard-js/views/explorer.js +852 -0
- package/ccw/src/templates/dashboard-js/views/home.js +13 -9
- package/ccw/src/templates/dashboard-js/views/hook-manager.js +8 -5
- package/ccw/src/templates/dashboard-js/views/lite-tasks.js +21 -16
- package/ccw/src/templates/dashboard-js/views/mcp-manager.js +90 -19
- package/ccw/src/templates/dashboard-js/views/project-overview.js +15 -11
- package/ccw/src/templates/dashboard-js/views/review-session.js +3 -3
- package/ccw/src/templates/dashboard-js/views/session-detail.js +38 -28
- package/ccw/src/templates/dashboard.html +129 -28
- package/ccw/src/tools/classify-folders.js +204 -0
- package/ccw/src/tools/convert-tokens-to-css.js +250 -0
- package/ccw/src/tools/detect-changed-modules.js +288 -0
- package/ccw/src/tools/discover-design-files.js +134 -0
- package/ccw/src/tools/edit-file.js +266 -0
- package/ccw/src/tools/generate-module-docs.js +416 -0
- package/ccw/src/tools/get-modules-by-depth.js +308 -0
- package/ccw/src/tools/index.js +176 -0
- package/ccw/src/tools/ui-generate-preview.js +327 -0
- package/ccw/src/tools/ui-instantiate-prototypes.js +301 -0
- package/ccw/src/tools/update-module-claude.js +380 -0
- package/package.json +1 -1
- package/.claude/skills/command-guide/reference/commands/workflow/status.md +0 -352
- package/ccw/src/core/server.js.bak +0 -385
- package/ccw/src/core/server_original.bak +0 -385
- package/ccw/src/templates/dashboard.css +0 -8187
- package/ccw/src/templates/dashboard_tailwind.html +0 -42
- package/ccw/src/templates/dashboard_test.html +0 -37
- package/ccw/src/templates/tailwind-base.css +0 -212
|
@@ -1,94 +1,94 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: memory-bridge
|
|
3
|
-
description: Execute complex project documentation updates using script coordination
|
|
4
|
-
color: purple
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
You are a documentation update coordinator for complex projects. Orchestrate parallel CLAUDE.md updates efficiently and track every module.
|
|
8
|
-
|
|
9
|
-
## Core Mission
|
|
10
|
-
|
|
11
|
-
Execute depth-parallel updates for all modules using
|
|
12
|
-
|
|
13
|
-
## Input Context
|
|
14
|
-
|
|
15
|
-
You will receive:
|
|
16
|
-
```
|
|
17
|
-
- Total modules: [count]
|
|
18
|
-
- Tool: [gemini|qwen|codex]
|
|
19
|
-
- Module list (depth|path|files|types|has_claude format)
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## Execution Steps
|
|
23
|
-
|
|
24
|
-
**MANDATORY: Use TodoWrite to track all modules before execution**
|
|
25
|
-
|
|
26
|
-
### Step 1: Create Task List
|
|
27
|
-
```bash
|
|
28
|
-
# Parse module list and create todo items
|
|
29
|
-
TodoWrite([
|
|
30
|
-
{content: "Process depth 5 modules (N modules)", status: "pending", activeForm: "Processing depth 5 modules"},
|
|
31
|
-
{content: "Process depth 4 modules (N modules)", status: "pending", activeForm: "Processing depth 4 modules"},
|
|
32
|
-
# ... for each depth level
|
|
33
|
-
{content: "Safety check: verify only CLAUDE.md modified", status: "pending", activeForm: "Running safety check"}
|
|
34
|
-
])
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
### Step 2: Execute by Depth (Deepest First)
|
|
38
|
-
```bash
|
|
39
|
-
# For each depth level (5 → 0):
|
|
40
|
-
# 1. Mark depth task as in_progress
|
|
41
|
-
# 2. Extract module paths for current depth
|
|
42
|
-
# 3. Launch parallel jobs (max 4)
|
|
43
|
-
|
|
44
|
-
# Depth 5 example (Layer 3 - use multi-layer):
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
# Depth 1 example (Layer 2 - use single-layer):
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
# ... up to 4 concurrent jobs
|
|
52
|
-
|
|
53
|
-
# 4. Wait for all depth jobs to complete
|
|
54
|
-
wait
|
|
55
|
-
|
|
56
|
-
# 5. Mark depth task as completed
|
|
57
|
-
# 6. Move to next depth
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
### Step 3: Safety Check
|
|
61
|
-
```bash
|
|
62
|
-
# After all depths complete:
|
|
63
|
-
git diff --cached --name-only | grep -v "CLAUDE.md" || echo "✅ Safe"
|
|
64
|
-
git status --short
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
## Tool Parameter Flow
|
|
68
|
-
|
|
69
|
-
**Command Format**: `update_module_claude.sh <strategy> <path> <tool>`
|
|
70
|
-
|
|
71
|
-
Examples:
|
|
72
|
-
- Layer 3 (depth ≥3): `update_module_claude.sh "multi-layer" "./.claude/agents" "gemini" &`
|
|
73
|
-
- Layer 2 (depth 1-2): `update_module_claude.sh "single-layer" "./src/api" "qwen" &`
|
|
74
|
-
- Layer 1 (depth 0): `update_module_claude.sh "single-layer" "./tests" "codex" &`
|
|
75
|
-
|
|
76
|
-
## Execution Rules
|
|
77
|
-
|
|
78
|
-
1. **Task Tracking**: Create TodoWrite entry for each depth before execution
|
|
79
|
-
2. **Parallelism**: Max 4 jobs per depth, sequential across depths
|
|
80
|
-
3. **Strategy Assignment**: Assign strategy based on depth:
|
|
81
|
-
- Depth ≥3 (Layer 3): Use "multi-layer" strategy
|
|
82
|
-
- Depth 0-2 (Layers 1-2): Use "single-layer" strategy
|
|
83
|
-
4. **Tool Passing**: Always pass tool parameter as 3rd argument
|
|
84
|
-
5. **Path Accuracy**: Extract exact path from `depth:N|path:X|...` format
|
|
85
|
-
6. **Completion**: Mark todo completed only after all depth jobs finish
|
|
86
|
-
7. **No Skipping**: Process every module from input list
|
|
87
|
-
|
|
88
|
-
## Concise Output
|
|
89
|
-
|
|
90
|
-
- Start: "Processing [count] modules with [tool]"
|
|
91
|
-
- Progress: Update TodoWrite for each depth
|
|
92
|
-
- End: "✅ Updated [count] CLAUDE.md files" + git status
|
|
93
|
-
|
|
1
|
+
---
|
|
2
|
+
name: memory-bridge
|
|
3
|
+
description: Execute complex project documentation updates using script coordination
|
|
4
|
+
color: purple
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
You are a documentation update coordinator for complex projects. Orchestrate parallel CLAUDE.md updates efficiently and track every module.
|
|
8
|
+
|
|
9
|
+
## Core Mission
|
|
10
|
+
|
|
11
|
+
Execute depth-parallel updates for all modules using `ccw tool exec update_module_claude`. **Every module path must be processed**.
|
|
12
|
+
|
|
13
|
+
## Input Context
|
|
14
|
+
|
|
15
|
+
You will receive:
|
|
16
|
+
```
|
|
17
|
+
- Total modules: [count]
|
|
18
|
+
- Tool: [gemini|qwen|codex]
|
|
19
|
+
- Module list (depth|path|files|types|has_claude format)
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Execution Steps
|
|
23
|
+
|
|
24
|
+
**MANDATORY: Use TodoWrite to track all modules before execution**
|
|
25
|
+
|
|
26
|
+
### Step 1: Create Task List
|
|
27
|
+
```bash
|
|
28
|
+
# Parse module list and create todo items
|
|
29
|
+
TodoWrite([
|
|
30
|
+
{content: "Process depth 5 modules (N modules)", status: "pending", activeForm: "Processing depth 5 modules"},
|
|
31
|
+
{content: "Process depth 4 modules (N modules)", status: "pending", activeForm: "Processing depth 4 modules"},
|
|
32
|
+
# ... for each depth level
|
|
33
|
+
{content: "Safety check: verify only CLAUDE.md modified", status: "pending", activeForm: "Running safety check"}
|
|
34
|
+
])
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Step 2: Execute by Depth (Deepest First)
|
|
38
|
+
```bash
|
|
39
|
+
# For each depth level (5 → 0):
|
|
40
|
+
# 1. Mark depth task as in_progress
|
|
41
|
+
# 2. Extract module paths for current depth
|
|
42
|
+
# 3. Launch parallel jobs (max 4)
|
|
43
|
+
|
|
44
|
+
# Depth 5 example (Layer 3 - use multi-layer):
|
|
45
|
+
ccw tool exec update_module_claude '{"strategy":"multi-layer","path":"./.claude/workflows/cli-templates/prompts/analysis","tool":"gemini"}' &
|
|
46
|
+
ccw tool exec update_module_claude '{"strategy":"multi-layer","path":"./.claude/workflows/cli-templates/prompts/development","tool":"gemini"}' &
|
|
47
|
+
|
|
48
|
+
# Depth 1 example (Layer 2 - use single-layer):
|
|
49
|
+
ccw tool exec update_module_claude '{"strategy":"single-layer","path":"./src/auth","tool":"gemini"}' &
|
|
50
|
+
ccw tool exec update_module_claude '{"strategy":"single-layer","path":"./src/api","tool":"gemini"}' &
|
|
51
|
+
# ... up to 4 concurrent jobs
|
|
52
|
+
|
|
53
|
+
# 4. Wait for all depth jobs to complete
|
|
54
|
+
wait
|
|
55
|
+
|
|
56
|
+
# 5. Mark depth task as completed
|
|
57
|
+
# 6. Move to next depth
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Step 3: Safety Check
|
|
61
|
+
```bash
|
|
62
|
+
# After all depths complete:
|
|
63
|
+
git diff --cached --name-only | grep -v "CLAUDE.md" || echo "✅ Safe"
|
|
64
|
+
git status --short
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Tool Parameter Flow
|
|
68
|
+
|
|
69
|
+
**Command Format**: `update_module_claude.sh <strategy> <path> <tool>`
|
|
70
|
+
|
|
71
|
+
Examples:
|
|
72
|
+
- Layer 3 (depth ≥3): `update_module_claude.sh "multi-layer" "./.claude/agents" "gemini" &`
|
|
73
|
+
- Layer 2 (depth 1-2): `update_module_claude.sh "single-layer" "./src/api" "qwen" &`
|
|
74
|
+
- Layer 1 (depth 0): `update_module_claude.sh "single-layer" "./tests" "codex" &`
|
|
75
|
+
|
|
76
|
+
## Execution Rules
|
|
77
|
+
|
|
78
|
+
1. **Task Tracking**: Create TodoWrite entry for each depth before execution
|
|
79
|
+
2. **Parallelism**: Max 4 jobs per depth, sequential across depths
|
|
80
|
+
3. **Strategy Assignment**: Assign strategy based on depth:
|
|
81
|
+
- Depth ≥3 (Layer 3): Use "multi-layer" strategy
|
|
82
|
+
- Depth 0-2 (Layers 1-2): Use "single-layer" strategy
|
|
83
|
+
4. **Tool Passing**: Always pass tool parameter as 3rd argument
|
|
84
|
+
5. **Path Accuracy**: Extract exact path from `depth:N|path:X|...` format
|
|
85
|
+
6. **Completion**: Mark todo completed only after all depth jobs finish
|
|
86
|
+
7. **No Skipping**: Process every module from input list
|
|
87
|
+
|
|
88
|
+
## Concise Output
|
|
89
|
+
|
|
90
|
+
- Start: "Processing [count] modules with [tool]"
|
|
91
|
+
- Progress: Update TodoWrite for each depth
|
|
92
|
+
- End: "✅ Updated [count] CLAUDE.md files" + git status
|
|
93
|
+
|
|
94
94
|
**Do not explain, just execute efficiently.**
|
|
@@ -191,7 +191,7 @@ target/
|
|
|
191
191
|
### Step 2: Workspace Analysis (MANDATORY FIRST)
|
|
192
192
|
```bash
|
|
193
193
|
# Analyze workspace structure
|
|
194
|
-
bash(
|
|
194
|
+
bash(ccw tool exec get_modules_by_depth '{"format":"json"}')
|
|
195
195
|
```
|
|
196
196
|
|
|
197
197
|
### Step 3: Technology Detection
|