@dsmm/dsmm 0.1.8 → 0.2.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 (409) hide show
  1. package/README.md +40 -22
  2. package/agent-presets/dsmm-builder/agent.cordis.yml +1949 -39
  3. package/agent-presets/dsmm-builder/preset.yml +1 -1
  4. package/agent-presets/dsmm-clarifier/agent.cordis.yml +436 -14
  5. package/agent-presets/dsmm-clarifier/preset.yml +1 -1
  6. package/agent-presets/dsmm-code-search/agent.cordis.yml +56 -14
  7. package/agent-presets/dsmm-code-search/preset.yml +1 -1
  8. package/agent-presets/dsmm-coding/agent.cordis.yml +588 -0
  9. package/agent-presets/dsmm-coding/preset.yml +3 -0
  10. package/agent-presets/dsmm-complex/agent.cordis.yml +1140 -0
  11. package/agent-presets/dsmm-complex/preset.yml +3 -0
  12. package/agent-presets/dsmm-creative/agent.cordis.yml +536 -12
  13. package/agent-presets/dsmm-creative/preset.yml +1 -1
  14. package/agent-presets/dsmm-cross-cutting/agent.cordis.yml +1163 -0
  15. package/agent-presets/dsmm-cross-cutting/preset.yml +3 -0
  16. package/agent-presets/dsmm-deep/agent.cordis.yml +1173 -0
  17. package/agent-presets/dsmm-deep/preset.yml +3 -0
  18. package/agent-presets/dsmm-doc-search/agent.cordis.yml +56 -14
  19. package/agent-presets/dsmm-doc-search/preset.yml +1 -1
  20. package/agent-presets/dsmm-documenting/agent.cordis.yml +581 -0
  21. package/agent-presets/dsmm-documenting/preset.yml +3 -0
  22. package/agent-presets/dsmm-frontend/agent.cordis.yml +580 -0
  23. package/agent-presets/dsmm-frontend/preset.yml +3 -0
  24. package/agent-presets/dsmm-hard-reasoning/agent.cordis.yml +572 -0
  25. package/agent-presets/dsmm-hard-reasoning/preset.yml +3 -0
  26. package/agent-presets/dsmm-media-reader/agent.cordis.yml +56 -14
  27. package/agent-presets/dsmm-media-reader/preset.yml +1 -1
  28. package/agent-presets/dsmm-normal-task/agent.cordis.yml +546 -0
  29. package/agent-presets/dsmm-normal-task/preset.yml +3 -0
  30. package/agent-presets/dsmm-oracle/agent.cordis.yml +421 -12
  31. package/agent-presets/dsmm-oracle/preset.yml +1 -1
  32. package/agent-presets/dsmm-oracle-2nd/agent.cordis.yml +421 -12
  33. package/agent-presets/dsmm-oracle-2nd/preset.yml +1 -1
  34. package/agent-presets/dsmm-orchestrator/agent.cordis.yml +2023 -43
  35. package/agent-presets/dsmm-orchestrator/preset.yml +1 -1
  36. package/agent-presets/dsmm-plan-critic/agent.cordis.yml +416 -13
  37. package/agent-presets/dsmm-plan-critic/preset.yml +1 -1
  38. package/agent-presets/dsmm-planner/agent.cordis.yml +462 -13
  39. package/agent-presets/dsmm-planner/preset.yml +1 -1
  40. package/agent-presets/dsmm-quick/agent.cordis.yml +119 -0
  41. package/agent-presets/dsmm-quick/preset.yml +3 -0
  42. package/agent-presets/dsmm-research/agent.cordis.yml +141 -0
  43. package/agent-presets/dsmm-research/preset.yml +3 -0
  44. package/agent-presets/dsmm-reviewer/agent.cordis.yml +420 -13
  45. package/agent-presets/dsmm-reviewer/preset.yml +1 -1
  46. package/cordis.patch.yml +1 -5
  47. package/docs/agent-presets.md +64 -15
  48. package/docs/compatibility.md +67 -17
  49. package/docs/design.md +41 -0
  50. package/docs/lsp.md +12 -2
  51. package/docs/migration-from-ocmm.md +8 -0
  52. package/docs/profiles.md +42 -16
  53. package/docs/releasing.md +100 -28
  54. package/docs/roadmap.md +6 -0
  55. package/docs/runtime-recovery.md +12 -0
  56. package/docs/safety-guards.md +7 -3
  57. package/docs/settings-status.md +148 -7
  58. package/docs/skill-sync.md +52 -14
  59. package/lib/client/DeploymentPage.d.ts +18 -0
  60. package/lib/client/DeploymentPage.js +120 -0
  61. package/lib/client/ProfilesSection.js +4 -2
  62. package/lib/client/deployment-controller.d.ts +50 -0
  63. package/lib/client/deployment-controller.js +193 -0
  64. package/lib/client/deployment-data.d.ts +16 -0
  65. package/lib/client/deployment-data.js +109 -0
  66. package/lib/client/deployment-locales.d.ts +66 -0
  67. package/lib/client/deployment-locales.js +72 -0
  68. package/lib/client/index.js +50 -0
  69. package/lib/client/locales.d.ts +4 -0
  70. package/lib/client/locales.js +4 -2
  71. package/lib/client/plugins-contract.d.ts +27 -0
  72. package/lib/client/plugins-contract.js +2 -0
  73. package/lib/client/styles.d.ts +1 -1
  74. package/lib/client/styles.js +16 -0
  75. package/lib/client.js +1048 -29
  76. package/lib/commands.js +3 -0
  77. package/lib/config-file-store.d.ts +23 -0
  78. package/lib/config-file-store.js +67 -0
  79. package/lib/deployment-config.d.ts +37 -0
  80. package/lib/deployment-config.js +184 -0
  81. package/lib/dsh-home.d.ts +3 -0
  82. package/lib/dsh-home.js +10 -0
  83. package/lib/dsh-types.d.ts +12 -65
  84. package/lib/guards.d.ts +2 -1
  85. package/lib/guards.js +19 -2
  86. package/lib/index.d.ts +8 -1
  87. package/lib/index.js +115 -25
  88. package/lib/lsp.d.ts +13 -0
  89. package/lib/lsp.js +60 -0
  90. package/lib/mode.js +42 -47
  91. package/lib/model-routing.js +5 -2
  92. package/lib/modules.d.ts +27 -0
  93. package/lib/modules.js +21 -0
  94. package/lib/native-scope.d.ts +9 -0
  95. package/lib/native-scope.js +20 -0
  96. package/lib/plan-validation.js +6 -44
  97. package/lib/preset-materializer.js +2 -0
  98. package/lib/preset-registry.d.ts +1 -1
  99. package/lib/preset-registry.js +7 -4
  100. package/lib/preset-skills.d.ts +4 -1
  101. package/lib/preset-skills.js +60 -19
  102. package/lib/profile-remote.d.ts +14 -0
  103. package/lib/profile-remote.js +197 -4
  104. package/lib/profile-rpc.d.ts +24 -1
  105. package/lib/profile-rpc.js +139 -1
  106. package/lib/profile-runtime.d.ts +24 -0
  107. package/lib/profile-runtime.js +177 -33
  108. package/lib/profile-store.d.ts +45 -1
  109. package/lib/profile-store.js +236 -102
  110. package/lib/profile-types.d.ts +55 -0
  111. package/lib/prompt-content.d.ts +25 -0
  112. package/lib/prompt-content.js +27 -0
  113. package/lib/prompts.d.ts +8 -2
  114. package/lib/prompts.js +46 -34
  115. package/lib/role-policy.d.ts +51 -0
  116. package/lib/role-policy.js +224 -0
  117. package/lib/role-providers.d.ts +6 -2
  118. package/lib/role-providers.js +72 -39
  119. package/lib/role-subagents.d.ts +6 -2
  120. package/lib/role-subagents.js +187 -48
  121. package/lib/roles.d.ts +16 -4
  122. package/lib/roles.js +86 -186
  123. package/lib/runtime-recovery.js +16 -5
  124. package/lib/session-scope.js +2 -0
  125. package/lib/settings.d.ts +69 -1
  126. package/lib/settings.js +262 -91
  127. package/lib/skills.d.ts +24 -9
  128. package/lib/skills.js +114 -35
  129. package/lib/state.d.ts +10 -6
  130. package/lib/state.js +48 -49
  131. package/lib/status.d.ts +25 -0
  132. package/lib/status.js +47 -9
  133. package/locale/en.json +2 -2
  134. package/locale/zh.json +2 -2
  135. package/package.json +19 -2
  136. package/prompts/deepwork.md +144 -20
  137. package/prompts/source/agents/clarifier.md +45 -0
  138. package/prompts/source/agents/orchestrator.md +63 -0
  139. package/prompts/source/agents/plan-critic.md +25 -0
  140. package/prompts/source/agents/planner.md +19 -0
  141. package/prompts/source/agents/reviewer.md +17 -0
  142. package/prompts/source/catalog.json +548 -0
  143. package/prompts/source/category/coding.md +46 -0
  144. package/prompts/source/category/complex.md +29 -0
  145. package/prompts/source/category/creative.md +38 -0
  146. package/prompts/source/category/cross-cutting.md +52 -0
  147. package/prompts/source/category/deep.md +62 -0
  148. package/prompts/source/category/documenting.md +62 -0
  149. package/prompts/source/category/frontend.md +38 -0
  150. package/prompts/source/category/hard-reasoning.md +53 -0
  151. package/prompts/source/category/normal-task.md +27 -0
  152. package/prompts/source/category/quick.md +34 -0
  153. package/prompts/source/category/research.md +56 -0
  154. package/prompts/source/deepwork/claude-opus-5.md +28 -0
  155. package/prompts/source/deepwork/codex.md +9 -0
  156. package/prompts/source/deepwork/default.md +129 -0
  157. package/prompts/source/deepwork/gemini.md +184 -0
  158. package/prompts/source/deepwork/glm.md +256 -0
  159. package/prompts/source/deepwork/gpt.md +43 -0
  160. package/prompts/source/deepwork/kimi-k27.md +13 -0
  161. package/prompts/source/deepwork/planner.md +41 -0
  162. package/prompts/source/deepwork/swe-2.md +13 -0
  163. package/prompts/source/manifest.json +3118 -0
  164. package/prompts/source/shared/dsh-host-contract.md +6 -0
  165. package/prompts/source/shared/locale.md +8 -0
  166. package/prompts/source/shared/shell-safety.md +7 -0
  167. package/prompts/source/terminal/builder.md +13 -0
  168. package/prompts/source/terminal/clarifier.md +41 -0
  169. package/prompts/source/terminal/code-search.md +39 -0
  170. package/prompts/source/terminal/coding.md +41 -0
  171. package/prompts/source/terminal/complex.md +43 -0
  172. package/prompts/source/terminal/creative.md +41 -0
  173. package/prompts/source/terminal/cross-cutting.md +43 -0
  174. package/prompts/source/terminal/deep.md +43 -0
  175. package/prompts/source/terminal/doc-search.md +39 -0
  176. package/prompts/source/terminal/documenting.md +41 -0
  177. package/prompts/source/terminal/frontend.md +41 -0
  178. package/prompts/source/terminal/hard-reasoning.md +41 -0
  179. package/prompts/source/terminal/media-reader.md +39 -0
  180. package/prompts/source/terminal/normal-task.md +41 -0
  181. package/prompts/source/terminal/oracle-2nd.md +53 -0
  182. package/prompts/source/terminal/oracle.md +53 -0
  183. package/prompts/source/terminal/orchestrator.md +26 -0
  184. package/prompts/source/terminal/plan-critic.md +41 -0
  185. package/prompts/source/terminal/planner.md +42 -0
  186. package/prompts/source/terminal/quick.md +39 -0
  187. package/prompts/source/terminal/research.md +39 -0
  188. package/prompts/source/terminal/reviewer.md +53 -0
  189. package/skills/ast-grep/LICENSE +21 -0
  190. package/skills/ast-grep/README.md +138 -0
  191. package/skills/ast-grep/SKILL.md +284 -0
  192. package/skills/ast-grep/SOURCE +1 -0
  193. package/skills/ast-grep/install.ps1 +235 -0
  194. package/skills/ast-grep/install.sh +286 -0
  195. package/skills/ast-grep/references/cli.md +233 -0
  196. package/skills/ast-grep/references/install.md +168 -0
  197. package/skills/ast-grep/references/patterns.md +149 -0
  198. package/skills/ast-grep/references/pitfalls.md +305 -0
  199. package/skills/ast-grep/references/recipes.md +404 -0
  200. package/skills/ast-grep/references/sgconfig.md +250 -0
  201. package/skills/ast-grep/references/yaml-rules.md +511 -0
  202. package/skills/ast-grep/scripts/ast_grep_helper.py +760 -0
  203. package/skills/ast-grep/tests/smoke.ps1 +129 -0
  204. package/skills/ast-grep/tests/smoke.sh +212 -0
  205. package/skills/ast-grep/tests/test_resolver.py +154 -0
  206. package/skills/brainstorming/SKILL.md +102 -9
  207. package/skills/coding-agent-sessions/LICENSE-UPSTREAM.md +82 -0
  208. package/skills/coding-agent-sessions/NOTICE.md +24 -0
  209. package/skills/coding-agent-sessions/SKILL.md +144 -0
  210. package/skills/coding-agent-sessions/agents/openai.yaml +4 -0
  211. package/skills/coding-agent-sessions/pyrightconfig.json +5 -0
  212. package/skills/coding-agent-sessions/references/all-platforms.md +77 -0
  213. package/skills/coding-agent-sessions/references/claude.md +34 -0
  214. package/skills/coding-agent-sessions/references/codex.md +32 -0
  215. package/skills/coding-agent-sessions/references/opencode.md +45 -0
  216. package/skills/coding-agent-sessions/references/senpi.md +29 -0
  217. package/skills/coding-agent-sessions/scripts/agent_sessions/__init__.py +1 -0
  218. package/skills/coding-agent-sessions/scripts/agent_sessions/aside_scanner.py +140 -0
  219. package/skills/coding-agent-sessions/scripts/agent_sessions/claude.py +66 -0
  220. package/skills/coding-agent-sessions/scripts/agent_sessions/cli.py +283 -0
  221. package/skills/coding-agent-sessions/scripts/agent_sessions/codex.py +105 -0
  222. package/skills/coding-agent-sessions/scripts/agent_sessions/file_scanners.py +275 -0
  223. package/skills/coding-agent-sessions/scripts/agent_sessions/jsonio.py +55 -0
  224. package/skills/coding-agent-sessions/scripts/agent_sessions/kiro_scanner.py +91 -0
  225. package/skills/coding-agent-sessions/scripts/agent_sessions/opencode.py +289 -0
  226. package/skills/coding-agent-sessions/scripts/agent_sessions/pi_family.py +46 -0
  227. package/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py +104 -0
  228. package/skills/coding-agent-sessions/scripts/agent_sessions/sqlite_optional_scanners.py +203 -0
  229. package/skills/coding-agent-sessions/scripts/agent_sessions/sqlite_scanners.py +177 -0
  230. package/skills/coding-agent-sessions/scripts/agent_sessions/timeparse.py +51 -0
  231. package/skills/coding-agent-sessions/scripts/agent_sessions/transcript.py +149 -0
  232. package/skills/coding-agent-sessions/scripts/agent_sessions/types.py +57 -0
  233. package/skills/coding-agent-sessions/scripts/find-agent-sessions.py +19 -0
  234. package/skills/coding-agent-sessions/scripts/tests/test_agent_sessions.py +322 -0
  235. package/skills/coding-agent-sessions/scripts/tests/test_aside_scanner.py +131 -0
  236. package/skills/coding-agent-sessions/scripts/tests/test_cli_contract.py +126 -0
  237. package/skills/coding-agent-sessions/scripts/tests/test_extended_scanners.py +262 -0
  238. package/skills/coding-agent-sessions/scripts/tests/test_optional_sqlite_scanners.py +79 -0
  239. package/skills/coding-agent-sessions/scripts/tests/test_pi_family_scanners.py +130 -0
  240. package/skills/debugging/SKILL.md +125 -4
  241. package/skills/debugging/references/logging.md +2 -0
  242. package/skills/debugging/references/methodology/00-setup.md +2 -0
  243. package/skills/debugging/references/methodology/02-investigate.md +8 -2
  244. package/skills/debugging/references/methodology/03-flaky-triage.md +3 -1
  245. package/skills/debugging/references/methodology/04-hard-reasoning-escalation.md +4 -2
  246. package/skills/debugging/references/methodology/05-escalate.md +2 -0
  247. package/skills/debugging/references/methodology/06-fix.md +2 -0
  248. package/skills/debugging/references/methodology/08-qa.md +2 -0
  249. package/skills/debugging/references/methodology/09-cleanup.md +2 -0
  250. package/skills/debugging/references/methodology/partial-runtime-evidence.md +4 -2
  251. package/skills/debugging/references/runtimes/bundled-js-binary.md +2 -0
  252. package/skills/debugging/references/runtimes/go.md +2 -0
  253. package/skills/debugging/references/runtimes/native-binary.md +2 -0
  254. package/skills/debugging/references/runtimes/node.md +2 -0
  255. package/skills/debugging/references/runtimes/python.md +2 -0
  256. package/skills/debugging/references/runtimes/rust.md +2 -0
  257. package/skills/debugging/references/scripts/dap.test.mjs +539 -0
  258. package/skills/debugging/references/scripts/fixture-adapter.mjs +164 -0
  259. package/skills/debugging/references/tools/dap.md +3 -1
  260. package/skills/debugging/references/tools/ghidra.md +2 -0
  261. package/skills/debugging/references/tools/playwright-cli.md +2 -0
  262. package/skills/debugging/references/tools/pwndbg.md +2 -0
  263. package/skills/debugging/references/tools/pwntools.md +2 -0
  264. package/skills/dispatching-parallel-agents/SKILL.md +94 -7
  265. package/skills/frontend/.frontend-materialized.json +856 -0
  266. package/skills/frontend/ATTRIBUTION.md +37 -0
  267. package/skills/frontend/LICENSE-Apache-2.0.txt +201 -0
  268. package/skills/frontend/LICENSE-taste-skill.txt +21 -0
  269. package/skills/frontend/LICENSE-ui-ux-pro-max.txt +21 -0
  270. package/skills/frontend/SKILL.md +142 -0
  271. package/skills/frontend/references/design/README.md +256 -0
  272. package/skills/frontend/references/design/_INDEX.md +206 -0
  273. package/skills/frontend/references/design/airbnb.md +393 -0
  274. package/skills/frontend/references/design/airtable.md +92 -0
  275. package/skills/frontend/references/design/apple.md +250 -0
  276. package/skills/frontend/references/design/aside.md +211 -0
  277. package/skills/frontend/references/design/binance.md +348 -0
  278. package/skills/frontend/references/design/bmw.md +183 -0
  279. package/skills/frontend/references/design/brutalist-skill.md +92 -0
  280. package/skills/frontend/references/design/bugatti.md +271 -0
  281. package/skills/frontend/references/design/cal.md +262 -0
  282. package/skills/frontend/references/design/claude.md +315 -0
  283. package/skills/frontend/references/design/clay.md +307 -0
  284. package/skills/frontend/references/design/clickhouse.md +284 -0
  285. package/skills/frontend/references/design/clone-from-url.md +69 -0
  286. package/skills/frontend/references/design/cohere.md +269 -0
  287. package/skills/frontend/references/design/coinbase.md +132 -0
  288. package/skills/frontend/references/design/composio.md +310 -0
  289. package/skills/frontend/references/design/cursor.md +312 -0
  290. package/skills/frontend/references/design/design-system-architecture.md +250 -0
  291. package/skills/frontend/references/design/elevenlabs.md +268 -0
  292. package/skills/frontend/references/design/expo.md +284 -0
  293. package/skills/frontend/references/design/ferrari.md +317 -0
  294. package/skills/frontend/references/design/figma.md +223 -0
  295. package/skills/frontend/references/design/framer.md +249 -0
  296. package/skills/frontend/references/design/gpt-tasteskill.md +74 -0
  297. package/skills/frontend/references/design/hashicorp.md +281 -0
  298. package/skills/frontend/references/design/ibm.md +335 -0
  299. package/skills/frontend/references/design/image-to-code-skill.md +1228 -0
  300. package/skills/frontend/references/design/imagegen-brandkit.md +798 -0
  301. package/skills/frontend/references/design/imagegen-frontend-mobile.md +1465 -0
  302. package/skills/frontend/references/design/imagegen-frontend-web.md +987 -0
  303. package/skills/frontend/references/design/interaction-skill.md +52 -0
  304. package/skills/frontend/references/design/intercom.md +149 -0
  305. package/skills/frontend/references/design/kraken.md +128 -0
  306. package/skills/frontend/references/design/lamborghini.md +291 -0
  307. package/skills/frontend/references/design/linear.app.md +370 -0
  308. package/skills/frontend/references/design/lovable.md +301 -0
  309. package/skills/frontend/references/design/mastercard.md +368 -0
  310. package/skills/frontend/references/design/meta.md +369 -0
  311. package/skills/frontend/references/design/minimalist-skill.md +85 -0
  312. package/skills/frontend/references/design/minimax.md +260 -0
  313. package/skills/frontend/references/design/mintlify.md +329 -0
  314. package/skills/frontend/references/design/miro.md +111 -0
  315. package/skills/frontend/references/design/mistral.ai.md +264 -0
  316. package/skills/frontend/references/design/mongodb.md +269 -0
  317. package/skills/frontend/references/design/nike.md +366 -0
  318. package/skills/frontend/references/design/notion.md +312 -0
  319. package/skills/frontend/references/design/nvidia.md +296 -0
  320. package/skills/frontend/references/design/ollama.md +270 -0
  321. package/skills/frontend/references/design/opencode.ai.md +284 -0
  322. package/skills/frontend/references/design/output-skill.md +49 -0
  323. package/skills/frontend/references/design/pinterest.md +233 -0
  324. package/skills/frontend/references/design/playstation.md +367 -0
  325. package/skills/frontend/references/design/posthog.md +259 -0
  326. package/skills/frontend/references/design/raycast.md +271 -0
  327. package/skills/frontend/references/design/react-dev-tooling-skill.md +232 -0
  328. package/skills/frontend/references/design/redesign-skill.md +178 -0
  329. package/skills/frontend/references/design/renault.md +314 -0
  330. package/skills/frontend/references/design/replicate.md +264 -0
  331. package/skills/frontend/references/design/resend.md +306 -0
  332. package/skills/frontend/references/design/revolut.md +188 -0
  333. package/skills/frontend/references/design/runwayml.md +247 -0
  334. package/skills/frontend/references/design/sanity.md +360 -0
  335. package/skills/frontend/references/design/sentry.md +265 -0
  336. package/skills/frontend/references/design/shopify.md +353 -0
  337. package/skills/frontend/references/design/soft-skill.md +98 -0
  338. package/skills/frontend/references/design/spacex.md +197 -0
  339. package/skills/frontend/references/design/spotify.md +249 -0
  340. package/skills/frontend/references/design/starbucks.md +583 -0
  341. package/skills/frontend/references/design/stitch-design-example.md +121 -0
  342. package/skills/frontend/references/design/stitch-skill.md +184 -0
  343. package/skills/frontend/references/design/stripe.md +325 -0
  344. package/skills/frontend/references/design/supabase.md +258 -0
  345. package/skills/frontend/references/design/superhuman.md +255 -0
  346. package/skills/frontend/references/design/taste-skill.md +1206 -0
  347. package/skills/frontend/references/design/tesla.md +289 -0
  348. package/skills/frontend/references/design/theverge.md +342 -0
  349. package/skills/frontend/references/design/together.ai.md +266 -0
  350. package/skills/frontend/references/design/uber.md +298 -0
  351. package/skills/frontend/references/design/vercel.md +313 -0
  352. package/skills/frontend/references/design/vodafone.md +426 -0
  353. package/skills/frontend/references/design/voltagent.md +326 -0
  354. package/skills/frontend/references/design/warp.md +256 -0
  355. package/skills/frontend/references/design/webflow.md +95 -0
  356. package/skills/frontend/references/design/wired.md +281 -0
  357. package/skills/frontend/references/design/wise.md +176 -0
  358. package/skills/frontend/references/design/x.ai.md +260 -0
  359. package/skills/frontend/references/design/zapier.md +331 -0
  360. package/skills/frontend/references/perfection/README.md +264 -0
  361. package/skills/frontend/references/perfection/react-perf-tooling.md +234 -0
  362. package/skills/frontend/references/ui-ux-db/README.md +659 -0
  363. package/skills/frontend/references/ui-ux-db/data/app-interface.csv +31 -0
  364. package/skills/frontend/references/ui-ux-db/data/charts.csv +26 -0
  365. package/skills/frontend/references/ui-ux-db/data/colors.csv +162 -0
  366. package/skills/frontend/references/ui-ux-db/data/google-fonts.csv +1924 -0
  367. package/skills/frontend/references/ui-ux-db/data/icons.csv +106 -0
  368. package/skills/frontend/references/ui-ux-db/data/landing.csv +35 -0
  369. package/skills/frontend/references/ui-ux-db/data/products.csv +162 -0
  370. package/skills/frontend/references/ui-ux-db/data/react-performance.csv +45 -0
  371. package/skills/frontend/references/ui-ux-db/data/stacks/angular.csv +51 -0
  372. package/skills/frontend/references/ui-ux-db/data/stacks/astro.csv +54 -0
  373. package/skills/frontend/references/ui-ux-db/data/stacks/flutter.csv +53 -0
  374. package/skills/frontend/references/ui-ux-db/data/stacks/html-tailwind.csv +56 -0
  375. package/skills/frontend/references/ui-ux-db/data/stacks/jetpack-compose.csv +53 -0
  376. package/skills/frontend/references/ui-ux-db/data/stacks/laravel.csv +51 -0
  377. package/skills/frontend/references/ui-ux-db/data/stacks/nextjs.csv +53 -0
  378. package/skills/frontend/references/ui-ux-db/data/stacks/nuxt-ui.csv +51 -0
  379. package/skills/frontend/references/ui-ux-db/data/stacks/nuxtjs.csv +59 -0
  380. package/skills/frontend/references/ui-ux-db/data/stacks/react-native.csv +52 -0
  381. package/skills/frontend/references/ui-ux-db/data/stacks/react.csv +54 -0
  382. package/skills/frontend/references/ui-ux-db/data/stacks/shadcn.csv +61 -0
  383. package/skills/frontend/references/ui-ux-db/data/stacks/svelte.csv +54 -0
  384. package/skills/frontend/references/ui-ux-db/data/stacks/swiftui.csv +51 -0
  385. package/skills/frontend/references/ui-ux-db/data/stacks/threejs.csv +54 -0
  386. package/skills/frontend/references/ui-ux-db/data/stacks/vue.csv +50 -0
  387. package/skills/frontend/references/ui-ux-db/data/styles.csv +85 -0
  388. package/skills/frontend/references/ui-ux-db/data/typography.csv +74 -0
  389. package/skills/frontend/references/ui-ux-db/data/ui-reasoning.csv +162 -0
  390. package/skills/frontend/references/ui-ux-db/data/ux-guidelines.csv +100 -0
  391. package/skills/frontend/references/ui-ux-db/data/web-interface.csv +31 -0
  392. package/skills/frontend/references/ui-ux-db/scripts/core.py +262 -0
  393. package/skills/frontend/references/ui-ux-db/scripts/design_system.py +1148 -0
  394. package/skills/frontend/references/ui-ux-db/scripts/search.py +114 -0
  395. package/skills/frontend/scripts/perfection/lighthouse-audit.py +201 -0
  396. package/skills/git-master/SKILL.md +112 -0
  397. package/skills/git-master/agents/openai.yaml +13 -0
  398. package/skills/init-deep/SKILL.md +279 -0
  399. package/skills/receiving-code-review/SKILL.md +112 -7
  400. package/skills/remove-ai-slops/SKILL.md +159 -8
  401. package/skills/requesting-code-review/SKILL.md +96 -3
  402. package/skills/requesting-code-review/code-reviewer.md +47 -0
  403. package/skills/subagent-driven-development/SKILL.md +176 -6
  404. package/skills/subagent-driven-development/code-quality-reviewer-prompt.md +23 -0
  405. package/skills/subagent-driven-development/implementer-prompt.md +69 -0
  406. package/skills/subagent-driven-development/spec-reviewer-prompt.md +32 -0
  407. package/skills/using-git-worktrees/SKILL.md +141 -0
  408. package/skills/writing-plans/SKILL.md +121 -7
  409. package/skills/writing-plans/plan-document-reviewer-prompt.md +38 -0
