oh-my-agent-commandcode 0.0.0-stage → 20.38.4

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 (334) hide show
  1. package/README.md +35 -2
  2. package/filter-test-output.sh +52 -0
  3. package/mods/oma.ts +347 -0
  4. package/package.json +30 -4
  5. package/skills/_shared/conditional/experiment-ledger.md +28 -0
  6. package/skills/_shared/conditional/exploration-loop.md +22 -0
  7. package/skills/_shared/conditional/quality-score.md +33 -0
  8. package/skills/_shared/core/anti-ai-prose.md +191 -0
  9. package/skills/_shared/core/api-contracts/README.md +28 -0
  10. package/skills/_shared/core/api-contracts/template.md +90 -0
  11. package/skills/_shared/core/clarification-protocol.md +23 -0
  12. package/skills/_shared/core/code-intelligence.md +46 -0
  13. package/skills/_shared/core/collaboration-policy.md +28 -0
  14. package/skills/_shared/core/common-checklist.md +28 -0
  15. package/skills/_shared/core/context-budget.md +22 -0
  16. package/skills/_shared/core/context-loading.md +34 -0
  17. package/skills/_shared/core/difficulty-guide.md +26 -0
  18. package/skills/_shared/core/execution-policy.md +31 -0
  19. package/skills/_shared/core/lessons-learned.md +33 -0
  20. package/skills/_shared/core/prompt-structure.md +18 -0
  21. package/skills/_shared/core/quality-principles.md +11 -0
  22. package/skills/_shared/core/session-metrics.md +35 -0
  23. package/skills/_shared/core/skill-routing.md +39 -0
  24. package/skills/_shared/core/test-approach.md +54 -0
  25. package/skills/_shared/core/vendor-detection.md +52 -0
  26. package/skills/_shared/runtime/memory-protocol.md +118 -0
  27. package/skills/_shared/runtime/result-contract.md +64 -0
  28. package/skills/_shared/ui-interaction-quality.md +133 -0
  29. package/skills/oma-academic-writing/SKILL.md +181 -0
  30. package/skills/oma-academic-writing/resources/abstract-guide.md +51 -0
  31. package/skills/oma-academic-writing/resources/academic-verb-tiers.md +42 -0
  32. package/skills/oma-academic-writing/resources/anti-ai-checklist.md +52 -0
  33. package/skills/oma-academic-writing/resources/hedging-guide.md +132 -0
  34. package/skills/oma-academic-writing/resources/sentence-structure-reference.md +151 -0
  35. package/skills/oma-architecture/SKILL.md +203 -0
  36. package/skills/oma-architecture/resources/api-evolution.md +41 -0
  37. package/skills/oma-architecture/resources/checklist.md +42 -0
  38. package/skills/oma-architecture/resources/execution-protocol.md +115 -0
  39. package/skills/oma-architecture/resources/methodology-selection.md +92 -0
  40. package/skills/oma-architecture/resources/migration-patterns.md +28 -0
  41. package/skills/oma-architecture/resources/output-templates.md +111 -0
  42. package/skills/oma-architecture/resources/stakeholder-synthesis.md +80 -0
  43. package/skills/oma-backend/SKILL.md +202 -0
  44. package/skills/oma-backend/resources/checklist.md +45 -0
  45. package/skills/oma-backend/resources/error-playbook.md +97 -0
  46. package/skills/oma-backend/resources/execution-protocol.md +39 -0
  47. package/skills/oma-backend/resources/orm-reference.md +61 -0
  48. package/skills/oma-backend/variants/node/api-template.ts +315 -0
  49. package/skills/oma-backend/variants/node/snippets.md +475 -0
  50. package/skills/oma-backend/variants/node/stack.yaml +21 -0
  51. package/skills/oma-backend/variants/node/tech-stack.md +33 -0
  52. package/skills/oma-backend/variants/python/api-template.py +378 -0
  53. package/skills/oma-backend/variants/python/snippets.md +199 -0
  54. package/skills/oma-backend/variants/python/stack.yaml +18 -0
  55. package/skills/oma-backend/variants/python/tech-stack.md +45 -0
  56. package/skills/oma-backend/variants/rust/api-template.rs +635 -0
  57. package/skills/oma-backend/variants/rust/snippets.md +471 -0
  58. package/skills/oma-backend/variants/rust/stack.yaml +20 -0
  59. package/skills/oma-backend/variants/rust/tech-stack.md +36 -0
  60. package/skills/oma-backend/variants/stack.schema.json +73 -0
  61. package/skills/oma-brainstorm/SKILL.md +166 -0
  62. package/skills/oma-brainstorm/resources/triz-lite.md +117 -0
  63. package/skills/oma-coordination/SKILL.md +171 -0
  64. package/skills/oma-db/SKILL.md +201 -0
  65. package/skills/oma-db/resources/anti-patterns.md +177 -0
  66. package/skills/oma-db/resources/checklist.md +67 -0
  67. package/skills/oma-db/resources/document-templates.md +107 -0
  68. package/skills/oma-db/resources/error-playbook.md +50 -0
  69. package/skills/oma-db/resources/examples.md +170 -0
  70. package/skills/oma-db/resources/execution-protocol.md +127 -0
  71. package/skills/oma-db/resources/iso-controls.md +98 -0
  72. package/skills/oma-db/resources/migration-playbook.md +93 -0
  73. package/skills/oma-db/resources/query-tuning.md +57 -0
  74. package/skills/oma-db/resources/vector-db.md +159 -0
  75. package/skills/oma-debug/SKILL.md +146 -0
  76. package/skills/oma-debug/resources/bug-report-template.md +327 -0
  77. package/skills/oma-debug/resources/checklist.md +31 -0
  78. package/skills/oma-debug/resources/common-patterns.md +734 -0
  79. package/skills/oma-debug/resources/debugging-checklist.md +364 -0
  80. package/skills/oma-debug/resources/error-playbook.md +94 -0
  81. package/skills/oma-debug/resources/execution-protocol.md +40 -0
  82. package/skills/oma-design/SKILL.md +135 -0
  83. package/skills/oma-design/resources/asset-strategy.md +34 -0
  84. package/skills/oma-design/resources/checklist.md +63 -0
  85. package/skills/oma-design/resources/data-grid.md +48 -0
  86. package/skills/oma-design/resources/design-md-spec.md +107 -0
  87. package/skills/oma-design/resources/design-tokens.md +53 -0
  88. package/skills/oma-design/resources/error-playbook.md +18 -0
  89. package/skills/oma-design/resources/execution-protocol.md +95 -0
  90. package/skills/oma-design/resources/external-design-skills.md +130 -0
  91. package/skills/oma-design/resources/getdesign-fetcher.md +104 -0
  92. package/skills/oma-design/resources/product-interface-review.md +59 -0
  93. package/skills/oma-design/resources/redesign-protocol.md +52 -0
  94. package/skills/oma-design/resources/stitch-integration.md +244 -0
  95. package/skills/oma-dev-workflow/SKILL.md +375 -0
  96. package/skills/oma-dev-workflow/resources/affected-checks.py +58 -0
  97. package/skills/oma-dev-workflow/resources/api-workflows.md +58 -0
  98. package/skills/oma-dev-workflow/resources/database-patterns.md +107 -0
  99. package/skills/oma-dev-workflow/resources/i18n-patterns.md +63 -0
  100. package/skills/oma-dev-workflow/resources/release-coordination.md +240 -0
  101. package/skills/oma-dev-workflow/resources/tooling-profiles.md +217 -0
  102. package/skills/oma-dev-workflow/resources/troubleshooting.md +78 -0
  103. package/skills/oma-dev-workflow/resources/validation-pipeline.md +246 -0
  104. package/skills/oma-docs/SKILL.md +77 -0
  105. package/skills/oma-docs/resources/commands.md +76 -0
  106. package/skills/oma-explanation/SKILL.md +212 -0
  107. package/skills/oma-explanation/resources/document-structure.md +115 -0
  108. package/skills/oma-explanation/resources/draft-format.md +199 -0
  109. package/skills/oma-explanation/resources/html-contract.md +102 -0
  110. package/skills/oma-frontend/SKILL.md +227 -0
  111. package/skills/oma-frontend/resources/angular-rules.md +110 -0
  112. package/skills/oma-frontend/resources/checklist.md +76 -0
  113. package/skills/oma-frontend/resources/error-playbook.md +125 -0
  114. package/skills/oma-frontend/resources/execution-protocol.md +46 -0
  115. package/skills/oma-frontend/resources/snippets.md +354 -0
  116. package/skills/oma-frontend/resources/specialized-visual-implementation.md +193 -0
  117. package/skills/oma-frontend/resources/tailwind-rules.md +83 -0
  118. package/skills/oma-frontend/resources/tech-stack.md +156 -0
  119. package/skills/oma-hwp/SKILL.md +166 -0
  120. package/skills/oma-hwp/config/hwp-config.yaml +35 -0
  121. package/skills/oma-hwp/resources/balanced-tables.ts +39 -0
  122. package/skills/oma-hwp/resources/execution-protocol.md +145 -0
  123. package/skills/oma-hwp/resources/flatten-tables.ts +101 -0
  124. package/skills/oma-hwp/resources/package.json +13 -0
  125. package/skills/oma-hwp/resources/troubleshooting.md +70 -0
  126. package/skills/oma-hwp/resources/tsconfig.json +10 -0
  127. package/skills/oma-hwp/resources/turndown-plugin-gfm.d.ts +9 -0
  128. package/skills/oma-image/SKILL.md +142 -0
  129. package/skills/oma-image/config/image-config.yaml +70 -0
  130. package/skills/oma-image/resources/checklist.md +18 -0
  131. package/skills/oma-image/resources/execution-protocol.md +117 -0
  132. package/skills/oma-image/resources/invocation.md +105 -0
  133. package/skills/oma-image/resources/prompt-tips.md +71 -0
  134. package/skills/oma-image/resources/vendor-matrix.md +90 -0
  135. package/skills/oma-market/SKILL.md +142 -0
  136. package/skills/oma-market/resources/checklist.md +12 -0
  137. package/skills/oma-market/resources/error-playbook.md +12 -0
  138. package/skills/oma-market/resources/execution-protocol.md +60 -0
  139. package/skills/oma-market/resources/frameworks/pestel.md +101 -0
  140. package/skills/oma-market/resources/frameworks/porters-5f.md +90 -0
  141. package/skills/oma-market/resources/frameworks/swot.md +61 -0
  142. package/skills/oma-market/resources/intent-rules.md +35 -0
  143. package/skills/oma-market/resources/output-laws.md +53 -0
  144. package/skills/oma-mobile/SKILL.md +168 -0
  145. package/skills/oma-mobile/resources/checklist.md +77 -0
  146. package/skills/oma-mobile/resources/error-playbook.md +198 -0
  147. package/skills/oma-mobile/resources/execution-protocol.md +47 -0
  148. package/skills/oma-mobile/resources/screen-template.dart +331 -0
  149. package/skills/oma-mobile/resources/screen-template.swift +239 -0
  150. package/skills/oma-mobile/resources/screen-template.tsx +179 -0
  151. package/skills/oma-mobile/resources/tech-stack.md +69 -0
  152. package/skills/oma-mobile/variants/README.md +45 -0
  153. package/skills/oma-mobile/variants/flutter/api-template.dart +461 -0
  154. package/skills/oma-mobile/variants/flutter/snippets.md +1353 -0
  155. package/skills/oma-mobile/variants/flutter/stack.yaml +21 -0
  156. package/skills/oma-mobile/variants/flutter/tech-stack.md +201 -0
  157. package/skills/oma-mobile/variants/kotlin-android/api-template.kt +182 -0
  158. package/skills/oma-mobile/variants/kotlin-android/snippets.md +871 -0
  159. package/skills/oma-mobile/variants/kotlin-android/stack.yaml +32 -0
  160. package/skills/oma-mobile/variants/kotlin-android/tech-stack.md +159 -0
  161. package/skills/oma-mobile/variants/react-native/api-template.ts +531 -0
  162. package/skills/oma-mobile/variants/react-native/snippets.md +1014 -0
  163. package/skills/oma-mobile/variants/react-native/stack.yaml +22 -0
  164. package/skills/oma-mobile/variants/react-native/tech-stack.md +192 -0
  165. package/skills/oma-mobile/variants/stack.schema.json +68 -0
  166. package/skills/oma-mobile/variants/swift-ios/api-template.swift +165 -0
  167. package/skills/oma-mobile/variants/swift-ios/snippets.md +1028 -0
  168. package/skills/oma-mobile/variants/swift-ios/stack.yaml +25 -0
  169. package/skills/oma-mobile/variants/swift-ios/tech-stack.md +174 -0
  170. package/skills/oma-observability/SKILL.md +225 -0
  171. package/skills/oma-observability/resources/anti-patterns.md +555 -0
  172. package/skills/oma-observability/resources/boundaries/cross-application.md +348 -0
  173. package/skills/oma-observability/resources/boundaries/multi-tenant.md +290 -0
  174. package/skills/oma-observability/resources/boundaries/release.md +372 -0
  175. package/skills/oma-observability/resources/boundaries/slo.md +225 -0
  176. package/skills/oma-observability/resources/checklist.md +123 -0
  177. package/skills/oma-observability/resources/examples.md +448 -0
  178. package/skills/oma-observability/resources/execution-protocol.md +166 -0
  179. package/skills/oma-observability/resources/incident-forensics.md +348 -0
  180. package/skills/oma-observability/resources/intent-rules.md +307 -0
  181. package/skills/oma-observability/resources/layers/L3-network.md +281 -0
  182. package/skills/oma-observability/resources/layers/L4-transport.md +299 -0
  183. package/skills/oma-observability/resources/layers/L7-application/crash-analytics.md +359 -0
  184. package/skills/oma-observability/resources/layers/L7-application/mobile-rum.md +278 -0
  185. package/skills/oma-observability/resources/layers/L7-application/waf.md +246 -0
  186. package/skills/oma-observability/resources/layers/L7-application/web-rum.md +350 -0
  187. package/skills/oma-observability/resources/layers/mesh.md +368 -0
  188. package/skills/oma-observability/resources/matrix.md +177 -0
  189. package/skills/oma-observability/resources/meta-observability.md +605 -0
  190. package/skills/oma-observability/resources/observability-as-code.md +666 -0
  191. package/skills/oma-observability/resources/signals/audit.md +310 -0
  192. package/skills/oma-observability/resources/signals/cost.md +303 -0
  193. package/skills/oma-observability/resources/signals/logs.md +263 -0
  194. package/skills/oma-observability/resources/signals/metrics.md +478 -0
  195. package/skills/oma-observability/resources/signals/privacy.md +351 -0
  196. package/skills/oma-observability/resources/signals/profiles.md +245 -0
  197. package/skills/oma-observability/resources/signals/traces.md +360 -0
  198. package/skills/oma-observability/resources/standards.md +214 -0
  199. package/skills/oma-observability/resources/transport/collector-topology.md +308 -0
  200. package/skills/oma-observability/resources/transport/otlp-grpc-vs-http.md +256 -0
  201. package/skills/oma-observability/resources/transport/sampling-recipes.md +297 -0
  202. package/skills/oma-observability/resources/transport/udp-statsd-mtu.md +167 -0
  203. package/skills/oma-observability/resources/vendor-categories.md +352 -0
  204. package/skills/oma-orchestration/SKILL.md +302 -0
  205. package/skills/oma-orchestration/config/cli-config.yaml +92 -0
  206. package/skills/oma-orchestration/resources/memory-schema.md +232 -0
  207. package/skills/oma-orchestration/resources/subagent-prompt-template.md +30 -0
  208. package/skills/oma-orchestration/scripts/parallel-run.sh +6 -0
  209. package/skills/oma-orchestration/scripts/spawn-agent.sh +5 -0
  210. package/skills/oma-orchestration/scripts/verify.sh +20 -0
  211. package/skills/oma-orchestration/templates/backend-task.md +19 -0
  212. package/skills/oma-orchestration/templates/debug-task.md +16 -0
  213. package/skills/oma-orchestration/templates/frontend-task.md +18 -0
  214. package/skills/oma-orchestration/templates/mobile-task.md +18 -0
  215. package/skills/oma-orchestration/templates/qa-task.md +16 -0
  216. package/skills/oma-orchestration/templates/tasks-example.yaml +15 -0
  217. package/skills/oma-pdf/SKILL.md +162 -0
  218. package/skills/oma-pdf/config/pdf-config.yaml +27 -0
  219. package/skills/oma-pdf/resources/execution-protocol.md +127 -0
  220. package/skills/oma-pm/SKILL.md +157 -0
  221. package/skills/oma-pm/resources/error-playbook.md +75 -0
  222. package/skills/oma-pm/resources/examples.md +439 -0
  223. package/skills/oma-pm/resources/execution-protocol.md +62 -0
  224. package/skills/oma-pm/resources/iso-planning.md +110 -0
  225. package/skills/oma-pm/resources/plan-phase-protocol.md +66 -0
  226. package/skills/oma-pm/resources/task-template.json +86 -0
  227. package/skills/oma-qa/SKILL.md +141 -0
  228. package/skills/oma-qa/resources/checklist.md +339 -0
  229. package/skills/oma-qa/resources/error-playbook.md +98 -0
  230. package/skills/oma-qa/resources/execution-protocol.md +169 -0
  231. package/skills/oma-qa/resources/iso-quality.md +82 -0
  232. package/skills/oma-qa/resources/verify-ship-protocol.md +116 -0
  233. package/skills/oma-recap/SKILL.md +245 -0
  234. package/skills/oma-recap/resources/output-formats.md +83 -0
  235. package/skills/oma-refactor/SKILL.md +184 -0
  236. package/skills/oma-refactor/resources/definition.md +108 -0
  237. package/skills/oma-refactor/resources/governance.md +33 -0
  238. package/skills/oma-refactor/resources/hotspots.py +44 -0
  239. package/skills/oma-refactor/resources/measurement.md +93 -0
  240. package/skills/oma-scholar/SKILL.md +276 -0
  241. package/skills/oma-scholar/config/scholar-config.yaml +79 -0
  242. package/skills/oma-scholar/resources/api-endpoints.md +174 -0
  243. package/skills/oma-scholar/resources/checklist.md +92 -0
  244. package/skills/oma-scholar/resources/execution-protocol.md +224 -0
  245. package/skills/oma-scholar/resources/fallback-providers.md +143 -0
  246. package/skills/oma-scholar/resources/setup-openalex.md +85 -0
  247. package/skills/oma-scholar/resources/sidecar-spec.md +341 -0
  248. package/skills/oma-scholar/resources/upstream-spec-cache.md +972 -0
  249. package/skills/oma-scm/SKILL.md +103 -0
  250. package/skills/oma-scm/resources/cm-operations.md +56 -0
  251. package/skills/oma-scm/resources/codeowners-playbook.md +45 -0
  252. package/skills/oma-scm/resources/conventional-commits.md +108 -0
  253. package/skills/oma-scm/resources/merge-risk.md +76 -0
  254. package/skills/oma-scm/resources/onboarding-risk-signals.md +71 -0
  255. package/skills/oma-search/SKILL.md +125 -0
  256. package/skills/oma-search/resources/checklist.md +36 -0
  257. package/skills/oma-search/resources/error-playbook.md +66 -0
  258. package/skills/oma-search/resources/examples.md +80 -0
  259. package/skills/oma-search/resources/execution-protocol.md +86 -0
  260. package/skills/oma-search/resources/intent-rules.md +47 -0
  261. package/skills/oma-search/resources/trust-registry.md +53 -0
  262. package/skills/oma-security/SKILL.md +172 -0
  263. package/skills/oma-security/resources/artex.md +108 -0
  264. package/skills/oma-security/resources/ci.md +134 -0
  265. package/skills/oma-security/resources/cisco-source.md +108 -0
  266. package/skills/oma-security/resources/deepsec-config.md +45 -0
  267. package/skills/oma-security/resources/deepsec-matchers.md +35 -0
  268. package/skills/oma-security/resources/deepsec-scanning.md +45 -0
  269. package/skills/oma-security/resources/deepsec-setup.md +41 -0
  270. package/skills/oma-security/resources/findings-contract.md +408 -0
  271. package/skills/oma-security/resources/mcp-scanning.md +122 -0
  272. package/skills/oma-security/resources/skill-scanning.md +106 -0
  273. package/skills/oma-security/resources/validation.md +71 -0
  274. package/skills/oma-skill-creation/SKILL.md +84 -0
  275. package/skills/oma-skill-creation/resources/prompt-evaluation.md +36 -0
  276. package/skills/oma-skill-creation/resources/ssl-lite-template.md +108 -0
  277. package/skills/oma-skill-creation/resources/validation-checklist.md +101 -0
  278. package/skills/oma-slide/SKILL.md +277 -0
  279. package/skills/oma-slide/resources/animation-patterns.md +245 -0
  280. package/skills/oma-slide/resources/assets/deck-stage.js +514 -0
  281. package/skills/oma-slide/resources/assets/viewport-base.css +257 -0
  282. package/skills/oma-slide/resources/canva-integration.md +203 -0
  283. package/skills/oma-slide/resources/checklist.md +46 -0
  284. package/skills/oma-slide/resources/design-doctrine.md +260 -0
  285. package/skills/oma-slide/resources/fixed-stage.md +232 -0
  286. package/skills/oma-slide/resources/generation-protocol.md +393 -0
  287. package/skills/oma-slide/resources/native-pptx.md +84 -0
  288. package/skills/oma-slide/resources/selection-index.json +461 -0
  289. package/skills/oma-slide/resources/style-presets.LICENSE +10 -0
  290. package/skills/oma-slide/resources/style-presets.md +520 -0
  291. package/skills/oma-tf-infra/SKILL.md +201 -0
  292. package/skills/oma-tf-infra/resources/checklist.md +53 -0
  293. package/skills/oma-tf-infra/resources/cost-optimization.md +574 -0
  294. package/skills/oma-tf-infra/resources/error-playbook.md +68 -0
  295. package/skills/oma-tf-infra/resources/examples.md +38 -0
  296. package/skills/oma-tf-infra/resources/execution-protocol.md +129 -0
  297. package/skills/oma-tf-infra/resources/iso-42001-infra.md +229 -0
  298. package/skills/oma-tf-infra/resources/multi-cloud-examples.md +241 -0
  299. package/skills/oma-tf-infra/resources/policy-testing-examples.md +332 -0
  300. package/skills/oma-translation/SKILL.md +229 -0
  301. package/skills/oma-translation/resources/anti-ai-patterns.md +104 -0
  302. package/skills/oma-translation/resources/lang/_template.md +73 -0
  303. package/skills/oma-translation/resources/lang/en.md +123 -0
  304. package/skills/oma-translation/resources/lang/ja.md +274 -0
  305. package/skills/oma-translation/resources/lang/ko.md +228 -0
  306. package/skills/oma-translation/resources/lang/zh.md +285 -0
  307. package/skills/oma-translation/resources/style-skills.md +104 -0
  308. package/skills/oma-translation/resources/translation-rubric.md +126 -0
  309. package/skills/oma-video/SKILL.md +229 -0
  310. package/skills/oma-video/config/video-config.yaml +60 -0
  311. package/skills/oma-video/resources/checklist.md +26 -0
  312. package/skills/oma-video/resources/execution-protocol.md +122 -0
  313. package/skills/oma-video/resources/existing-media.md +185 -0
  314. package/skills/oma-video/resources/hyperframes-authoring/README.md +44 -0
  315. package/skills/oma-video/resources/hyperframes-authoring/demo.md +31 -0
  316. package/skills/oma-video/resources/hyperframes-authoring/explainer.md +10 -0
  317. package/skills/oma-video/resources/hyperframes-authoring/shorts.md +10 -0
  318. package/skills/oma-video/resources/motion-principles.md +81 -0
  319. package/skills/oma-video/resources/mpt/driver.py +301 -0
  320. package/skills/oma-video/resources/prompt-tips.md +75 -0
  321. package/skills/oma-video/resources/script-schema.md +81 -0
  322. package/skills/oma-video/resources/sound-design.md +127 -0
  323. package/skills/oma-video/resources/strudel/package.json +11 -0
  324. package/skills/oma-video/resources/strudel/page.html +87 -0
  325. package/skills/oma-video/resources/strudel/render.mjs +295 -0
  326. package/skills/oma-video/resources/vendor-matrix.md +124 -0
  327. package/skills/oma-voice/SKILL.md +249 -0
  328. package/skills/oma-voice/config/voice-config.yaml +30 -0
  329. package/skills/oma-voice/resources/audio-processing.md +119 -0
  330. package/skills/oma-voice/resources/checklist.md +47 -0
  331. package/skills/oma-voice/resources/execution-protocol.md +215 -0
  332. package/skills/oma-voice/resources/prompt-tips.md +43 -0
  333. package/skills/oma-voice/resources/voice-matrix.md +51 -0
  334. package/skills/oma-voice/resources/voicestudio.md +87 -0
