claude-code-workflow 6.3.48 → 6.3.49

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 (211) hide show
  1. package/.claude/CLAUDE.md +6 -8
  2. package/.claude/agents/action-planning-agent.md +28 -45
  3. package/.claude/agents/cli-lite-planning-agent.md +93 -1
  4. package/.claude/agents/code-developer.md +144 -27
  5. package/.claude/commands/ccw-coordinator.md +175 -21
  6. package/.claude/commands/ccw-debug.md +832 -0
  7. package/.claude/commands/ccw.md +90 -9
  8. package/.claude/commands/cli/cli-init.md +1 -0
  9. package/.claude/commands/issue/convert-to-plan.md +718 -0
  10. package/.claude/commands/issue/from-brainstorm.md +382 -0
  11. package/.claude/commands/memory/tips.md +332 -0
  12. package/.claude/commands/workflow/analyze-with-file.md +804 -0
  13. package/.claude/commands/workflow/brainstorm/auto-parallel.md +18 -43
  14. package/.claude/commands/workflow/brainstorm/role-analysis.md +705 -0
  15. package/.claude/commands/workflow/brainstorm-with-file.md +1153 -0
  16. package/.claude/commands/workflow/debug-with-file.md +7 -5
  17. package/.claude/commands/workflow/execute.md +6 -4
  18. package/.claude/commands/workflow/lite-plan.md +2 -2
  19. package/.claude/commands/workflow/plan-verify.md +162 -327
  20. package/.claude/commands/workflow/plan.md +162 -26
  21. package/.claude/commands/workflow/replan.md +78 -2
  22. package/.claude/commands/workflow/{review-fix.md → review-cycle-fix.md} +6 -6
  23. package/.claude/commands/workflow/review-module-cycle.md +2 -2
  24. package/.claude/commands/workflow/review-session-cycle.md +2 -2
  25. package/.claude/commands/workflow/tools/conflict-resolution.md +16 -26
  26. package/.claude/commands/workflow/tools/context-gather.md +81 -118
  27. package/.claude/commands/workflow/tools/task-generate-agent.md +94 -10
  28. package/.claude/skills/ccw-help/command.json +4 -4
  29. package/.claude/skills/lite-skill-generator/SKILL.md +650 -0
  30. package/.claude/skills/lite-skill-generator/templates/simple-skill.md +68 -0
  31. package/.claude/skills/lite-skill-generator/templates/style-guide.md +64 -0
  32. package/.claude/skills/skill-generator/SKILL.md +277 -85
  33. package/.claude/skills/skill-generator/phases/01-requirements-discovery.md +4 -15
  34. package/.claude/skills/skill-generator/phases/02-structure-generation.md +72 -17
  35. package/.claude/skills/skill-generator/phases/03-phase-generation.md +218 -51
  36. package/.claude/skills/skill-generator/phases/04-specs-templates.md +111 -41
  37. package/.claude/skills/skill-generator/phases/05-validation.md +139 -56
  38. package/.claude/skills/skill-generator/templates/autonomous-action.md +78 -268
  39. package/.claude/skills/skill-generator/templates/autonomous-orchestrator.md +14 -0
  40. package/.claude/skills/skill-generator/templates/code-analysis-action.md +12 -0
  41. package/.claude/skills/skill-generator/templates/llm-action.md +12 -0
  42. package/.claude/skills/skill-generator/templates/script-template.md +368 -0
  43. package/.claude/skills/skill-generator/templates/sequential-phase.md +14 -0
  44. package/.claude/skills/skill-generator/templates/skill-md.md +14 -0
  45. package/.claude/skills/skill-tuning/SKILL.md +130 -266
  46. package/.claude/skills/skill-tuning/phases/orchestrator.md +95 -283
  47. package/.claude/skills/skill-tuning/specs/problem-taxonomy.md +90 -198
  48. package/.claude/skills/skill-tuning/specs/tuning-strategies.md +193 -1345
  49. package/.claude/workflows/cli-templates/schemas/plan-verify-agent-schema.json +47 -0
  50. package/.claude/workflows/cli-templates/schemas/verify-json-schema.json +158 -0
  51. package/.claude/workflows/cli-tools-usage.md +1 -1
  52. package/.codex/AGENTS.md +1 -3
  53. package/.codex/prompts/analyze-with-file.md +607 -0
  54. package/.codex/prompts/brainstorm-to-cycle.md +455 -0
  55. package/.codex/prompts/brainstorm-with-file.md +933 -0
  56. package/.codex/prompts/debug-with-file.md +15 -20
  57. package/.codex/skills/ccw-cli-tools/SKILL.md +559 -0
  58. package/ccw/dist/commands/cli.d.ts.map +1 -1
  59. package/ccw/dist/commands/cli.js +29 -5
  60. package/ccw/dist/commands/cli.js.map +1 -1
  61. package/ccw/dist/commands/issue.d.ts +2 -0
  62. package/ccw/dist/commands/issue.d.ts.map +1 -1
  63. package/ccw/dist/commands/issue.js +62 -20
  64. package/ccw/dist/commands/issue.js.map +1 -1
  65. package/ccw/dist/config/litellm-api-config-manager.d.ts.map +1 -1
  66. package/ccw/dist/config/litellm-api-config-manager.js +5 -3
  67. package/ccw/dist/config/litellm-api-config-manager.js.map +1 -1
  68. package/ccw/dist/config/litellm-provider-models.d.ts +73 -0
  69. package/ccw/dist/config/litellm-provider-models.d.ts.map +1 -0
  70. package/ccw/dist/config/litellm-provider-models.js +172 -0
  71. package/ccw/dist/config/litellm-provider-models.js.map +1 -0
  72. package/ccw/dist/config/provider-models.d.ts +25 -51
  73. package/ccw/dist/config/provider-models.d.ts.map +1 -1
  74. package/ccw/dist/config/provider-models.js +84 -149
  75. package/ccw/dist/config/provider-models.js.map +1 -1
  76. package/ccw/dist/config/storage-paths.d.ts.map +1 -1
  77. package/ccw/dist/config/storage-paths.js +23 -5
  78. package/ccw/dist/config/storage-paths.js.map +1 -1
  79. package/ccw/dist/core/auth/csrf-middleware.js +3 -3
  80. package/ccw/dist/core/auth/csrf-middleware.js.map +1 -1
  81. package/ccw/dist/core/dashboard-generator.d.ts.map +1 -1
  82. package/ccw/dist/core/dashboard-generator.js +3 -1
  83. package/ccw/dist/core/dashboard-generator.js.map +1 -1
  84. package/ccw/dist/core/routes/claude-routes.d.ts.map +1 -1
  85. package/ccw/dist/core/routes/claude-routes.js +206 -14
  86. package/ccw/dist/core/routes/claude-routes.js.map +1 -1
  87. package/ccw/dist/core/routes/cli-routes.d.ts.map +1 -1
  88. package/ccw/dist/core/routes/cli-routes.js.map +1 -1
  89. package/ccw/dist/core/routes/commands-routes.d.ts +7 -0
  90. package/ccw/dist/core/routes/commands-routes.d.ts.map +1 -0
  91. package/ccw/dist/core/routes/commands-routes.js +480 -0
  92. package/ccw/dist/core/routes/commands-routes.js.map +1 -0
  93. package/ccw/dist/core/routes/model-routes.d.ts +11 -0
  94. package/ccw/dist/core/routes/model-routes.d.ts.map +1 -0
  95. package/ccw/dist/core/routes/model-routes.js +112 -0
  96. package/ccw/dist/core/routes/model-routes.js.map +1 -0
  97. package/ccw/dist/core/routes/nav-status-routes.d.ts.map +1 -1
  98. package/ccw/dist/core/routes/nav-status-routes.js +84 -1
  99. package/ccw/dist/core/routes/nav-status-routes.js.map +1 -1
  100. package/ccw/dist/core/routes/provider-routes.d.ts +11 -0
  101. package/ccw/dist/core/routes/provider-routes.d.ts.map +1 -0
  102. package/ccw/dist/core/routes/provider-routes.js +67 -0
  103. package/ccw/dist/core/routes/provider-routes.js.map +1 -0
  104. package/ccw/dist/core/routes/skills-routes.d.ts.map +1 -1
  105. package/ccw/dist/core/routes/skills-routes.js +219 -7
  106. package/ccw/dist/core/routes/skills-routes.js.map +1 -1
  107. package/ccw/dist/core/routes/system-routes.d.ts.map +1 -1
  108. package/ccw/dist/core/routes/system-routes.js +58 -6
  109. package/ccw/dist/core/routes/system-routes.js.map +1 -1
  110. package/ccw/dist/core/server.d.ts.map +1 -1
  111. package/ccw/dist/core/server.js +13 -0
  112. package/ccw/dist/core/server.js.map +1 -1
  113. package/ccw/dist/mcp-server/index.js +2 -2
  114. package/ccw/dist/mcp-server/index.js.map +1 -1
  115. package/ccw/dist/tools/claude-cli-tools.d.ts +48 -11
  116. package/ccw/dist/tools/claude-cli-tools.d.ts.map +1 -1
  117. package/ccw/dist/tools/claude-cli-tools.js +146 -50
  118. package/ccw/dist/tools/claude-cli-tools.js.map +1 -1
  119. package/ccw/dist/tools/cli-config-manager.d.ts +1 -13
  120. package/ccw/dist/tools/cli-config-manager.d.ts.map +1 -1
  121. package/ccw/dist/tools/cli-config-manager.js +3 -27
  122. package/ccw/dist/tools/cli-config-manager.js.map +1 -1
  123. package/ccw/dist/tools/cli-executor-core.d.ts.map +1 -1
  124. package/ccw/dist/tools/cli-executor-core.js +7 -2
  125. package/ccw/dist/tools/cli-executor-core.js.map +1 -1
  126. package/ccw/dist/tools/cli-executor-state.d.ts.map +1 -1
  127. package/ccw/dist/tools/cli-history-store.d.ts +11 -0
  128. package/ccw/dist/tools/cli-history-store.d.ts.map +1 -1
  129. package/ccw/dist/tools/cli-history-store.js +82 -2
  130. package/ccw/dist/tools/cli-history-store.js.map +1 -1
  131. package/ccw/dist/tools/command-registry.d.ts +7 -0
  132. package/ccw/dist/tools/command-registry.d.ts.map +1 -1
  133. package/ccw/dist/tools/command-registry.js +14 -1
  134. package/ccw/dist/tools/command-registry.js.map +1 -1
  135. package/ccw/dist/tools/generate-module-docs.d.ts.map +1 -1
  136. package/ccw/dist/tools/generate-module-docs.js +11 -7
  137. package/ccw/dist/tools/generate-module-docs.js.map +1 -1
  138. package/ccw/dist/tools/litellm-executor.d.ts +1 -0
  139. package/ccw/dist/tools/litellm-executor.d.ts.map +1 -1
  140. package/ccw/dist/tools/litellm-executor.js +11 -9
  141. package/ccw/dist/tools/litellm-executor.js.map +1 -1
  142. package/ccw/dist/types/skill-types.d.ts +97 -0
  143. package/ccw/dist/types/skill-types.d.ts.map +1 -0
  144. package/ccw/dist/types/skill-types.js +6 -0
  145. package/ccw/dist/types/skill-types.js.map +1 -0
  146. package/ccw/src/commands/cli.ts +36 -5
  147. package/ccw/src/commands/issue.ts +81 -26
  148. package/ccw/src/config/litellm-api-config-manager.ts +5 -3
  149. package/ccw/src/config/litellm-provider-models.ts +222 -0
  150. package/ccw/src/config/provider-models.ts +91 -190
  151. package/ccw/src/config/storage-paths.ts +20 -5
  152. package/ccw/src/core/auth/csrf-middleware.ts +3 -3
  153. package/ccw/src/core/dashboard-generator.ts +3 -1
  154. package/ccw/src/core/routes/claude-routes.ts +233 -15
  155. package/ccw/src/core/routes/cli-routes.ts +2 -3
  156. package/ccw/src/core/routes/commands-routes.ts +620 -0
  157. package/ccw/src/core/routes/nav-status-routes.ts +95 -1
  158. package/ccw/src/core/routes/provider-routes.ts +78 -0
  159. package/ccw/src/core/routes/skills-routes.ts +266 -45
  160. package/ccw/src/core/routes/system-routes.ts +102 -50
  161. package/ccw/src/core/server.ts +13 -0
  162. package/ccw/src/mcp-server/index.ts +2 -2
  163. package/ccw/src/templates/dashboard-css/18-cli-settings.css +35 -0
  164. package/ccw/src/templates/dashboard-css/37-commands.css +193 -0
  165. package/ccw/src/templates/dashboard-js/components/navigation.js +4 -0
  166. package/ccw/src/templates/dashboard-js/i18n.js +116 -0
  167. package/ccw/src/templates/dashboard-js/views/cli-manager.js +249 -4
  168. package/ccw/src/templates/dashboard-js/views/commands-manager.js +503 -0
  169. package/ccw/src/templates/dashboard-js/views/issue-manager.js +7 -7
  170. package/ccw/src/templates/dashboard-js/views/mcp-manager.js +2 -7
  171. package/ccw/src/templates/dashboard-js/views/skills-manager.js +164 -23
  172. package/ccw/src/templates/dashboard.html +7 -0
  173. package/ccw/src/tools/claude-cli-tools.ts +170 -56
  174. package/ccw/src/tools/cli-config-manager.ts +2 -33
  175. package/ccw/src/tools/cli-executor-core.ts +8 -2
  176. package/ccw/src/tools/cli-history-store.ts +92 -2
  177. package/ccw/src/tools/command-registry.ts +16 -1
  178. package/ccw/src/tools/generate-module-docs.ts +11 -7
  179. package/ccw/src/tools/litellm-executor.ts +13 -9
  180. package/ccw/src/types/skill-types.ts +99 -0
  181. package/package.json +1 -1
  182. package/.claude/commands/enhance-prompt.md +0 -93
  183. package/.claude/commands/memory/code-map-memory.md +0 -687
  184. package/.claude/commands/memory/docs.md +0 -615
  185. package/.claude/commands/memory/load-skill-memory.md +0 -182
  186. package/.claude/commands/memory/skill-memory.md +0 -525
  187. package/.claude/commands/memory/swagger-docs.md +0 -773
  188. package/.claude/commands/memory/tech-research-rules.md +0 -310
  189. package/.claude/commands/memory/workflow-skill-memory.md +0 -517
  190. package/.claude/commands/task/breakdown.md +0 -208
  191. package/.claude/commands/task/create.md +0 -152
  192. package/.claude/commands/task/execute.md +0 -270
  193. package/.claude/commands/task/replan.md +0 -441
  194. package/.claude/commands/version.md +0 -254
  195. package/.claude/commands/workflow/action-plan-verify.md +0 -485
  196. package/.claude/commands/workflow/brainstorm/api-designer.md +0 -587
  197. package/.claude/commands/workflow/brainstorm/data-architect.md +0 -220
  198. package/.claude/commands/workflow/brainstorm/product-manager.md +0 -200
  199. package/.claude/commands/workflow/brainstorm/product-owner.md +0 -200
  200. package/.claude/commands/workflow/brainstorm/scrum-master.md +0 -200
  201. package/.claude/commands/workflow/brainstorm/subject-matter-expert.md +0 -200
  202. package/.claude/commands/workflow/brainstorm/system-architect.md +0 -389
  203. package/.claude/commands/workflow/brainstorm/ui-designer.md +0 -221
  204. package/.claude/commands/workflow/brainstorm/ux-expert.md +0 -221
  205. package/.claude/commands/workflow/debug.md +0 -331
  206. package/.claude/commands/workflow/develop-with-file.md +0 -1044
  207. package/.claude/skills/ccw-loop/README.md +0 -303
  208. package/.claude/skills/skill-generator/templates/script-bash.md +0 -277
  209. package/.claude/skills/skill-generator/templates/script-python.md +0 -198
  210. package/.codex/prompts/debug.md +0 -318
  211. package/ccw/src/core/routes/mcp-routes.ts.backup +0 -549