@@ -1,10 +1,103 @@
1
1
  ---
2
2
  name: requesting-code-review
3
- description: Use when implementation risk, uncertainty, user requirement or integration complexity benefits from focused independent review.
3
+ description: Use when an implemented change benefits from independent review before delivery or merge
4
4
  ---
5
5
 
6
+ ## DSH resource and authority contract
7
+
8
+ This is a full OCMM source adaptation for DSH 0.2.0-rc.2, not an OpenCode or Codex runtime. Source product names in transcript formats, examples, paths and attribution remain descriptive; they are not a host switch.
9
+
10
+ - Load this skill through the native skill tool only when its trigger matches. Resolve every relative reference/script/asset from the directory resourceBase returned with this skill, not from the project cwd or an OCMM checkout. Use available read/glob/grep to inspect resources; use write/edit and the active bash or pwsh only within the actual role and host permissions.
11
+ - External documentation uses actual web_search/web_fetch or an available documentation service. Context7, GitHub MCP, browser, image and LSP tools are optional catalog capabilities, not bundled calls. Use a real available equivalent or report unavailable evidence; never invent an MCP, Task, todo or compression API.
12
+ - Source role names are logical assignments: code-search/explore maps to dsmm-code-search, and other canonical roles/categories map to dsmm-<name>. Dispatch only through the actual role-specific native subagent tool in the current catalog, within the caller's effective policy, depth and authority. No generated file, metadata row or template proves callability. A missing permitted role is a blocker for a required formal stage, not permission to invent it or bypass planning.
13
+ - Templates describe assignment content, not a callable argument schema. Native continuation, background, message/interrupt and result handling are used only when actually exposed and supported; do not send task_id, subagent_type or guessed timeout fields. Otherwise perform permitted direct work or return the dependency to the stage owner.
14
+ - Use a concise response or an authorized project plan for tracking when no native tracking tool is exposed. Compression is unavailable unless a real tool is exposed; do not simulate it. Role responsibilities, explicit-off common/skill visibility, and the terminal delegation contract override broader examples in a resource.
15
+ - Installation, package-manager bootstrap, downloads, authentication/login, credential/profile access, Git writes and destructive actions require explicit authorization for the exact action. Reference commands are not automatic operations. Worktree consent does not authorize dependency installation or later branch deletion. Read before changing an existing file; preserve unrelated user work. Never silently restore/reset a working tree to repair a failed cleanup.
16
+ - Browser/debug QA uses run-owned isolated state, no imported credentials or browser profile, and only already available software unless separately authorized. Keep commands in the active shell dialect. Report unverified surfaces honestly.
17
+
18
+ <!-- v1 fork of superpowers/requesting-code-review.
19
+ Upstream: obra/superpowers v6.3.0.
20
+ Adjustments: review is risk- and evidence-driven rather than unconditional;
21
+ requests carry the current change, goals, criteria, evidence, and constraints
22
+ without fixed packet fields, receipts, or verdict formats.
23
+ Reviewer-seat discipline remains: reviewers do not spawn additional review
24
+ seats. See docs/v1-maintenance.md for sync rules. -->
25
+
6
26
  # Requesting Code Review