@@ -0,0 +1,341 @@
1
+ # Knows Sidecar: Local Production Compatibility Rules (v0.9.0)
2
+
3
+ These generation rules describe observed `knows.academy` production shapes and
4
+ the narrower local `oma scholar lint` contract. They are not a complete
5
+ canonical JSON Schema validator. `upstream-spec-cache.md` records the upstream
6
+ snapshot, which also permits author objects, imported provenance, and normative
7
+ modality. Preserve those shapes in imported records and report local-lint
8
+ incompatibilities instead of erasing information. Set `$schema` only after
9
+ validation against that exact schema; a clean local lint is insufficient.
10
+
11
+ ## Local Generation Structure (paper@1 production compatibility)
12
+
13
+ ```yaml
14
+ knows_version: "0.9.0"
15
+ record_id: "knows:generated/{slug}/1.0.0" # only for published records; omit for local drafts
16
+ profile: "paper@1"
17
+ subject_ref: "art:paper" # points to the artifact representing the paper itself
18
+
19
+ # Top-level metadata (NOT inside a `metadata` block)
20
+ title: "..."
21
+ authors: ["..."]
22
+ venue: "..." # only if visible in source
23
+ year: 2026 # only if visible in source
24
+ summary: "..."
25
+
26
+ # Coverage is an object, not a single value
27
+ coverage:
28
+ statements: exhaustive | main_claims_only | key_claims_and_limitations | partial
29
+ evidence: exhaustive | key_evidence_only | partial
30
+
31
+ license: "CC-BY-4.0" # if known
32
+
33
+ artifacts: [...]
34
+ statements: [...]
35
+ evidence: [...]
36
+ relations: [...]
37
+ actions: [] # usually empty for paper profile
38
+
39
+ # Provenance has SINGLE actor (object), not actors (array)
40
+ provenance:
41
+ origin: machine | author
42
+ actor:
43
+ name: "knows-gen"
44
+ type: tool # tool | person | org (NEVER ai/llm/model)
45
+ version: "0.9.0"
46
+ generated_at: "2026-04-25T00:00:00Z"
47
+ method: extraction
48
+
49
+ version:
50
+ spec: "0.9.0"
51
+ record: "1.0.0"
52
+ source: original
53
+
54
+ freshness:
55
+ as_of: "2026-04-25T00:00:00Z"
56
+ update_policy: versioned
57
+ ```
58
+
59
+ ## Statement Shape
60
+
61
+ ```yaml
62
+ - id: stmt:descriptive-kebab-case
63
+ statement_type: claim # claim | method | limitation | assumption | definition | question
64
+ modality: empirical # descriptive | empirical | theoretical
65
+ text: "..."
66
+ about_ref: art:paper # what the statement is about (usually the subject artifact)
67
+ status: asserted
68
+ source_anchors:
69
+ - representation_ref: rep:paper-pdf
70
+ locator_type: section
71
+ locator: "Section 5"
72
+ confidence:
73
+ claim_strength: high # high | medium | low
74
+ extraction_fidelity: high # high | medium | low
75
+ provenance:
76
+ origin: machine
77
+ actor:
78
+ name: "knows-gen"
79
+ type: tool
80
+ generated_at: "..."
81
+ ```
82
+
83
+ ### Statement Type Frequencies (252 statements / 15 papers)
84
+
85
+ | Type | Frequency | Use |
86
+ |------|-----------|-----|
87
+ | `claim` | 117 (46%) | Headline assertion of the paper |
88
+ | `method` | 58 (23%) | Procedure, technique, or pipeline |
89
+ | `limitation` | 31 (12%) | Acknowledged limit or threat to validity |
90
+ | `assumption` | 18 (7%) | Precondition for the claim/method |
91
+ | `definition` | 18 (7%) | Term or concept introduction |
92
+ | `question` | 10 (4%) | Open research question / RQ |
93
+
94
+ ## Evidence Shape
95
+
96
+ ```yaml
97
+ - id: ev:descriptive-kebab-case
98
+ evidence_type: table_result # see frequencies below
99
+ summary: "..."
100
+ source_anchors: [...]
101
+ provenance: {...}
102
+ ```
103
+
104
+ ### Evidence Type Frequencies (138 evidence / 15 papers)
105
+
106
+ | Type | Frequency | Use |
107
+ |------|-----------|-----|
108
+ | `table_result` | 64 (46%) | Numeric results in a table |
109
+ | `figure` | 34 (25%) | Graphical/diagram-based result |
110
+ | `proof` | 15 (11%) | Theoretical/mathematical proof |
111
+ | `observation` | 11 (8%) | Qualitative observation |
112
+ | `experiment_run` | 6 (4%) | Single experimental run/trial |
113
+ | `case_study` | 4 (3%) | Detailed walkthrough of a case |
114
+ | `citation_backed` | 4 (3%) | Cited from another paper |
115
+
116
+ ## Artifact Shape
117
+
118
+ ```yaml
119
+ - id: art:paper
120
+ artifact_type: paper # see frequencies below
121
+ role: subject # subject | supporting | cited
122
+ title: "..."
123
+ identifiers:
124
+ url: "https://arxiv.org/abs/..."
125
+ doi: "..." # OMIT entirely if not visible in source
126
+ representations:
127
+ - id: rep:paper-pdf
128
+ media_type: application/pdf
129
+ locator:
130
+ type: path | url
131
+ value: "..."
132
+ ```
133
+
134
+ ### Artifact Type Frequencies (50 artifacts / 15 papers)
135
+
136
+ | Type | Frequency | Use |
137
+ |------|-----------|-----|
138
+ | `paper` | 15 (30%) | The subject paper or a cited paper |
139
+ | `dataset` | 12 (24%) | Training/eval dataset |
140
+ | `benchmark` | 10 (20%) | Standard benchmark suite |
141
+ | `repository` | 6 (12%) | Code repository (GitHub etc.) |
142
+ | `model` | 4 (8%) | Pre-trained or released model |
143
+ | `software` | 2 (4%) | Library/toolkit |
144
+ | `other` | 1 (2%) | Catch-all |
145
+
146
+ ### Artifact Role Frequencies (50 / 15 papers)
147
+
148
+ | Role | Frequency | Use |
149
+ |------|-----------|-----|
150
+ | `cited` | 18 (36%) | Referenced as prior work |
151
+ | `supporting` | 17 (34%) | Used by the paper (dataset, code, model) |
152
+ | `subject` | 15 (30%) | The paper itself (always 1 per record) |
153
+
154
+ ## Relation Shape
155
+
156
+ ```yaml
157
+ - id: rel:descriptive-kebab-case
158
+ predicate: supported_by # see "Predicates" section below
159
+ subject_ref: stmt:...
160
+ object_ref: ev:... | stmt:... | art:...
161
+ ```
162
+
163
+ ### Cross-record references (review@1)
164
+
165
+ Review sidecars link back to the reviewed paper's record using the
166
+ `record_id#local_id` grammar; `oma scholar lint` recognizes these and does not
167
+ flag them as dangling:
168
+
169
+ ```yaml
170
+ - id: rel:generalization-challenges-main-claim
171
+ predicate: challenged_by
172
+ subject_ref: "knows:examples/resnet/1.0.0#stmt:main-contribution"
173
+ object_ref: "stmt:missing-ablation-study"
174
+ ```
175
+
176
+ ## Field Naming (copy exactly)
177
+
178
+ | Concept | Correct field | Wrong |
179
+ |---------|---------------|-------|
180
+ | Statement category | `statement_type` | `type`, `claim` |
181
+ | Evidence category | `evidence_type` | `type` |
182
+ | Relation verb | `predicate` | `type`, `relation_type` |
183
+ | Artifact category | `artifact_type` | `type` |
184
+ | Actor category | `type` (with closed enum) | (none) |
185
+ | Top-level metadata | `title`, `authors`, `venue`, `year` (no wrapper) | `metadata.title` etc. |
186
+ | Provenance attribution | `provenance.actor` (single object) | `provenance.actors` (array) |
187
+ | Confidence | object with `claim_strength` + `extraction_fidelity` | bare string |
188
+
189
+ ## Local Generation Values (Not the Complete Canonical Enums)
190
+
191
+ | Field | Allowed values |
192
+ |-------|----------------|
193
+ | `actor.type` | `tool` \| `person` \| `org` (never `ai`/`llm`/`model`) |
194
+ | `provenance.origin` | `machine` (AI-generated) \| `author` (human curation) |
195
+ | `confidence.claim_strength` | `high` \| `medium` \| `low` |
196
+ | `confidence.extraction_fidelity` | `high` \| `medium` \| `low` |
197
+ | `coverage.statements` | `exhaustive` \| `main_claims_only` \| `key_claims_and_limitations` \| `partial` |
198
+ | `coverage.evidence` | `exhaustive` \| `key_evidence_only` \| `partial` |
199
+ | `artifacts[].role` | `subject` \| `supporting` \| `cited` |
200
+ | `statement.status` | `asserted` \| `retracted` \| `superseded` \| `under_review` (upstream enum; production shows only `asserted`) |
201
+ | `statement.modality` | `descriptive` \| `empirical` \| `theoretical` |
202
+ | `statement_type` | `claim` \| `method` \| `limitation` \| `assumption` \| `definition` \| `question` |
203
+ | `evidence_type` | `table_result` \| `figure` \| `proof` \| `observation` \| `experiment_run` \| `case_study` \| `citation_backed` |
204
+ | `artifact_type` | `paper` \| `dataset` \| `benchmark` \| `repository` \| `model` \| `software` \| `other` |
205
+
206
+ ## Numeric Values
207
+
208
+ ```yaml
209
+ # Correct
210
+ - value: 22
211
+ - accuracy: 0.945
212
+
213
+ # Wrong
214
+ - value: '22' # never quote numbers
215
+ - accuracy: "0.945"
216
+ ```
217
+
218
+ ## Anti-Fabrication
219
+
220
+ If a field is not visible in source, **omit the key entirely**.
221
+
222
+ ```yaml
223
+ # Wrong
224
+ doi: TODO
225
+ venue: TBD
226
+
227
+ # Correct (just omit the keys)
228
+ title: "Paper Title"
229
+ authors: ["A. Author"]
230
+ ```
231
+
232
+ Applies to: `doi`, `venue`, `year`, ORCIDs, GitHub URLs, dataset URLs.
233
+
234
+ Exception: backfilling `doi`/`venue`/`year` from **OpenAlex metadata enrichment**
235
+ (Generate Step 4) is allowed — that is a curated external source, not fabrication.
236
+ Verify paper identity before using catalog metadata; title-search rank alone is insufficient. Omit ambiguous fields.
237
+
238
+ ## ID Format
239
+
240
+ Descriptive kebab-case with type prefix. **Never** use opaque IDs.
241
+
242
+ ```yaml
243
+ # Correct
244
+ - id: stmt:standard-transformer-fails-unseen-tokens
245
+ - id: ev:lemma-41-contraction-proof
246
+ - id: rel:collapse-causes-failure
247
+ - id: art:paper
248
+ - id: rep:paper-pdf
249
+
250
+ # Wrong
251
+ - id: stmt:c1
252
+ - id: ev:001
253
+ - id: rel:r-23
254
+ ```
255
+
256
+ ## Predicates
257
+
258
+ Verified frequencies across 330 relations in 15 production sidecars:
259
+
260
+ | Predicate | Direction | Use |
261
+ |-----------|-----------|-----|
262
+ | `supported_by` | claim → evidence | most common; primary evidence wiring |
263
+ | `depends_on` | claim/method → assumption | preconditions |
264
+ | `evaluates_on` | method → dataset/benchmark | empirical evaluation target |
265
+ | `limited_by` | claim → limitation | acknowledged limit |
266
+ | `documents` | statement → artifact (paper) | references the source paper |
267
+ | `uses` | method → artifact (model/software) | active usage |
268
+ | `used_by` | artifact → method | reverse direction of `uses` |
269
+ | `challenged_by` | claim → counter-claim | opposed/debated |
270
+ | `cites` | artifact → cited paper | citation graph |
271
+ | `implements` | method → repository | code implementation |
272
+ | `defines` | statement → definition | term introduction |
273
+
274
+ The upstream `knows.md` (2026-07-17 snapshot) closes the predicate set at 12:
275
+
276
+ ```
277
+ supported_by, challenged_by, depends_on, limited_by, cites, uses,
278
+ evaluates_on, implements, documents, same_as, supersedes, retracts
279
+ ```
280
+
281
+ `cites` relations may carry an optional `citation_intent` from:
282
+ `supports | extends | uses_method | compares_to | contradicts | reviews | cites_data | background | other`.
283
+ Notions like "extends" or "contradicts" are citation intents, **not** predicates.
284
+ Production-observed extras (`used_by`, `defines`) remain accepted by our lint
285
+ (spec drift — see `upstream-spec-cache.md`).
286
+
287
+ ```yaml
288
+ # Wrong tense (warning)
289
+ predicate: evaluated_on
290
+
291
+ # Correct
292
+ predicate: evaluates_on
293
+
294
+ # Passive forms accepted in production
295
+ predicate: supported_by
296
+ predicate: used_by
297
+ predicate: challenged_by
298
+ ```
299
+
300
+ ## Relation Wiring (CRITICAL)
301
+
302
+ The average-ratio target **1.5** is a lint diagnostic. Add only source-supported
303
+ relations appropriate to each statement type; do not invent links to satisfy
304
+ a quota. Source-anchored questions or definitions need not assert empirical
305
+ support. Common patterns:
306
+
307
+ | Subject | Predicate | Object |
308
+ |---------|-----------|--------|
309
+ | Claim (statement) | `supported_by` | Evidence |
310
+ | Claim | `depends_on` | Assumption (statement) |
311
+ | Method (statement_type=method) | `implements` | Repository (artifact) |
312
+ | Method | `uses` | Model/Dataset (artifact) |
313
+ | Claim | `limited_by` | Limitation (statement) |
314
+
315
+ ## Common Mistakes Cheatsheet
316
+
317
+ | Wrong | Correct |
318
+ |-------|---------|
319
+ | `metadata: {title: ...}` | top-level `title:` |
320
+ | `provenance.actors: [...]` | `provenance.actor: {...}` (single) |
321
+ | `confidence: high` | `confidence: {claim_strength: high, extraction_fidelity: high}` |
322
+ | `coverage: exhaustive` | `coverage: {statements: exhaustive, evidence: ...}` |
323
+ | `type: ai` | `type: tool` |
324
+ | `value: '22'` | `value: 22` |
325
+ | `type: paper` (on artifact) | `artifact_type: paper` |
326
+ | `type: claim` (on statement) | `statement_type: claim` |
327
+ | `evaluated_on` | `evaluates_on` |
328
+ | `doi: TODO` | omit `doi` key entirely |
329
+ | `id: stmt:c1` | `id: stmt:descriptive-name` |
330
+
331
+ ## Statement Density Guidance
332
+
333
+ - Short methods paper: 8-12 statements
334
+ - Standard ML paper: 12-18 statements
335
+ - Complex/long paper: **15+ required**
336
+ - Survey/review paper: 20+ recommended
337
+
338
+ If under-extracted, re-read:
339
+ - Limitations sections
340
+ - Discussion/conclusions
341
+ - Footnotes and ablation studies