claude-code-workflow 6.3.50 → 6.3.52

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 (71) hide show
  1. package/.claude/commands/view.md +367 -0
  2. package/.claude/commands/workflow/merge-plans-with-file.md +807 -0
  3. package/.claude/commands/workflow/quick-plan-with-file.md +808 -0
  4. package/.claude/commands/workflow/unified-execute-with-file.md +807 -0
  5. package/.claude/skills/ccw-help/SKILL.md +72 -12
  6. package/.claude/skills/ccw-help/command.json +922 -520
  7. package/.claude/skills/ccw-help/index/all-agents.json +97 -0
  8. package/.claude/skills/ccw-help/index/all-commands.json +805 -0
  9. package/.claude/skills/ccw-help/index/by-category.json +833 -0
  10. package/.claude/skills/ccw-help/index/by-use-case.json +819 -0
  11. package/.claude/skills/ccw-help/index/command-relationships.json +160 -0
  12. package/.claude/skills/ccw-help/index/essential-commands.json +90 -0
  13. package/.claude/skills/ccw-help/scripts/auto-update.py +34 -0
  14. package/.claude/skills/skill-generator/SKILL.md +255 -208
  15. package/.claude/skills/skill-generator/phases/01-requirements-discovery.md +238 -228
  16. package/.claude/skills/skill-generator/phases/02-structure-generation.md +261 -262
  17. package/.claude/skills/skill-generator/phases/03-phase-generation.md +976 -969
  18. package/.claude/skills/skill-generator/phases/04-specs-templates.md +398 -398
  19. package/.claude/skills/skill-generator/phases/05-validation.md +417 -417
  20. package/.claude/skills/skill-generator/specs/cli-integration.md +131 -131
  21. package/.claude/skills/skill-generator/specs/execution-modes.md +399 -396
  22. package/.claude/skills/skill-generator/specs/reference-docs-spec.md +271 -0
  23. package/.claude/skills/skill-generator/specs/scripting-integration.md +265 -265
  24. package/.claude/skills/skill-generator/specs/skill-requirements.md +466 -466
  25. package/.claude/skills/skill-generator/templates/autonomous-action.md +91 -88
  26. package/.claude/skills/skill-generator/templates/autonomous-orchestrator.md +89 -89
  27. package/.claude/skills/skill-generator/templates/code-analysis-action.md +148 -149
  28. package/.claude/skills/skill-generator/templates/llm-action.md +367 -367
  29. package/.claude/skills/skill-generator/templates/script-template.md +79 -79
  30. package/.claude/skills/skill-generator/templates/sequential-phase.md +129 -129
  31. package/.claude/skills/skill-generator/templates/skill-md.md +134 -75
  32. package/.codex/prompts/brainstorm-with-file.md +99 -32
  33. package/.codex/prompts/merge-plans-with-file.md +530 -0
  34. package/.codex/prompts/quick-plan-with-file.md +450 -0
  35. package/.codex/prompts/unified-execute-with-file.md +722 -0
  36. package/.codex/skills/codex-issue-plan-execute/SKILL.md +214 -0
  37. package/.codex/skills/codex-issue-plan-execute/phases/actions/action-complete.md +173 -0
  38. package/.codex/skills/codex-issue-plan-execute/phases/actions/action-execute.md +220 -0
  39. package/.codex/skills/codex-issue-plan-execute/phases/actions/action-init.md +86 -0
  40. package/.codex/skills/codex-issue-plan-execute/phases/actions/action-list.md +165 -0
  41. package/.codex/skills/codex-issue-plan-execute/phases/actions/action-plan.md +170 -0
  42. package/.codex/skills/codex-issue-plan-execute/phases/orchestrator.md +212 -0
  43. package/.codex/skills/codex-issue-plan-execute/phases/state-schema.md +136 -0
  44. package/.codex/skills/codex-issue-plan-execute/prompts/execution-agent-system.md +32 -0
  45. package/.codex/skills/codex-issue-plan-execute/prompts/execution-agent.md +323 -0
  46. package/.codex/skills/codex-issue-plan-execute/prompts/planning-agent-system.md +32 -0
  47. package/.codex/skills/codex-issue-plan-execute/prompts/planning-agent.md +224 -0
  48. package/.codex/skills/codex-issue-plan-execute/specs/agent-roles.md +468 -0
  49. package/.codex/skills/codex-issue-plan-execute/specs/issue-handling.md +187 -0
  50. package/.codex/skills/codex-issue-plan-execute/specs/quality-standards.md +231 -0
  51. package/.codex/skills/codex-issue-plan-execute/specs/solution-schema.md +270 -0
  52. package/.codex/skills/codex-issue-plan-execute/specs/subagent-roles.md +32 -0
  53. package/ccw/dist/commands/cli.d.ts.map +1 -1
  54. package/ccw/dist/commands/cli.js +23 -2
  55. package/ccw/dist/commands/cli.js.map +1 -1
  56. package/ccw/dist/core/routes/help-routes.d.ts.map +1 -1
  57. package/ccw/dist/core/routes/help-routes.js +51 -1
  58. package/ccw/dist/core/routes/help-routes.js.map +1 -1
  59. package/ccw/dist/tools/cli-executor-core.d.ts.map +1 -1
  60. package/ccw/dist/tools/cli-executor-core.js +5 -3
  61. package/ccw/dist/tools/cli-executor-core.js.map +1 -1
  62. package/ccw/dist/tools/cli-executor-utils.d.ts +1 -0
  63. package/ccw/dist/tools/cli-executor-utils.d.ts.map +1 -1
  64. package/ccw/dist/tools/cli-executor-utils.js +9 -1
  65. package/ccw/dist/tools/cli-executor-utils.js.map +1 -1
  66. package/ccw/src/commands/cli.ts +26 -2
  67. package/ccw/src/core/routes/help-routes.ts +60 -1
  68. package/ccw/src/templates/dashboard-js/views/help.js +423 -1
  69. package/ccw/src/tools/cli-executor-core.ts +6 -3
  70. package/ccw/src/tools/cli-executor-utils.ts +11 -2
  71. package/package.json +1 -1