7
27
 
8
- Review is evidence chosen for risk, not a fixed completion ceremony. Share the actual current diff and new files, goal, acceptance criteria, tests and real-surface evidence, constraints, and focused risk. A status label is not proof.
28
+ Request independent code review when it provides useful evidence about an implemented change. Give the reviewer the work product and decision context, not the session transcript.
29
+
30
+ **Core principle:** Review current implemented code against the approved outcome. Reviewer and Oracle profiles are not research, ideation, architecture-design, root-cause debugging, plan review, or implementation workers.
31
+
32
+ ## When Review Is Useful
33
+
34
+ Consider review when one or more applies:
35
+
36
+ - The change is complex, cross-module, difficult to inspect, or carries meaningful integration risk.
37
+ - Security, data loss, performance, compatibility, protocol/API, migration, release, or irreversible behavior deserves independent scrutiny.
38
+ - Local verification leaves material uncertainty about a complex fix.
39
+ - The user or a governing project/release process requires review.
40
+ - A focused concern would benefit from a second model perspective.
41
+
42
+ A small, low-risk result with sufficient current evidence does not require review merely as ceremony. Reviewer approval is not unconditional, and an optional or redundant reviewer does not become a completion gate.
43
+
44
+ ## Construct the Review Request
45
+
46
+ Provide the reviewer, in whatever order is clearest:
47
+
48
+ - the goal and ideal end state;
49
+ - acceptance criteria;
50
+ - the current working-tree diff or committed range, including newly created files;
51
+ - relevant verification evidence and any intentionally unverified item;
52
+ - global constraints, permissions, and material approved rulings;
53
+ - focused dependency/interface or risk context needed to evaluate the change.
54
+
55
+ Use the actual current diff or range rather than a prose-only summary. If output is large or sensitive, provide a safe reviewable artifact or focused slices plus a complete file manifest, without omitting changes material to the criteria.
56
+
57
+ Do not require a fixed packet schema, first-line verdict, receipt, or transcript. Do not paste accumulated conversation history. Do not tell the reviewer what conclusion to reach or add open-ended directions unrelated to the change.
58
+
59
+ The reviewer evaluates supplied evidence and may request missing evidence. They should not rerun expensive checks without a reason, and they do not dispatch other reviewers, workers, or evidence-gathering subagents.
60
+
61
+ ## Reviewer Selection
62
+
63
+ Select only the lanes that add useful independent evidence. Available profiles do not cause automatic fan-out.
64
+
65
+ - `reviewer` is the primary-model or primary-lane self-review profile.
66
+ - Oracle slots are external-model cross-check choices in configured priority order: `oracle`, `oracle-2nd`, then later configured slots.
67
+ - Later Oracle slots indicate selection order, not greater capability.
68
+ - Logical tiers are `low`, unsuffixed `normal`, `high`, and `max`, subject to actual configuration and model support.
69
+ - Explicit user model configuration and effective routing policy remain authoritative.
70
+
71
+ Typical choices:
72
+
73
+ - Focused, moderate-risk review: one suitable Reviewer or Oracle lane.
74
+ - Complex or high-impact change: primary review plus an intentionally chosen independent cross-check when the extra evidence is worth its cost.
75
+ - Additional lanes: only for an explicit evidence need, not because profiles happen to exist.
76
+
77
+ Review roles inspect implementation; they do not approve plans or decide unapproved product scope.
78
+
79
+ ## Interpret the Result
80
+
81
+ Read the reviewer's analysis, cited code, and evidence. A status label, acknowledgement, dispatch success, or unsupported approval/rejection is informational rather than proof.
82
+
83
+ - Fix validated Critical or Important product defects before relying on the result.
84
+ - Supply missing required evidence when the implementation may be sound but proof is insufficient.
85
+ - Record or defer Minor suggestions according to scope and value.
86
+ - Push back with requirements, code, or evidence when a finding is wrong.
87
+ - Preserve real security, data-loss, protocol/API, compatibility, release, and irreversible-operation safeguards.
88
+
89
+ An optional or redundant review child that is unavailable, times out, or returns no substantive analysis does not block a result already established by sufficient evidence. This does not waive a review explicitly required by the user or governing process, nor a real unresolved high-impact risk.
90
+
91
+ ## Rerunning Review
92
+
93
+ Rerun only reviews affected by substantive changes to code, new files, requirements, acceptance criteria, constraints, or relevant evidence. Do not rerun because formatting, narration, status wording, or unrelated files changed.
94
+
95
+ When a substantive fix changes the reviewed area, send the updated current diff or range and affected evidence. Reuse a continuation only while it remains the same review objective and context is reliable; otherwise start a fresh focused review.
96
+
97
+ ## Git Boundary
98
+
99
+ Review does not require a commit. A working-tree diff plus new files is valid review input. Do not stage, commit, push, tag, rebase, or release merely to manufacture a review boundary.
100
+
101
+ Git writes require authorization for the specific operation. A clear user request can authorize that exact operation without re-asking, but implement/fix does not mean commit, and commit does not mean push, tag, rebase, or release. Authorization never expands to a different operation or repository.
9
102
 
