opencode-skills-collection 3.1.0 → 3.1.1

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 (277) hide show
  1. package/bundled-skills/.antigravity-install-manifest.json +84 -1
  2. package/bundled-skills/android-ui-journey-testing/SKILL.md +191 -0
  3. package/bundled-skills/ask-matt/SKILL.md +92 -0
  4. package/bundled-skills/bugs-are-annoying/SKILL.md +137 -0
  5. package/bundled-skills/codebase-design/DEEPENING.md +37 -0
  6. package/bundled-skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
  7. package/bundled-skills/codebase-design/SKILL.md +145 -0
  8. package/bundled-skills/competitor-analysis/LICENSE.txt +21 -0
  9. package/bundled-skills/competitor-analysis/SKILL.md +434 -0
  10. package/bundled-skills/competitor-analysis/references/battle-card-subagent.md +127 -0
  11. package/bundled-skills/competitor-analysis/references/battle-card.md +91 -0
  12. package/bundled-skills/competitor-analysis/references/example-research.md +130 -0
  13. package/bundled-skills/competitor-analysis/references/report-template.html +127 -0
  14. package/bundled-skills/competitor-analysis/references/research-patterns.md +217 -0
  15. package/bundled-skills/competitor-analysis/references/workflow.md +434 -0
  16. package/bundled-skills/competitor-analysis/scripts/capture_screenshots.mjs +142 -0
  17. package/bundled-skills/competitor-analysis/scripts/compile_report.mjs +929 -0
  18. package/bundled-skills/competitor-analysis/scripts/extract_vs_names.mjs +140 -0
  19. package/bundled-skills/competitor-analysis/scripts/gate_candidates.mjs +194 -0
  20. package/bundled-skills/competitor-analysis/scripts/list_urls.mjs +90 -0
  21. package/bundled-skills/competitor-analysis/scripts/md_utils.mjs +50 -0
  22. package/bundled-skills/competitor-analysis/scripts/merge_partials.mjs +291 -0
  23. package/bundled-skills/competitor-analysis/scripts/package.json +6 -0
  24. package/bundled-skills/design-it/3d-ui/SKILL.md +259 -0
  25. package/bundled-skills/design-it/SKILL.md +170 -0
  26. package/bundled-skills/design-it/ai-native-ui/SKILL.md +295 -0
  27. package/bundled-skills/design-it/aurora-ui/SKILL.md +307 -0
  28. package/bundled-skills/design-it/bento-ui/SKILL.md +314 -0
  29. package/bundled-skills/design-it/brutalism/SKILL.md +270 -0
  30. package/bundled-skills/design-it/brutalist-typography/SKILL.md +287 -0
  31. package/bundled-skills/design-it/card-based-design/SKILL.md +262 -0
  32. package/bundled-skills/design-it/claymorphism/SKILL.md +287 -0
  33. package/bundled-skills/design-it/color-blocking/SKILL.md +278 -0
  34. package/bundled-skills/design-it/command-center-ui/SKILL.md +345 -0
  35. package/bundled-skills/design-it/cyber-y2k/SKILL.md +312 -0
  36. package/bundled-skills/design-it/cyberpunk-ui/SKILL.md +262 -0
  37. package/bundled-skills/design-it/dark-mode/SKILL.md +289 -0
  38. package/bundled-skills/design-it/dashboard-design/SKILL.md +331 -0
  39. package/bundled-skills/design-it/data-dense-design/SKILL.md +322 -0
  40. package/bundled-skills/design-it/duotone-design/SKILL.md +248 -0
  41. package/bundled-skills/design-it/editorial-design/SKILL.md +328 -0
  42. package/bundled-skills/design-it/flat-design/SKILL.md +221 -0
  43. package/bundled-skills/design-it/flat-design-2/SKILL.md +240 -0
  44. package/bundled-skills/design-it/floating-ui/SKILL.md +299 -0
  45. package/bundled-skills/design-it/frutiger-aero/SKILL.md +274 -0
  46. package/bundled-skills/design-it/glassmorphism/SKILL.md +272 -0
  47. package/bundled-skills/design-it/gradient-design/SKILL.md +309 -0
  48. package/bundled-skills/design-it/high-contrast/SKILL.md +288 -0
  49. package/bundled-skills/design-it/holographic-ui/SKILL.md +310 -0
  50. package/bundled-skills/design-it/isometric-design/SKILL.md +228 -0
  51. package/bundled-skills/design-it/layered-design/SKILL.md +247 -0
  52. package/bundled-skills/design-it/material-design/SKILL.md +275 -0
  53. package/bundled-skills/design-it/maximalism/SKILL.md +297 -0
  54. package/bundled-skills/design-it/minimalism/SKILL.md +267 -0
  55. package/bundled-skills/design-it/monochromatic-ui/SKILL.md +296 -0
  56. package/bundled-skills/design-it/neo-brutalism/SKILL.md +270 -0
  57. package/bundled-skills/design-it/neumorphism/SKILL.md +248 -0
  58. package/bundled-skills/design-it/retro-design/SKILL.md +283 -0
  59. package/bundled-skills/design-it/retro-futurism/SKILL.md +259 -0
  60. package/bundled-skills/design-it/sci-fi-interface/SKILL.md +309 -0
  61. package/bundled-skills/design-it/skeuomorphism/SKILL.md +280 -0
  62. package/bundled-skills/design-it/soft-pastel/SKILL.md +307 -0
  63. package/bundled-skills/design-it/spatial-computing-ui/SKILL.md +300 -0
  64. package/bundled-skills/design-it/spatial-design/SKILL.md +268 -0
  65. package/bundled-skills/design-it/swiss-design/SKILL.md +293 -0
  66. package/bundled-skills/design-it/synthwave/SKILL.md +257 -0
  67. package/bundled-skills/design-it/tile-design/SKILL.md +297 -0
  68. package/bundled-skills/design-it/typography-first/SKILL.md +247 -0
  69. package/bundled-skills/design-it/vaporwave/SKILL.md +331 -0
  70. package/bundled-skills/design-it/vibrant-maximalism/SKILL.md +291 -0
  71. package/bundled-skills/design-it/widget-based-design/SKILL.md +274 -0
  72. package/bundled-skills/design-it/y2k-design/SKILL.md +268 -0
  73. package/bundled-skills/diagnosing-bugs/SKILL.md +165 -0
  74. package/bundled-skills/diagnosing-bugs/scripts/hitl-loop.template.sh +41 -0
  75. package/bundled-skills/docs/contributors/skill-scoring.md +235 -0
  76. package/bundled-skills/docs/integrations/jetski-cortex.md +3 -3
  77. package/bundled-skills/docs/integrations/jetski-gemini-loader/README.md +1 -1
  78. package/bundled-skills/docs/maintainers/repo-growth-seo.md +3 -3
  79. package/bundled-skills/docs/maintainers/skills-update-guide.md +1 -1
  80. package/bundled-skills/docs/users/bundles.md +1 -1
  81. package/bundled-skills/docs/users/claude-code-skills.md +1 -1
  82. package/bundled-skills/docs/users/gemini-cli-skills.md +1 -1
  83. package/bundled-skills/docs/users/getting-started.md +1 -1
  84. package/bundled-skills/docs/users/kiro-integration.md +1 -1
  85. package/bundled-skills/docs/users/usage.md +4 -4
  86. package/bundled-skills/docs/users/visual-guide.md +4 -4
  87. package/bundled-skills/domain-modeling/ADR-FORMAT.md +47 -0
  88. package/bundled-skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
  89. package/bundled-skills/domain-modeling/SKILL.md +105 -0
  90. package/bundled-skills/grill-me/SKILL.md +36 -0
  91. package/bundled-skills/grill-with-docs/SKILL.md +36 -0
  92. package/bundled-skills/grilling/SKILL.md +39 -0
  93. package/bundled-skills/handoff/SKILL.md +45 -0
  94. package/bundled-skills/image-generator/.env.example +7 -0
  95. package/bundled-skills/image-generator/SKILL.md +509 -0
  96. package/bundled-skills/improve-codebase-architecture/HTML-REPORT.md +123 -0
  97. package/bundled-skills/improve-codebase-architecture/SKILL.md +97 -0
  98. package/bundled-skills/learn/SKILL.md +156 -0
  99. package/bundled-skills/lesson-generator/SKILL.md +90 -0
  100. package/bundled-skills/llm-council/.env.example +7 -0
  101. package/bundled-skills/llm-council/SKILL.md +602 -0
  102. package/bundled-skills/loop-library/SKILL.md +205 -0
  103. package/bundled-skills/loop-library/agents/openai.yaml +4 -0
  104. package/bundled-skills/loop-library/references/catalog.md +270 -0
  105. package/bundled-skills/mailtrap-managing-contacts/SKILL.md +112 -0
  106. package/bundled-skills/mailtrap-sending-emails/SKILL.md +167 -0
  107. package/bundled-skills/mailtrap-setting-up-sending-domain/SKILL.md +77 -0
  108. package/bundled-skills/mailtrap-testing-with-sandbox/SKILL.md +110 -0
  109. package/bundled-skills/prototype/LOGIC.md +79 -0
  110. package/bundled-skills/prototype/SKILL.md +62 -0
  111. package/bundled-skills/prototype/UI.md +112 -0
  112. package/bundled-skills/setup-matt-pocock-skills/SKILL.md +158 -0
  113. package/bundled-skills/setup-matt-pocock-skills/domain.md +51 -0
  114. package/bundled-skills/setup-matt-pocock-skills/issue-tracker-github.md +34 -0
  115. package/bundled-skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +35 -0
  116. package/bundled-skills/setup-matt-pocock-skills/issue-tracker-local.md +19 -0
  117. package/bundled-skills/setup-matt-pocock-skills/triage-labels.md +15 -0
  118. package/bundled-skills/survey-generator/LICENSE +21 -0
  119. package/bundled-skills/survey-generator/SKILL.md +143 -0
  120. package/bundled-skills/survey-generator/build_artifact.py +208 -0
  121. package/bundled-skills/survey-generator/examples/agentic-engineering/research_bundle.json +1196 -0
  122. package/bundled-skills/survey-generator/examples/agentic-engineering/survey.html +706 -0
  123. package/bundled-skills/survey-generator/style_spec.json +85 -0
  124. package/bundled-skills/survey-generator/templates/research_bundle_template.json +69 -0
  125. package/bundled-skills/tdd/SKILL.md +139 -0
  126. package/bundled-skills/tdd/mocking.md +59 -0
  127. package/bundled-skills/tdd/refactoring.md +10 -0
  128. package/bundled-skills/tdd/tests.md +61 -0
  129. package/bundled-skills/teach/GLOSSARY-FORMAT.md +35 -0
  130. package/bundled-skills/teach/LEARNING-RECORD-FORMAT.md +46 -0
  131. package/bundled-skills/teach/MISSION-FORMAT.md +31 -0
  132. package/bundled-skills/teach/RESOURCES-FORMAT.md +32 -0
  133. package/bundled-skills/teach/SKILL.md +169 -0
  134. package/bundled-skills/to-issues/SKILL.md +115 -0
  135. package/bundled-skills/to-prd/SKILL.md +104 -0
  136. package/bundled-skills/tools-page-seo-optimizer/SKILL.md +616 -0
  137. package/bundled-skills/triage/AGENT-BRIEF.md +207 -0
  138. package/bundled-skills/triage/OUT-OF-SCOPE.md +105 -0
  139. package/bundled-skills/triage/SKILL.md +143 -0
  140. package/bundled-skills/vibecode-production-qa-validator/SKILL.md +371 -141
  141. package/bundled-skills/wiki-builder/SKILL.md +157 -0
  142. package/bundled-skills/wiki-builder/agents/openai.yaml +5 -0
  143. package/bundled-skills/wiki-builder/references/wiki-flavors.md +98 -0
  144. package/bundled-skills/wiki-builder/scripts/init_wiki.sh +105 -0
  145. package/bundled-skills/wiki-builder/templates/index.md +20 -0
  146. package/bundled-skills/wiki-builder/templates/maintenance-log.md +7 -0
  147. package/bundled-skills/wiki-builder/templates/prompts/compile-concept-page.md +12 -0
  148. package/bundled-skills/wiki-builder/templates/prompts/compile-index.md +11 -0
  149. package/bundled-skills/wiki-builder/templates/prompts/compile-source-page.md +12 -0
  150. package/bundled-skills/wiki-builder/templates/prompts/lint-wiki.md +10 -0
  151. package/bundled-skills/wiki-builder/templates/prompts/query-and-file.md +11 -0
  152. package/bundled-skills/wiki-builder/templates/sources.md +9 -0
  153. package/bundled-skills/wiki-builder/templates/wiki.config.md +53 -0
  154. package/bundled-skills/writing-great-skills/GLOSSARY.md +181 -0
  155. package/bundled-skills/writing-great-skills/SKILL.md +111 -0
  156. package/bundled-skills/yao-meta-skill/SKILL.md +86 -0
  157. package/bundled-skills/yao-meta-skill/agents/interface.yaml +26 -0
  158. package/bundled-skills/yao-meta-skill/manifest.json +24 -0
  159. package/bundled-skills/yao-meta-skill/references/artifact-design-doctrine.md +49 -0
  160. package/bundled-skills/yao-meta-skill/references/authoring-discipline.md +78 -0
  161. package/bundled-skills/yao-meta-skill/references/autonomous-adaptation.md +65 -0
  162. package/bundled-skills/yao-meta-skill/references/distribution-registry-method.md +60 -0
  163. package/bundled-skills/yao-meta-skill/references/eval-playbook.md +69 -0
  164. package/bundled-skills/yao-meta-skill/references/gate-selection.md +68 -0
  165. package/bundled-skills/yao-meta-skill/references/governance.md +134 -0
  166. package/bundled-skills/yao-meta-skill/references/human-review-template.md +54 -0
  167. package/bundled-skills/yao-meta-skill/references/intent-dialogue.md +138 -0
  168. package/bundled-skills/yao-meta-skill/references/iteration-philosophy.md +30 -0
  169. package/bundled-skills/yao-meta-skill/references/non-skill-decision-tree.md +39 -0
  170. package/bundled-skills/yao-meta-skill/references/operating-modes.md +107 -0
  171. package/bundled-skills/yao-meta-skill/references/output-eval-method.md +113 -0
  172. package/bundled-skills/yao-meta-skill/references/output-quality-risk.md +41 -0
  173. package/bundled-skills/yao-meta-skill/references/output-visual-quality.md +53 -0
  174. package/bundled-skills/yao-meta-skill/references/packaging-contracts.md +70 -0
  175. package/bundled-skills/yao-meta-skill/references/pattern-extraction-doctrine.md +76 -0
  176. package/bundled-skills/yao-meta-skill/references/platform-capability-matrix.md +49 -0
  177. package/bundled-skills/yao-meta-skill/references/prompt-engineering-doctrine.md +76 -0
  178. package/bundled-skills/yao-meta-skill/references/qa-ladder.md +57 -0
  179. package/bundled-skills/yao-meta-skill/references/reference-scan.md +126 -0
  180. package/bundled-skills/yao-meta-skill/references/regression-cause-taxonomy.md +80 -0
  181. package/bundled-skills/yao-meta-skill/references/resource-boundaries.md +120 -0
  182. package/bundled-skills/yao-meta-skill/references/review-studio-method.md +87 -0
  183. package/bundled-skills/yao-meta-skill/references/review-waiver-method.md +76 -0
  184. package/bundled-skills/yao-meta-skill/references/runtime-conformance-method.md +21 -0
  185. package/bundled-skills/yao-meta-skill/references/skill-archetypes.md +86 -0
  186. package/bundled-skills/yao-meta-skill/references/skill-atlas-method.md +35 -0
  187. package/bundled-skills/yao-meta-skill/references/skill-engineering-method.md +210 -0
  188. package/bundled-skills/yao-meta-skill/references/skill-ir-method.md +41 -0
  189. package/bundled-skills/yao-meta-skill/references/skillops-decision-policy.md +53 -0
  190. package/bundled-skills/yao-meta-skill/references/systems-thinking-doctrine.md +75 -0
  191. package/bundled-skills/yao-meta-skill/references/telemetry-drift-method.md +182 -0
  192. package/bundled-skills/yao-meta-skill/references/trust-security-method.md +79 -0
  193. package/bundled-skills/yao-meta-skill/references/user-memory-policy.md +35 -0
  194. package/bundled-skills/youtube-notetaker/SKILL.md +209 -0
  195. package/bundled-skills/youtube-notetaker/reference/artifact.html +269 -0
  196. package/bundled-skills/youtube-notetaker/scripts/contact_sheet.py +53 -0
  197. package/bundled-skills/youtube-notetaker/scripts/detect_slides.sh +19 -0
  198. package/bundled-skills/youtube-notetaker/scripts/download.sh +24 -0
  199. package/bundled-skills/youtube-notetaker/scripts/extract_slides.py +43 -0
  200. package/bundled-skills/youtube-notetaker/scripts/serve.py +173 -0
  201. package/bundled-skills/youtube-notetaker/scripts/setup.sh +27 -0
  202. package/bundled-skills/youtube-notetaker/scripts/verify.sh +31 -0
  203. package/bundled-skills/youtube-notetaker/scripts/vtt_to_transcript.py +59 -0
  204. package/bundled-skills/youtube-notetaker/scripts/write_library_item.py +69 -0
  205. package/package.json +1 -1
  206. package/skills_index.json +1956 -286
  207. package/bundled-skills/ai-md/SKILL.md +0 -523
  208. package/bundled-skills/atlas-contract/SKILL.md +0 -650
  209. package/bundled-skills/busybox-on-windows/SKILL.md +0 -40
  210. package/bundled-skills/monte-carlo-prevent/SKILL.md +0 -257
  211. package/bundled-skills/monte-carlo-prevent/references/TROUBLESHOOTING.md +0 -23
  212. package/bundled-skills/monte-carlo-prevent/references/parameters.md +0 -32
  213. package/bundled-skills/monte-carlo-prevent/references/workflows.md +0 -478
  214. package/bundled-skills/monte-carlo-push-ingestion/SKILL.md +0 -372
  215. package/bundled-skills/monte-carlo-push-ingestion/references/anomaly-detection.md +0 -87
  216. package/bundled-skills/monte-carlo-push-ingestion/references/custom-lineage.md +0 -203
  217. package/bundled-skills/monte-carlo-push-ingestion/references/direct-http-api.md +0 -207
  218. package/bundled-skills/monte-carlo-push-ingestion/references/prerequisites.md +0 -150
  219. package/bundled-skills/monte-carlo-push-ingestion/references/push-lineage.md +0 -160
  220. package/bundled-skills/monte-carlo-push-ingestion/references/push-metadata.md +0 -158
  221. package/bundled-skills/monte-carlo-push-ingestion/references/push-query-logs.md +0 -219
  222. package/bundled-skills/monte-carlo-push-ingestion/references/validation.md +0 -257
  223. package/bundled-skills/monte-carlo-push-ingestion/scripts/sample_verify.py +0 -357
  224. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/bigquery/collect_and_push_lineage.py +0 -70
  225. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/bigquery/collect_and_push_metadata.py +0 -65
  226. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/bigquery/collect_and_push_query_logs.py +0 -70
  227. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/bigquery/collect_lineage.py +0 -214
  228. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/bigquery/collect_metadata.py +0 -160
  229. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/bigquery/collect_query_logs.py +0 -164
  230. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/bigquery/push_lineage.py +0 -198
  231. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/bigquery/push_metadata.py +0 -193
  232. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/bigquery/push_query_logs.py +0 -207
  233. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/bigquery-iceberg/collect_and_push_metadata.py +0 -71
  234. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/bigquery-iceberg/collect_and_push_query_logs.py +0 -64
  235. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/bigquery-iceberg/collect_metadata.py +0 -253
  236. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/bigquery-iceberg/collect_query_logs.py +0 -149
  237. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/bigquery-iceberg/push_metadata.py +0 -190
  238. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/bigquery-iceberg/push_query_logs.py +0 -208
  239. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/databricks/collect_and_push_lineage.py +0 -83
  240. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/databricks/collect_and_push_metadata.py +0 -77
  241. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/databricks/collect_and_push_query_logs.py +0 -83
  242. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/databricks/collect_lineage.py +0 -240
  243. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/databricks/collect_metadata.py +0 -212
  244. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/databricks/collect_query_logs.py +0 -204
  245. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/databricks/push_lineage.py +0 -192
  246. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/databricks/push_metadata.py +0 -178
  247. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/databricks/push_query_logs.py +0 -200
  248. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/hive/collect_and_push_lineage.py +0 -119
  249. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/hive/collect_and_push_metadata.py +0 -119
  250. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/hive/collect_and_push_query_logs.py +0 -117
  251. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/hive/collect_lineage.py +0 -265
  252. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/hive/collect_metadata.py +0 -313
  253. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/hive/collect_query_logs.py +0 -284
  254. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/hive/push_lineage.py +0 -309
  255. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/hive/push_metadata.py +0 -245
  256. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/hive/push_query_logs.py +0 -255
  257. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/redshift/collect_and_push_lineage.py +0 -78
  258. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/redshift/collect_and_push_metadata.py +0 -80
  259. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/redshift/collect_and_push_query_logs.py +0 -88
  260. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/redshift/collect_lineage.py +0 -235
  261. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/redshift/collect_metadata.py +0 -219
  262. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/redshift/collect_query_logs.py +0 -239
  263. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/redshift/push_lineage.py +0 -178
  264. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/redshift/push_metadata.py +0 -178
  265. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/redshift/push_query_logs.py +0 -196
  266. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/snowflake/collect_and_push_lineage.py +0 -154
  267. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/snowflake/collect_and_push_metadata.py +0 -137
  268. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/snowflake/collect_and_push_query_logs.py +0 -137
  269. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/snowflake/collect_lineage.py +0 -349
  270. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/snowflake/collect_metadata.py +0 -329
  271. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/snowflake/collect_query_logs.py +0 -254
  272. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/snowflake/push_lineage.py +0 -307
  273. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/snowflake/push_metadata.py +0 -228
  274. package/bundled-skills/monte-carlo-push-ingestion/scripts/templates/snowflake/push_query_logs.py +0 -248
  275. package/bundled-skills/monte-carlo-push-ingestion/scripts/test_template_sdk_usage.py +0 -340
  276. package/bundled-skills/skill-optimizer/SKILL.md +0 -271
  277. package/bundled-skills/using-superpowers/SKILL.md +0 -98