@@ -1,182 +0,0 @@
1
- ---
2
- name: load-skill-memory
3
- description: Activate SKILL package (auto-detect from paths/keywords or manual) and intelligently load documentation based on task intent keywords
4
- argument-hint: "[skill_name] \"task intent description\""
5
- allowed-tools: Bash(*), Read(*), Skill(*)
6
- ---
7
-
8
- # Memory Load SKILL Command (/memory:load-skill-memory)
9
-
10
- ## 1. Overview
11
-
12
- The `memory:load-skill-memory` command **activates SKILL package** (auto-detect from task or manual specification) and intelligently loads documentation based on user's task intent. The system automatically determines which documentation files to read based on the intent description.
13
-
14
- **Core Philosophy**:
15
- - **Flexible Activation**: Auto-detect skill from task description/paths, or user explicitly specifies
16
- - **Intent-Driven Loading**: System analyzes task intent to determine documentation scope
17
- - **Intelligent Selection**: Automatically chooses appropriate documentation level and modules
18
- - **Direct Context Loading**: Loads selected documentation into conversation memory
19
-
20
- **When to Use**:
21
- - Manually activate a known SKILL package for a specific task
22
- - Load SKILL context when system hasn't auto-triggered it
23
- - Force reload SKILL documentation with specific intent focus
24
-
25
- **Note**: Normal SKILL activation happens automatically via description triggers or path mentions (system extracts skill name from file paths for intelligent triggering). Use this command only when manual activation is needed.
26
-
27
- ## 2. Parameters
28
-
29
- - `[skill_name]` (Optional): Name of SKILL package to activate
30
- - If omitted: System auto-detects from task description or file paths
31
- - If specified: Direct activation of named SKILL package
32
- - Example: `my_project`, `api_service`
33
- - Must match directory name under `.claude/skills/`
34
-
35
- - `"task intent description"` (Required): Description of what you want to do
36
- - Used for both: auto-detection (if skill_name omitted) and documentation scope selection
37
- - **Analysis tasks**: "分析builder pattern实现", "理解参数系统架构"
38
- - **Modification tasks**: "修改workflow逻辑", "增强thermal template功能"
39
- - **Learning tasks**: "学习接口设计模式", "了解测试框架使用"
40
- - **With paths**: "修改D:\projects\my_project\src\auth.py的认证逻辑" (auto-extracts `my_project`)
41
-
42
- ## 3. Execution Flow
43
-
44
- ### Step 1: Determine SKILL Name (if not provided)
45
-
46
- **Auto-Detection Strategy** (when skill_name parameter is omitted):
47
- 1. **Path Extraction**: Scan task description for file paths
48
- - Extract potential project names from path segments
49
- - Example: `"修改D:\projects\my_project\src\auth.py"` → extracts `my_project`
50
- 2. **Keyword Matching**: Match task keywords against SKILL descriptions
51
- - Search for project-specific terms, domain keywords
52
- 3. **Validation**: Check if extracted name matches `.claude/skills/{skill_name}/`
53
-
54
- **Result**: Either uses provided skill_name or auto-detected name for activation
55
-
56
- ### Step 2: Activate SKILL and Analyze Intent
57
-
58
- **Activate SKILL Package**:
59
- ```javascript
60
- Skill(command: "${skill_name}") // Uses provided or auto-detected name
61
- ```
62
-
63
- **What Happens After Activation**:
64
- 1. If SKILL exists in memory: System reads `.claude/skills/${skill_name}/SKILL.md`
65
- 2. If SKILL not found in memory: Error - SKILL package doesn't exist
66
- 3. SKILL description triggers are loaded into memory
67
- 4. Progressive loading mechanism becomes available
68
- 5. Documentation structure is now accessible
69
-
70
- **Intent Analysis**:
71
- Based on task intent description, system determines:
72
- - **Action type**: analyzing, modifying, learning
73
- - **Scope**: specific module, architecture overview, complete system
74
- - **Depth**: quick reference, detailed API, full documentation
75
-
76
- ### Step 3: Intelligent Documentation Loading
77
-
78
- **Loading Strategy**:
79
-
80
- The system automatically selects documentation based on intent keywords:
81
-
82
- 1. **Quick Understanding** ("了解", "快速理解", "什么是"):
83
- - Load: Level 0 (README.md only, ~2K tokens)
84
- - Use case: Quick overview of capabilities
85
-
86
- 2. **Specific Module Analysis** ("分析XXX模块", "理解XXX实现"):
87
- - Load: Module-specific README.md + API.md (~5K tokens)
88
- - Use case: Deep dive into specific component
89
-
90
- 3. **Architecture Review** ("架构", "设计模式", "整体结构"):
91
- - Load: README.md + ARCHITECTURE.md (~10K tokens)
92
- - Use case: System design understanding
93
-
94
- 4. **Implementation/Modification** ("修改", "增强", "实现"):
95
- - Load: Relevant module docs + EXAMPLES.md (~15K tokens)
96
- - Use case: Code modification with examples
97
-
98
- 5. **Comprehensive Learning** ("学习", "完整了解", "深入理解"):
99
- - Load: Level 3 (All documentation, ~40K tokens)
100
- - Use case: Complete system mastery
101
-
102
- **Documentation Loaded into Memory**:
103
- After loading, the selected documentation content is available in conversation memory for subsequent operations.
104
-
105
- ## 4. Usage Examples
106
-
107
- ### Example 1: Manual Specification
108
-
109
- **User Command**:
110
- ```bash
111
- /memory:load-skill-memory my_project "修改认证模块增加OAuth支持"
112
- ```
113
-
114
- **Execution**:
115
- ```javascript
116
- // Step 1: Use provided skill_name
117
- skill_name = "my_project" // Directly from parameter
118
-
119
- // Step 2: Activate SKILL
120
- Skill(command: "my_project")
121
-
122
- // Step 3: Intent Analysis
123
- Keywords: ["修改", "认证模块", "增加", "OAuth"]
124
- Action: modifying (implementation)
125
- Scope: auth module + examples
126
-
127
- // Load documentation based on intent
128
- Read(.workflow/docs/my_project/auth/README.md)
129
- Read(.workflow/docs/my_project/auth/API.md)
130
- Read(.workflow/docs/my_project/EXAMPLES.md)
131
- ```
132
-
133
- ### Example 2: Auto-Detection from Path
134
-
135
- **User Command**:
136
- ```bash
137
- /memory:load-skill-memory "修改D:\projects\my_project\src\services\api.py的接口逻辑"
138
- ```
139
-
140
- **Execution**:
141
- ```javascript
142
- // Step 1: Auto-detect skill_name from path
143
- Path detected: "D:\projects\my_project\src\services\api.py"
144
- Extracted: "my_project"
145
- Validated: .claude/skills/my_project/ exists ✓
146
- skill_name = "my_project"
147
-
148
- // Step 2: Activate SKILL
149
- Skill(command: "my_project")
150
-
151
- // Step 3: Intent Analysis
152
- Keywords: ["修改", "services", "接口逻辑"]
153
- Action: modifying (implementation)
154
- Scope: services module + examples
155
-
156
- // Load documentation based on intent
157
- Read(.workflow/docs/my_project/services/README.md)
158
- Read(.workflow/docs/my_project/services/API.md)
159
- Read(.workflow/docs/my_project/EXAMPLES.md)
160
- ```
161
-
162
- ## 5. Intent Keyword Mapping
163
-
164
- **Quick Reference**:
165
- - **Triggers**: "了解", "快速", "什么是", "简介"
166
- - **Loads**: README.md only (~2K)
167
-
168
- **Module-Specific**:
169
- - **Triggers**: "XXX模块", "XXX组件", "分析XXX"
170
- - **Loads**: Module README + API (~5K)
171
-
172
- **Architecture**:
173
- - **Triggers**: "架构", "设计", "整体结构", "系统设计"
174
- - **Loads**: README + ARCHITECTURE (~10K)
175
-
176
- **Implementation**:
177
- - **Triggers**: "修改", "增强", "实现", "开发", "集成"
178
- - **Loads**: Relevant module + EXAMPLES (~15K)
179
-
180
- **Comprehensive**:
181
- - **Triggers**: "完整", "深入", "全面", "学习整个"
182
- - **Loads**: All documentation (~40K)