@trespies-source/dojo-genesis-plugin 1.0.0

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 (209) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/LICENSE +21 -0
  3. package/README.md +204 -0
  4. package/dist/hooks/after-tool-call/handler.d.ts +4 -0
  5. package/dist/hooks/after-tool-call/handler.d.ts.map +1 -0
  6. package/dist/hooks/after-tool-call/handler.js +37 -0
  7. package/dist/hooks/after-tool-call/handler.js.map +1 -0
  8. package/dist/hooks/agent-end/handler.d.ts +4 -0
  9. package/dist/hooks/agent-end/handler.d.ts.map +1 -0
  10. package/dist/hooks/agent-end/handler.js +16 -0
  11. package/dist/hooks/agent-end/handler.js.map +1 -0
  12. package/dist/hooks/before-agent-start/handler.d.ts +4 -0
  13. package/dist/hooks/before-agent-start/handler.d.ts.map +1 -0
  14. package/dist/hooks/before-agent-start/handler.js +81 -0
  15. package/dist/hooks/before-agent-start/handler.js.map +1 -0
  16. package/dist/index.d.ts +18 -0
  17. package/dist/index.d.ts.map +1 -0
  18. package/dist/index.js +35 -0
  19. package/dist/index.js.map +1 -0
  20. package/dist/src/commands/archive.d.ts +4 -0
  21. package/dist/src/commands/archive.d.ts.map +1 -0
  22. package/dist/src/commands/archive.js +20 -0
  23. package/dist/src/commands/archive.js.map +1 -0
  24. package/dist/src/commands/init.d.ts +4 -0
  25. package/dist/src/commands/init.d.ts.map +1 -0
  26. package/dist/src/commands/init.js +57 -0
  27. package/dist/src/commands/init.js.map +1 -0
  28. package/dist/src/commands/list.d.ts +4 -0
  29. package/dist/src/commands/list.d.ts.map +1 -0
  30. package/dist/src/commands/list.js +9 -0
  31. package/dist/src/commands/list.js.map +1 -0
  32. package/dist/src/commands/router.d.ts +3 -0
  33. package/dist/src/commands/router.d.ts.map +1 -0
  34. package/dist/src/commands/router.js +83 -0
  35. package/dist/src/commands/router.js.map +1 -0
  36. package/dist/src/commands/skill-invoke.d.ts +4 -0
  37. package/dist/src/commands/skill-invoke.d.ts.map +1 -0
  38. package/dist/src/commands/skill-invoke.js +26 -0
  39. package/dist/src/commands/skill-invoke.js.map +1 -0
  40. package/dist/src/commands/status.d.ts +4 -0
  41. package/dist/src/commands/status.d.ts.map +1 -0
  42. package/dist/src/commands/status.js +42 -0
  43. package/dist/src/commands/status.js.map +1 -0
  44. package/dist/src/commands/switch.d.ts +4 -0
  45. package/dist/src/commands/switch.d.ts.map +1 -0
  46. package/dist/src/commands/switch.js +20 -0
  47. package/dist/src/commands/switch.js.map +1 -0
  48. package/dist/src/orchestration/tool-registry.d.ts +18 -0
  49. package/dist/src/orchestration/tool-registry.d.ts.map +1 -0
  50. package/dist/src/orchestration/tool-registry.js +153 -0
  51. package/dist/src/orchestration/tool-registry.js.map +1 -0
  52. package/dist/src/skills/catalog.d.ts +9 -0
  53. package/dist/src/skills/catalog.d.ts.map +1 -0
  54. package/dist/src/skills/catalog.js +251 -0
  55. package/dist/src/skills/catalog.js.map +1 -0
  56. package/dist/src/state/manager.d.ts +19 -0
  57. package/dist/src/state/manager.d.ts.map +1 -0
  58. package/dist/src/state/manager.js +114 -0
  59. package/dist/src/state/manager.js.map +1 -0
  60. package/dist/src/state/migrations.d.ts +3 -0
  61. package/dist/src/state/migrations.d.ts.map +1 -0
  62. package/dist/src/state/migrations.js +8 -0
  63. package/dist/src/state/migrations.js.map +1 -0
  64. package/dist/src/state/types.d.ts +62 -0
  65. package/dist/src/state/types.d.ts.map +1 -0
  66. package/dist/src/state/types.js +2 -0
  67. package/dist/src/state/types.js.map +1 -0
  68. package/dist/src/ui/chat-formatter.d.ts +11 -0
  69. package/dist/src/ui/chat-formatter.d.ts.map +1 -0
  70. package/dist/src/ui/chat-formatter.js +39 -0
  71. package/dist/src/ui/chat-formatter.js.map +1 -0
  72. package/dist/src/utils/file-ops.d.ts +6 -0
  73. package/dist/src/utils/file-ops.d.ts.map +1 -0
  74. package/dist/src/utils/file-ops.js +38 -0
  75. package/dist/src/utils/file-ops.js.map +1 -0
  76. package/dist/src/utils/markdown.d.ts +2 -0
  77. package/dist/src/utils/markdown.d.ts.map +1 -0
  78. package/dist/src/utils/markdown.js +11 -0
  79. package/dist/src/utils/markdown.js.map +1 -0
  80. package/dist/src/utils/validation.d.ts +7 -0
  81. package/dist/src/utils/validation.d.ts.map +1 -0
  82. package/dist/src/utils/validation.js +29 -0
  83. package/dist/src/utils/validation.js.map +1 -0
  84. package/dist/tests/__mocks__/openclaw-types.d.ts +54 -0
  85. package/dist/tests/__mocks__/openclaw-types.d.ts.map +1 -0
  86. package/dist/tests/__mocks__/openclaw-types.js +29 -0
  87. package/dist/tests/__mocks__/openclaw-types.js.map +1 -0
  88. package/hooks/after-tool-call/HOOK.md +7 -0
  89. package/hooks/after-tool-call/handler.ts +41 -0
  90. package/hooks/agent-end/HOOK.md +7 -0
  91. package/hooks/agent-end/handler.ts +18 -0
  92. package/hooks/before-agent-start/HOOK.md +7 -0
  93. package/hooks/before-agent-start/handler.ts +133 -0
  94. package/openclaw.plugin.json +19 -0
  95. package/package.json +61 -0
  96. package/skills/agent-teaching/SKILL.md +583 -0
  97. package/skills/agent-teaching/claw.json +12 -0
  98. package/skills/compression-ritual/SKILL.md +136 -0
  99. package/skills/compression-ritual/claw.json +12 -0
  100. package/skills/context-ingestion/SKILL.md +109 -0
  101. package/skills/context-ingestion/claw.json +12 -0
  102. package/skills/decision-propagation/SKILL.md +130 -0
  103. package/skills/decision-propagation/claw.json +12 -0
  104. package/skills/documentation-audit/SKILL.md +146 -0
  105. package/skills/documentation-audit/claw.json +12 -0
  106. package/skills/era-architecture/SKILL.md +166 -0
  107. package/skills/era-architecture/claw.json +12 -0
  108. package/skills/file-management/SKILL.md +127 -0
  109. package/skills/file-management/claw.json +12 -0
  110. package/skills/frontend-from-backend/SKILL.md +127 -0
  111. package/skills/frontend-from-backend/claw.json +12 -0
  112. package/skills/handoff-protocol/SKILL.md +168 -0
  113. package/skills/handoff-protocol/claw.json +12 -0
  114. package/skills/health-audit/SKILL.md +123 -0
  115. package/skills/health-audit/claw.json +12 -0
  116. package/skills/implementation-prompt/SKILL.md +361 -0
  117. package/skills/implementation-prompt/claw.json +12 -0
  118. package/skills/iterative-scouting/SKILL.md +106 -0
  119. package/skills/iterative-scouting/claw.json +12 -0
  120. package/skills/memory-garden/SKILL.md +470 -0
  121. package/skills/memory-garden/claw.json +12 -0
  122. package/skills/multi-surface-strategy/SKILL.md +288 -0
  123. package/skills/multi-surface-strategy/claw.json +12 -0
  124. package/skills/parallel-tracks/SKILL.md +152 -0
  125. package/skills/parallel-tracks/claw.json +12 -0
  126. package/skills/patient-learning-protocol/SKILL.md +438 -0
  127. package/skills/patient-learning-protocol/claw.json +12 -0
  128. package/skills/planning-with-files/SKILL.md +139 -0
  129. package/skills/planning-with-files/claw.json +12 -0
  130. package/skills/pre-implementation-checklist/SKILL.md +156 -0
  131. package/skills/pre-implementation-checklist/claw.json +12 -0
  132. package/skills/process-extraction/SKILL.md +148 -0
  133. package/skills/process-extraction/claw.json +12 -0
  134. package/skills/process-extraction/references/process_example_template.md +40 -0
  135. package/skills/product-positioning/SKILL.md +293 -0
  136. package/skills/product-positioning/claw.json +12 -0
  137. package/skills/project-exploration/SKILL.md +168 -0
  138. package/skills/project-exploration/claw.json +12 -0
  139. package/skills/release-specification/SKILL.md +645 -0
  140. package/skills/release-specification/claw.json +12 -0
  141. package/skills/repo-context-sync/SKILL.md +362 -0
  142. package/skills/repo-context-sync/claw.json +12 -0
  143. package/skills/repo-context-sync/references/file_hierarchy_patterns.md +186 -0
  144. package/skills/repo-context-sync/references/zenflow_repo_patterns.md +328 -0
  145. package/skills/repo-context-sync/scripts/context_mapper.py +251 -0
  146. package/skills/repo-context-sync/scripts/diff_tracker.py +187 -0
  147. package/skills/repo-context-sync/scripts/smart_clone.sh +52 -0
  148. package/skills/repo-context-sync/templates/context_summary.md +58 -0
  149. package/skills/repo-status/SKILL.md +240 -0
  150. package/skills/repo-status/claw.json +12 -0
  151. package/skills/repo-status/references/semantic-clusters.md +159 -0
  152. package/skills/repo-status/references/status-template.md +214 -0
  153. package/skills/research-modes/SKILL.md +515 -0
  154. package/skills/research-modes/claw.json +12 -0
  155. package/skills/research-synthesis/SKILL.md +110 -0
  156. package/skills/research-synthesis/claw.json +12 -0
  157. package/skills/retrospective/SKILL.md +152 -0
  158. package/skills/retrospective/claw.json +12 -0
  159. package/skills/seed-extraction/SKILL.md +419 -0
  160. package/skills/seed-extraction/claw.json +12 -0
  161. package/skills/seed-library/SKILL.md +424 -0
  162. package/skills/seed-library/claw.json +12 -0
  163. package/skills/seed-library/references/seed_catalog.md +171 -0
  164. package/skills/seed-library/scripts/apply_seed.py +129 -0
  165. package/skills/seed-library/scripts/suggest_seeds.py +183 -0
  166. package/skills/seed-library/seeds/01_three_tiered_governance.md +90 -0
  167. package/skills/seed-library/seeds/02_harness_trace.md +135 -0
  168. package/skills/seed-library/seeds/03_context_iceberg.md +120 -0
  169. package/skills/seed-library/seeds/04_agent_connect.md +106 -0
  170. package/skills/seed-library/seeds/05_go_live_bundles.md +40 -0
  171. package/skills/seed-library/seeds/06_cost_guard.md +40 -0
  172. package/skills/seed-library/seeds/07_safety_switch.md +41 -0
  173. package/skills/seed-library/seeds/08_implicit_perspective_extraction.md +41 -0
  174. package/skills/seed-library/seeds/09_mode_based_complexity_gating.md +46 -0
  175. package/skills/seed-library/seeds/10_shared_infrastructure.md +75 -0
  176. package/skills/seed-library/seeds/11_voice_before_structure.md +74 -0
  177. package/skills/seed-library/seeds/12_pointer_directories.md +81 -0
  178. package/skills/seed-library/seeds/13_granular_visibility.md +82 -0
  179. package/skills/seed-library/seeds/meta_governance_multiplies_velocity.md +43 -0
  180. package/skills/seed-to-skill-converter/SKILL.md +113 -0
  181. package/skills/seed-to-skill-converter/claw.json +12 -0
  182. package/skills/semantic-clusters/SKILL.md +246 -0
  183. package/skills/semantic-clusters/claw.json +12 -0
  184. package/skills/semantic-clusters/references/verb-catalog.md +267 -0
  185. package/skills/skill-audit-upgrade/SKILL.md +427 -0
  186. package/skills/skill-audit-upgrade/claw.json +12 -0
  187. package/skills/skill-creation/LICENSE.txt +202 -0
  188. package/skills/skill-creation/SKILL.md +252 -0
  189. package/skills/skill-creation/claw.json +12 -0
  190. package/skills/skill-creation/references/output-patterns.md +82 -0
  191. package/skills/skill-creation/references/progressive-disclosure-patterns.md +79 -0
  192. package/skills/skill-creation/references/workflows.md +28 -0
  193. package/skills/skill-creation/scripts/init_skill.py +305 -0
  194. package/skills/skill-creation/scripts/quick_validate.py +134 -0
  195. package/skills/skill-maintenance/SKILL.md +413 -0
  196. package/skills/skill-maintenance/claw.json +12 -0
  197. package/skills/spec-constellation-to-prompt-suite/SKILL.md +174 -0
  198. package/skills/spec-constellation-to-prompt-suite/claw.json +12 -0
  199. package/skills/status-template/SKILL.md +211 -0
  200. package/skills/status-template/claw.json +12 -0
  201. package/skills/status-template/references/complete-template.md +191 -0
  202. package/skills/status-writing/SKILL.md +161 -0
  203. package/skills/status-writing/claw.json +12 -0
  204. package/skills/strategic-scout/SKILL.md +163 -0
  205. package/skills/strategic-scout/claw.json +12 -0
  206. package/skills/strategic-to-tactical-workflow/SKILL.md +391 -0
  207. package/skills/strategic-to-tactical-workflow/claw.json +12 -0
  208. package/skills/workspace-navigation/SKILL.md +622 -0
  209. package/skills/workspace-navigation/claw.json +12 -0