@@ -1,340 +0,0 @@
1
- #!/usr/bin/env python3
2
- """
3
- Smoke test that every pycarlo model construction used by the templates
4
- actually works with the real SDK. A wrong parameter name raises TypeError.
5
-
6
- Run:
7
- pip install pycarlo
8
- python test_template_sdk_usage.py
9
- """
10
-
11
- from datetime import datetime, timezone
12
-
13
- from pycarlo.features.ingestion.models import (
14
- AssetField,
15
- AssetFreshness,
16
- AssetMetadata,
17
- AssetVolume,
18
- ColumnLineageField,
19
- ColumnLineageSourceField,
20
- LineageAssetRef,
21
- LineageEvent,
22
- QueryLogEntry,
23
- RelationalAsset,
24
- Tag,
25
- build_lineage_payload,
26
- build_metadata_payload,
27
- build_query_log_payload,
28
- )
29
-
30
- PASSED = 0
31
- FAILED = 0
32
-
33
-
34
- def check(label: str, fn):
35
- global PASSED, FAILED
36
- try:
37
- obj = fn()
38
- # Also verify serialization works
39
- if hasattr(obj, "to_dict"):
40
- obj.to_dict()
41
- PASSED += 1
42
- print(f" PASS {label}")
43
- except Exception as exc:
44
- FAILED += 1
45
- print(f" FAIL {label}: {exc}")
46
-
47
-
48
- def test_metadata_models():
49
- print("\n== Metadata models ==")
50
-
51
- check("AssetField(name, type)", lambda: AssetField(name="id", type="INTEGER"))
52
-
53
- check(
54
- "AssetField(name, type, description)",
55
- lambda: AssetField(name="id", type="INTEGER", description="Primary key"),
56
- )
57
-
58
- check(
59
- "AssetMetadata(name, database, schema)",
60
- lambda: AssetMetadata(name="orders", database="analytics", schema="public"),
61
- )
62
-
63
- check(
64
- "AssetMetadata(name, database, schema, description, view_query, created_on)",
65
- lambda: AssetMetadata(
66
- name="orders_view",
67
- database="analytics",
68
- schema="public",
69
- description="A view",
70
- view_query="SELECT * FROM orders",
71
- created_on="2026-01-01T00:00:00Z",
72
- ),
73
- )
74
-
75
- check("AssetVolume(row_count)", lambda: AssetVolume(row_count=1000))
76
- check(
77
- "AssetVolume(row_count, byte_count)",
78
- lambda: AssetVolume(row_count=1000, byte_count=50000),
79
- )
80
-
81
- check(
82
- "AssetFreshness(last_update_time)",
83
- lambda: AssetFreshness(last_update_time="2026-03-12T14:30:00Z"),
84
- )
85
-
86
- check("Tag(key, value)", lambda: Tag(key="env", value="prod"))
87
- check("Tag(key only)", lambda: Tag(key="pii"))
88
-
89
- check(
90
- "RelationalAsset — full nested structure",
91
- lambda: RelationalAsset(
92
- type="TABLE",
93
- metadata=AssetMetadata(
94
- name="orders",
95
- database="analytics",
96
- schema="public",
97
- description="Orders table",
98
- ),
99
- fields=[
100
- AssetField(name="id", type="INTEGER"),
101
- AssetField(name="amount", type="DECIMAL(10,2)", description="Order total"),
102
- ],
103
- volume=AssetVolume(row_count=1000000, byte_count=111111111),
104
- freshness=AssetFreshness(last_update_time="2026-03-12T14:30:00Z"),
105
- tags=[Tag(key="env", value="prod")],
106
- ),
107
- )
108
-
109
- check(
110
- "RelationalAsset — minimal (no volume, freshness, tags)",
111
- lambda: RelationalAsset(
112
- type="VIEW",
113
- metadata=AssetMetadata(name="v_orders", database="db", schema="sch"),
114
- ),
115
- )
116
-
117
-
118
- def test_lineage_models():
119
- print("\n== Lineage models ==")
120
-
121
- check(
122
- "LineageAssetRef(type, name, database, schema)",
123
- lambda: LineageAssetRef(
124
- type="TABLE", name="orders", database="analytics", schema="public"
125
- ),
126
- )
127
-
128
- check(
129
- "LineageAssetRef(type, name, database, schema, asset_id)",
130
- lambda: LineageAssetRef(
131
- type="TABLE",
132
- name="orders",
133
- database="analytics",
134
- schema="public",
135
- asset_id="analytics:public.orders",
136
- ),
137
- )
138
-
139
- check(
140
- "LineageEvent — table lineage",
141
- lambda: LineageEvent(
142
- destination=LineageAssetRef(
143
- type="TABLE", name="curated", database="db", schema="sch"
144
- ),
145
- sources=[
146
- LineageAssetRef(type="TABLE", name="raw", database="db", schema="sch"),
147
- ],
148
- ),
149
- )
150
-
151
- check(
152
- "ColumnLineageSourceField(asset_id, field_name)",
153
- lambda: ColumnLineageSourceField(
154
- asset_id="db:sch.raw", field_name="amount"
155
- ),
156
- )
157
-
158
- check(
159
- "ColumnLineageField(name, source_fields)",
160
- lambda: ColumnLineageField(
161
- name="total_amount",
162
- source_fields=[
163
- ColumnLineageSourceField(asset_id="db:sch.raw", field_name="amount"),
164
- ],
165
- ),
166
- )
167
-
168
- check(
169
- "LineageEvent — column lineage",
170
- lambda: LineageEvent(
171
- destination=LineageAssetRef(
172
- type="TABLE",
173
- name="curated",
174
- database="db",
175
- schema="sch",
176
- asset_id="db:sch.curated",
177
- ),
178
- sources=[
179
- LineageAssetRef(
180
- type="TABLE",
181
- name="raw",
182
- database="db",
183
- schema="sch",
184
- asset_id="db:sch.raw",
185
- ),
186
- ],
187
- fields=[
188
- ColumnLineageField(
189
- name="total_amount",
190
- source_fields=[
191
- ColumnLineageSourceField(
192
- asset_id="db:sch.raw", field_name="amount"
193
- ),
194
- ],
195
- ),
196
- ],
197
- ),
198
- )
199
-
200
-
201
- def test_query_log_models():
202
- print("\n== Query log models ==")
203
-
204
- now = datetime.now(tz=timezone.utc)
205
-
206
- check(
207
- "QueryLogEntry — minimal",
208
- lambda: QueryLogEntry(
209
- start_time=now,
210
- end_time=now,
211
- query_text="SELECT 1",
212
- ),
213
- )
214
-
215
- check(
216
- "QueryLogEntry — full with extra",
217
- lambda: QueryLogEntry(
218
- start_time=now,
219
- end_time=now,
220
- query_text="SELECT * FROM orders",
221
- query_id="query-123",
222
- user="analyst@company.com",
223
- returned_rows=100,
224
- error_code=None,
225
- error_text=None,
226
- extra={
227
- "warehouse_name": "COMPUTE_WH",
228
- "bytes_scanned": 12345,
229
- },
230
- ),
231
- )
232
-
233
- check(
234
- "QueryLogEntry — Snowflake extra fields",
235
- lambda: QueryLogEntry(
236
- start_time=now,
237
- end_time=now,
238
- query_text="SELECT 1",
239
- extra={"warehouse_name": "WH", "bytes_scanned": 100},
240
- ),
241
- )
242
-
243
- check(
244
- "QueryLogEntry — BigQuery extra fields",
245
- lambda: QueryLogEntry(
246
- start_time=now,
247
- end_time=now,
248
- query_text="SELECT 1",
249
- extra={"total_bytes_billed": 999, "statement_type": "SELECT"},
250
- ),
251
- )
252
-
253
- check(
254
- "QueryLogEntry — Databricks extra fields",
255
- lambda: QueryLogEntry(
256
- start_time=now,
257
- end_time=now,
258
- query_text="SELECT 1",
259
- extra={"total_task_duration_ms": 500, "read_rows": 10, "read_bytes": 200},
260
- ),
261
- )
262
-
263
- check(
264
- "QueryLogEntry — Redshift extra fields",
265
- lambda: QueryLogEntry(
266
- start_time=now,
267
- end_time=now,
268
- query_text="SELECT 1",
269
- extra={"database_name": "dev", "elapsed_time_us": 123456},
270
- ),
271
- )
272
-
273
-
274
- def test_payload_builders():
275
- print("\n== Payload builders ==")
276
-
277
- now = datetime.now(tz=timezone.utc)
278
-
279
- check(
280
- "build_metadata_payload",
281
- lambda: build_metadata_payload(
282
- resource_uuid="uuid-123",
283
- resource_type="snowflake",
284
- events=[
285
- RelationalAsset(
286
- type="TABLE",
287
- metadata=AssetMetadata(name="t", database="d", schema="s"),
288
- )
289
- ],
290
- ),
291
- )
292
-
293
- check(
294
- "build_lineage_payload — table",
295
- lambda: build_lineage_payload(
296
- resource_uuid="uuid-123",
297
- resource_type="snowflake",
298
- events=[
299
- LineageEvent(
300
- destination=LineageAssetRef(
301
- type="TABLE", name="dst", database="d", schema="s"
302
- ),
303
- sources=[
304
- LineageAssetRef(
305
- type="TABLE", name="src", database="d", schema="s"
306
- )
307
- ],
308
- )
309
- ],
310
- ),
311
- )
312
-
313
- check(
314
- "build_query_log_payload",
315
- lambda: build_query_log_payload(
316
- resource_uuid="uuid-123",
317
- log_type="snowflake",
318
- events=[
319
- QueryLogEntry(
320
- start_time=now,
321
- end_time=now,
322
- query_text="SELECT 1",
323
- )
324
- ],
325
- ),
326
- )
327
-
328
-
329
- if __name__ == "__main__":
330
- test_metadata_models()
331
- test_lineage_models()
332
- test_query_log_models()
333
- test_payload_builders()
334
- print(f"\n{'='*40}")
335
- print(f"Results: {PASSED} passed, {FAILED} failed")
336
- if FAILED:
337
- print("SOME TESTS FAILED — templates use wrong parameter names!")
338
- raise SystemExit(1)
339
- else:
340
- print("All tests passed — all model constructions are valid.")
@@ -1,271 +0,0 @@
1
- ---
2
- name: skill-optimizer
3
- description: "Diagnose and optimize Agent Skills (SKILL.md) with real session data and research-backed static analysis. Works with Claude Code, Codex, and any Agent Skills-compatible agent."
4
- risk: safe
5
- source: hqhq1025/skill-optimizer (MIT)
6
- date_added: "2026-04-11"
7
- ---
8
-
9
- ## When to Use This Skill
10
-
11
- - Use when skills are not triggering as expected or seem broken
12
- - Use when you want to audit and improve your skill library's quality
13
- - Use when you want to understand which skills are underperforming or wasting context tokens
14
-
15
- ## Rules
16
-
17
- - **Read-only**: never modify skill files. Only output report.
18
- - **All 8 dimensions**: do not skip any. If data is insufficient, report "N/A — insufficient session data" rather than omitting.
19
- - **Quantify**: "you had 12 research tasks last week but the skill never triggered" beats "you often do research".
20
- - **Suggest, don't prescribe**: give specific wording suggestions for description improvements, but frame as suggestions.
21
- - **Show evidence**: for undertrigger claims, quote the actual user message that should have triggered the skill.
22
- - **Evidence-based suggestions**: when suggesting description rewrites, cite the specific research finding that motivates the change (e.g., "front-load trigger keywords — MCP study shows 3.6x selection rate improvement").
23
-
24
- ## Overview
25
-
26
- Analyze skills using **historical session data + static quality checks**, output a diagnostic report with P0/P1/P2 prioritized fixes. Scores each skill on a 5-point composite scale across 8 dimensions.
27
-
28
- CSO (Claude/Agent Search Optimization) = writing skill descriptions so agents select the right skill at the right time. This skill checks for CSO violations.
29
-
30
- ## Usage
31
-
32
- - `/optimize-skill` → scan all skills
33
- - `/optimize-skill my-skill` → single skill
34
- - `/optimize-skill skill-a skill-b` → multiple specified skills
35
-
36
- ## Data Sources
37
-
38
- Auto-detect the current agent platform and scan the corresponding paths:
39
-
40
- | Source | Claude Code | Codex | Shared |
41
- |--------|------------|-------|--------|
42
- | Session transcripts | `~/.claude/projects/**/*.jsonl` | `~/.codex/sessions/**/*.jsonl` | — |
43
- | Skill files | `~/.claude/skills/*/SKILL.md` | `~/.codex/skills/*/SKILL.md` | `~/.agents/skills/*/SKILL.md` |
44
-
45
- **Platform detection:** Check which directories exist. Scan all available sources — a user may have both Claude Code and Codex installed.
46
-
47
- ## Workflow
48
-
49
- ```
50
- Identify target skills
51
-
52
- Collect session data (python3 scripts scan JSONL transcripts)
53
-
54
- Run 8 analysis dimensions
55
-
56
- Compute composite scores
57
-
58
- Output report with P0/P1/P2
59
- ```
60
-
61
- ### Step 1: Identify Target Skills
62
-
63
- Scan skill directories in order: `~/.claude/skills/`, `~/.codex/skills/`, `~/.agents/skills/`. Deduplicate by skill name (same name in multiple locations = same skill). For each, read `SKILL.md` and extract:
64
- - name, description (from YAML frontmatter)
65
- - trigger keywords (from description field)
66
- - defined workflow steps (Step 1/2/3... or ### sections under Workflow)
67
- - word count
68
-
69
- If user specified skill names, filter to only those.
70
-
71
- ### Step 2: Collect Session Data
72
-
73
- Use python3 scripts via Bash to scan session JSONL files. Extract:
74
-
75
- **Claude Code sessions** (`~/.claude/projects/**/*.jsonl`):
76
- - `Skill` tool_use calls (which skills were invoked)
77
- - User messages (full text)
78
- - Assistant messages after skill invocation (for workflow tracking)
79
- - User messages after skill invocation (for reaction analysis)
80
-
81
- **Codex sessions** (`~/.codex/sessions/**/*.jsonl`):
82
- - `session_meta` events → extract `base_instructions` for skill loading evidence
83
- - `response_item` events → assistant outputs (workflow tracking)
84
- - `event_msg` events → tool execution and skill-related events
85
- - User messages from `turn_context` events (for reaction analysis)
86
-
87
- **Note:** Codex injects skills via context rather than explicit `Skill` tool calls. Skill loading (present in `base_instructions`) does NOT equal active invocation. To detect actual use, search for skill-specific workflow markers (step headers, output formats) in `response_item` content within that session. A skill is "invoked" only if the agent produced output following the skill's defined workflow.
88
-
89
- **Aggregated:**
90
- - Per-skill: invocation count, trigger keyword match count
91
- - Per-skill: user reaction sentiment after invocation
92
- - Per-skill: workflow step completion markers
93
-
94
- ### Step 3: Run 8 Analysis Dimensions
95
-
96
- **You MUST run ALL 8 dimensions.** The baseline behavior without this skill is to skip dimensions 4.2, 4.3, 4.5b, and 4.8. These are the most valuable dimensions — do not skip them.
97
-
98
- #### 4.1 Trigger Rate
99
-
100
- Count how many times each skill was actually invoked vs how many times its trigger keywords appeared in user messages.
101
-
102
- **Claude Code:** count `Skill` tool_use calls in transcripts.
103
- **Codex:** count sessions where the agent produced output following the skill's workflow markers (not merely loaded in context).
104
-
105
- **Diagnose:**
106
- - Never triggered → skill may be useless or trigger words wrong
107
- - Keywords match >> actual invocations → undertrigger problem, description needs work
108
- - High frequency → core skill, worth optimizing
109
-
110
- #### 4.2 Post-Invocation User Reaction
111
-
112
- **This dimension is critical and easy to skip. Do not skip it.**
113
-
114
- After a skill is invoked in a session, read the user's next 3 messages. Classify:
115
- - **Negative**: "no", "wrong", "never mind", "not what I wanted", user interrupts
116
- - **Correction**: user re-describes their intent, manually overrides skill output
117
- - **Positive**: "good", "ok", "continue", "nice", user follows the workflow
118
- - **Silent switch**: user changes topic entirely (likely false positive trigger)
119
-
120
- Report per-skill satisfaction rate.
121
-
122
- #### 4.3 Workflow Completion Rate
123
-
124
- **This dimension is critical and easy to skip. Do not skip it.**
125
-
126
- For each skill invocation found in session data:
127
- 1. Extract the skill's defined steps from SKILL.md
128
- 2. Search the assistant messages in that session for step markers (Step N, specific output formats defined in the skill)
129
- 3. Calculate: how far did execution get?
130
-
131
- Report: `{skill-name} (N steps): avg completed Step X/N (Y%)`
132
-
133
- If a specific step is frequently where execution stops, flag it.
134
-
135
- #### 4.4 Static Quality Analysis
136
-
137
- Check each SKILL.md against these 14 rules:
138
-
139
- | Check | Pass Criteria |
140
- |-------|--------------|
141
- | Frontmatter format | Only `name` + `description`, total < 1024 chars |
142
- | Name format | Letters, numbers, hyphens only |
143
- | Description trigger | Starts with "Use when..." or has explicit trigger conditions |
144
- | Description workflow leak | Description does NOT summarize the skill's workflow steps (CSO violation) |
145
- | Description pushiness | Description actively claims scenarios where it should be used, not just passive |
146
- | Overview section | Present |
147
- | Rules section | Present |
148
- | MUST/NEVER density | Count ALL-CAPS directive words; >5 per 100 words = flag |
149
- | Word count | < 500 words (flag if over) |
150
- | Narrative anti-pattern | No "In session X, we found..." storytelling |
151
- | YAML quoting safety | description containing `: ` must be wrapped in double quotes |
152
- | Critical info position | Core trigger conditions and primary actions must be in the first 20% of SKILL.md |
153
- | Description 250-char check | Primary trigger keywords must appear within the first 250 characters of description |
154
- | Trigger condition count | ≤ 2 trigger conditions in description is ideal |
155
-
156
- #### 4.5a False Positive Rate (Overtrigger)
157
-
158
- Skill was invoked but user immediately rejected or ignored it.
159
-
160
- #### 4.5b Undertrigger Detection
161
-
162
- **This is the highest-value dimension.** For each skill, extract its **capability keywords** (not just trigger keywords — what the skill CAN do). Then scan user messages for tasks that match those capabilities but where the skill was NOT invoked.
163
-
164
- Report: which user messages SHOULD have triggered the skill but didn't, and suggest description improvements.
165
-
166
- **Compounding Risk Assessment:**
167
- For skills with chronic undertriggering (0 triggers across 5+ sessions where relevant tasks appeared), flag as "compounding risk" — undertriggered skills cannot self-improve through usage feedback, causing the gap to widen over time. Recommend immediate description rewrite as P0.
168
-
169
- #### 4.6 Cross-Skill Conflicts
170
-
171
- Compare all skill pairs:
172
- - Trigger keyword overlap (same keywords in two descriptions)
173
- - Workflow overlap (two skills teach similar processes)
174
- - Contradictory guidance
175
-
176
- #### 4.7 Environment Consistency
177
-
178
- For each skill, extract referenced:
179
- - File paths → check if they exist (`test -e`)
180
- - CLI tools → check if installed (`which`)
181
- - Directories → check if they exist
182
-
183
- Flag any broken references.
184
-
185
- #### 4.8 Token Economics
186
-
187
- **This dimension is critical and easy to skip. Do not skip it.**
188
-
189
- For each skill:
190
- - Word count (from Step 1)
191
- - Trigger frequency (from 4.1)
192
- - Cost-effectiveness = trigger count / word count
193
- - Flag: large + never-triggered skills as candidates for removal or compression
194
-
195
- **Progressive Disclosure Tier Check:**
196
- Evaluate each skill against the 3-tier loading model:
197
- - Tier 1 (frontmatter): ~100 tokens. Check: is description ≤ 1024 chars?
198
- - Tier 2 (SKILL.md body): <500 lines recommended. Check: word count.
199
- - Tier 3 (reference files): loaded on demand. Check: does skill use reference files for detailed content, or cram everything into SKILL.md?
200
-
201
- Flag skills that put 500+ words in SKILL.md without using reference files as "poor progressive disclosure".
202
-
203
- ### Step 4: Composite Score
204
-
205
- Rate each skill on a 5-point scale:
206
-
207
- | Score | Meaning |
208
- |-------|---------|
209
- | 5 | Healthy: high trigger rate, positive reactions, complete workflows, clean static |
210
- | 4 | Good: minor issues in 1-2 dimensions |
211
- | 3 | Needs attention: significant gap in 1 dimension or minor gaps in 3+ |
212
- | 2 | Problematic: never triggered, or negative user reactions, or major static issues |
213
- | 1 | Broken: doesn't work, references missing, or fundamentally misaligned |
214
-
215
- **Scored dimensions** (weighted average):
216
- - Trigger rate: 25%
217
- - User reaction: 20%
218
- - Workflow completion: 15%
219
- - Static quality: 15%
220
- - Undertrigger: 15%
221
- - Token economics: 10%
222
-
223
- **Qualitative dimensions** (reported but not scored):
224
- - 4.5a Overtrigger: reported as count + examples
225
- - 4.6 Cross-Skill Conflicts: reported as conflict pairs
226
- - 4.7 Environment Consistency: reported as pass/fail per reference
227
-
228
- ## Report Format
229
-
230
- ```markdown
231
- # Skill Optimization Report
232
- **Date**: {date}
233
- **Scope**: {all / specified skills}
234
- **Session data**: {N} sessions, {date range}
235
-
236
- ## Overview
237
- | Skill | Triggers | Reaction | Completion | Static | Undertrigger | Token | Score |
238
- |-------|----------|----------|------------|--------|--------------|-------|-------|
239
- | example-skill | 2 | 100% | 86% | B+ | 1 miss | 486w | 4/5 |
240
-
241
- ## P0 Fixes (blocking usage)
242
- 1. ...
243
-
244
- ## P1 Improvements (better experience)
245
- 1. ...
246
-
247
- ## P2 Optional Optimizations
248
- 1. ...
249
-
250
- ## Per-Skill Diagnostics
251
- ### {skill-name}
252
- #### 4.1 Trigger Rate
253
- ...
254
- #### 4.2 User Reaction
255
- ...
256
- (all 8 dimensions)
257
- ```
258
-
259
- ## Research Background
260
-
261
- The analysis dimensions in this report are grounded in the following research:
262
- - **Undertrigger detection**: Memento-Skills (arXiv:2603.18743) — skills as structured files require accurate routing; unrouted skills cannot self-improve via the read-write learning loop
263
- - **Description quality**: MCP Description Quality (arXiv:2602.18914) — well-written descriptions achieve 72% tool selection rate vs. 20% random baseline (3.6x improvement)
264
- - **Information position**: Lost in the Middle (Liu et al., TACL 2024) — U-shaped LLM attention curve
265
- - **Format impact**: He et al. (arXiv:2411.10541) — format changes alone can cause 9-40% performance variance
266
- - **Instruction compliance**: IFEval (arXiv:2311.07911) — LLMs struggle with multi-constraint prompts
267
-
268
- ## Limitations
269
- - Use this skill only when the task clearly matches the scope described above.
270
- - Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
271
- - Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.