10
- DSMM Reviewer is primary-model or primary-lane implementation self-review. Oracle and Oracle 2nd are external-model cross-check slots only when their caller explicitly selects an available different model; priority is not capability rank. Do not use implementation reviewers for research, design, root-cause diagnosis or plan criticism, and do not fan out every role merely because it exists. Re-request only a review affected by a substantive change or newly relevant evidence. Review never authorizes Git writes.
103
+ See template at: `requesting-code-review/code-reviewer.md`
@@ -0,0 +1,47 @@
1
+ > DSH adapter boundary: resolve this resource from the loaded skill's directory resourceBase. Examples are not authority: installation/download/login, private state, Git writes and destructive operations need exact explicit authorization. Use only tools and native roles actually exposed in the current catalog and allowed by the caller; otherwise use a real direct fallback or report the limitation. Translate shell examples to the active runtime.
2
+
3
+ # Code Reviewer Prompt Template
4
+
5
+ Use this template when an implemented change benefits from independent review.
6
+
7
+ **Purpose:** Evaluate the current change against its goal, acceptance criteria, evidence, and constraints.
8
+
9
+ ```
10
+ Assignment content (not a tool-call schema; send through a permitted callable native role tool):
11
+ description: "Review current code changes"
12
+ prompt: |
13
+ You are a Senior Code Reviewer. Review the supplied implemented change
14
+ yourself; do not dispatch another reviewer, worker, or evidence-gathering
15
+ subagent.
16
+
17
+ The request should provide, in whatever order is clearest:
18
+ - goal and ideal end state;
19
+ - acceptance criteria;
20
+ - current working-tree diff or committed range, including new files;
21
+ - relevant verification evidence and intentionally unverified items;
22
+ - global constraints, permissions, and material approved rulings;
23
+ - focused dependency, interface, or risk context when needed.
24
+
25
+ Inspect the actual change rather than relying on an implementer summary or
26
+ status. Evaluate requirement alignment, correctness, boundaries, errors,
27
+ types, edge cases, tests/evidence, integration, maintainability, and material
28
+ security, performance, data, compatibility, protocol/API, migration, release,
29
+ or irreversible-operation risks.
30
+
31
+ Allow minimal evidence-based equivalent implementations when they preserve the
32
+ approved goal, constraints, permissions, and acceptance criteria. Flag a
33
+ proposed change to approved scope or behavior as a decision for the controller,
34
+ not an automatic fix.
35
+
36
+ Report concrete findings with severity, file/line location when available,
37
+ impact, supporting evidence, and a practical correction when useful. Separate
38
+ product defects from missing evidence. Mention specific strengths only when
39
+ informative.
40
+
41
+ No fixed first line, section order, verdict token, receipt, or status
42
+ format is required. An acknowledgement or unsupported conclusion is not review
43
+ evidence. If the supplied material is insufficient, identify exactly what is
44
+ missing rather than guessing.
45
+ ```
46
+
47
+ Rerun this review only when substantive code, new files, requirements, criteria, constraints, or relevant evidence changes.
@@ -1,13 +1,183 @@
1
1
  ---