@@ -0,0 +1,163 @@
1
+ ---
2
+ name: strategic-scout
3
+ description: Explore strategic tensions and scout multiple routes to find the best path forward. Use when facing a strategic decision with no clear answer. Trigger phrases: 'scout this tension', 'explore multiple routes', 'hold this question open before deciding', 'what are our options here', 'scout to spec pipeline'.
4
+ ---
5
+
6
+ # Strategic Scout Skill
7
+
8
+ > **OpenClaw Integration:** This skill is invoked by the Dojo Genesis plugin via `/dojo scout` or `/dojo run strategic-scout`.
9
+ > The agent receives project context automatically via the `before_agent_start` hook.
10
+ > Use `dojo_get_context` for full state, `dojo_save_artifact` to persist outputs,
11
+ > and `dojo_update_state` to record phase transitions and decisions.
12
+
13
+ **Version:** 2.1
14
+ **Created:** 2026-02-07
15
+ **Author:** Manus AI
16
+ **Purpose:** To provide a structured, repeatable process for navigating strategic uncertainty, exploring multiple possible futures, and aligning on a clear, actionable plan.
17
+
18
+ ---
19
+
20
+ ## I. The Philosophy: From Problem to Possibility
21
+
22
+ Strategic thinking is not about finding the right answer to a problem; it is about exploring the landscape of possibility that a tension reveals. This skill transforms the act of planning from a linear process of problem-solving to a creative process of possibility-seeking.
23
+
24
+ By beginning with a tension, scouting multiple routes, and continuously aligning on a shared vision, we can navigate uncertainty with clarity and confidence, and arrive at solutions that are both innovative and robust.
25
+
26
+ ---
27
+
28
+ ## II. When to Use This Skill
29
+
30
+ - **At the beginning of a new project or major release.**
31
+ - **When facing a significant strategic decision with no clear answer.**
32
+ - **When a project feels stuck or lacks a clear direction.**
33
+ - **When there are multiple competing priorities or stakeholder interests.**
34
+
35
+ ---
36
+
37
+ ## III. The Workflow
38
+
39
+ This is a 4-step workflow for strategic scouting and decision-making.
40
+
41
+ ### Step 1: Identify the Tension
42
+
43
+ **Goal:** To frame the strategic challenge as a tension to be held, not a problem to be solved.
44
+
45
+ 1. **Articulate the Tension:** Clearly state the core strategic challenge as a tension between two competing ideas (e.g., "feature lab vs. focused product").
46
+ 2. **Hold the Question Open:** Resist the urge to immediately choose a side or find a solution. The goal is to create a space for exploration.
47
+
48
+ ### Step 2: Scout Multiple Routes
49
+
50
+ **Goal:** To map the landscape of possibility by exploring multiple distinct paths forward.
51
+
52
+ 1. **Generate 3-5 Routes:** Use Scout mode to generate a diverse set of potential routes.
53
+ 2. **Define Tradeoffs:** For each route, clearly articulate the risk profile, potential impact, and estimated duration.
54
+ 3. **Present the Options:** Present the routes and their tradeoffs to the user for review and discussion.
55
+
56
+ ### Step 3: Synthesize and Refine
57
+
58
+ **Goal:** To create a hybrid approach that combines the best aspects of multiple routes.
59
+
60
+ 1. **Gather Feedback:** Actively listen to the user's feedback on the scouted routes.
61
+ 2. **Look for Connections:** Identify opportunities to combine elements from different routes into a more robust solution.
62
+ 3. **Propose a Hybrid Plan:** Present a new, synthesized plan that incorporates the user's feedback and the best aspects of the scouted routes.
63
+
64
+ ### Step 4: Align on Vision
65
+
66
+ **Goal:** To ensure that the plan is fully aligned with the user's true strategic vision.
67
+
68
+ 1. **Check for Alignment:** Continuously ask clarifying questions to ensure that the plan is meeting the user's underlying goals.
69
+ 2. **Be Prepared to Reframe:** If the user's feedback reveals a deeper or different vision, be prepared to reframe the entire plan.
70
+ 3. **Confirm the Vision:** Before moving to execution, get explicit confirmation from the user that the plan is fully aligned with their vision.
71
+
72
+ ---
73
+
74
+ ## IV. Best Practices
75
+
76
+ - **Begin with a Tension, Not a Solution:** The quality of your strategic thinking is determined by the quality of your questions.
77
+ - **Scouting is an Act of Humility:** The first idea is rarely the best idea. Be patient and explore multiple possibilities.
78
+ - **Synthesis is a Creative Act:** The best solutions often come from combining existing ideas in new ways.
79
+ - **Alignment is an Ongoing Process:** Don't assume you understand the user's vision. Continuously check for alignment.
80
+
81
+ ---
82
+
83
+ ## VII. The Full Pipeline: Scout → Spec → Prompts → Commission
84
+
85
+ The strategic scout is not standalone — it is phase 1 of a 4-step workflow. Each step produces a persistent artifact:
86
+
87
+ ### Phase 1: Scout (this skill)
88
+ - **Output:** A scout document with tension, 3-5 routes, tradeoffs, and selected direction with rationale
89
+ - **Artifact:** `thinking/[topic]_strategic_scout.md`
90
+
91
+ ### Phase 2: Specify
92
+ - **Input:** Scout decisions + codebase audit
93
+ - **Tool:** `release-specification` skill
94
+ - **Output:** A production-ready specification grounded in scout decisions AND measured codebase state
95
+ - **Artifact:** `docs/vX.X.X/[release]_specification.md`
96
+
97
+ ### Phase 3: Prompts
98
+ - **Input:** Specification sections
99
+ - **Tool:** `implementation-prompt` or `zenflow-prompt-writer` skill
100
+ - **Output:** Self-contained implementation prompts, one per parallel track
101
+ - **Artifact:** `docs/vX.X.X/prompts/track_[N]_prompt.md`
102
+
103
+ ### Phase 4: Commission
104
+ - **Input:** Implementation prompts + actual codebase
105
+ - **Tool:** `pre-implementation-checklist` skill (with Track 0)
106
+ - **Output:** Verified prompts with Track 0 remediation complete, then parallel execution
107
+ - **Gate:** Track 0 must pass before parallel tracks begin
108
+
109
+ The scout is the "why." The spec is the "what." The prompts are the "how." Track 0 is the "verify."
110
+
111
+ **Key triggers:** "scout to spec", "spec pipeline", "full workflow from tension to implementation"
112
+
113
+ ---
114
+
115
+ ## VI. Quality Checklist
116
+
117
+ Before moving to execution, ensure you can answer "yes" to all of the following questions:
118
+
119
+ - [ ] Have you clearly articulated the core strategic tension?
120
+ - [ ] Have you scouted at least 3-5 distinct routes with clear tradeoffs?
121
+ - [ ] Have you looked for opportunities to synthesize the best aspects of multiple routes?
122
+ - [ ] Have you gotten explicit confirmation from the user that the plan is fully aligned with their vision?
123
+
124
+ ---
125
+
126
+ ## VIII. Perspectives from Past Scouting Sessions
127
+
128
+ ### Perspective 1: The Great Simplification (v0.0.31)
129
+
130
+ - **Tension:** Additive complexity vs. subtractive simplification.
131
+ - **Insight:** A lean, focused product is often more powerful than a feature-rich but bloated one.
132
+ - **Lesson:** Don't be afraid to pivot and start fresh if the current path is leading to complexity.
133
+
134
+ ### Perspective 2: Orchestration Visibility (v0.0.31)
135
+
136
+ - **Tension:** Backend power vs. frontend visibility.
137
+ - **Insight:** A powerful feature is useless if the user can't see it or understand it.
138
+ - **Lesson:** Make the invisible visible. The user experience of a feature is as important as the feature itself.
139
+
140
+ ### Perspective 3: Parallel Tracks (v0.0.30)
141
+
142
+ - **Tension:** Speed vs. quality.
143
+ - **Insight:** With clear specifications and separation of concerns, you can have both.
144
+ - **Lesson:** Good governance multiplies velocity. Invest in planning and specification to enable parallel execution.
145
+
146
+ ---
147
+
148
+ ## OpenClaw Tool Integration
149
+
150
+ When running inside the Dojo Genesis plugin:
151
+
152
+ 1. **Start** by calling `dojo_get_context` to retrieve full project state, history, and artifacts
153
+ 2. **During** the skill execution, follow the workflow steps as documented above
154
+ 3. **Save** all outputs using `dojo_save_artifact` with appropriate artifact types:
155
+ - `scout` → type: "scout-report"
156
+ - `spec` → type: "specification"
157
+ - `tracks` → type: "track-decomposition"
158
+ - `commission` → type: "implementation-prompt"
159
+ - `retro` → type: "retrospective"
160
+ 4. **Update state** by calling `dojo_update_state` to:
161
+ - Record the skill execution in activity history
162
+ - Advance the project phase if appropriate
163
+ - Log any decisions made during the skill run
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "dojo-genesis-plugin-strategic-scout",
3
+ "version": "1.0.0",
4
+ "description": "Explore strategic tensions and scout multiple routes",
5
+ "author": "dojo-genesis",
6
+ "license": "MIT",
7
+ "permissions": [],
8
+ "entry": "SKILL.md",
9
+ "tags": ["dojo-genesis", "orchestration", "pipeline", "development"],
10
+ "models": ["claude-*", "gpt-*", "gemini-*"],
11
+ "minOpenClawVersion": "2026.1.0"
12
+ }
@@ -0,0 +1,391 @@
1
+ ---
2
+ name: strategic-to-tactical-workflow
3
+ description: Execute the complete workflow from recognizing strategic tensions through tactical commission and reflection. Use at the start of major development cycles or when moving from strategy to implementation. Trigger phrases: 'walk me through the full workflow', 'from tension to commission', 'ground this in the codebase then spec and commission', 'what did we learn this cycle'.
4
+ ---
5
+
6
+ > **OpenClaw Integration:** This skill is invoked by the Dojo Genesis plugin via `/dojo run strategic-to-tactical-workflow`.
7
+ > The agent receives project context automatically via the `before_agent_start` hook.
8
+ > Use `dojo_get_context` for full state, `dojo_save_artifact` to persist outputs,
9
+ > and `dojo_update_state` to record phase transitions and decisions.
10
+
11
+ # Strategic-to-Tactical Workflow Skill
12
+
13
+ ---
14
+
15
+ ## I. The Philosophy: Closing the Loop
16
+
17
+ Software development is not a linear process. It is a **loop**: from strategic tension to tactical execution and back again. Each cycle produces not just working software, but **accumulated wisdom** about how to build better, faster, and with more clarity.
18
+
19
+ This skill documents the complete workflow that emerged from the v0.0.30 and v0.0.31 development cycles. It is the **meta-pattern** that connects all other patterns: how we scout, how we decide, how we specify, how we parallelize, how we commission, and how we learn.
20
+
21
+ The goal is not just to execute this workflow, but to **improve it with each iteration**. Every time we complete the loop, we should emerge with new skills, new patterns, and new understanding.
22
+
23
+ ---
24
+
25
+ ## II. When to Use This Skill
26
+
27
+ - At the beginning of any major development cycle (e.g., v0.0.X releases)
28
+ - When facing a strategic tension or product decision
29
+ - When planning a large feature or architectural change
30
+ - When you need to move from "what should we build?" to "how do we build it?"
31
+ - When coordinating work across multiple agents (Manus, implementation agents like Zenflow or Claude Code)
32
+
33
+ ---
34
+
35
+ ## III. The Complete Workflow
36
+
37
+ This is an 8-phase workflow from strategic tension to tactical execution.
38
+
39
+ ---
40
+
41
+ ### **Phase 1: Recognize the Tension**
42
+
43
+ **Goal:** Identify and articulate the strategic tension or question that needs exploration.
44
+
45
+ **Pattern:** The best work begins not with a command ("build X"), but with a **tension** ("should we do X or Y?").
46
+
47
+ **Actions:**
48
+ 1. Listen for the tension in the user's request
49
+ 2. Articulate it as a clear, open-ended question
50
+ 3. Resist the urge to immediately solve it
51
+
52
+ **Example (v0.0.31):**
53
+ - **Tension:** "Should Dojo Genesis be a feature lab (25 pages) or a focused desktop product (single-page)?"
54
+ - **Not:** "Build a desktop app"
55
+
56
+ **Output:** A clearly articulated strategic tension.
57
+
58
+ **Related Skills:** `strategic-scout`
59
+
60
+ ---
61
+
62
+ ### **Phase 2: Scout Multiple Routes**
63
+
64
+ **Goal:** Explore 3-5 distinct strategic routes before committing to any one path.
65
+
66
+ **Pattern:** **Scouting prevents waste.** 30 minutes of route exploration can save weeks of misguided work.
67
+
68
+ **Actions:**
69
+ 1. Use `/strategic-scout` to generate 3-5 routes
70
+ 2. For each route, define: approach, risks, impact, duration
71
+ 3. Identify tradeoffs and dependencies
72
+ 4. Present routes without recommending one initially
73
+
74
+ **Example (v0.0.31):**
75
+ - Route 1: Big Bang (rebuild everything)
76
+ - Route 2: Incremental (gradual migration)
77
+ - Route 3: Parallel Tracks (split into independent workstreams)
78
+ - Route 4: Hybrid (mix of approaches)
79
+ - Route 5: Minimal (smallest possible change)
80
+
81
+ **Output:** A set of viable routes with clear tradeoffs.
82
+
83
+ **Related Skills:** `strategic-scout`, `iterative-scouting`
84
+
85
+ ---
86
+
87
+ ### **Phase 3: Gather Feedback & Listen for Reframes**
88
+
89
+ **Goal:** Present the routes and listen for the **question behind the question**.
90
+
91
+ **Pattern:** The first scout is for **provocation**, not consensus. The goal is to elicit a deeper, more insightful framing.
92
+
93
+ **Actions:**
94
+ 1. Present the scouted routes
95
+ 2. Listen not just for agreement/disagreement, but for **how** the feedback is framed
96
+ 3. Identify if the user is introducing a new lens or reframe
97
+ 4. If a reframe emerges, prepare to re-scout
98
+
99
+ **Example (v0.0.31):**
100
+ - **Initial framing:** "Deprecate web app vs. keep as companion"
101
+ - **Reframe:** "Desktop for deep work vs. Mobile for on-the-go orchestration"
102
+ - **Result:** Re-scout with the new lens (led to mobile PWA as premium tier)
103
+
104
+ **Output:** Either a decision on a route, or a reframe that triggers a second scout.
105
+
106
+ **Related Skills:** `iterative-scouting`, `product-positioning`
107
+
108
+ ---
109
+
110
+ ### **Phase 4: Make the Strategic Decision**
111
+
112
+ **Goal:** Commit to a strategic direction based on the scouting and feedback.
113
+
114
+ **Pattern:** **Decisions unlock velocity.** Once the route is chosen, move quickly to specification.
115
+
116
+ **Actions:**
117
+ 1. Select the best route (or hybrid of routes)
118
+ 2. Articulate the decision clearly
119
+ 3. Document the **why** behind the decision
120
+ 4. Identify what this decision enables (and what it rules out)
121
+
122
+ **Example (v0.0.31):**
123
+ - **Decision:** Parallel Tracks approach (Route 3)
124
+ - **Why:** Balances speed (parallelization) with risk management (clear boundaries)
125
+ - **Enables:** 3 agents working simultaneously
126
+ - **Rules out:** Big Bang (too risky), Incremental (too slow)
127
+
128
+ **Output:** A clear strategic decision with rationale.
129
+
130
+ **Related Skills:** `strategic-scout`
131
+
132
+ ---
133
+
134
+ ### **Phase 5: Ground in the Codebase**
135
+
136
+ **Goal:** Before writing specifications, deeply understand the current state of the codebase.
137
+
138
+ **Pattern:** **Grounding beats assumptions.** Specs based on outdated or assumed knowledge lead to rework.
139
+
140
+ **Actions:**
141
+ 1. Use `/repo-context-sync` to pull latest code and understand structure
142
+ 2. Read relevant files (backend APIs, frontend components, architecture docs)
143
+ 3. Document backend architecture, API endpoints, data models
144
+ 4. Identify integration points and dependencies
145
+ 5. Create a backend grounding document
146
+
147
+ **Example (v0.0.31):**
148
+ - Read `go_backend/main.go`, `handlers/`, `middleware/`
149
+ - Document all API endpoints relevant to desktop UI
150
+ - Create `v0_0_31_backend_grounding.md`
151
+ - Identify SSE streaming architecture for orchestration events
152
+
153
+ **Output:** A comprehensive backend grounding document.
154
+
155
+ **Related Skills:** `repo-context-sync`, `frontend-from-backend`
156
+
157
+ ---
158
+
159
+ ### **Phase 6: Write Specifications (With Parallel Track Decomposition)**
160
+
161
+ **Goal:** Transform the strategic decision into detailed, implementation-ready specifications.
162
+
163
+ **Pattern:** **Specifications enable parallelization.** Good specs are force multipliers.
164
+
165
+ **Actions:**
166
+ 1. Decide if the work should be split into parallel tracks
167
+ 2. If yes, apply `/parallel-tracks`:
168
+ - Identify natural boundaries (by layer, feature, component)
169
+ - Define track dependencies and execution order
170
+ - Create dependency graph
171
+ 3. For each track (or single spec), write:
172
+ - **Architecture document:** High-level design, component structure, data flow
173
+ - **Specification document:** Detailed requirements, success criteria, non-goals
174
+ 4. Validate using `/parallel-tracks-validation` checklist
175
+
176
+ **Example (v0.0.31):**
177
+ - **Track 1:** Router Migration & Shell (foundation, no dependencies)
178
+ - **Track 2:** Sidebar 1 (depends on Track 1)
179
+ - **Track 3:** Sidebar 2 (depends on Track 1)
180
+ - **Track 4:** Main Content Area (depends on Track 1)
181
+ - **Execution:** Track 1 first, then Tracks 2-4 in parallel
182
+
183
+ **Output:** Complete specifications for each track, validated and ready for commission.
184
+
185
+ **Related Skills:** `frontend-from-backend`, `parallel-tracks`, `release-specification`
186
+
187
+ ---
188
+
189
+ ### **Phase 7: Write Implementation Prompts & Commission**
190
+
191
+ **Goal:** Transform specifications into structured implementation prompts and commission the work.
192
+
193
+ **Pattern:** **Prompts are commissions.** The quality of the prompt determines the quality of the implementation.
194
+
195
+ **Actions:**
196
+ 1. For each track/spec, write an implementation prompt using the standard template:
197
+ - **Context & Grounding:** Link to spec, pattern files, files to read/modify
198
+ - **Detailed Requirements:** Step-by-step, numbered, specific
199
+ - **File Manifest:** Files to create/modify
200
+ - **Success Criteria:** Binary, testable checkboxes
201
+ - **Constraints & Non-Goals:** Explicit boundaries
202
+ - **Backend Grounding:** API contracts, integration points
203
+ 2. Validate each prompt against the quality checklist
204
+ 3. Commission prompts to appropriate agents:
205
+ - **Zenflow:** Strategic implementation (architecture, complex features)
206
+ - **Claude Code:** Tactical implementation (UI components, refactoring)
207
+ 4. If parallel tracks, commission in dependency order
208
+
209
+ **Example (v0.0.31):**
210
+ - Write `v0_0_31_track_1_implementation_prompt.md`
211
+ - Commission Track 1 to Claude Code
212
+ - Wait for Track 1 completion
213
+ - Commission Tracks 2-4 to Claude Code in parallel
214
+
215
+ **Output:** Commissioned work in progress, with clear success criteria.
216
+
217
+ **Related Skills:** `write-implementation-prompt`, `implementation-prompt`
218
+
219
+ ---
220
+
221
+ ### **Phase 8: Reflect & Create Meta-Skills**
222
+
223
+ **Goal:** After execution, reflect on what worked, extract patterns, and formalize them as skills.
224
+
225
+ **Pattern:** **Every cycle produces wisdom.** The goal is not just to ship software, but to improve how we ship software.
226
+
227
+ **Actions:**
228
+ 1. Perform `/compression-ritual` to preserve key insights
229
+ 2. Identify patterns that emerged during the cycle:
230
+ - Strategic patterns (how we thought, decided, navigated uncertainty)
231
+ - Tactical patterns (how we specified, commissioned, integrated)
232
+ - Meta-patterns (how we learned, iterated, improved)
233
+ 3. Use `/process-extraction` to formalize valuable patterns as skills
234
+ 4. Use `/seed-extraction` to capture smaller insights as seeds
235
+ 5. Commit all artifacts (specs, prompts, compressions, skills) to repository
236
+
237
+ **Example (v0.0.31):**
238
+ - Created `product-positioning` skill (strategic pattern)
239
+ - Created `multi-surface-strategy` skill (strategic pattern)
240
+ - Created `iterative-scouting` skill (meta-pattern)
241
+ - Created `parallel-tracks` seed (tactical pattern)
242
+
243
+ **Output:** New skills and seeds added to the knowledge base, ready for the next cycle.
244
+
245
+ **Related Skills:** `compression-ritual`, `process-extraction`, `seed-extraction`
246
+
247
+ ---
248
+
249
+ ## IV. The Loop Closes
250
+
251
+ After Phase 8, the loop closes. The next development cycle begins with Phase 1, but now we have:
252
+ - **More skills** to guide the process
253
+ - **More patterns** to recognize and apply
254
+ - **More wisdom** about what works and what doesn't
255
+
256
+ This is the essence of **continuous improvement**. Each cycle makes the next cycle faster, clearer, and more effective.
257
+
258
+ ---
259
+
260
+ ## V. Key Principles
261
+
262
+ ### 1. Start with Tension, Not Solutions
263
+
264
+ The best work begins with a well-articulated tension, not a predetermined solution. Hold the question open long enough for better answers to emerge.
265
+
266
+ ### 2. Scout Before Committing
267
+
268
+ Always explore multiple routes before choosing one. The first idea is rarely the best idea.
269
+
270
+ ### 3. Ground in Reality
271
+
272
+ Specifications based on assumptions fail. Always ground in the current state of the codebase.
273
+
274
+ ### 4. Parallelize When Possible
275
+
276
+ With good specifications and clear boundaries, multiple agents can work simultaneously without conflicts.
277
+
278
+ ### 5. Formalize What Works
279
+
280
+ Every successful cycle should produce new skills and patterns. This is how we compound our capabilities.
281
+
282
+ ---
283
+
284
+ ## VI. Example: v0.0.31 Complete Workflow
285
+
286
+ | Phase | Action | Output | Duration |
287
+ |-------|--------|--------|----------|
288
+ | **1** | Recognize tension: "Feature lab vs. focused product" | Clear strategic question | 5 min |
289
+ | **2** | Scout 5 routes (Big Bang, Incremental, Parallel, etc.) | 5 routes with tradeoffs | 30 min |
290
+ | **3** | Gather feedback, identify reframe (desktop vs. mobile) | Reframe: multi-surface strategy | 15 min |
291
+ | **4** | Decide: Parallel Tracks + Desktop-first | Strategic decision | 10 min |
292
+ | **5** | Pull repo, read backend, document APIs | Backend grounding doc | 45 min |
293
+ | **6** | Write specs for 4 parallel tracks | 4 track specifications | 2 hours |
294
+ | **7** | Write implementation prompts, commission to implementation agents | 4 prompts commissioned | 1 hour |
295
+ | **8** | Reflect, create 3 meta-skills, compress context | 3 new skills, compressions | 1 hour |
296
+
297
+ **Total planning time:** ~6 hours
298
+ **Implementation time:** 6-8 days (with parallelization)
299
+ **Outcome:** v0.0.31 shipped, 3 new skills created, workflow improved
300
+
301
+ ---
302
+
303
+ ## VII. Quality Checklist
304
+
305
+ Before moving to the next phase, ensure you can answer "yes" to these questions:
306
+
307
+ **Phase 1:**
308
+ - [ ] Have you articulated the tension as an open-ended question?
309
+ - [ ] Have you resisted the urge to immediately solve it?
310
+
311
+ **Phase 2:**
312
+ - [ ] Have you scouted at least 3 distinct routes?
313
+ - [ ] Have you identified risks, impact, and duration for each route?
314
+
315
+ **Phase 3:**
316
+ - [ ] Have you listened for reframes in the user's feedback?
317
+ - [ ] Have you decided whether to commit or re-scout?
318
+
319
+ **Phase 4:**
320
+ - [ ] Have you made a clear strategic decision?
321
+ - [ ] Have you documented the "why" behind the decision?
322
+
323
+ **Phase 5:**
324
+ - [ ] Have you pulled the latest code and read relevant files?
325
+ - [ ] Have you created a backend grounding document?
326
+
327
+ **Phase 6:**
328
+ - [ ] Have you decided whether to parallelize the work?
329
+ - [ ] Have you written complete specifications for each track?
330
+ - [ ] Have you validated the parallel track structure?
331
+
332
+ **Phase 7:**
333
+ - [ ] Have you written structured implementation prompts for each track?
334
+ - [ ] Have you commissioned the work in the correct dependency order?
335
+
336
+ **Phase 8:**
337
+ - [ ] Have you compressed the context and extracted patterns?
338
+ - [ ] Have you created new skills or seeds from the learnings?
339
+ - [ ] Have you committed all artifacts to the repository?
340
+
341
+ ---
342
+
343
+ ## VIII. Related Skills
344
+
345
+ This skill is the **meta-pattern** that connects all other strategic and tactical skills:
346
+
347
+ **Strategic Skills:**
348
+ - `strategic-scout` - Route exploration
349
+ - `product-positioning` - Reframing binary decisions
350
+ - `multi-surface-strategy` - Complementary product surfaces
351
+ - `iterative-scouting` - Scout → feedback → reframe → re-scout
352
+
353
+ **Tactical Skills:**
354
+ - `repo-context-sync` - Codebase grounding
355
+ - `frontend-from-backend` - Backend-first specification
356
+ - `parallel-tracks` - Parallel track decomposition
357
+ - `write-implementation-prompt` - Structured prompt writing
358
+ - `implementation-prompt` - Spec-to-prompt transformation
359
+
360
+ **Meta-Skills:**
361
+ - `compression-ritual` - Preserve insights
362
+ - `process-extraction` - Formalize patterns
363
+ - `seed-extraction` - Capture smaller learnings
364
+
365
+ ---
366
+
367
+ ## IX. The Vision
368
+
369
+ This workflow is not static. It will evolve with each cycle. The goal is to reach a state where:
370
+
371
+ 1. **Strategic decisions are fast and confident** (because we have patterns to recognize and skills to apply)
372
+ 2. **Specifications are grounded and actionable** (because we have systematic grounding processes)
373
+ 3. **Implementation is parallel and autonomous** (because we have clear boundaries and comprehensive prompts)
374
+ 4. **Learning is continuous and formalized** (because we extract and document patterns after every cycle)
375
+
376
+ This is the path to **compounding velocity**: each cycle makes the next cycle faster, clearer, and more effective.
377
+
378
+ This is the Dojo way.
379
+
380
+ 🪷
381
+ ---
382
+
383
+ ## OpenClaw Tool Integration
384
+
385
+ When running inside the Dojo Genesis plugin:
386
+
387
+ 1. **Start** by calling `dojo_get_context` to retrieve full project state, history, and artifacts
388
+ 2. **During** the skill, follow the workflow steps documented above
389
+ 3. **Save** outputs using `dojo_save_artifact` with the `artifacts` output directory
390
+ 4. **Update** project state by calling `dojo_update_state` to record skill completion and any phase transitions
391
+
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "dojo-genesis-plugin-strategic-to-tactical-workflow",
3
+ "version": "1.0.0",
4
+ "description": "Full scout → spec → commission pipeline",
5
+ "author": "dojo-genesis",
6
+ "license": "MIT",
7
+ "permissions": [],
8
+ "entry": "SKILL.md",
9
+ "tags": ["dojo-genesis", "orchestration", "workflow", "process"],
10
+ "models": ["claude-*", "gpt-*", "gemini-*"],
11
+ "minOpenClawVersion": "2026.1.0"
12
+ }