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,220 +0,0 @@
1
- ---
2
- name: data-architect
3
- description: Generate or update data-architect/analysis.md addressing guidance-specification discussion points for data architecture perspective
4
- argument-hint: "optional topic - uses existing framework if available"
5
- allowed-tools: Task(conceptual-planning-agent), TodoWrite(*), Read(*), Write(*)
6
- ---
7
-
8
- ## 📊 **Data Architect Analysis Generator**
9
-
10
- ### Purpose
11
- **Specialized command for generating data-architect/analysis.md** that addresses guidance-specification.md discussion points from data architecture perspective. Creates or updates role-specific analysis with framework references.
12
-
13
- ### Core Function
14
- - **Framework-based Analysis**: Address each discussion point in guidance-specification.md
15
- - **Data Architecture Focus**: Data models, pipelines, governance, and analytics perspective
16
- - **Update Mechanism**: Create new or update existing analysis.md
17
- - **Agent Delegation**: Use conceptual-planning-agent for analysis generation
18
-
19
- ### Analysis Scope
20
- - **Data Model Design**: Efficient and scalable data models and schemas
21
- - **Data Flow Design**: Data collection, processing, and storage workflows
22
- - **Data Quality Management**: Data accuracy, completeness, and consistency
23
- - **Analytics and Insights**: Data analysis and business intelligence solutions
24
-
25
- ### Role Boundaries & Responsibilities
26
-
27
- #### **What This Role OWNS (Canonical Data Model - Source of Truth)**
28
- - **Canonical Data Model**: The authoritative, system-wide data schema representing domain entities and relationships
29
- - **Entity-Relationship Design**: Defining entities, attributes, relationships, and constraints
30
- - **Data Normalization & Optimization**: Ensuring data integrity, reducing redundancy, and optimizing storage
31
- - **Database Schema Design**: Physical database structures, indexes, partitioning strategies
32
- - **Data Pipeline Architecture**: ETL/ELT processes, data warehousing, and analytics pipelines
33
- - **Data Governance**: Data quality standards, retention policies, and compliance requirements
34
-
35
- #### **What This Role DOES NOT Own (Defers to Other Roles)**
36
- - **API Data Contracts**: Public-facing request/response schemas exposed by APIs → Defers to **API Designer**
37
- - **System Integration Patterns**: How services communicate at the macro level → Defers to **System Architect**
38
- - **UI Data Presentation**: How data is displayed to users → Defers to **UI Designer**
39
-
40
- #### **Handoff Points**
41
- - **TO API Designer**: Provides canonical data model that API Designer translates into public API data contracts (as projection/view)
42
- - **TO System Architect**: Provides data flow requirements and storage constraints to inform system design
43
- - **FROM System Architect**: Receives system-level integration requirements and scalability constraints
44
-
45
- ## ⚙️ **Execution Protocol**
46
-
47
- ### Phase 1: Session & Framework Detection
48
- ```bash
49
- # Check active session and framework
50
- CHECK: find .workflow/active/ -name "WFS-*" -type d
51
- IF active_session EXISTS:
52
- session_id = get_active_session()
53
- brainstorm_dir = .workflow/active/WFS-{session}/.brainstorming/
54
-
55
- CHECK: brainstorm_dir/guidance-specification.md
56
- IF EXISTS:
57
- framework_mode = true
58
- load_framework = true
59
- ELSE:
60
- IF topic_provided:
61
- framework_mode = false # Create analysis without framework
62
- ELSE:
63
- ERROR: "No framework found and no topic provided"
64
- ```
65
-
66
- ### Phase 2: Analysis Mode Detection
67
- ```bash
68
- # Determine execution mode
69
- IF framework_mode == true:
70
- mode = "framework_based_analysis"
71
- topic_ref = load_framework_topic()
72
- discussion_points = extract_framework_points()
73
- ELSE:
74
- mode = "standalone_analysis"
75
- topic_ref = provided_topic
76
- discussion_points = generate_basic_structure()
77
- ```
78
-
79
- ### Phase 3: Agent Execution with Flow Control
80
- **Framework-Based Analysis Generation**
81
-
82
- ```bash
83
- Task(conceptual-planning-agent): "
84
- [FLOW_CONTROL]
85
-
86
- Execute data-architect analysis for existing topic framework
87
-
88
- ## Context Loading
89
- ASSIGNED_ROLE: data-architect
90
- OUTPUT_LOCATION: .workflow/active/WFS-{session}/.brainstorming/data-architect/
91
- ANALYSIS_MODE: {framework_mode ? "framework_based" : "standalone"}
92
-
93
- ## Flow Control Steps
94
- 1. **load_topic_framework**
95
- - Action: Load structured topic discussion framework
96
- - Command: Read(.workflow/active/WFS-{session}/.brainstorming/guidance-specification.md)
97
- - Output: topic_framework_content
98
-
99
- 2. **load_role_template**
100
- - Action: Load data-architect planning template
101
- - Command: bash($(cat ~/.claude/workflows/cli-templates/planning-roles/data-architect.md))
102
- - Output: role_template_guidelines
103
-
104
- 3. **load_session_metadata**
105
- - Action: Load session metadata and existing context
106
- - Command: Read(.workflow/active/WFS-{session}/workflow-session.json)
107
- - Output: session_context
108
-
109
- ## Analysis Requirements
110
- **Framework Reference**: Address all discussion points in guidance-specification.md from data architecture perspective
111
- **Role Focus**: Data models, pipelines, governance, analytics platforms
112
- **Structured Approach**: Create analysis.md addressing framework discussion points
113
- **Template Integration**: Apply role template guidelines within framework structure
114
-
115
- ## Expected Deliverables
116
- 1. **analysis.md**: Comprehensive data architecture analysis addressing all framework discussion points
117
- 2. **Framework Reference**: Include @../guidance-specification.md reference in analysis
118
-
119
- ## Completion Criteria
120
- - Address each discussion point from guidance-specification.md with data architecture expertise
121
- - Provide data model designs, pipeline architectures, and governance strategies
122
- - Include scalability, performance, and quality considerations
123
- - Reference framework document using @ notation for integration
124
- "
125
- ```
126
-
127
- ## 📋 **TodoWrite Integration**
128
-
129
- ### Workflow Progress Tracking
130
- ```javascript
131
- TodoWrite({
132
- todos: [
133
- {
134
- content: "Detect active session and locate topic framework",
135
- status: "in_progress",
136
- activeForm: "Detecting session and framework"
137
- },
138
- {
139
- content: "Load guidance-specification.md and session metadata for context",
140
- status: "pending",
141
- activeForm: "Loading framework and session context"
142
- },
143
- {
144
- content: "Execute data-architect analysis using conceptual-planning-agent with FLOW_CONTROL",
145
- status: "pending",
146
- activeForm: "Executing data-architect framework analysis"
147
- },
148
- {
149
- content: "Generate analysis.md addressing all framework discussion points",
150
- status: "pending",
151
- activeForm: "Generating structured data-architect analysis"
152
- },
153
- {
154
- content: "Update workflow-session.json with data-architect completion status",
155
- status: "pending",
156
- activeForm: "Updating session metadata"
157
- }
158
- ]
159
- });
160
- ```
161
-
162
- ## 📊 **Output Structure**
163
-
164
- ### Framework-Based Analysis
165
- ```
166
- .workflow/active/WFS-{session}/.brainstorming/data-architect/
167
- └── analysis.md # Structured analysis addressing guidance-specification.md discussion points
168
- ```
169
-
170
- ### Analysis Document Structure
171
- ```markdown
172
- # Data Architect Analysis: [Topic from Framework]
173
-
174
- ## Framework Reference
175
- **Topic Framework**: @../guidance-specification.md
176
- **Role Focus**: Data Architecture perspective
177
-
178
- ## Discussion Points Analysis
179
- [Address each point from guidance-specification.md with data architecture expertise]
180
-
181
- ### Core Requirements (from framework)
182
- [Data architecture perspective on requirements]
183
-
184
- ### Technical Considerations (from framework)
185
- [Data model, pipeline, and storage considerations]
186
-
187
- ### User Experience Factors (from framework)
188
- [Data access patterns and analytics user experience]
189
-
190
- ### Implementation Challenges (from framework)
191
- [Data migration, quality, and governance challenges]
192
-
193
- ### Success Metrics (from framework)
194
- [Data quality metrics and analytics success criteria]
195
-
196
- ## Data Architecture Specific Recommendations
197
- [Role-specific data architecture recommendations and solutions]
198
-
199
- ---
200
- *Generated by data-architect analysis addressing structured framework*
201
- ```
202
-
203
- ## 🔄 **Session Integration**
204
-
205
- ### Completion Status Update
206
- ```json
207
- {
208
- "data_architect": {
209
- "status": "completed",
210
- "framework_addressed": true,
211
- "output_location": ".workflow/active/WFS-{session}/.brainstorming/data-architect/analysis.md",
212
- "framework_reference": "@../guidance-specification.md"
213
- }
214
- }
215
- ```
216
-
217
- ### Integration Points
218
- - **Framework Reference**: @../guidance-specification.md for structured discussion points
219
- - **Cross-Role Synthesis**: Data architecture insights available for synthesis-report.md integration
220
- - **Agent Autonomy**: Independent execution with framework guidance
@@ -1,200 +0,0 @@
1
- ---
2
- name: product-manager
3
- description: Generate or update product-manager/analysis.md addressing guidance-specification discussion points for product management perspective
4
- argument-hint: "optional topic - uses existing framework if available"
5
- allowed-tools: Task(conceptual-planning-agent), TodoWrite(*), Read(*), Write(*)
6
- ---
7
-
8
- ## 🎯 **Product Manager Analysis Generator**
9
-
10
- ### Purpose
11
- **Specialized command for generating product-manager/analysis.md** that addresses guidance-specification.md discussion points from product strategy perspective. Creates or updates role-specific analysis with framework references.
12
-
13
- ### Core Function
14
- - **Framework-based Analysis**: Address each discussion point in guidance-specification.md
15
- - **Product Strategy Focus**: User needs, business value, and market positioning
16
- - **Update Mechanism**: Create new or update existing analysis.md
17
- - **Agent Delegation**: Use conceptual-planning-agent for analysis generation
18
-
19
- ### Analysis Scope
20
- - **User Needs Analysis**: Target users, problems, and value propositions
21
- - **Business Impact Assessment**: ROI, metrics, and commercial outcomes
22
- - **Market Positioning**: Competitive analysis and differentiation
23
- - **Product Strategy**: Roadmaps, priorities, and go-to-market approaches
24
-
25
- ## ⚙️ **Execution Protocol**
26
-
27
- ### Phase 1: Session & Framework Detection
28
- ```bash
29
- # Check active session and framework
30
- CHECK: find .workflow/active/ -name "WFS-*" -type d
31
- IF active_session EXISTS:
32
- session_id = get_active_session()
33
- brainstorm_dir = .workflow/active/WFS-{session}/.brainstorming/
34
-
35
- CHECK: brainstorm_dir/guidance-specification.md
36
- IF EXISTS:
37
- framework_mode = true
38
- load_framework = true
39
- ELSE:
40
- IF topic_provided:
41
- framework_mode = false # Create analysis without framework
42
- ELSE:
43
- ERROR: "No framework found and no topic provided"
44
- ```
45
-
46
- ### Phase 2: Analysis Mode Detection
47
- ```bash
48
- # Determine execution mode
49
- IF framework_mode == true:
50
- mode = "framework_based_analysis"
51
- topic_ref = load_framework_topic()
52
- discussion_points = extract_framework_points()
53
- ELSE:
54
- mode = "standalone_analysis"
55
- topic_ref = provided_topic
56
- discussion_points = generate_basic_structure()
57
- ```
58
-
59
- ### Phase 3: Agent Execution with Flow Control
60
- **Framework-Based Analysis Generation**
61
-
62
- ```bash
63
- Task(conceptual-planning-agent): "
64
- [FLOW_CONTROL]
65
-
66
- Execute product-manager analysis for existing topic framework
67
-
68
- ## Context Loading
69
- ASSIGNED_ROLE: product-manager
70
- OUTPUT_LOCATION: .workflow/active/WFS-{session}/.brainstorming/product-manager/
71
- ANALYSIS_MODE: {framework_mode ? "framework_based" : "standalone"}
72
-
73
- ## Flow Control Steps
74
- 1. **load_topic_framework**
75
- - Action: Load structured topic discussion framework
76
- - Command: Read(.workflow/active/WFS-{session}/.brainstorming/guidance-specification.md)
77
- - Output: topic_framework_content
78
-
79
- 2. **load_role_template**
80
- - Action: Load product-manager planning template
81
- - Command: bash($(cat ~/.claude/workflows/cli-templates/planning-roles/product-manager.md))
82
- - Output: role_template_guidelines
83
-
84
- 3. **load_session_metadata**
85
- - Action: Load session metadata and existing context
86
- - Command: Read(.workflow/active/WFS-{session}/workflow-session.json)
87
- - Output: session_context
88
-
89
- ## Analysis Requirements
90
- **Framework Reference**: Address all discussion points in guidance-specification.md from product strategy perspective
91
- **Role Focus**: User value, business impact, market positioning, product strategy
92
- **Structured Approach**: Create analysis.md addressing framework discussion points
93
- **Template Integration**: Apply role template guidelines within framework structure
94
-
95
- ## Expected Deliverables
96
- 1. **analysis.md**: Comprehensive product strategy analysis addressing all framework discussion points
97
- 2. **Framework Reference**: Include @../guidance-specification.md reference in analysis
98
-
99
- ## Completion Criteria
100
- - Address each discussion point from guidance-specification.md with product management expertise
101
- - Provide actionable business strategies and user value propositions
102
- - Include market analysis and competitive positioning insights
103
- - Reference framework document using @ notation for integration
104
- "
105
- ```
106
-
107
- ## 📋 **TodoWrite Integration**
108
-
109
- ### Workflow Progress Tracking
110
- ```javascript
111
- TodoWrite({
112
- todos: [
113
- {
114
- content: "Detect active session and locate topic framework",
115
- status: "in_progress",
116
- activeForm: "Detecting session and framework"
117
- },
118
- {
119
- content: "Load guidance-specification.md and session metadata for context",
120
- status: "pending",
121
- activeForm: "Loading framework and session context"
122
- },
123
- {
124
- content: "Execute product-manager analysis using conceptual-planning-agent with FLOW_CONTROL",
125
- status: "pending",
126
- activeForm: "Executing product-manager framework analysis"
127
- },
128
- {
129
- content: "Generate analysis.md addressing all framework discussion points",
130
- status: "pending",
131
- activeForm: "Generating structured product-manager analysis"
132
- },
133
- {
134
- content: "Update workflow-session.json with product-manager completion status",
135
- status: "pending",
136
- activeForm: "Updating session metadata"
137
- }
138
- ]
139
- });
140
- ```
141
-
142
- ## 📊 **Output Structure**
143
-
144
- ### Framework-Based Analysis
145
- ```
146
- .workflow/active/WFS-{session}/.brainstorming/product-manager/
147
- └── analysis.md # Structured analysis addressing guidance-specification.md discussion points
148
- ```
149
-
150
- ### Analysis Document Structure
151
- ```markdown
152
- # Product Manager Analysis: [Topic from Framework]
153
-
154
- ## Framework Reference
155
- **Topic Framework**: @../guidance-specification.md
156
- **Role Focus**: Product Strategy perspective
157
-
158
- ## Discussion Points Analysis
159
- [Address each point from guidance-specification.md with product management expertise]
160
-
161
- ### Core Requirements (from framework)
162
- [Product strategy perspective on user needs and requirements]
163
-
164
- ### Technical Considerations (from framework)
165
- [Business and technical feasibility considerations]
166
-
167
- ### User Experience Factors (from framework)
168
- [User value proposition and market positioning analysis]
169
-
170
- ### Implementation Challenges (from framework)
171
- [Business execution and go-to-market considerations]
172
-
173
- ### Success Metrics (from framework)
174
- [Product success metrics and business KPIs]
175
-
176
- ## Product Strategy Specific Recommendations
177
- [Role-specific product management strategies and business solutions]
178
-
179
- ---
180
- *Generated by product-manager analysis addressing structured framework*
181
- ```
182
-
183
- ## 🔄 **Session Integration**
184
-
185
- ### Completion Status Update
186
- ```json
187
- {
188
- "product_manager": {
189
- "status": "completed",
190
- "framework_addressed": true,
191
- "output_location": ".workflow/active/WFS-{session}/.brainstorming/product-manager/analysis.md",
192
- "framework_reference": "@../guidance-specification.md"
193
- }
194
- }
195
- ```
196
-
197
- ### Integration Points
198
- - **Framework Reference**: @../guidance-specification.md for structured discussion points
199
- - **Cross-Role Synthesis**: Product strategy insights available for synthesis-report.md integration
200
- - **Agent Autonomy**: Independent execution with framework guidance
@@ -1,200 +0,0 @@
1
- ---
2
- name: product-owner
3
- description: Generate or update product-owner/analysis.md addressing guidance-specification discussion points for product ownership perspective
4
- argument-hint: "optional topic - uses existing framework if available"
5
- allowed-tools: Task(conceptual-planning-agent), TodoWrite(*), Read(*), Write(*)
6
- ---
7
-
8
- ## 🎯 **Product Owner Analysis Generator**
9
-
10
- ### Purpose
11
- **Specialized command for generating product-owner/analysis.md** that addresses guidance-specification.md discussion points from product backlog and feature prioritization perspective. Creates or updates role-specific analysis with framework references.
12
-
13
- ### Core Function
14
- - **Framework-based Analysis**: Address each discussion point in guidance-specification.md
15
- - **Product Backlog Focus**: Feature prioritization, user stories, and acceptance criteria
16
- - **Update Mechanism**: Create new or update existing analysis.md
17
- - **Agent Delegation**: Use conceptual-planning-agent for analysis generation
18
-
19
- ### Analysis Scope
20
- - **Backlog Management**: User story creation, refinement, and prioritization
21
- - **Stakeholder Alignment**: Requirements gathering, value definition, and expectation management
22
- - **Feature Prioritization**: ROI analysis, MoSCoW method, and value-driven delivery
23
- - **Acceptance Criteria**: Definition of Done, acceptance testing, and quality standards
24
-
25
- ## ⚙️ **Execution Protocol**
26
-
27
- ### Phase 1: Session & Framework Detection
28
- ```bash
29
- # Check active session and framework
30
- CHECK: find .workflow/active/ -name "WFS-*" -type d
31
- IF active_session EXISTS:
32
- session_id = get_active_session()
33
- brainstorm_dir = .workflow/active/WFS-{session}/.brainstorming/
34
-
35
- CHECK: brainstorm_dir/guidance-specification.md
36
- IF EXISTS:
37
- framework_mode = true
38
- load_framework = true
39
- ELSE:
40
- IF topic_provided:
41
- framework_mode = false # Create analysis without framework
42
- ELSE:
43
- ERROR: "No framework found and no topic provided"
44
- ```
45
-
46
- ### Phase 2: Analysis Mode Detection
47
- ```bash
48
- # Determine execution mode
49
- IF framework_mode == true:
50
- mode = "framework_based_analysis"
51
- topic_ref = load_framework_topic()
52
- discussion_points = extract_framework_points()
53
- ELSE:
54
- mode = "standalone_analysis"
55
- topic_ref = provided_topic
56
- discussion_points = generate_basic_structure()
57
- ```
58
-
59
- ### Phase 3: Agent Execution with Flow Control
60
- **Framework-Based Analysis Generation**
61
-
62
- ```bash
63
- Task(conceptual-planning-agent): "
64
- [FLOW_CONTROL]
65
-
66
- Execute product-owner analysis for existing topic framework
67
-
68
- ## Context Loading
69
- ASSIGNED_ROLE: product-owner
70
- OUTPUT_LOCATION: .workflow/active/WFS-{session}/.brainstorming/product-owner/
71
- ANALYSIS_MODE: {framework_mode ? "framework_based" : "standalone"}
72
-
73
- ## Flow Control Steps
74
- 1. **load_topic_framework**
75
- - Action: Load structured topic discussion framework
76
- - Command: Read(.workflow/active/WFS-{session}/.brainstorming/guidance-specification.md)
77
- - Output: topic_framework_content
78
-
79
- 2. **load_role_template**
80
- - Action: Load product-owner planning template
81
- - Command: bash($(cat ~/.claude/workflows/cli-templates/planning-roles/product-owner.md))
82
- - Output: role_template_guidelines
83
-
84
- 3. **load_session_metadata**
85
- - Action: Load session metadata and existing context
86
- - Command: Read(.workflow/active/WFS-{session}/workflow-session.json)
87
- - Output: session_context
88
-
89
- ## Analysis Requirements
90
- **Framework Reference**: Address all discussion points in guidance-specification.md from product backlog and feature prioritization perspective
91
- **Role Focus**: Backlog management, stakeholder alignment, feature prioritization, acceptance criteria
92
- **Structured Approach**: Create analysis.md addressing framework discussion points
93
- **Template Integration**: Apply role template guidelines within framework structure
94
-
95
- ## Expected Deliverables
96
- 1. **analysis.md**: Comprehensive product ownership analysis addressing all framework discussion points
97
- 2. **Framework Reference**: Include @../guidance-specification.md reference in analysis
98
-
99
- ## Completion Criteria
100
- - Address each discussion point from guidance-specification.md with product ownership expertise
101
- - Provide actionable user stories and acceptance criteria definitions
102
- - Include feature prioritization and stakeholder alignment strategies
103
- - Reference framework document using @ notation for integration
104
- "
105
- ```
106
-
107
- ## 📋 **TodoWrite Integration**
108
-
109
- ### Workflow Progress Tracking
110
- ```javascript
111
- TodoWrite({
112
- todos: [
113
- {
114
- content: "Detect active session and locate topic framework",
115
- status: "in_progress",
116
- activeForm: "Detecting session and framework"
117
- },
118
- {
119
- content: "Load guidance-specification.md and session metadata for context",
120
- status: "pending",
121
- activeForm: "Loading framework and session context"
122
- },
123
- {
124
- content: "Execute product-owner analysis using conceptual-planning-agent with FLOW_CONTROL",
125
- status: "pending",
126
- activeForm: "Executing product-owner framework analysis"
127
- },
128
- {
129
- content: "Generate analysis.md addressing all framework discussion points",
130
- status: "pending",
131
- activeForm: "Generating structured product-owner analysis"
132
- },
133
- {
134
- content: "Update workflow-session.json with product-owner completion status",
135
- status: "pending",
136
- activeForm: "Updating session metadata"
137
- }
138
- ]
139
- });
140
- ```
141
-
142
- ## 📊 **Output Structure**
143
-
144
- ### Framework-Based Analysis
145
- ```
146
- .workflow/active/WFS-{session}/.brainstorming/product-owner/
147
- └── analysis.md # Structured analysis addressing guidance-specification.md discussion points
148
- ```
149
-
150
- ### Analysis Document Structure
151
- ```markdown
152
- # Product Owner Analysis: [Topic from Framework]
153
-
154
- ## Framework Reference
155
- **Topic Framework**: @../guidance-specification.md
156
- **Role Focus**: Product Backlog & Feature Prioritization perspective
157
-
158
- ## Discussion Points Analysis
159
- [Address each point from guidance-specification.md with product ownership expertise]
160
-
161
- ### Core Requirements (from framework)
162
- [User story formulation and backlog refinement perspective]
163
-
164
- ### Technical Considerations (from framework)
165
- [Technical feasibility and implementation sequencing considerations]
166
-
167
- ### User Experience Factors (from framework)
168
- [User value definition and acceptance criteria analysis]
169
-
170
- ### Implementation Challenges (from framework)
171
- [Sprint planning, dependency management, and delivery strategies]
172
-
173
- ### Success Metrics (from framework)
174
- [Feature adoption, value delivery metrics, and stakeholder satisfaction indicators]
175
-
176
- ## Product Owner Specific Recommendations
177
- [Role-specific backlog management and feature prioritization strategies]
178
-
179
- ---
180
- *Generated by product-owner analysis addressing structured framework*
181
- ```
182
-
183
- ## 🔄 **Session Integration**
184
-
185
- ### Completion Status Update
186
- ```json
187
- {
188
- "product_owner": {
189
- "status": "completed",
190
- "framework_addressed": true,
191
- "output_location": ".workflow/active/WFS-{session}/.brainstorming/product-owner/analysis.md",
192
- "framework_reference": "@../guidance-specification.md"
193
- }
194
- }
195
- ```
196
-
197
- ### Integration Points
198
- - **Framework Reference**: @../guidance-specification.md for structured discussion points
199
- - **Cross-Role Synthesis**: Product ownership insights available for synthesis-report.md integration
200
- - **Agent Autonomy**: Independent execution with framework guidance