2
2
  name: subagent-driven-development
3
- description: Use when executing an approved plan has independent bounded work that benefits from DSH subagent delegation.
3
+ description: Use when executing implementation plans with independent tasks in the current session
4
4
  ---
5
5
 
6
+ ## DSH resource and authority contract
7
+
8
+ This is a full OCMM source adaptation for DSH 0.2.0-rc.2, not an OpenCode or Codex runtime. Source product names in transcript formats, examples, paths and attribution remain descriptive; they are not a host switch.
9
+
10
+ - Load this skill through the native skill tool only when its trigger matches. Resolve every relative reference/script/asset from the directory resourceBase returned with this skill, not from the project cwd or an OCMM checkout. Use available read/glob/grep to inspect resources; use write/edit and the active bash or pwsh only within the actual role and host permissions.
11
+ - External documentation uses actual web_search/web_fetch or an available documentation service. Context7, GitHub MCP, browser, image and LSP tools are optional catalog capabilities, not bundled calls. Use a real available equivalent or report unavailable evidence; never invent an MCP, Task, todo or compression API.
12
+ - Source role names are logical assignments: code-search/explore maps to dsmm-code-search, and other canonical roles/categories map to dsmm-<name>. Dispatch only through the actual role-specific native subagent tool in the current catalog, within the caller's effective policy, depth and authority. No generated file, metadata row or template proves callability. A missing permitted role is a blocker for a required formal stage, not permission to invent it or bypass planning.
13
+ - Templates describe assignment content, not a callable argument schema. Native continuation, background, message/interrupt and result handling are used only when actually exposed and supported; do not send task_id, subagent_type or guessed timeout fields. Otherwise perform permitted direct work or return the dependency to the stage owner.
14
+ - Use a concise response or an authorized project plan for tracking when no native tracking tool is exposed. Compression is unavailable unless a real tool is exposed; do not simulate it. Role responsibilities, explicit-off common/skill visibility, and the terminal delegation contract override broader examples in a resource.
15
+ - Installation, package-manager bootstrap, downloads, authentication/login, credential/profile access, Git writes and destructive actions require explicit authorization for the exact action. Reference commands are not automatic operations. Worktree consent does not authorize dependency installation or later branch deletion. Read before changing an existing file; preserve unrelated user work. Never silently restore/reset a working tree to repair a failed cleanup.
16
+ - Browser/debug QA uses run-owned isolated state, no imported credentials or browser profile, and only already available software unless separately authorized. Keep commands in the active shell dialect. Report unverified surfaces honestly.
17
+
18
+ <!-- v1 fork of superpowers/subagent-driven-development.
19
+ Upstream: obra/superpowers v6.3.0 (synced 2026-08-15).
20
+ Adjustments: removed excluded-skill references and Git-writing workers;
21
+ delegation, evidence, and review now scale with the work rather than forming
22
+ mandatory per-task or final gates. Workers may make bounded evidence-based
23
+ equivalent changes while preserving approved outcomes. Existing background
24
+ waiting and no-ledger/no-automatic-cleanup boundaries remain. See
25
+ docs/v1-maintenance.md for sync rules. -->
26
+
6
27
  # Subagent-Driven Development
7
28
 