@@ -1,262 +1,261 @@
1
- # Phase 2: Structure Generation
2
-
3
- 根据配置创建 Skill 目录结构和入口文件。
4
-
5
- ## Objective
6
-
7
- - 创建标准目录结构
8
- - 生成 SKILL.md 入口文件
9
- - 根据执行模式创建对应的子目录
10
-
11
-
12
-
13
- ## Execution Steps
14
-
15
- ### Step 1: 读取配置
16
-
17
- ```javascript
18
- const config = JSON.parse(Read(`${workDir}/skill-config.json`));
19
- const skillDir = `.claude/skills/${config.skill_name}`;
20
- ```
21
-
22
- ### Step 2: 创建目录结构
23
-
24
- #### 基础目录(所有模式)
25
-
26
- ```javascript
27
- // 基础架构
28
- Bash(`mkdir -p "${skillDir}/{phases,specs,templates,scripts}"`);
29
- ```
30
-
31
- #### 执行模式特定目录
32
-
33
- ```
34
- config.execution_mode
35
-
36
- ├─ "sequential"
37
- Creates:
38
- └─ phases/ (基础目录已包含)
39
- ├─ _orchestrator.md
40
- └─ workflow.json
41
-
42
- └─ "autonomous" | "hybrid"
43
- Creates:
44
- └─ phases/actions/
45
- ├─ state-schema.md
46
- └─ *.md (动作文件)
47
- ```
48
-
49
- ```javascript
50
- // Autonomous/Hybrid 模式额外目录
51
- if (config.execution_mode === 'autonomous' || config.execution_mode === 'hybrid') {
52
- Bash(`mkdir -p "${skillDir}/phases/actions"`);
53
- }
54
- ```
55
-
56
- #### Context Strategy 特定目录 (P0 增强)
57
-
58
- ```javascript
59
- // ========== P0: 根据上下文策略创建目录 ==========
60
- const contextStrategy = config.context_strategy || 'file';
61
-
62
- if (contextStrategy === 'file') {
63
- // 文件策略:创建上下文持久化目录
64
- Bash(`mkdir -p "${skillDir}/.scratchpad-template/context"`);
65
-
66
- // 创建上下文模板文件
67
- Write(
68
- `${skillDir}/.scratchpad-template/context/.gitkeep`,
69
- "# Runtime context storage for file-based strategy"
70
- );
71
- }
72
- // 内存策略无需创建目录 (in-memory only)
73
- ```
74
-
75
- **目录树视图**:
76
-
77
- ```
78
- Sequential + File Strategy:
79
- .claude/skills/{skill-name}/
80
- ├── phases/
81
- │ ├── _orchestrator.md
82
- │ ├── workflow.json
83
- ├── 01-*.md
84
- │ └── 02-*.md
85
- ├── .scratchpad-template/
86
- └── context/ ← File strategy persistent storage
87
- └── specs/
88
-
89
- Autonomous + Memory Strategy:
90
- .claude/skills/{skill-name}/
91
- ├── phases/
92
- │ ├── orchestrator.md
93
- ├── state-schema.md
94
- └── actions/
95
- └── *.md
96
- └── specs/
97
- ```
98
-
99
- ### Step 3: 生成 SKILL.md
100
-
101
- ```javascript
102
- const skillMdTemplate = `---
103
- name: ${config.skill_name}
104
- description: ${config.description}. Triggers on ${config.triggers.map(t => `"${t}"`).join(", ")}.
105
- allowed-tools: ${config.allowed_tools.join(", ")}
106
- ---
107
-
108
- # ${config.display_name}
109
-
110
- ${config.description}
111
-
112
- ## Architecture Overview
113
-
114
- \`\`\`
115
- ${generateArchitectureDiagram(config)}
116
- \`\`\`
117
-
118
- ## Key Design Principles
119
-
120
- ${generateDesignPrinciples(config)}
121
-
122
- ## Execution Flow
123
-
124
- ${generateExecutionFlow(config)}
125
-
126
- ## Directory Setup
127
-
128
- \`\`\`javascript
129
- const timestamp = new Date().toISOString().slice(0,19).replace(/[-:T]/g, '');
130
- const workDir = \`${config.output.location.replace('{timestamp}', '${timestamp}')}\`;
131
-
132
- Bash(\`mkdir -p "\${workDir}"\`);
133
- ${config.execution_mode === 'sequential' ?
134
- `Bash(\`mkdir -p "\${workDir}/sections"\`);` :
135
- `Bash(\`mkdir -p "\${workDir}/state"\`);`}
136
- \`\`\`
137
-
138
- ## Output Structure
139
-
140
- \`\`\`
141
- ${generateOutputStructure(config)}
142
- \`\`\`
143
-
144
- ## Reference Documents
145
-
146
- ${generateReferenceTable(config)}
147
- `;
148
-
149
- Write(`${skillDir}/SKILL.md`, skillMdTemplate);
150
- ```
151
-
152
- ### Step 4: 架构图生成函数
153
-
154
- ```javascript
155
- function generateArchitectureDiagram(config) {
156
- if (config.execution_mode === 'sequential') {
157
- return config.sequential_config.phases.map((p, i) =>
158
- `│ Phase ${i+1}: ${p.name.padEnd(15)} → ${p.output || 'output-' + (i+1) + '.json'}${' '.repeat(10)}│`
159
- ).join('\n│ ↓' + ' '.repeat(45) + '│\n');
160
- } else {
161
- return `
162
- ┌─────────────────────────────────────────────────────────────────┐
163
- │ Orchestrator (状态驱动决策) │
164
- └───────────────┬─────────────────────────────────────────────────┘
165
-
166
- ┌───────────┼───────────┐
167
- ↓ ↓ ↓
168
- ${config.autonomous_config.actions.slice(0, 3).map(a =>
169
- `┌─────────┐ `).join('')}
170
- ${config.autonomous_config.actions.slice(0, 3).map(a =>
171
- `│${a.name.slice(0, 7).padEnd(7)}│ `).join('')}
172
- ${config.autonomous_config.actions.slice(0, 3).map(a =>
173
- `└─────────┘ `).join('')}`;
174
- }
175
- }
176
-
177
- function generateDesignPrinciples(config) {
178
- const common = [
179
- "1. **规范遵循**: 严格遵循 `_shared/SKILL-DESIGN-SPEC.md`",
180
- "2. **简要返回**: Agent 返回路径+摘要,避免上下文溢出"
181
- ];
182
-
183
- if (config.execution_mode === 'sequential') {
184
- return [...common,
185
- "3. **阶段隔离**: 每个阶段独立可测",
186
- "4. **链式输出**: 阶段产出作为下阶段输入"
187
- ].join('\n');
188
- } else {
189
- return [...common,
190
- "3. **状态驱动**: 显式状态管理,动态决策",
191
- "4. **动作独立**: 每个动作无副作用依赖"
192
- ].join('\n');
193
- }
194
- }
195
-
196
- function generateExecutionFlow(config) {
197
- if (config.execution_mode === 'sequential') {
198
- return '```\n' + config.sequential_config.phases.map((p, i) =>
199
- `├─ Phase ${i+1}: ${p.name}\n│ → Output: ${p.output || 'output.json'}`
200
- ).join('\n') + '\n```';
201
- } else {
202
- return `\`\`\`
203
- ┌─────────────────────────────────────────────────────────────────┐
204
- Orchestrator Loop
205
- ┌──────────┐ ┌──────────┐ ┌──────────┐
206
- │ │ Read │────▶│ Select │────▶│ Execute │ │
207
- │ State │ │ Action │ │ Action │
208
- └──────────┘ └──────────┘ └──────────┘
209
- ▲ │
210
- │ └──────────── Update State ◀───────┘ │
211
- └─────────────────────────────────────────────────────────────────┘
212
- \`\`\``;
213
- }
214
- }
215
-
216
- function generateOutputStructure(config) {
217
- const base = `${config.output.location}/
218
- ├── ${config.execution_mode === 'sequential' ? 'sections/' : 'state.json'}`;
219
-
220
- if (config.execution_mode === 'sequential') {
221
- return base + '\n' + config.sequential_config.phases.map(p =>
222
- `│ └── ${p.output || 'section-' + p.id + '.md'}`
223
- ).join('\n') + `\n└── ${config.output.filename_pattern}`;
224
- } else {
225
- return base + `
226
- ├── actions-log.json
227
- └── ${config.output.filename_pattern}`;
228
- }
229
- }
230
-
231
- function generateReferenceTable(config) {
232
- const rows = [];
233
-
234
- if (config.execution_mode === 'sequential') {
235
- config.sequential_config.phases.forEach(p => {
236
- rows.push(`| [phases/${p.id}.md](phases/${p.id}.md) | ${p.name} |`);
237
- });
238
- } else {
239
- rows.push(`| [phases/orchestrator.md](phases/orchestrator.md) | 编排器 |`);
240
- rows.push(`| [phases/state-schema.md](phases/state-schema.md) | 状态定义 |`);
241
- config.autonomous_config.actions.forEach(a => {
242
- rows.push(`| [phases/actions/${a.id}.md](phases/actions/${a.id}.md) | ${a.name} |`);
243
- });
244
- }
245
-
246
- rows.push(`| [specs/${config.skill_name}-requirements.md](specs/${config.skill_name}-requirements.md) | 领域规范 |`);
247
- rows.push(`| [specs/quality-standards.md](specs/quality-standards.md) | 质量标准 |`);
248
-
249
- return `| Document | Purpose |\n|----------|---------||\n` + rows.join('\n');
250
- }
251
- ```
252
-
253
-
254
-
255
- ## Next Phase
256
-
257
- → [Phase 3: Phase Generation](03-phase-generation.md)
258
-
259
- **Data Flow to Phase 3**:
260
- - Complete directory structure in .claude/skills/{skill-name}/
261
- - SKILL.md entry file ready for phase/action generation
262
- - skill-config.json for template population
1
+ # Phase 2: Structure Generation
2
+
3
+ Create Skill directory structure and entry file based on configuration.
4
+
5
+ ## Objective
6
+
7
+ - Create standard directory structure
8
+ - Generate SKILL.md entry file
9
+ - Create corresponding subdirectories based on execution mode
10
+
11
+
12
+ ## Execution Steps
13
+
14
+ ### Step 1: Read Configuration
15
+
16
+ ```javascript
17
+ const config = JSON.parse(Read(`${workDir}/skill-config.json`));
18
+ const skillDir = `.claude/skills/${config.skill_name}`;
19
+ ```
20
+
21
+ ### Step 2: Create Directory Structure
22
+
23
+ #### Base Directories (All Modes)
24
+
25
+ ```javascript
26
+ // Base infrastructure
27
+ Bash(`mkdir -p "${skillDir}/{phases,specs,templates,scripts}"`);
28
+ ```
29
+
30
+ #### Execution Mode-Specific Directories
31
+
32
+ ```
33
+ config.execution_mode
34
+
35
+ ├─ "sequential"
36
+ │ ↓ Creates:
37
+ └─ phases/ (base directory already included)
38
+ ├─ _orchestrator.md
39
+ └─ workflow.json
40
+
41
+ └─ "autonomous" | "hybrid"
42
+ Creates:
43
+ └─ phases/actions/
44
+ ├─ state-schema.md
45
+ └─ *.md (action files)
46
+ ```
47
+
48
+ ```javascript
49
+ // Additional directories for Autonomous/Hybrid mode
50
+ if (config.execution_mode === 'autonomous' || config.execution_mode === 'hybrid') {
51
+ Bash(`mkdir -p "${skillDir}/phases/actions"`);
52
+ }
53
+ ```
54
+
55
+ #### Context Strategy-Specific Directories (P0 Enhancement)
56
+
57
+ ```javascript
58
+ // ========== P0: Create directories based on context strategy ==========
59
+ const contextStrategy = config.context_strategy || 'file';
60
+
61
+ if (contextStrategy === 'file') {
62
+ // File strategy: Create persistent context directory
63
+ Bash(`mkdir -p "${skillDir}/.scratchpad-template/context"`);
64
+
65
+ // Create context template file
66
+ Write(
67
+ `${skillDir}/.scratchpad-template/context/.gitkeep`,
68
+ "# Runtime context storage for file-based strategy"
69
+ );
70
+ }
71
+ // Memory strategy does not require directory creation (in-memory only)
72
+ ```
73
+
74
+ **Directory Tree View**:
75
+
76
+ ```
77
+ Sequential + File Strategy:
78
+ .claude/skills/{skill-name}/
79
+ ├── phases/
80
+ ├── _orchestrator.md
81
+ │ ├── workflow.json
82
+ │ ├── 01-*.md
83
+ └── 02-*.md
84
+ ├── .scratchpad-template/
85
+ │ └── context/ <- File strategy persistent storage
86
+ └── specs/
87
+
88
+ Autonomous + Memory Strategy:
89
+ .claude/skills/{skill-name}/
90
+ ├── phases/
91
+ ├── orchestrator.md
92
+ │ ├── state-schema.md
93
+ └── actions/
94
+ └── *.md
95
+ └── specs/
96
+ ```
97
+
98
+ ### Step 3: Generate SKILL.md
99
+
100
+ ```javascript
101
+ const skillMdTemplate = `---
102
+ name: ${config.skill_name}
103
+ description: ${config.description}. Triggers on ${config.triggers.map(t => `"${t}"`).join(", ")}.
104
+ allowed-tools: ${config.allowed_tools.join(", ")}
105
+ ---
106
+
107
+ # ${config.display_name}
108
+
109
+ ${config.description}
110
+
111
+ ## Architecture Overview
112
+
113
+ \`\`\`
114
+ ${generateArchitectureDiagram(config)}
115
+ \`\`\`
116
+
117
+ ## Key Design Principles
118
+
119
+ ${generateDesignPrinciples(config)}
120
+
121
+ ## Execution Flow
122
+
123
+ ${generateExecutionFlow(config)}
124
+
125
+ ## Directory Setup
126
+
127
+ \`\`\`javascript
128
+ const timestamp = new Date().toISOString().slice(0,19).replace(/[-:T]/g, '');
129
+ const workDir = \`${config.output.location.replace('{timestamp}', '${timestamp}')}\`;
130
+
131
+ Bash(\`mkdir -p "\${workDir}"\`);
132
+ ${config.execution_mode === 'sequential' ?
133
+ `Bash(\`mkdir -p "\${workDir}/sections"\`);` :
134
+ `Bash(\`mkdir -p "\${workDir}/state"\`);`}
135
+ \`\`\`
136
+
137
+ ## Output Structure
138
+
139
+ \`\`\`
140
+ ${generateOutputStructure(config)}
141
+ \`\`\`
142
+
143
+ ## Reference Documents
144
+
145
+ ${generateReferenceTable(config)}
146
+ `;
147
+
148
+ Write(`${skillDir}/SKILL.md`, skillMdTemplate);
149
+ ```
150
+
151
+ ### Step 4: Architecture Diagram Generation Functions
152
+
153
+ ```javascript
154
+ function generateArchitectureDiagram(config) {
155
+ if (config.execution_mode === 'sequential') {
156
+ return config.sequential_config.phases.map((p, i) =>
157
+ `│ Phase ${i+1}: ${p.name.padEnd(15)} → ${p.output || 'output-' + (i+1) + '.json'}${' '.repeat(10)}│`
158
+ ).join('\n│ ↓' + ' '.repeat(45) + '│\n');
159
+ } else {
160
+ return `
161
+ ┌─────────────────────────────────────────────────────────────────┐
162
+ │ Orchestrator (State-driven decision-making) │
163
+ └───────────────┬─────────────────────────────────────────────────┘
164
+
165
+ ┌───────────┼───────────┐
166
+ ↓ ↓ ↓
167
+ ${config.autonomous_config.actions.slice(0, 3).map(a =>
168
+ `┌─────────┐ `).join('')}
169
+ ${config.autonomous_config.actions.slice(0, 3).map(a =>
170
+ `│${a.name.slice(0, 7).padEnd(7)}│ `).join('')}
171
+ ${config.autonomous_config.actions.slice(0, 3).map(a =>
172
+ `└─────────┘ `).join('')}`;
173
+ }
174
+ }
175
+
176
+ function generateDesignPrinciples(config) {
177
+ const common = [
178
+ "1. **Specification Compliance**: Strictly follow `_shared/SKILL-DESIGN-SPEC.md`",
179
+ "2. **Brief Return**: Agent returns path+summary, avoiding context overflow"
180
+ ];
181
+
182
+ if (config.execution_mode === 'sequential') {
183
+ return [...common,
184
+ "3. **Phase Isolation**: Each phase is independently testable",
185
+ "4. **Chained Output**: Phase output becomes next phase input"
186
+ ].join('\n');
187
+ } else {
188
+ return [...common,
189
+ "3. **State-driven**: Explicit state management, dynamic decision-making",
190
+ "4. **Action Independence**: Each action has no side-effect dependencies"
191
+ ].join('\n');
192
+ }
193
+ }
194
+
195
+ function generateExecutionFlow(config) {
196
+ if (config.execution_mode === 'sequential') {
197
+ return '```\n' + config.sequential_config.phases.map((p, i) =>
198
+ `├─ Phase ${i+1}: ${p.name}\n│ → Output: ${p.output || 'output.json'}`
199
+ ).join('\n') + '\n```';
200
+ } else {
201
+ return `\`\`\`
202
+ ┌─────────────────────────────────────────────────────────────────┐
203
+ │ Orchestrator Loop │
204
+ ┌──────────┐ ┌──────────┐ ┌──────────┐
205
+ │ Read │────▶│ Select │────▶│ Execute │
206
+ │ │ State │ Action │ │ Action │ │
207
+ └──────────┘ └──────────┘ └──────────┘
208
+
209
+ └──────────── Update State ◀───────┘
210
+ └─────────────────────────────────────────────────────────────────┘
211
+ \`\`\``;
212
+ }
213
+ }
214
+
215
+ function generateOutputStructure(config) {
216
+ const base = `${config.output.location}/
217
+ ├── ${config.execution_mode === 'sequential' ? 'sections/' : 'state.json'}`;
218
+
219
+ if (config.execution_mode === 'sequential') {
220
+ return base + '\n' + config.sequential_config.phases.map(p =>
221
+ `│ └── ${p.output || 'section-' + p.id + '.md'}`
222
+ ).join('\n') + `\n└── ${config.output.filename_pattern}`;
223
+ } else {
224
+ return base + `
225
+ ├── actions-log.json
226
+ └── ${config.output.filename_pattern}`;
227
+ }
228
+ }
229
+
230
+ function generateReferenceTable(config) {
231
+ const rows = [];
232
+
233
+ if (config.execution_mode === 'sequential') {
234
+ config.sequential_config.phases.forEach(p => {
235
+ rows.push(`| [phases/${p.id}.md](phases/${p.id}.md) | ${p.name} |`);
236
+ });
237
+ } else {
238
+ rows.push(`| [phases/orchestrator.md](phases/orchestrator.md) | Orchestrator |`);
239
+ rows.push(`| [phases/state-schema.md](phases/state-schema.md) | State Definition |`);
240
+ config.autonomous_config.actions.forEach(a => {
241
+ rows.push(`| [phases/actions/${a.id}.md](phases/actions/${a.id}.md) | ${a.name} |`);
242
+ });
243
+ }
244
+
245
+ rows.push(`| [specs/${config.skill_name}-requirements.md](specs/${config.skill_name}-requirements.md) | Domain Requirements |`);
246
+ rows.push(`| [specs/quality-standards.md](specs/quality-standards.md) | Quality Standards |`);
247
+
248
+ return `| Document | Purpose |\n|----------|---------||\n` + rows.join('\n');
249
+ }
250
+ ```
251
+
252
+
253
+
254
+ ## Next Phase
255
+
256
+ → [Phase 3: Phase Generation](03-phase-generation.md)
257
+
258
+ **Data Flow to Phase 3**:
259
+ - Complete directory structure in .claude/skills/{skill-name}/
260
+ - SKILL.md entry file ready for phase/action generation
261
+ - skill-config.json for template population