@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,427 @@
1
+ ---
2
+ name: skill-audit-upgrade
3
+ description: Audit all skills in a repository to assess completeness and upgrade incomplete skills to quality standards. Use when you've created many new skills, before a major release, to maintain ecosystem consistency, or to improve skill usability. Trigger phrases: 'audit all the skills', 'upgrade skills to A+ standard', 'check skill quality and completeness', 'are the skills production-ready', 'improve the skills ecosystem'.
4
+ ---
5
+
6
+ > **OpenClaw Integration:** This skill is invoked by the Dojo Genesis plugin via `/dojo run skill-audit-upgrade`.
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
+ # Skill Audit and Upgrade
12
+
13
+ **Version:** 1.0
14
+ **Created:** 2026-02-07
15
+ **Author:** Manus AI
16
+ **Purpose:** To provide a systematic, repeatable process for auditing all skills in a repository, identifying gaps, and upgrading incomplete skills to A+ standard.
17
+
18
+ ---
19
+
20
+ ## I. The Philosophy: Ecosystem Health Through Systematic Audits
21
+
22
+ A skills ecosystem, like any knowledge base, can degrade over time. New skills are created with high standards, but older skills may lack structure, examples, or ecosystem connections. Without regular audits, the quality becomes inconsistent, making the ecosystem harder to use and maintain.
23
+
24
+ This skill is about **proactive maintenance**. By systematically auditing all skills against clear quality criteria, we can identify gaps early, prioritize upgrades, and ensure the entire ecosystem remains healthy and production-ready.
25
+
26
+ **The core principle:** Maintenance is not just fixing what's broken—it's keeping what works working well.
27
+
28
+ ---
29
+
30
+ ## II. When to Use This Skill
31
+
32
+ - **Quarterly maintenance schedule** (every 3 months)
33
+ - **After creating 5+ new skills** (to check for consistency)
34
+ - **When a skill is reported as confusing or incomplete**
35
+ - **Before a major release** (to ensure all skills are production-ready)
36
+ - **When onboarding a new contributor** (to assess current state)
37
+ - **After a major refactor** (e.g., skill renames, terminology changes)
38
+
39
+ ---
40
+
41
+ ## III. The Workflow
42
+
43
+ This is a 5-step workflow for auditing and upgrading skills.
44
+
45
+ ### Step 1: List All Skills and Create Audit Framework
46
+
47
+ **Goal:** Establish a systematic approach to auditing skills.
48
+
49
+ **Actions:**
50
+ 1. List all skills in the repository:
51
+ ```bash
52
+ cd /path/to/repository/skills && ls -d */ | sed 's|/||' | sort
53
+ ```
54
+ 2. Create audit framework document defining:
55
+ - **Quality criteria:** Required, recommended, and optional sections
56
+ - **Assessment scale:** A+, A, B, C, D (with clear definitions)
57
+ - **Audit process:** Step-by-step instructions
58
+ - **Upgrade priority criteria:** High, medium, low
59
+
60
+ **Outputs:**
61
+ - List of all skills to audit
62
+ - `skills_audit_framework.md` document
63
+
64
+ **Quality Criteria Example:**
65
+
66
+ **Required Sections:**
67
+ - Philosophy (I.)
68
+ - When to Use (II.)
69
+ - Workflow (III.)
70
+ - Best Practices (IV.)
71
+ - Quality Checklist (V.)
72
+
73
+ **Recommended Sections:**
74
+ - Example (VI.)
75
+ - Common Pitfalls (VII.)
76
+ - Related Skills (VIII.)
77
+
78
+ **Optional Sections:**
79
+ - Skill Metadata (IX.)
80
+
81
+ **Assessment Scale:**
82
+ - **A+:** All required + all recommended sections
83
+ - **A:** All required sections, missing some recommended
84
+ - **B:** Missing 1-2 required sections
85
+ - **C:** Missing 3+ required sections
86
+ - **D:** Incomplete or unusable
87
+
88
+ ---
89
+
90
+ ### Step 2: Read and Assess Each Skill Against Quality Criteria
91
+
92
+ **Goal:** Systematically evaluate each skill's completeness.
93
+
94
+ **Actions:**
95
+ 1. Check line counts for all skills to identify obviously incomplete ones:
96
+ ```bash
97
+ for dir in */; do echo "$dir: $(wc -l < "$dir/SKILL.md") lines"; done
98
+ ```
99
+ 2. Use grep to extract section headers from each skill:
100
+ ```bash
101
+ for skill in */SKILL.md; do echo "=== $skill ==="; grep -E "^## [IVX]+\." "$skill"; done
102
+ ```
103
+ 3. For each skill, assess against quality criteria:
104
+ - Check for required sections
105
+ - Check for recommended sections
106
+ - Check for proper structure (section numbering)
107
+ 4. Assign grades (A+, A, B, C, D) based on completeness
108
+
109
+ **Outputs:**
110
+ - Assessment for each skill
111
+ - Gaps identified for each skill
112
+ - Grades assigned
113
+
114
+ **Tips:**
115
+ - Use grep with regex to extract only numbered sections: `grep -E "^## [IVX]+\."`
116
+ - Check line counts first to identify obviously incomplete skills
117
+ - If a skill has <50 lines, it's likely incomplete
118
+
119
+ ---
120
+
121
+ ### Step 3: Identify Skills Needing Upgrade and Prioritize
122
+
123
+ **Goal:** Create a prioritized list of skills to upgrade.
124
+
125
+ **Actions:**
126
+ 1. Categorize skills by grade:
127
+ - Count A+ skills
128
+ - Count A skills
129
+ - Count B/C/D skills
130
+ 2. Define upgrade priorities:
131
+ - **High Priority:** D or C skills (critically incomplete)
132
+ - **Medium Priority:** B skills (structural fixes needed)
133
+ - **Low Priority:** A skills (enhancement, not blocking)
134
+ 3. Estimate time for each upgrade:
135
+ - Structural fixes: ~30-45 minutes per skill
136
+ - Adding examples/pitfalls: ~15-30 minutes per skill
137
+ 4. Create upgrade plan with prioritized list
138
+
139
+ **Outputs:**
140
+ - `skills_audit_report.md` with complete assessment
141
+ - Prioritized upgrade list
142
+ - Time estimates for upgrades
143
+
144
+ **Upgrade Priority Criteria:**
145
+ - **High:** Skill is blocking workflows or unusable
146
+ - **Medium:** Skill is functional but lacks structure/consistency
147
+ - **Low:** Skill is functional, enhancement would be nice-to-have
148
+
149
+ ---
150
+
151
+ ### Step 4: Upgrade Incomplete Skills
152
+
153
+ **Goal:** Bring incomplete skills to A+ standard.
154
+
155
+ **Actions:**
156
+ 1. For each skill to upgrade:
157
+ - Read current content
158
+ - Add missing required sections
159
+ - Add section numbering (I., II., III., etc.)
160
+ - Add Example section (use real project examples)
161
+ - Add Common Pitfalls section (5 pitfalls with solutions)
162
+ - Add Related Skills section (5 complementary skills)
163
+ - Add Skill Metadata section (token savings, maintenance schedule)
164
+ - Version bump (e.g., v1.0 → v1.1)
165
+
166
+ 2. For structural fixes:
167
+ - Ensure consistent section numbering
168
+ - Ensure all required sections present
169
+ - Ensure proper frontmatter (name, description)
170
+
171
+ 3. For content enhancements:
172
+ - Add concrete examples from real projects
173
+ - Structure examples as: Problem → Process → Outcome
174
+ - Make pitfalls specific with before/after examples
175
+ - Link to complementary skills in the ecosystem
176
+
177
+ **Outputs:**
178
+ - Upgraded skills at A or A+ standard
179
+ - Version bumps documented
180
+
181
+ **Best Practices:**
182
+ - Use real project examples for credibility
183
+ - Structure examples consistently
184
+ - Make pitfalls actionable (not just warnings)
185
+ - Create ecosystem connections through related skills
186
+
187
+ ---
188
+
189
+ ### Step 5: Commit All Upgrades and Deliver Final Audit Report
190
+
191
+ **Goal:** Finalize the work and document the results.
192
+
193
+ **Actions:**
194
+ 1. Copy audit documents to appropriate directory (e.g., `thinking/`)
195
+ 2. Stage all changes: `git add skills/ thinking/`
196
+ 3. Commit with comprehensive message documenting:
197
+ - Number of skills upgraded
198
+ - Changes made (section numbering, examples, pitfalls, etc.)
199
+ - Grade improvements (e.g., B+ → A+)
200
+ - Audit results (before/after percentages)
201
+ 4. Push to remote: `git push origin main`
202
+ 5. Create final summary document
203
+
204
+ **Outputs:**
205
+ - Committed and pushed changes
206
+ - Final audit summary document
207
+ - Updated skills ecosystem
208
+
209
+ **Commit Message Template:**
210
+ ```
211
+ Upgrade X skills to A+ standard and complete skills audit
212
+
213
+ SKILLS UPGRADED (vX.Y → vX.Z):
214
+
215
+ 1. skill-name-1
216
+ - Added [changes]
217
+ - Grade: B+ → A+
218
+
219
+ 2. skill-name-2
220
+ - Added [changes]
221
+ - Grade: A → A+
222
+
223
+ AUDIT RESULTS:
224
+
225
+ - A+ Skills: X → Y (Z%)
226
+ - A Skills: X → Y (Z%)
227
+ - B+ Skills: X → Y (Z%)
228
+
229
+ [Summary of ecosystem health]
230
+ ```
231
+
232
+ ---
233
+
234
+ ## IV. Best Practices
235
+
236
+ ### 1. Define Clear Quality Criteria Upfront
237
+
238
+ **Why:** Makes the audit objective and actionable.
239
+
240
+ **How:** Create a framework document before starting the audit.
241
+
242
+ ---
243
+
244
+ ### 2. Use Automation for Initial Assessment
245
+
246
+ **Why:** Manually reading 10+ skills is time-consuming.
247
+
248
+ **How:** Use shell commands (grep, wc) to quickly identify gaps.
249
+
250
+ ---
251
+
252
+ ### 3. Focus on Structural Issues First
253
+
254
+ **Why:** Structure is easier to fix than content, and has high impact.
255
+
256
+ **How:** Prioritize adding section numbering and missing required sections.
257
+
258
+ ---
259
+
260
+ ### 4. Use Real Project Examples
261
+
262
+ **Why:** Concrete examples make skills immediately actionable.
263
+
264
+ **How:** Reference actual project work (e.g., "Dojo Genesis v0.0.31").
265
+
266
+ ---
267
+
268
+ ### 5. Create Ecosystem Connections
269
+
270
+ **Why:** Skills are not isolated—they're part of an ecosystem.
271
+
272
+ **How:** Add Related Skills sections to every skill.
273
+
274
+ ---
275
+
276
+ ### 6. Document the Audit Process
277
+
278
+ **Why:** Creates a historical record and enables future audits.
279
+
280
+ **How:** Create audit framework and audit report documents.
281
+
282
+ ---
283
+
284
+ ### 7. Celebrate the Work
285
+
286
+ **Why:** Maintenance is often invisible work. Make it visible.
287
+
288
+ **How:** Create a comprehensive summary document highlighting improvements.
289
+
290
+ ---
291
+
292
+ ## V. Quality Checklist
293
+
294
+ Before completing the audit, ensure you can answer "yes" to all of the following questions:
295
+
296
+ - [ ] Have you listed all skills in the repository?
297
+ - [ ] Have you created an audit framework with clear quality criteria?
298
+ - [ ] Have you assessed each skill against the quality criteria?
299
+ - [ ] Have you assigned grades (A+, A, B, C, D) to all skills?
300
+ - [ ] Have you identified and prioritized skills needing upgrade?
301
+ - [ ] Have you upgraded all high-priority skills?
302
+ - [ ] Have you committed all changes with comprehensive messages?
303
+ - [ ] Have you created a final audit report documenting the results?
304
+ - [ ] Are all skills now at A or A+ standard (or have a plan to get there)?
305
+
306
+ ---
307
+
308
+ ## VI. Example: Dojo Genesis Skills Audit (February 7, 2026)
309
+
310
+ **The Problem:** After creating 5 new skills in one day, we needed to audit the entire skills ecosystem to ensure consistency and completeness.
311
+
312
+ **The Process:**
313
+
314
+ 1. **Listed all skills:** 11 skills in dojo-genesis/skills directory
315
+ 2. **Created audit framework:** Defined quality criteria and assessment scale
316
+ 3. **Assessed each skill:**
317
+ - A+ Skills: 4/11 (36%)
318
+ - A Skills: 5/11 (45%)
319
+ - B+ Skills: 2/11 (18%)
320
+ 4. **Identified gaps:**
321
+ - 2 skills lacking section numbering (I., II., III.)
322
+ - 2 skills missing Example, Common Pitfalls, Related Skills sections
323
+ 5. **Upgraded 2 skills:**
324
+ - multi-surface-strategy (v1.0 → v1.1)
325
+ - product-positioning (v1.0 → v1.1)
326
+ - Added section numbering, examples, pitfalls, related skills
327
+ 6. **Committed and documented:**
328
+ - Commit `eeca836` pushed to dojo-genesis
329
+ - Final audit report created
330
+
331
+ **The Outcome:**
332
+ - A+ Skills: 4 → 6 (55%)
333
+ - A Skills: 5 (45%)
334
+ - B+ Skills: 2 → 0 (0%)
335
+ - 100% of skills now at A or A+ standard
336
+
337
+ **Time Investment:** ~1.5 hours
338
+ **Return:** Healthy, production-ready skills ecosystem
339
+
340
+ **Key Insight:** Most skills were already functional (A-grade). Only 2 needed structural fixes. Regular audits prevent degradation.
341
+
342
+ ---
343
+
344
+ ## VII. Common Pitfalls to Avoid
345
+
346
+ ### Pitfall 1: No Clear Quality Criteria
347
+
348
+ **Problem:** Without clear criteria, the audit becomes subjective and inconsistent.
349
+
350
+ **Solution:** Create an audit framework document before starting the audit.
351
+
352
+ ---
353
+
354
+ ### Pitfall 2: Trying to Read Every Skill Manually
355
+
356
+ **Problem:** Manually reading 10+ skills is time-consuming and error-prone.
357
+
358
+ **Solution:** Use shell commands (grep, wc) to quickly identify gaps.
359
+
360
+ ---
361
+
362
+ ### Pitfall 3: Upgrading Everything at Once
363
+
364
+ **Problem:** Trying to upgrade all skills to A+ standard is overwhelming.
365
+
366
+ **Solution:** Prioritize. Focus on high-priority (blocking) skills first.
367
+
368
+ ---
369
+
370
+ ### Pitfall 4: Skipping the Audit Report
371
+
372
+ **Problem:** Without documentation, the audit work is invisible and not repeatable.
373
+
374
+ **Solution:** Create audit framework and audit report documents.
375
+
376
+ ---
377
+
378
+ ### Pitfall 5: Not Using Real Examples
379
+
380
+ **Problem:** Generic examples don't help users understand how to apply the skill.
381
+
382
+ **Solution:** Use concrete examples from real projects (e.g., "Dojo Genesis v0.0.31").
383
+
384
+ ---
385
+
386
+ ## VIII. Related Skills
387
+
388
+ - **`skill-maintenance`** - Use this for ongoing maintenance of individual skills
389
+ - **`process-extraction`** - Use this to create new skills from processes
390
+ - **`compression-ritual`** - Use this to preserve learnings before/after audits
391
+ - **`strategic-to-tactical-workflow`** - The complete workflow that these skills support
392
+ - **`release-specification`** - Example of an A+ skill with all recommended sections
393
+
394
+ ---
395
+
396
+ ## IX. Skill Metadata
397
+
398
+ **Token Savings:** ~10,000-15,000 tokens per audit (by using systematic process)
399
+ **Quality Impact:** Ensures consistent, high-quality skills ecosystem
400
+ **Maintenance:** Update when quality criteria evolve or new section types emerge
401
+
402
+ **When to Update This Skill:**
403
+ - After completing 2-3 audits (to incorporate new patterns)
404
+ - When quality criteria change (e.g., new required sections)
405
+ - When new assessment scales or tools become available
406
+
407
+ **Recommended Audit Frequency:**
408
+ - Quarterly (every 3 months)
409
+ - After creating 5+ new skills
410
+ - Before major releases
411
+
412
+ ---
413
+
414
+ **Last Updated:** 2026-02-07
415
+ **Maintained By:** Manus AI
416
+ **Status:** Active
417
+ ---
418
+
419
+ ## OpenClaw Tool Integration
420
+
421
+ When running inside the Dojo Genesis plugin:
422
+
423
+ 1. **Start** by calling `dojo_get_context` to retrieve full project state, history, and artifacts
424
+ 2. **During** the skill, follow the workflow steps documented above
425
+ 3. **Save** outputs using `dojo_save_artifact` with the `artifacts` output directory
426
+ 4. **Update** project state by calling `dojo_update_state` to record skill completion and any phase transitions
427
+
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "dojo-genesis-plugin-skill-audit-upgrade",
3
+ "version": "1.0.0",
4
+ "description": "Audit and upgrade skills to quality standards",
5
+ "author": "dojo-genesis",
6
+ "license": "MIT",
7
+ "permissions": [],
8
+ "entry": "SKILL.md",
9
+ "tags": ["dojo-genesis", "orchestration", "forge", "skills"],
10
+ "models": ["claude-*", "gpt-*", "gemini-*"],
11
+ "minOpenClawVersion": "2026.1.0"
12
+ }
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.