8
- Delegate only when the actual DSH tool for that logical role is callable and its provider advertises the necessary persona/tool-filter/depth capabilities. A child joins its parent's preset; the role-specific tool must supply its own persona and tool filter. Preset files alone do not prove availability.
29
+ Use focused workers when delegation materially improves implementation of an approved plan. Coordinate toward the plan's goal and ideal end state, not toward ceremonial completion of every originally imagined step.
30
+
31
+ **Core principle:** Preserve the approved goal, constraints, permissions, and acceptance criteria; choose the smallest execution and evidence path that proves the outcome.
32
+
33
+ Delegation is optional. Direct execution is valid when a task is small, tightly coupled to controller context, or cheaper to complete than to brief and reconcile. When delegation helps, give each worker self-contained context rather than session history.
34
+
35
+ This skill begins at implementation. For complex business or behavior work, the orchestrator must first complete the `planner` → `plan-critic` sequence and resolve every substantive plan blocker. A recorded exception is valid only for a limited, simple, low-risk, clearly bounded change or an explicit user request. Direct execution here chooses an implementer; it does not bypass required planning.
36
+
37
+ **Continuous execution:** Do not pause between ordinary tasks merely to ask whether to continue. Stop for a decision that changes scope or acceptance, weakens security or data guarantees, changes a public API/protocol, expands permissions, requires an irreversible/destructive operation, triggers an external side effect requiring authorization, or leaves only pure guesses. Otherwise make a bounded ruling and continue.
38
+
39
+ **Rulings, not stalls:** Resolve non-material plan defects or ambiguities from approved requirements and repository evidence. Record significant rulings and assumptions in the active tracking surface or final report, including the reason and cost if wrong. Do not create a separate ledger solely for this purpose.
40
+
41
+ **Narration discipline:** Between tool calls, keep narration brief. Use prose for decisions, blockers, and questions rather than duplicating tool output.
42
+
43
+ ## When to Use
44
+
45
+ - An approved plan or bounded task has work that benefits from isolated execution context.
46
+ - Task boundaries and file ownership are clear enough to avoid interference.
47
+ - The controller can supply goals, criteria, dependencies, interfaces, evidence expectations, and constraints without pasting session history.
48
+
49
+ For two or more independent tasks with no shared state or overlapping files, consider `dispatching-parallel-agents`. Keep dependent or shared-state work sequential. Do not delegate merely to satisfy a workflow label.
50
+
51
+ ## Outcome-Oriented Process
52
+
53
+ 1. Understand the goal, ideal end state, acceptance criteria, dependencies/interfaces, relevant evidence, and global constraints.
54
+ 2. Scan planned file/interface overlaps and material risks. Record significant rulings or assumptions.
55
+ 3. Choose direct execution or a useful worker boundary for each task or wave.
56
+ 4. After work returns, inspect the actual changes and evidence, resolve integration issues, and update tracking based on the demonstrated outcome.
57
+ 5. Request focused or whole-change review only when risk, uncertainty, change shape, or user instruction makes independent review useful.
58
+ 6. Verify the integrated result with evidence proportionate to the plausible regression and report any unverified item.
59
+
60
+ The plan is guidance, not an immutable script. A worker may use a minimal evidence-based equivalent when repository reality makes a planned detail unnecessary or inferior, provided the approved goal, constraints, permissions, and acceptance criteria remain unchanged. Significant deviations require a recorded ruling with reasons and cost if wrong. Decisions in the stop classes above return to the controller or user.
61
+
62
+ ## Worker Briefs
63
+
64
+ Give a worker, in whatever order is clearest:
65
+
66
+ - the task/wave goal and ideal end state;
67
+ - acceptance criteria and useful evidence;
68
+ - relevant current state, dependencies, and interfaces;
69
+ - owned files or explicit boundaries;
70
+ - global constraints and permissions;
71
+ - significant prior rulings or known risks.
72
+
73
+ Do not make a worker read an entire plan when a self-contained excerpt is available. Do not prescribe fixed report fields, a first-line status, test transcript, scenario count, commit, or reviewer approval. Ask for the changed files, substantive decisions, verification evidence, and unresolved risks needed for integration.
74
+
75
+ ### Recommended Executor Decision
76
+
77
+ Before dispatch, verify the profile is callable, no ownership conflict exists, dependencies are ready, and the task's security/runtime rigor fits the worker. A recommendation is evidence for this decision, not a command. Never expand a worker's permissions because a plan names a more powerful profile.
78
+
79
+ Use direct tools first. Workers may use only bounded utility leaves their effective policy permits; they do not spawn implementation, planning, coordination, Reviewer, or Oracle seats. Worker self-review is useful evidence but does not become a mandatory review receipt.
80
+
81
+ ## Git Ownership and Authorization
82
+
83
+ Workers do not stage, commit, push, tag, rebase, release, or perform other Git writes unless the user specifically authorized that exact operation and the effective worker policy permits it. Normally they return changed files and evidence to the controller.
84
+
85
+ A clear user request can authorize the exact Git operation without a redundant confirmation, but its semantics do not expand:
86
+
87
+ - implement or fix does not mean commit;
88
+ - commit does not mean push, tag, rebase, or release;
89
+ - authorization for one repository, branch, range, or operation does not authorize another.
90
+
91
+ ## Local Workflow Boundaries
92
+
93
+ No automatic workspace or ledger scripts, automatic cleanup, routine full review after each task or wave, or default worker Git write is permitted. Use the active todo list, plan notes, notepad, or final response for rulings and handoffs; do not introduce upstream ledger files or cleanup scripts.
94
+
95
+ ## Plan and Integration Scan
96
+
97
+ Before work that spans tasks or waves:
98
+
99
+ - Check shared files and interfaces for incompatible assumptions.
100
+ - Check dependencies and ordering against the desired end state.
101
+ - Confirm planned evidence relates to observable acceptance criteria.
102
+ - Keep security, data-loss, protocol/API, compatibility, and irreversible-operation safeguards intact.
103
+
104
+ When a conflict is non-material, record the significant decision, its evidence or reason, and the cost if wrong in whatever form is useful, then proceed. Escalate when resolving it would change scope, acceptance, safety, data guarantees, public interfaces/protocols, permissions, irreversible effects, or would be a pure guess.
105
+
106
+ ## Batch Small Same-Shape Work
107
+
108
+ Several independent, low-judgment edits of the same kind may share one brief. List every owned area and expected outcome, then inspect the result area-by-area. Keep separate work where judgment, dependencies, tests, or integration risk differ.
109
+
110
+ ## Corrections and Changed Inputs
111
+
112
+ Continue the same worker session for a bounded correction to the same goal when the host exposes a continuation handle and its context remains valid. Otherwise start a fresh worker with the necessary correction context.
113
+
114
+ After a correction, rerun only affected checks or reviews plus any integration check whose substantive input changed. Do not restart a full review for formatting, narration, status wording, or other changes that cannot affect the reviewed outcome. Escalate rather than retry blindly after repeated no-progress attempts.
115
+
116
+ ## Model Selection
117
+
118
+ Use the least costly currently available profile likely to complete the task reliably. Turn count and context handoff cost matter more than nominal token price. Scale capability to integration judgment, diff size, uncertainty, and risk; do not use a reviewer or Oracle as an implementation or architecture worker.
119
+
120
+ ## Worker Results Are Evidence, Not Gates
121
+
122
+ Status labels such as `DONE`, `DONE_WITH_CONCERNS`, `BLOCKED`, or `NEEDS_CONTEXT` are informational. Read the actual changed files, reasoning, evidence, and concerns. An acknowledgement, dispatch success, or label alone is not completion evidence.
123
+
124
+ Likewise, an optional or redundant child that is unavailable, times out, returns only an acknowledgement, or fails to add evidence does not block a result already proven by sufficient current evidence. Required work remains required; do not use this rule to bypass a real unresolved security, data-loss, protocol/API, compatibility, or irreversible-operation risk.
125
+
126
+ When a worker raises a concern:
127
+
128
+ - resolve correctness or scope concerns from code and requirements before relying on the result;
129
+ - provide missing context when that is the blocker;
130
+ - change model or task boundary when the work genuinely exceeds the worker;
131
+ - escalate decisions in the stop classes rather than forcing a guess.
132
+
133
+ ### Waiting on Dispatched Subagents
134
+
135
+ Do not poll aggressively, sleep, or repeatedly ask for status. While you have local work — preparing the next dispatch, inspecting returned diffs, updating todos, or packaging review input — keep working. If the host exposes background completion, let it notify you. If a wait surface exists and you are genuinely idle, wait in bounded stretches rather than short loops, then reconcile outstanding children once per stretch. A continuation handle continues a child session; it is not a polling job ID.
136
+
137
+ ## Verification
138
+
139
+ Choose evidence that can demonstrate the requested behavior or invariant. Depending on the change, this can include focused deterministic tests, existing regression tests, typechecks, builds, runtime probes, inspection of generated output, or protocol/security checks.
140
+
141
+ Do not impose a universal RED gate, test transcript, scenario count, or full-suite run for every task. Add or run tests where a plausible deterministic regression seam warrants them. Never weaken real safeguards or substitute an acknowledgement for evidence.
142
+
143
+ ## Completion and Integration Check
144
+
145
+ For each worker result or direct-execution wave:
146
+
147
+ - inspect the actual changed and newly created files or current diff;
148
+ - compare the result to the goal and acceptance criteria;
149
+ - evaluate the reported evidence and run additional targeted checks when needed;
150
+ - check shared interfaces and assumptions against other work;
151
+ - record significant rulings, unresolved risks, and intentionally unverified items.
152
+
153
+ This is outcome verification, not a mandatory full reviewer pass after each task or wave.
154
+
155
+ ## Constructing Review Requests
156
+
157
+ When independent review is useful, provide the reviewer with the goal, acceptance criteria, current diff or committed range including new files, relevant verification evidence, and global constraints. Add focused context for a known concern without pre-judging the conclusion. Do not paste accumulated session history or require a fixed packet schema, receipt, or first-line verdict.
158
+
159
+ Reviewers inspect the actual change and evidence; they should not rerun expensive checks without a reason. Treat their findings according to technical merit. Re-request only the affected review when substantive code, requirements, evidence, or constraints changed. An editorial prompt change does not stale otherwise applicable review analysis.
160
+
161
+ ## When Review Is Useful
162
+
163
+ Consider focused review for a high-risk implementation concern, uncertain complex fix, meaningful cross-module integration, security/data/protocol/compatibility/release risk, or explicit user request. Consider a whole-change review before merge or delivery when the size or risk benefits from independent scrutiny.
164
+
165
+ Review is not unconditional. A proven low-risk result need not wait for an optional or redundant reviewer, and reviewer approval is not a substitute for evidence. When review is required by the user or a governing release/safety process, satisfy that requirement and resolve substantive blockers before completion.
166
+
167
+ ## Handling Findings
168
+
169
+ Use the `receiving-code-review` skill. Fix validated blocking defects or missing required evidence. Group related findings into a coherent correction rather than spawning one worker per comment. Push back with code, requirements, or evidence when a finding is incorrect or would change approved intent.
170
+
171
+ After a substantive fix, rerun affected evidence and reviews. Do not rerun unaffected reviews. Preserve the approved goal and constraints; escalate feedback that would change scope, acceptance, safety/data guarantees, public APIs/protocols, permissions, or irreversible behavior.
172
+
173
+ ## Prompt Templates
174
+
175
+ - `./implementer-prompt.md` — focused worker brief
176
+ - `./spec-reviewer-prompt.md` — optional narrow requirements consultation
177
+ - `./code-quality-reviewer-prompt.md` — optional narrow quality consultation
178
+
179
+ ## Integration
9
180
 
10
- - Direct work is valid when delegation adds no value. Otherwise give a worker approved outcome, exclusive file ownership, constraints, acceptance evidence and no-Git-write boundary.
11
- - Keep dependent or overlapping work sequential; independent work may proceed together when shared state and tool limits permit.
12
- - Preserve the host's stricter depth, cancellation, permissions and model availability. Never infer a child task ID or retry authority from prose.
13
- - Inspect actual changes and evidence on return; integrate and run proportionate verification. Request review only for a concrete risk or explicit requirement, not after every task by default.
181
+ - **writing-plans** — captures outcomes, dependencies, risks, and useful evidence when durable coordination is warranted
182
+ - **requesting-code-review** — constructs a focused review request when review is useful
183
+ - **receiving-code-review** — evaluates and acts on findings with technical rigor
@@ -0,0 +1,23 @@
1
+ > DSH adapter boundary: resolve this resource from the loaded skill's directory resourceBase. Examples are not authority: installation/download/login, private state, Git writes and destructive operations need exact explicit authorization. Use only tools and native roles actually exposed in the current catalog and allowed by the caller; otherwise use a real direct fallback or report the limitation. Translate shell examples to the active runtime.
2
+
3
+ # Code Quality Reviewer Prompt Template
4
+
5
+ Use this template only when an implemented change benefits from focused code-quality or maintainability review.
6
+
7
+ **Purpose:** Evaluate whether the current implementation is sound, maintainable, and appropriately verified.
8
+
9
+ ```
10
+ Assignment content (not a tool-call schema; send through a permitted callable native role tool):
11
+ Use template at requesting-code-review/code-reviewer.md
12
+
13
+ Supply, without a required field order:
14
+ - goal and acceptance criteria;
15
+ - current diff or committed range, including new files;
16
+ - relevant verification evidence;
17
+ - global constraints;
18
+ - focused dependency, interface, or maintainability context when material.
19
+ ```
20
+
21
+ The reviewer does the review directly and does not dispatch subagents or second-opinion reviewers. Evaluate the change's contribution rather than penalizing unrelated pre-existing structure. Check boundaries, interfaces, local conventions, unnecessary complexity, error behavior, and whether the supplied evidence supports the relevant claims.
22
+
23
+ Report concrete findings with severity, location, impact, and supporting evidence. No fixed first-line verdict, field order, or receipt is required. Rerun only when substantive review input changes.
@@ -0,0 +1,69 @@
1
+ > DSH adapter boundary: resolve this resource from the loaded skill's directory resourceBase. Examples are not authority: installation/download/login, private state, Git writes and destructive operations need exact explicit authorization. Use only tools and native roles actually exposed in the current catalog and allowed by the caller; otherwise use a real direct fallback or report the limitation. Translate shell examples to the active runtime.
2
+
3
+ # Implementer Subagent Prompt Template
4
+
5
+ Use this template when a focused implementation worker materially helps.
6
+
7
+ ```
8
+ Assignment content (not a tool-call schema; send through a permitted callable native role tool):
9
+ description: "Implement [task or wave goal]"
10
+ prompt: |
11
+ Implement the supplied task or wave toward its approved ideal end state.
12
+
13
+ Provide, in whatever order is clearest:
14
+ - goal and acceptance criteria;
15
+ - relevant current state and context;
16
+ - dependencies and interfaces;
17
+ - owned files or scope boundaries;
18
+ - useful verification evidence;
19
+ - global constraints and permissions;
20
+ - significant prior rulings or known risks.
21
+
22
+ Work from: [directory]
23
+
24
+ ## Execution Authority
25
+
26
+ Choose the smallest evidence-based implementation that reaches the approved
27
+ outcome. You may substitute a minimal equivalent for a planned incidental
28
+ detail when repository evidence supports it, but do not change the approved
29
+ goal, constraints, permissions, or acceptance criteria.
30
+
31
+ Record significant rulings, assumptions, and deviations with the evidence or
32
+ reason, plus the cost if wrong. Escalate instead of choosing when a decision
33
+ changes scope or acceptance, weakens security or data guarantees, changes a
34
+ public API/protocol, expands permissions, requires an irreversible action, or
35
+ would otherwise be a pure guess.
36
+
37
+ ## Delegation Boundary
38
+
39
+ Use direct tools first. You may call only bounded utility leaves allowed by
40
+ your effective native delegation policy when they materially improve this task. Do not
41
+ dispatch implementation, planning, coordination, Reviewer, or Oracle seats.
42
+ Self-review means inspecting your own work.
43
+
44
+ ## Git Boundary
45
+
46
+ Do not stage, commit, push, tag, rebase, release, or perform another Git write
47
+ unless the user specifically authorized that exact operation and your effective
48
+ policy permits it. Implement/fix is not commit; commit is not push, tag, rebase,
49
+ or release. Authorization never expands to another operation or repository.
50
+
51
+ ## Implementation and Evidence
52
+
53
+ Follow established local patterns and keep changes within scope. Preserve real
54
+ security, data-loss, protocol/API, compatibility, and irreversible-operation
55
+ safeguards. Add or run deterministic tests where a plausible regression seam
56
+ warrants them; otherwise use the smallest useful evidence such as existing
57
+ tests, typechecks, builds, runtime probes, or focused inspection.
58
+
59
+ There is no universal RED gate, transcript, scenario count, per-task reviewer,
60
+ or commit requirement. Verification must demonstrate the relevant behavior or
61
+ invariant rather than merely report that a command ran.
62
+
63
+ ## Return
64
+
65
+ Report the implemented outcome, changed and new files, evidence and results,
66
+ significant rulings/assumptions, and unresolved concerns. Status labels such as
67
+ DONE, DONE_WITH_CONCERNS, BLOCKED, or NEEDS_CONTEXT are optional and
68
+ informational; an acknowledgement or label alone is not evidence.
69
+ ```
@@ -0,0 +1,32 @@
1
+ > DSH adapter boundary: resolve this resource from the loaded skill's directory resourceBase. Examples are not authority: installation/download/login, private state, Git writes and destructive operations need exact explicit authorization. Use only tools and native roles actually exposed in the current catalog and allowed by the caller; otherwise use a real direct fallback or report the limitation. Translate shell examples to the active runtime.
2
+
3
+ # Spec Compliance Reviewer Prompt Template
4
+
5
+ Use this template only when an implemented change benefits from a focused requirements-compliance review.
6
+
7
+ **Purpose:** Evaluate whether the current implementation reaches the approved goal without material omission or scope expansion.
8
+
9
+ ```
10
+ Assignment content (not a tool-call schema; send through a permitted callable native role tool):
11
+ description: "Review implementation against requirements"
12
+ prompt: |
13
+ Review the actual implementation yourself. Do not dispatch another reviewer,
14
+ worker, or evidence-gathering subagent.
15
+
16
+ Supply the goal, acceptance criteria, current diff or committed range including
17
+ new files, relevant verification evidence, and global constraints. Add only the
18
+ context needed to understand dependencies, interfaces, and approved rulings.
19
+ No fixed field order is required.
20
+
21
+ Compare the actual code and new files to the criteria. Identify missing behavior,
22
+ unjustified scope, incompatible assumptions, or evidence gaps with file/line
23
+ references and technical impact. Allow minimal evidence-based equivalent
24
+ implementations that preserve the approved goal, constraints, permissions, and
25
+ acceptance criteria.
26
+
27
+ Report concrete findings and supporting evidence. Do not rely on an implementer
28
+ status or acknowledgement, and do not require a fixed first-line verdict or
29
+ receipt. If the supplied material is insufficient, identify the missing evidence.
30
+ ```
31
+
32
+ Rerun only if substantive implementation, criteria, constraints, or evidence relevant to this review changes.
@@ -0,0 +1,141 @@
1
+ ---
2
+ name: using-git-worktrees
3
+ description: Use ONLY when the user explicitly asks to use a git worktree for isolated feature work. Do not auto-trigger. Creates a linked worktree, sets up the project, and verifies a clean baseline before development begins.
4
+ ---
5
+
6
+ ## DSH resource and authority contract
7
+
8
+ This is a full OCMM source adaptation for DSH 0.2.0-rc.2, not an OpenCode or Codex runtime. Source product names in transcript formats, examples, paths and attribution remain descriptive; they are not a host switch.
9
+
10
+ - Load this skill through the native skill tool only when its trigger matches. Resolve every relative reference/script/asset from the directory resourceBase returned with this skill, not from the project cwd or an OCMM checkout. Use available read/glob/grep to inspect resources; use write/edit and the active bash or pwsh only within the actual role and host permissions.
11
+ - External documentation uses actual web_search/web_fetch or an available documentation service. Context7, GitHub MCP, browser, image and LSP tools are optional catalog capabilities, not bundled calls. Use a real available equivalent or report unavailable evidence; never invent an MCP, Task, todo or compression API.
12
+ - Source role names are logical assignments: code-search/explore maps to dsmm-code-search, and other canonical roles/categories map to dsmm-<name>. Dispatch only through the actual role-specific native subagent tool in the current catalog, within the caller's effective policy, depth and authority. No generated file, metadata row or template proves callability. A missing permitted role is a blocker for a required formal stage, not permission to invent it or bypass planning.
13
+ - Templates describe assignment content, not a callable argument schema. Native continuation, background, message/interrupt and result handling are used only when actually exposed and supported; do not send task_id, subagent_type or guessed timeout fields. Otherwise perform permitted direct work or return the dependency to the stage owner.
14
+ - Use a concise response or an authorized project plan for tracking when no native tracking tool is exposed. Compression is unavailable unless a real tool is exposed; do not simulate it. Role responsibilities, explicit-off common/skill visibility, and the terminal delegation contract override broader examples in a resource.
15
+ - Installation, package-manager bootstrap, downloads, authentication/login, credential/profile access, Git writes and destructive actions require explicit authorization for the exact action. Reference commands are not automatic operations. Worktree consent does not authorize dependency installation or later branch deletion. Read before changing an existing file; preserve unrelated user work. Never silently restore/reset a working tree to repair a failed cleanup.
16
+ - Browser/debug QA uses run-owned isolated state, no imported credentials or browser profile, and only already available software unless separately authorized. Keep commands in the active shell dialect. Report unverified surfaces honestly.
17
+
18
+ # Using Git Worktrees
19
+
20
+ > **Consent gate:** This skill activates ONLY when the user explicitly requests a worktree. Never proactively offer or create a worktree. If the user asks for "isolation" or "a separate branch" without saying "worktree," ask whether they want a worktree or a regular branch.
21
+
22
+ ## When to Use
23
+
24
+ - The user explicitly says "worktree" (or confirms when asked)
25
+ - You need isolated development without disturbing the main working tree
26
+ - The repository is not a submodule (worktrees inside submodules are problematic)
27
+
28
+ ## Why Worktrees
29
+
30
+ A worktree gives you a separate checkout of the same repository, linked to the same `.git` directory. You can build and test on one branch without switching your main checkout. Changes in the worktree are visible to git immediately; no stash/switch/unstash dance.
31
+
32
+ ## The Flow
33
+
34
+ ### Step 0: Detect Existing Isolation
35
+
36
+ Before creating anything, check whether you are already inside a worktree.
37
+
38
+ ```powershell
39
+ # In pwsh — check if GIT_DIR differs from GIT_WORK_TREE
40
+ $gitDir = git rev-parse --git-dir 2>$null
41
+ $gitCommon = git rev-parse --git-common-dir 2>$null
42
+ if ($gitDir -and $gitCommon -and ($gitDir -ne $gitCommon)) {
43
+ Write-Output "Already inside a worktree (git-dir=$gitDir, common-dir=$gitCommon). Aborting create."
44
+ exit
45
+ }
46
+ ```
47
+
48
+ If `git-dir` and `git-common-dir` differ, you are already in a linked worktree — do not create a nested one. Report this to the user and ask how to proceed.
49
+
50
+ **Submodule guard:** If the current directory is inside a git submodule, worktrees are unreliable. Check with `git rev-parse --show-toplevel` and verify the top-level is not a `.gitmodules` entry.
51
+
52
+ ### Step 1: Create the Worktree
53
+
54
+ Use `git worktree add` only after explicit worktree authorization, through an actually permitted native shell. No DSH worktree service is assumed.
55
+
56
+ ```powershell
57
+ # From the repository root:
58
+ $branch = "feature/<short-descriptive-name>"
59
+ $worktreePath = "<repo-parent-dir>/<repo-name>-wt-<short-name>"
60
+
61
+ git worktree add -b $branch $worktreePath
62
+ ```
63
+
64
+ **Naming convention:** Place the worktree as a sibling of the main repo (`../<repo>-wt-<branch>`), not inside it. This avoids the worktree appearing in the main checkout's file listing.
65
+
66
+ **Branch vs detached:** Prefer `-b <new-branch>` so the worktree is on a named branch. Use `--detach` only if the user explicitly wants a detached HEAD.
67
+
68
+ ### Step 2: Project Setup
69
+
70
+ The worktree is a fresh checkout — dependencies and build artifacts are not shared. Re-run project setup inside the worktree directory.
71
+
72
+ ```powershell
73
+ Set-Location $worktreePath
74
+
75
+ # Node / pnpm (ocmm uses pnpm)
76
+ pnpm install
77
+
78
+ # Cargo (if the project has Rust components)
79
+ # cargo build
80
+
81
+ # Python (if applicable)
82
+ # python -m venv .venv; .\.venv\Scripts\Activate.ps1; pip install -e .
83
+
84
+ # Go (if applicable)
85
+ # go build ./...
86
+ ```
87
+
88
+ **Do not assume the setup is identical.** Build tools, lockfiles, and generated files must be regenerated in the worktree.
89
+
90
+ ### Step 3: Verify Clean Baseline
91
+
92
+ Confirm the worktree is ready for development.
93
+
94
+ ```powershell
95
+ # Verify branch
96
+ git branch --show-current
97
+
98
+ # Verify clean status
99
+ git status --short
100
+
101
+ # Verify the project builds and tests pass
102
+ pnpm run typecheck
103
+ pnpm test
104
+ ```
105
+
106
+ If any check fails, stop and report to the user. Do not begin feature work on a broken baseline.
107
+
108
+ ## Quick Reference
109
+
110
+ | Action | Command (pwsh) |
111
+ |---|---|
112
+ | List existing worktrees | `git worktree list` |
113
+ | Create worktree + branch | `git worktree add -b <branch> <path>` |
114
+ | Remove worktree | `git worktree remove <path>` |
115
+ | Prune stale worktree metadata | `git worktree prune` |
116
+ | Check if inside a worktree | `git rev-parse --git-dir` vs `--git-common-dir` |
117
+
118
+ ## Common Mistakes
119
+
120
+ - **Creating a worktree inside the main checkout.** This pollutes the main tree. Always place worktrees as siblings, not children.
121
+ - **Forgetting to run project setup.** The worktree starts empty of `node_modules`, `target/`, etc. Build will fail until you re-install.
122
+ - **Not verifying the baseline.** If the worktree's `pnpm test` fails before you write any code, you cannot distinguish pre-existing failures from your changes.
123
+ - **Leaving stale worktrees.** When done, `git worktree remove <path>` cleans up. Stale worktrees accumulate and confuse `git worktree list`.
124
+
125
+ ## Red Flags
126
+
127
+ - Never create a worktree without explicit user consent.
128
+ - Never create a worktree inside a submodule.
129
+ - Never assume the worktree shares `node_modules` or build artifacts with the main checkout.
130
+ - Never start feature work before verifying the baseline builds and tests pass.
131
+ - Never leave a worktree unremoved after the work is merged — clean up.
132
+
133
+ ## When Done
134
+
135
+ When the feature is merged or abandoned:
136
+
137
+ ```powershell
138
+ Set-Location <repo-root>
139
+ git worktree remove <worktree-path>
140
+ git branch -d <branch> # if merged; -D if abandoned
141
+ ```