@rubix0270/arboris 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (451) hide show
  1. package/README.md +151 -0
  2. package/cli/manifest.json +323 -0
  3. package/dist/cli.mjs +376 -0
  4. package/package.json +81 -0
  5. package/prisma/skills/accessibility/SKILL.md +147 -0
  6. package/prisma/skills/agent-architecture-audit/SKILL.md +257 -0
  7. package/prisma/skills/agent-eval/SKILL.md +146 -0
  8. package/prisma/skills/agent-harness-construction/SKILL.md +74 -0
  9. package/prisma/skills/agent-introspection-debugging/SKILL.md +154 -0
  10. package/prisma/skills/agent-payment-x402/SKILL.md +225 -0
  11. package/prisma/skills/agent-self-evaluation/SKILL.md +182 -0
  12. package/prisma/skills/agent-self-evaluation/examples/high-score-example.md +87 -0
  13. package/prisma/skills/agent-self-evaluation/examples/low-score-example.md +86 -0
  14. package/prisma/skills/agent-self-evaluation/references/evaluation-criteria.md +71 -0
  15. package/prisma/skills/agent-self-evaluation/references/hook-integration.md +64 -0
  16. package/prisma/skills/agent-self-evaluation/scripts/evaluate.py +408 -0
  17. package/prisma/skills/agent-self-evaluation/templates/evaluation-report.md +86 -0
  18. package/prisma/skills/agent-sort/SKILL.md +216 -0
  19. package/prisma/skills/agentic-engineering/SKILL.md +64 -0
  20. package/prisma/skills/agentic-os/SKILL.md +388 -0
  21. package/prisma/skills/ai-first-engineering/SKILL.md +52 -0
  22. package/prisma/skills/ai-regression-testing/SKILL.md +386 -0
  23. package/prisma/skills/android-clean-architecture/SKILL.md +340 -0
  24. package/prisma/skills/angular-developer/SKILL.md +155 -0
  25. package/prisma/skills/angular-developer/references/angular-animations.md +160 -0
  26. package/prisma/skills/angular-developer/references/angular-aria.md +410 -0
  27. package/prisma/skills/angular-developer/references/cli.md +86 -0
  28. package/prisma/skills/angular-developer/references/component-harnesses.md +59 -0
  29. package/prisma/skills/angular-developer/references/component-styling.md +91 -0
  30. package/prisma/skills/angular-developer/references/components.md +117 -0
  31. package/prisma/skills/angular-developer/references/creating-services.md +97 -0
  32. package/prisma/skills/angular-developer/references/data-resolvers.md +69 -0
  33. package/prisma/skills/angular-developer/references/define-routes.md +67 -0
  34. package/prisma/skills/angular-developer/references/defining-providers.md +72 -0
  35. package/prisma/skills/angular-developer/references/di-fundamentals.md +120 -0
  36. package/prisma/skills/angular-developer/references/e2e-testing.md +56 -0
  37. package/prisma/skills/angular-developer/references/effects.md +83 -0
  38. package/prisma/skills/angular-developer/references/hierarchical-injectors.md +43 -0
  39. package/prisma/skills/angular-developer/references/host-elements.md +80 -0
  40. package/prisma/skills/angular-developer/references/injection-context.md +63 -0
  41. package/prisma/skills/angular-developer/references/inputs.md +101 -0
  42. package/prisma/skills/angular-developer/references/linked-signal.md +59 -0
  43. package/prisma/skills/angular-developer/references/loading-strategies.md +61 -0
  44. package/prisma/skills/angular-developer/references/mcp.md +108 -0
  45. package/prisma/skills/angular-developer/references/navigate-to-routes.md +69 -0
  46. package/prisma/skills/angular-developer/references/outputs.md +86 -0
  47. package/prisma/skills/angular-developer/references/reactive-forms.md +122 -0
  48. package/prisma/skills/angular-developer/references/rendering-strategies.md +44 -0
  49. package/prisma/skills/angular-developer/references/resource.md +77 -0
  50. package/prisma/skills/angular-developer/references/route-animations.md +56 -0
  51. package/prisma/skills/angular-developer/references/route-guards.md +52 -0
  52. package/prisma/skills/angular-developer/references/router-lifecycle.md +45 -0
  53. package/prisma/skills/angular-developer/references/router-testing.md +87 -0
  54. package/prisma/skills/angular-developer/references/show-routes-with-outlets.md +68 -0
  55. package/prisma/skills/angular-developer/references/signal-forms.md +795 -0
  56. package/prisma/skills/angular-developer/references/signals-overview.md +94 -0
  57. package/prisma/skills/angular-developer/references/tailwind-css.md +69 -0
  58. package/prisma/skills/angular-developer/references/template-driven-forms.md +114 -0
  59. package/prisma/skills/angular-developer/references/testing-fundamentals.md +65 -0
  60. package/prisma/skills/api-connector-builder/SKILL.md +121 -0
  61. package/prisma/skills/api-design/SKILL.md +524 -0
  62. package/prisma/skills/architecture-decision-records/SKILL.md +180 -0
  63. package/prisma/skills/article-writing/SKILL.md +80 -0
  64. package/prisma/skills/automation-audit-ops/SKILL.md +143 -0
  65. package/prisma/skills/autonomous-agent-harness/SKILL.md +274 -0
  66. package/prisma/skills/autonomous-loops/SKILL.md +611 -0
  67. package/prisma/skills/backend-patterns/SKILL.md +562 -0
  68. package/prisma/skills/benchmark/SKILL.md +94 -0
  69. package/prisma/skills/benchmark-methodology/SKILL.md +190 -0
  70. package/prisma/skills/benchmark-optimization-loop/SKILL.md +70 -0
  71. package/prisma/skills/blender-motion-state-inspection/SKILL.md +165 -0
  72. package/prisma/skills/blueprint/SKILL.md +106 -0
  73. package/prisma/skills/brand-discovery/SKILL.md +145 -0
  74. package/prisma/skills/brand-discovery/references/10_purpose-why.md +40 -0
  75. package/prisma/skills/brand-discovery/references/20_positioning.md +44 -0
  76. package/prisma/skills/brand-discovery/references/30_audience-niche.md +52 -0
  77. package/prisma/skills/brand-discovery/references/40_personality-archetype.md +57 -0
  78. package/prisma/skills/brand-discovery/references/50_voice-tone.md +59 -0
  79. package/prisma/skills/brand-discovery/references/60_narrative-story.md +50 -0
  80. package/prisma/skills/brand-discovery/references/70_founder-tension.md +49 -0
  81. package/prisma/skills/brand-discovery/references/90_SYNTHESIS.md +133 -0
  82. package/prisma/skills/brand-voice/SKILL.md +98 -0
  83. package/prisma/skills/brand-voice/references/voice-profile-schema.md +55 -0
  84. package/prisma/skills/browser-qa/SKILL.md +105 -0
  85. package/prisma/skills/bun-runtime/SKILL.md +85 -0
  86. package/prisma/skills/canary-watch/SKILL.md +108 -0
  87. package/prisma/skills/carrier-relationship-management/SKILL.md +212 -0
  88. package/prisma/skills/cisco-ios-patterns/SKILL.md +164 -0
  89. package/prisma/skills/ck/SKILL.md +148 -0
  90. package/prisma/skills/ck/commands/forget.mjs +44 -0
  91. package/prisma/skills/ck/commands/info.mjs +24 -0
  92. package/prisma/skills/ck/commands/init.mjs +143 -0
  93. package/prisma/skills/ck/commands/list.mjs +40 -0
  94. package/prisma/skills/ck/commands/migrate.mjs +202 -0
  95. package/prisma/skills/ck/commands/resume.mjs +36 -0
  96. package/prisma/skills/ck/commands/save.mjs +210 -0
  97. package/prisma/skills/ck/commands/shared.mjs +387 -0
  98. package/prisma/skills/ck/hooks/session-start.mjs +224 -0
  99. package/prisma/skills/claude-devfleet/SKILL.md +112 -0
  100. package/prisma/skills/click-path-audit/SKILL.md +245 -0
  101. package/prisma/skills/clickhouse-io/SKILL.md +440 -0
  102. package/prisma/skills/code-tour/SKILL.md +254 -0
  103. package/prisma/skills/codebase-onboarding/SKILL.md +234 -0
  104. package/prisma/skills/codehealth-mcp/SKILL.md +167 -0
  105. package/prisma/skills/coding-standards/SKILL.md +551 -0
  106. package/prisma/skills/competitive-platform-analysis/SKILL.md +214 -0
  107. package/prisma/skills/competitive-report-structure/SKILL.md +162 -0
  108. package/prisma/skills/compose-multiplatform-patterns/SKILL.md +300 -0
  109. package/prisma/skills/config-gc/SKILL.md +120 -0
  110. package/prisma/skills/configure-ecc/SKILL.md +385 -0
  111. package/prisma/skills/connections-optimizer/SKILL.md +190 -0
  112. package/prisma/skills/content-engine/SKILL.md +132 -0
  113. package/prisma/skills/content-hash-cache-pattern/SKILL.md +162 -0
  114. package/prisma/skills/context-budget/SKILL.md +136 -0
  115. package/prisma/skills/continuous-agent-loop/SKILL.md +46 -0
  116. package/prisma/skills/continuous-learning/SKILL.md +132 -0
  117. package/prisma/skills/continuous-learning/config.json +18 -0
  118. package/prisma/skills/continuous-learning/evaluate-session.sh +69 -0
  119. package/prisma/skills/continuous-learning-v2/SKILL.md +361 -0
  120. package/prisma/skills/continuous-learning-v2/agents/observer-loop.sh +359 -0
  121. package/prisma/skills/continuous-learning-v2/agents/observer.md +189 -0
  122. package/prisma/skills/continuous-learning-v2/agents/session-guardian.sh +150 -0
  123. package/prisma/skills/continuous-learning-v2/agents/start-observer.sh +248 -0
  124. package/prisma/skills/continuous-learning-v2/config.json +8 -0
  125. package/prisma/skills/continuous-learning-v2/hooks/observe.sh +585 -0
  126. package/prisma/skills/continuous-learning-v2/scripts/detect-project.sh +322 -0
  127. package/prisma/skills/continuous-learning-v2/scripts/instinct-cli.py +1956 -0
  128. package/prisma/skills/continuous-learning-v2/scripts/lib/homunculus-dir.sh +31 -0
  129. package/prisma/skills/continuous-learning-v2/scripts/migrate-homunculus.sh +68 -0
  130. package/prisma/skills/continuous-learning-v2/scripts/test_parse_instinct.py +1421 -0
  131. package/prisma/skills/cost-aware-llm-pipeline/SKILL.md +184 -0
  132. package/prisma/skills/cost-tracking/SKILL.md +97 -0
  133. package/prisma/skills/council/SKILL.md +204 -0
  134. package/prisma/skills/cpp-coding-standards/SKILL.md +724 -0
  135. package/prisma/skills/cpp-testing/SKILL.md +325 -0
  136. package/prisma/skills/crosspost/SKILL.md +112 -0
  137. package/prisma/skills/csharp-testing/SKILL.md +322 -0
  138. package/prisma/skills/customer-billing-ops/SKILL.md +141 -0
  139. package/prisma/skills/customs-trade-compliance/SKILL.md +263 -0
  140. package/prisma/skills/dart-flutter-patterns/SKILL.md +564 -0
  141. package/prisma/skills/dashboard-builder/SKILL.md +109 -0
  142. package/prisma/skills/data-scraper-agent/SKILL.md +765 -0
  143. package/prisma/skills/data-throughput-accelerator/SKILL.md +73 -0
  144. package/prisma/skills/database-migrations/SKILL.md +430 -0
  145. package/prisma/skills/deep-research/SKILL.md +160 -0
  146. package/prisma/skills/defi-amm-security/SKILL.md +167 -0
  147. package/prisma/skills/delivery-gate/SKILL.md +126 -0
  148. package/prisma/skills/delivery-gate/hooks/quality-gate.py +220 -0
  149. package/prisma/skills/deployment-patterns/SKILL.md +428 -0
  150. package/prisma/skills/design-system/SKILL.md +83 -0
  151. package/prisma/skills/django-celery/SKILL.md +458 -0
  152. package/prisma/skills/django-patterns/SKILL.md +735 -0
  153. package/prisma/skills/django-security/SKILL.md +644 -0
  154. package/prisma/skills/django-tdd/SKILL.md +730 -0
  155. package/prisma/skills/django-verification/SKILL.md +470 -0
  156. package/prisma/skills/dmux-workflows/SKILL.md +192 -0
  157. package/prisma/skills/docker-patterns/SKILL.md +365 -0
  158. package/prisma/skills/documentation-lookup/SKILL.md +91 -0
  159. package/prisma/skills/dotnet-patterns/SKILL.md +322 -0
  160. package/prisma/skills/dynamic-workflow-mode/SKILL.md +124 -0
  161. package/prisma/skills/e2e-testing/SKILL.md +327 -0
  162. package/prisma/skills/ecc-guide/SKILL.md +190 -0
  163. package/prisma/skills/ecc-recipes/SKILL.md +149 -0
  164. package/prisma/skills/ecc-tools-cost-audit/SKILL.md +161 -0
  165. package/prisma/skills/email-ops/SKILL.md +122 -0
  166. package/prisma/skills/energy-procurement/SKILL.md +228 -0
  167. package/prisma/skills/enterprise-agent-ops/SKILL.md +51 -0
  168. package/prisma/skills/error-handling/SKILL.md +377 -0
  169. package/prisma/skills/eval-harness/SKILL.md +271 -0
  170. package/prisma/skills/evm-token-decimals/SKILL.md +131 -0
  171. package/prisma/skills/exa-search/SKILL.md +108 -0
  172. package/prisma/skills/fal-ai-media/SKILL.md +289 -0
  173. package/prisma/skills/fastapi-patterns/SKILL.md +514 -0
  174. package/prisma/skills/finance-billing-ops/SKILL.md +128 -0
  175. package/prisma/skills/flox-environments/SKILL.md +497 -0
  176. package/prisma/skills/flutter-dart-code-review/SKILL.md +436 -0
  177. package/prisma/skills/foundation-models-on-device/SKILL.md +243 -0
  178. package/prisma/skills/frontend-a11y/SKILL.md +446 -0
  179. package/prisma/skills/frontend-design-direction/SKILL.md +93 -0
  180. package/prisma/skills/frontend-patterns/SKILL.md +657 -0
  181. package/prisma/skills/frontend-slides/SKILL.md +185 -0
  182. package/prisma/skills/frontend-slides/STYLE_PRESETS.md +330 -0
  183. package/prisma/skills/frontend-slides/animation-patterns.md +122 -0
  184. package/prisma/skills/frontend-slides/html-template.md +419 -0
  185. package/prisma/skills/frontend-slides/scripts/export-pdf.sh +418 -0
  186. package/prisma/skills/frontend-slides/scripts/extract-pptx.py +96 -0
  187. package/prisma/skills/frontend-slides/viewport-base.css +153 -0
  188. package/prisma/skills/fsharp-testing/SKILL.md +281 -0
  189. package/prisma/skills/gan-style-harness/SKILL.md +279 -0
  190. package/prisma/skills/gateguard/SKILL.md +133 -0
  191. package/prisma/skills/generating-python-installer/SKILL.md +820 -0
  192. package/prisma/skills/git-workflow/SKILL.md +716 -0
  193. package/prisma/skills/github-ops/SKILL.md +145 -0
  194. package/prisma/skills/golang-patterns/SKILL.md +675 -0
  195. package/prisma/skills/golang-testing/SKILL.md +721 -0
  196. package/prisma/skills/google-workspace-ops/SKILL.md +96 -0
  197. package/prisma/skills/growth-log/SKILL.md +128 -0
  198. package/prisma/skills/healthcare-cdss-patterns/SKILL.md +246 -0
  199. package/prisma/skills/healthcare-emr-patterns/SKILL.md +160 -0
  200. package/prisma/skills/healthcare-eval-harness/SKILL.md +208 -0
  201. package/prisma/skills/healthcare-phi-compliance/SKILL.md +146 -0
  202. package/prisma/skills/hermes-imports/SKILL.md +89 -0
  203. package/prisma/skills/hexagonal-architecture/SKILL.md +277 -0
  204. package/prisma/skills/hipaa-compliance/SKILL.md +79 -0
  205. package/prisma/skills/homelab-network-readiness/SKILL.md +170 -0
  206. package/prisma/skills/homelab-network-setup/SKILL.md +130 -0
  207. package/prisma/skills/homelab-pihole-dns/SKILL.md +275 -0
  208. package/prisma/skills/homelab-vlan-segmentation/SKILL.md +312 -0
  209. package/prisma/skills/homelab-wireguard-vpn/SKILL.md +306 -0
  210. package/prisma/skills/hookify-rules/SKILL.md +128 -0
  211. package/prisma/skills/inherit-legacy-style/SKILL.md +157 -0
  212. package/prisma/skills/intent-driven-development/SKILL.md +360 -0
  213. package/prisma/skills/inventory-demand-planning/SKILL.md +247 -0
  214. package/prisma/skills/investor-materials/SKILL.md +97 -0
  215. package/prisma/skills/investor-outreach/SKILL.md +92 -0
  216. package/prisma/skills/ios-icon-gen/SKILL.md +158 -0
  217. package/prisma/skills/ios-icon-gen/scripts/generate_icons.swift +258 -0
  218. package/prisma/skills/ios-icon-gen/scripts/iconify_gen.sh +235 -0
  219. package/prisma/skills/iterative-retrieval/SKILL.md +212 -0
  220. package/prisma/skills/ito-basket-compare/SKILL.md +64 -0
  221. package/prisma/skills/ito-data-atlas-agent/SKILL.md +64 -0
  222. package/prisma/skills/ito-market-intelligence/SKILL.md +61 -0
  223. package/prisma/skills/ito-trade-planner/SKILL.md +68 -0
  224. package/prisma/skills/java-coding-standards/SKILL.md +384 -0
  225. package/prisma/skills/jira-integration/SKILL.md +303 -0
  226. package/prisma/skills/jpa-patterns/SKILL.md +152 -0
  227. package/prisma/skills/knowledge-ops/SKILL.md +155 -0
  228. package/prisma/skills/kotlin-coroutines-flows/SKILL.md +285 -0
  229. package/prisma/skills/kotlin-exposed-patterns/SKILL.md +720 -0
  230. package/prisma/skills/kotlin-ktor-patterns/SKILL.md +690 -0
  231. package/prisma/skills/kotlin-patterns/SKILL.md +712 -0
  232. package/prisma/skills/kotlin-testing/SKILL.md +825 -0
  233. package/prisma/skills/kubernetes-patterns/SKILL.md +756 -0
  234. package/prisma/skills/laravel-patterns/SKILL.md +416 -0
  235. package/prisma/skills/laravel-plugin-discovery/SKILL.md +230 -0
  236. package/prisma/skills/laravel-security/SKILL.md +948 -0
  237. package/prisma/skills/laravel-tdd/SKILL.md +675 -0
  238. package/prisma/skills/laravel-verification/SKILL.md +180 -0
  239. package/prisma/skills/latency-critical-systems/SKILL.md +74 -0
  240. package/prisma/skills/lead-intelligence/SKILL.md +322 -0
  241. package/prisma/skills/lead-intelligence/agents/enrichment-agent.md +85 -0
  242. package/prisma/skills/lead-intelligence/agents/mutual-mapper.md +75 -0
  243. package/prisma/skills/lead-intelligence/agents/outreach-drafter.md +98 -0
  244. package/prisma/skills/lead-intelligence/agents/signal-scorer.md +60 -0
  245. package/prisma/skills/liquid-glass-design/SKILL.md +279 -0
  246. package/prisma/skills/llm-trading-agent-security/SKILL.md +147 -0
  247. package/prisma/skills/logistics-exception-management/SKILL.md +222 -0
  248. package/prisma/skills/loop-design-check/SKILL.md +143 -0
  249. package/prisma/skills/mailtrap-email-integration/SKILL.md +77 -0
  250. package/prisma/skills/make-interfaces-feel-better/SKILL.md +152 -0
  251. package/prisma/skills/manim-video/SKILL.md +90 -0
  252. package/prisma/skills/manim-video/assets/network_graph_scene.py +52 -0
  253. package/prisma/skills/market-research/SKILL.md +76 -0
  254. package/prisma/skills/marketing-campaign/SKILL.md +114 -0
  255. package/prisma/skills/mcp-server-patterns/SKILL.md +70 -0
  256. package/prisma/skills/messages-ops/SKILL.md +105 -0
  257. package/prisma/skills/ml-adoption-playbook/SKILL.md +57 -0
  258. package/prisma/skills/mle-workflow/SKILL.md +347 -0
  259. package/prisma/skills/motion-advanced/SKILL.md +596 -0
  260. package/prisma/skills/motion-foundations/SKILL.md +299 -0
  261. package/prisma/skills/motion-patterns/SKILL.md +434 -0
  262. package/prisma/skills/motion-ui/SKILL.md +576 -0
  263. package/prisma/skills/mysql-patterns/SKILL.md +413 -0
  264. package/prisma/skills/nanoclaw-repl/SKILL.md +34 -0
  265. package/prisma/skills/nestjs-patterns/SKILL.md +231 -0
  266. package/prisma/skills/netmiko-ssh-automation/SKILL.md +174 -0
  267. package/prisma/skills/network-bgp-diagnostics/SKILL.md +168 -0
  268. package/prisma/skills/network-config-validation/SKILL.md +211 -0
  269. package/prisma/skills/network-interface-health/SKILL.md +153 -0
  270. package/prisma/skills/nextjs-turbopack/SKILL.md +58 -0
  271. package/prisma/skills/nodejs-keccak256/SKILL.md +103 -0
  272. package/prisma/skills/nutrient-document-processing/SKILL.md +168 -0
  273. package/prisma/skills/nuxt4-patterns/SKILL.md +101 -0
  274. package/prisma/skills/openclaw-persona-forge/SKILL.md +289 -0
  275. package/prisma/skills/openclaw-persona-forge/gacha.py +224 -0
  276. package/prisma/skills/openclaw-persona-forge/gacha.sh +5 -0
  277. package/prisma/skills/openclaw-persona-forge/references/avatar-style.md +124 -0
  278. package/prisma/skills/openclaw-persona-forge/references/boundary-rules.md +53 -0
  279. package/prisma/skills/openclaw-persona-forge/references/error-handling.md +53 -0
  280. package/prisma/skills/openclaw-persona-forge/references/identity-tension.md +48 -0
  281. package/prisma/skills/openclaw-persona-forge/references/naming-system.md +39 -0
  282. package/prisma/skills/openclaw-persona-forge/references/output-template.md +166 -0
  283. package/prisma/skills/opensource-pipeline/SKILL.md +256 -0
  284. package/prisma/skills/orch-add-feature/SKILL.md +45 -0
  285. package/prisma/skills/orch-build-mvp/SKILL.md +49 -0
  286. package/prisma/skills/orch-change-feature/SKILL.md +43 -0
  287. package/prisma/skills/orch-fix-defect/SKILL.md +43 -0
  288. package/prisma/skills/orch-pipeline/SKILL.md +121 -0
  289. package/prisma/skills/orch-refine-code/SKILL.md +44 -0
  290. package/prisma/skills/parallel-execution-optimizer/SKILL.md +73 -0
  291. package/prisma/skills/perl-patterns/SKILL.md +505 -0
  292. package/prisma/skills/perl-security/SKILL.md +504 -0
  293. package/prisma/skills/perl-testing/SKILL.md +476 -0
  294. package/prisma/skills/plan-orchestrate/SKILL.md +263 -0
  295. package/prisma/skills/plankton-code-quality/SKILL.md +237 -0
  296. package/prisma/skills/postgres-patterns/SKILL.md +148 -0
  297. package/prisma/skills/prediction-market-oracle-research/SKILL.md +64 -0
  298. package/prisma/skills/prediction-market-risk-review/SKILL.md +61 -0
  299. package/prisma/skills/prisma-patterns/SKILL.md +401 -0
  300. package/prisma/skills/product-capability/SKILL.md +142 -0
  301. package/prisma/skills/product-lens/SKILL.md +93 -0
  302. package/prisma/skills/production-audit/SKILL.md +207 -0
  303. package/prisma/skills/production-scheduling/SKILL.md +238 -0
  304. package/prisma/skills/project-flow-ops/SKILL.md +112 -0
  305. package/prisma/skills/prompt-optimizer/SKILL.md +398 -0
  306. package/prisma/skills/python-patterns/SKILL.md +751 -0
  307. package/prisma/skills/python-testing/SKILL.md +817 -0
  308. package/prisma/skills/pytorch-patterns/SKILL.md +397 -0
  309. package/prisma/skills/quality-nonconformance/SKILL.md +260 -0
  310. package/prisma/skills/quarkus-patterns/SKILL.md +723 -0
  311. package/prisma/skills/quarkus-security/SKILL.md +468 -0
  312. package/prisma/skills/quarkus-tdd/SKILL.md +812 -0
  313. package/prisma/skills/quarkus-verification/SKILL.md +480 -0
  314. package/prisma/skills/ralphinho-rfc-pipeline/SKILL.md +68 -0
  315. package/prisma/skills/react-native-patterns/SKILL.md +326 -0
  316. package/prisma/skills/react-patterns/SKILL.md +342 -0
  317. package/prisma/skills/react-performance/SKILL.md +575 -0
  318. package/prisma/skills/react-testing/SKILL.md +424 -0
  319. package/prisma/skills/recsys-pipeline-architect/SKILL.md +115 -0
  320. package/prisma/skills/recursive-decision-ledger/SKILL.md +80 -0
  321. package/prisma/skills/redis-patterns/SKILL.md +404 -0
  322. package/prisma/skills/regex-vs-llm-structured-text/SKILL.md +221 -0
  323. package/prisma/skills/remotion-video-creation/SKILL.md +43 -0
  324. package/prisma/skills/remotion-video-creation/rules/3d.md +86 -0
  325. package/prisma/skills/remotion-video-creation/rules/animations.md +29 -0
  326. package/prisma/skills/remotion-video-creation/rules/assets/charts-bar-chart.tsx +173 -0
  327. package/prisma/skills/remotion-video-creation/rules/assets/text-animations-typewriter.tsx +100 -0
  328. package/prisma/skills/remotion-video-creation/rules/assets/text-animations-word-highlight.tsx +108 -0
  329. package/prisma/skills/remotion-video-creation/rules/assets.md +78 -0
  330. package/prisma/skills/remotion-video-creation/rules/audio.md +172 -0
  331. package/prisma/skills/remotion-video-creation/rules/calculate-metadata.md +104 -0
  332. package/prisma/skills/remotion-video-creation/rules/can-decode.md +75 -0
  333. package/prisma/skills/remotion-video-creation/rules/charts.md +58 -0
  334. package/prisma/skills/remotion-video-creation/rules/compositions.md +146 -0
  335. package/prisma/skills/remotion-video-creation/rules/display-captions.md +126 -0
  336. package/prisma/skills/remotion-video-creation/rules/extract-frames.md +229 -0
  337. package/prisma/skills/remotion-video-creation/rules/fonts.md +152 -0
  338. package/prisma/skills/remotion-video-creation/rules/get-audio-duration.md +58 -0
  339. package/prisma/skills/remotion-video-creation/rules/get-video-dimensions.md +68 -0
  340. package/prisma/skills/remotion-video-creation/rules/get-video-duration.md +58 -0
  341. package/prisma/skills/remotion-video-creation/rules/gifs.md +138 -0
  342. package/prisma/skills/remotion-video-creation/rules/images.md +130 -0
  343. package/prisma/skills/remotion-video-creation/rules/import-srt-captions.md +67 -0
  344. package/prisma/skills/remotion-video-creation/rules/lottie.md +67 -0
  345. package/prisma/skills/remotion-video-creation/rules/measuring-dom-nodes.md +34 -0
  346. package/prisma/skills/remotion-video-creation/rules/measuring-text.md +143 -0
  347. package/prisma/skills/remotion-video-creation/rules/sequencing.md +106 -0
  348. package/prisma/skills/remotion-video-creation/rules/tailwind.md +11 -0
  349. package/prisma/skills/remotion-video-creation/rules/text-animations.md +20 -0
  350. package/prisma/skills/remotion-video-creation/rules/timing.md +179 -0
  351. package/prisma/skills/remotion-video-creation/rules/transcribe-captions.md +19 -0
  352. package/prisma/skills/remotion-video-creation/rules/transitions.md +122 -0
  353. package/prisma/skills/remotion-video-creation/rules/trimming.md +52 -0
  354. package/prisma/skills/remotion-video-creation/rules/videos.md +171 -0
  355. package/prisma/skills/repo-scan/SKILL.md +79 -0
  356. package/prisma/skills/research-ops/SKILL.md +113 -0
  357. package/prisma/skills/returns-reverse-logistics/SKILL.md +240 -0
  358. package/prisma/skills/rules-distill/SKILL.md +265 -0
  359. package/prisma/skills/rules-distill/scripts/scan-rules.sh +58 -0
  360. package/prisma/skills/rules-distill/scripts/scan-skills.sh +129 -0
  361. package/prisma/skills/rust-patterns/SKILL.md +500 -0
  362. package/prisma/skills/rust-testing/SKILL.md +501 -0
  363. package/prisma/skills/safety-guard/SKILL.md +76 -0
  364. package/prisma/skills/santa-method/SKILL.md +307 -0
  365. package/prisma/skills/scientific-db-pubmed-database/SKILL.md +176 -0
  366. package/prisma/skills/scientific-db-uspto-database/SKILL.md +178 -0
  367. package/prisma/skills/scientific-pkg-gget/SKILL.md +167 -0
  368. package/prisma/skills/scientific-thinking-literature-review/SKILL.md +193 -0
  369. package/prisma/skills/scientific-thinking-scholar-evaluation/SKILL.md +161 -0
  370. package/prisma/skills/search-first/SKILL.md +183 -0
  371. package/prisma/skills/security-bounty-hunter/SKILL.md +100 -0
  372. package/prisma/skills/security-review/SKILL.md +504 -0
  373. package/prisma/skills/security-review/cloud-infrastructure-security.md +361 -0
  374. package/prisma/skills/security-scan/SKILL.md +166 -0
  375. package/prisma/skills/seo/SKILL.md +155 -0
  376. package/prisma/skills/skill-comply/SKILL.md +59 -0
  377. package/prisma/skills/skill-comply/fixtures/compliant_trace.jsonl +5 -0
  378. package/prisma/skills/skill-comply/fixtures/noncompliant_trace.jsonl +3 -0
  379. package/prisma/skills/skill-comply/fixtures/tdd_spec.yaml +44 -0
  380. package/prisma/skills/skill-comply/prompts/classifier.md +24 -0
  381. package/prisma/skills/skill-comply/prompts/scenario_generator.md +62 -0
  382. package/prisma/skills/skill-comply/prompts/spec_generator.md +42 -0
  383. package/prisma/skills/skill-comply/pyproject.toml +15 -0
  384. package/prisma/skills/skill-comply/scripts/__init__.py +0 -0
  385. package/prisma/skills/skill-comply/scripts/classifier.py +85 -0
  386. package/prisma/skills/skill-comply/scripts/grader.py +124 -0
  387. package/prisma/skills/skill-comply/scripts/parser.py +107 -0
  388. package/prisma/skills/skill-comply/scripts/report.py +170 -0
  389. package/prisma/skills/skill-comply/scripts/run.py +127 -0
  390. package/prisma/skills/skill-comply/scripts/runner.py +194 -0
  391. package/prisma/skills/skill-comply/scripts/scenario_generator.py +70 -0
  392. package/prisma/skills/skill-comply/scripts/spec_generator.py +72 -0
  393. package/prisma/skills/skill-comply/scripts/utils.py +13 -0
  394. package/prisma/skills/skill-comply/tests/test_grader.py +197 -0
  395. package/prisma/skills/skill-comply/tests/test_parser.py +90 -0
  396. package/prisma/skills/skill-comply/tests/test_runner.py +172 -0
  397. package/prisma/skills/skill-scout/SKILL.md +141 -0
  398. package/prisma/skills/skill-stocktake/SKILL.md +195 -0
  399. package/prisma/skills/skill-stocktake/scripts/quick-diff.sh +87 -0
  400. package/prisma/skills/skill-stocktake/scripts/save-results.sh +56 -0
  401. package/prisma/skills/skill-stocktake/scripts/scan.sh +170 -0
  402. package/prisma/skills/social-graph-ranker/SKILL.md +155 -0
  403. package/prisma/skills/social-publisher/SKILL.md +130 -0
  404. package/prisma/skills/springboot-patterns/SKILL.md +315 -0
  405. package/prisma/skills/springboot-security/SKILL.md +273 -0
  406. package/prisma/skills/springboot-tdd/SKILL.md +159 -0
  407. package/prisma/skills/springboot-verification/SKILL.md +232 -0
  408. package/prisma/skills/strategic-compact/SKILL.md +136 -0
  409. package/prisma/skills/swift-actor-persistence/SKILL.md +144 -0
  410. package/prisma/skills/swift-concurrency-6-2/SKILL.md +216 -0
  411. package/prisma/skills/swift-protocol-di-testing/SKILL.md +191 -0
  412. package/prisma/skills/swiftui-patterns/SKILL.md +259 -0
  413. package/prisma/skills/taste/SKILL.md +264 -0
  414. package/prisma/skills/taste/references/genre-taxonomy.md +87 -0
  415. package/prisma/skills/tdd-workflow/SKILL.md +583 -0
  416. package/prisma/skills/team-agent-orchestration/SKILL.md +111 -0
  417. package/prisma/skills/team-builder/SKILL.md +169 -0
  418. package/prisma/skills/terminal-ops/SKILL.md +110 -0
  419. package/prisma/skills/tinystruct-patterns/SKILL.md +279 -0
  420. package/prisma/skills/tinystruct-patterns/references/architecture.md +90 -0
  421. package/prisma/skills/tinystruct-patterns/references/data-handling.md +60 -0
  422. package/prisma/skills/tinystruct-patterns/references/database.md +99 -0
  423. package/prisma/skills/tinystruct-patterns/references/routing.md +64 -0
  424. package/prisma/skills/tinystruct-patterns/references/system-usage.md +97 -0
  425. package/prisma/skills/tinystruct-patterns/references/testing.md +72 -0
  426. package/prisma/skills/token-budget-advisor/SKILL.md +134 -0
  427. package/prisma/skills/ui-demo/SKILL.md +466 -0
  428. package/prisma/skills/ui-to-vue/SKILL.md +135 -0
  429. package/prisma/skills/uncloud/SKILL.md +344 -0
  430. package/prisma/skills/unified-notifications-ops/SKILL.md +188 -0
  431. package/prisma/skills/verification-loop/SKILL.md +127 -0
  432. package/prisma/skills/video-editing/SKILL.md +311 -0
  433. package/prisma/skills/videodb/SKILL.md +375 -0
  434. package/prisma/skills/videodb/reference/api-reference.md +550 -0
  435. package/prisma/skills/videodb/reference/capture-reference.md +407 -0
  436. package/prisma/skills/videodb/reference/capture.md +101 -0
  437. package/prisma/skills/videodb/reference/editor.md +443 -0
  438. package/prisma/skills/videodb/reference/generative.md +331 -0
  439. package/prisma/skills/videodb/reference/rtstream-reference.md +564 -0
  440. package/prisma/skills/videodb/reference/rtstream.md +65 -0
  441. package/prisma/skills/videodb/reference/search.md +230 -0
  442. package/prisma/skills/videodb/reference/streaming.md +406 -0
  443. package/prisma/skills/videodb/reference/use-cases.md +118 -0
  444. package/prisma/skills/videodb/scripts/ws_listener.py +282 -0
  445. package/prisma/skills/visa-doc-translate/README.md +86 -0
  446. package/prisma/skills/visa-doc-translate/SKILL.md +117 -0
  447. package/prisma/skills/vite-patterns/SKILL.md +450 -0
  448. package/prisma/skills/vue-patterns/SKILL.md +471 -0
  449. package/prisma/skills/windows-desktop-e2e/SKILL.md +888 -0
  450. package/prisma/skills/workspace-surface-audit/SKILL.md +126 -0
  451. package/prisma/skills/x-api/SKILL.md +235 -0
@@ -0,0 +1,153 @@
1
+ ---
2
+ name: network-interface-health
3
+ description: Diagnose interface errors, drops, CRCs, duplex mismatches, flapping, speed negotiation issues, and counter trends on routers, switches, and Linux hosts.
4
+ metadata:
5
+ origin: community
6
+ ---
7
+
8
+ # Network Interface Health
9
+
10
+ Use this skill when a network symptom might be caused by a physical link, switch
11
+ port, cable, transceiver, duplex setting, or congested interface.
12
+
13
+ ## When to Use
14
+
15
+ - A host or VLAN has packet loss, latency spikes, or intermittent reachability.
16
+ - A switch or router interface shows CRCs, runts, giants, drops, resets, or flaps.
17
+ - You need to compare both ends of a link before replacing hardware.
18
+ - A change window needs before/after interface counter evidence.
19
+ - Monitoring reports rising `ifInErrors`, `ifOutErrors`, or `ifOutDiscards`.
20
+
21
+ ## How It Works
22
+
23
+ Interface counters are evidence, but the trend matters more than the absolute
24
+ number. Capture a baseline, wait a measurement interval, capture again, then
25
+ compare increments.
26
+
27
+ ```text
28
+ show interfaces <interface>
29
+ show interfaces <interface> status
30
+ show logging | include <interface>|changed state|line protocol
31
+ ```
32
+
33
+ On Linux hosts:
34
+
35
+ ```text
36
+ ip -s link show <interface>
37
+ ethtool <interface>
38
+ ethtool -S <interface>
39
+ ```
40
+
41
+ ## Counter Reference
42
+
43
+ | Counter | Meaning | Common cause |
44
+ | --- | --- | --- |
45
+ | CRC | Received frame checksum failed | Bad cable, dirty fiber, bad optic, duplex mismatch |
46
+ | input errors | Aggregate receive-side errors | Check sub-counters before concluding |
47
+ | runts | Frames below minimum Ethernet size | Duplex mismatch, collision domain, faulty NIC |
48
+ | giants | Frames larger than expected MTU | MTU mismatch or jumbo-frame boundary |
49
+ | input drops | Device could not accept inbound packets | Burst, oversubscription, CPU path, queue pressure |
50
+ | output drops | Egress queue discarded packets | Congestion, QoS policy, undersized uplink |
51
+ | resets | Interface hardware reset | Flapping, keepalive, driver, optic, power |
52
+ | collisions | Ethernet collision counter | Half duplex or negotiation mismatch |
53
+
54
+ ## Diagnosis Flow
55
+
56
+ ### CRCs Or Input Errors
57
+
58
+ 1. Confirm counters are incrementing, not just historical.
59
+ 2. Check both ends of the link. Receive-side errors usually point to the signal
60
+ arriving on that side, not necessarily the port reporting the error.
61
+ 3. Replace patch cable or clean/replace fiber and optics.
62
+ 4. Confirm speed/duplex settings match on both sides.
63
+ 5. Check logs for flap events around the same timestamp.
64
+
65
+ ### Drops
66
+
67
+ 1. Separate input drops from output drops.
68
+ 2. Compare interface rate against capacity.
69
+ 3. Check QoS policy, queue counters, and whether the link is an oversubscribed
70
+ uplink.
71
+ 4. Treat queue tuning as secondary. First prove whether the link is congested.
72
+
73
+ ### Duplex And Speed
74
+
75
+ Prefer auto-negotiation on modern Ethernet links when both sides support it. If
76
+ one side must be fixed, configure both sides explicitly and document why. Never
77
+ mix fixed speed/duplex on one side with auto on the other.
78
+
79
+ ```text
80
+ show interfaces <interface> | include duplex|speed
81
+ ```
82
+
83
+ ## Safe Parser Example
84
+
85
+ Slice each interface block from one header to the next. Do not use an arbitrary
86
+ character window; large interface blocks can cause counters to be missed or
87
+ assigned to the wrong port.
88
+
89
+ ```python
90
+ import re
91
+ from typing import Any
92
+
93
+ HEADER_RE = re.compile(
94
+ r"^(?P<name>\S+) is (?P<status>(?:administratively )?down|up), "
95
+ r"line protocol is (?P<protocol>up|down)",
96
+ re.I | re.M,
97
+ )
98
+ ERROR_RE = re.compile(r"(?P<input>\d+) input errors, (?P<crc>\d+) CRC", re.I)
99
+ DROP_RE = re.compile(r"(?P<output>\d+) output errors", re.I)
100
+ DUPLEX_RE = re.compile(r"(?P<duplex>Full|Half|Auto)-duplex,\s+(?P<speed>[^,]+)", re.I)
101
+
102
+ def parse_show_interfaces(raw: str) -> list[dict[str, Any]]:
103
+ headers = list(HEADER_RE.finditer(raw))
104
+ interfaces = []
105
+ for index, header in enumerate(headers):
106
+ end = headers[index + 1].start() if index + 1 < len(headers) else len(raw)
107
+ block = raw[header.start():end]
108
+ errors = ERROR_RE.search(block)
109
+ drops = DROP_RE.search(block)
110
+ duplex = DUPLEX_RE.search(block)
111
+ interfaces.append({
112
+ "name": header.group("name"),
113
+ "status": header.group("status"),
114
+ "protocol": header.group("protocol"),
115
+ "duplex": duplex.group("duplex") if duplex else "unknown",
116
+ "speed": duplex.group("speed").strip() if duplex else "unknown",
117
+ "input_errors": int(errors.group("input")) if errors else 0,
118
+ "crc_errors": int(errors.group("crc")) if errors else 0,
119
+ "output_errors": int(drops.group("output")) if drops else 0,
120
+ })
121
+ return interfaces
122
+ ```
123
+
124
+ ## Examples
125
+
126
+ ### CRCs On One Switch Port
127
+
128
+ 1. Capture counters on the local port.
129
+ 2. Capture counters on the connected remote port.
130
+ 3. Replace the cable or optic before changing routing or firewall rules.
131
+ 4. Clear counters only after recording the baseline.
132
+ 5. Recheck after a fixed interval.
133
+
134
+ ### Internet Slow But LAN Is Fine
135
+
136
+ 1. Check WAN interface drops/errors.
137
+ 2. Check LAN uplink utilization and output drops.
138
+ 3. Check gateway CPU if the WAN link is clean but throughput is still low.
139
+ 4. Compare wired and wireless tests before blaming upstream service.
140
+
141
+ ## Anti-Patterns
142
+
143
+ - Clearing counters before saving a baseline.
144
+ - Looking at only one side of a link.
145
+ - Assuming all historical CRCs are active problems without a time window.
146
+ - Mixing auto-negotiation on one side with fixed speed/duplex on the other.
147
+ - Treating output drops as a cable problem before checking congestion.
148
+
149
+ ## See Also
150
+
151
+ - Agent: `network-troubleshooter`
152
+ - Skill: `network-config-validation`
153
+ - Skill: `homelab-network-setup`
@@ -0,0 +1,58 @@
1
+ ---
2
+ name: nextjs-turbopack
3
+ description: Next.js 16+ and Turbopack — incremental bundling, FS caching, dev speed, and when to use Turbopack vs webpack.
4
+ metadata:
5
+ origin: ECC
6
+ ---
7
+
8
+ # Next.js and Turbopack
9
+
10
+ Next.js 16+ uses Turbopack by default for local development: an incremental bundler written in Rust that significantly speeds up dev startup and hot updates.
11
+
12
+ ## When to Use
13
+
14
+ - **Turbopack (default dev)**: Use for day-to-day development. Faster cold start and HMR, especially in large apps.
15
+ - **Webpack (legacy dev)**: Use only if you hit a Turbopack bug or rely on a webpack-only plugin in dev. Disable with `--webpack` (or `--no-turbopack` depending on your Next.js version; check the docs for your release).
16
+ - **Production**: Production build behavior (`next build`) may use Turbopack or webpack depending on Next.js version; check the official Next.js docs for your version.
17
+
18
+ Use when: developing or debugging Next.js 16+ apps, diagnosing slow dev startup or HMR, or optimizing production bundles.
19
+
20
+ ## How It Works
21
+
22
+ - **Turbopack**: Incremental bundler for Next.js dev. Uses file-system caching so restarts are much faster (e.g. 5–14x on large projects).
23
+ - **Default in dev**: From Next.js 16, `next dev` runs with Turbopack unless disabled.
24
+ - **File-system caching**: Restarts reuse previous work; cache is typically under `.next`; no extra config needed for basic use.
25
+ - **Bundle Analyzer (Next.js 16.1+)**: Experimental Bundle Analyzer to inspect output and find heavy dependencies; enable via config or experimental flag (see Next.js docs for your version).
26
+
27
+ ## Examples
28
+
29
+ ### Commands
30
+
31
+ ```bash
32
+ next dev
33
+ next build
34
+ next start
35
+ ```
36
+
37
+ ### Usage
38
+
39
+ Run `next dev` for local development with Turbopack. Use the Bundle Analyzer (see Next.js docs) to optimize code-splitting and trim large dependencies. Prefer App Router and server components where possible.
40
+
41
+ ## Middleware File Naming
42
+
43
+ Next.js 16 introduced `proxy.ts` as the middleware filename, replacing the older `middleware.ts` convention:
44
+
45
+ - **Next.js 16+**: use `proxy.ts` at the project root
46
+ - **Pre-Next.js 16**: use `middleware.ts` at the project root
47
+
48
+ The filename change is tied to the **Next.js version**, not to which bundler (Turbopack or webpack) is in use. Always check the official docs for the version you are reviewing.
49
+
50
+ **Do not flag `proxy.ts` as a misnamed or missing middleware file in Next.js 16 projects.** The file is correct and intentional. Suggesting a rename to `middleware.ts` will break middleware execution.
51
+
52
+ Reference: [Next.js proxy docs](https://nextjs.org/docs/app/getting-started/proxy)
53
+
54
+ ## Best Practices
55
+
56
+ - Stay on a recent Next.js 16.x for stable Turbopack and caching behavior.
57
+ - If dev is slow, ensure you're on Turbopack (default) and that the cache isn't being cleared unnecessarily.
58
+ - For production bundle size issues, use the official Next.js bundle analysis tooling for your version.
@@ -0,0 +1,103 @@
1
+ ---
2
+ name: nodejs-keccak256
3
+ description: Prevent Ethereum hashing bugs in JavaScript and TypeScript. Node's sha3-256 is NIST SHA3, not Ethereum Keccak-256, and silently breaks selectors, signatures, storage slots, and address derivation.
4
+ metadata:
5
+ origin: ECC direct-port adaptation
6
+ version: "1.0.0"
7
+ ---
8
+
9
+ # Node.js Keccak-256
10
+
11
+ Ethereum uses Keccak-256, not the NIST-standardized SHA3 variant exposed by Node's `crypto.createHash('sha3-256')`.
12
+
13
+ ## When to Use
14
+
15
+ - Computing Ethereum function selectors or event topics
16
+ - Building EIP-712, signature, Merkle, or storage-slot helpers in JS/TS
17
+ - Reviewing any code that hashes Ethereum data with Node crypto directly
18
+
19
+ ## How It Works
20
+
21
+ The two algorithms produce different outputs for the same input, and Node will not warn you.
22
+
23
+ ```javascript
24
+ import crypto from 'crypto';
25
+ import { keccak256, toUtf8Bytes } from 'ethers';
26
+
27
+ const data = 'hello';
28
+ const nistSha3 = crypto.createHash('sha3-256').update(data).digest('hex');
29
+ const keccak = keccak256(toUtf8Bytes(data)).slice(2);
30
+
31
+ console.log(nistSha3 === keccak); // false
32
+ ```
33
+
34
+ ## Examples
35
+
36
+ ### ethers v6
37
+
38
+ ```typescript
39
+ import { keccak256, toUtf8Bytes, solidityPackedKeccak256, id } from 'ethers';
40
+
41
+ const hash = keccak256(new Uint8Array([0x01, 0x02]));
42
+ const hash2 = keccak256(toUtf8Bytes('hello'));
43
+ const topic = id('Transfer(address,address,uint256)');
44
+ const packed = solidityPackedKeccak256(
45
+ ['address', 'uint256'],
46
+ ['0x742d35Cc6634C0532925a3b8D4C9B569890FaC1c', 100n],
47
+ );
48
+ ```
49
+
50
+ ### viem
51
+
52
+ ```typescript
53
+ import { keccak256, toBytes } from 'viem';
54
+
55
+ const hash = keccak256(toBytes('hello'));
56
+ ```
57
+
58
+ ### web3.js
59
+
60
+ ```javascript
61
+ const hash = web3.utils.keccak256('hello');
62
+ const packed = web3.utils.soliditySha3(
63
+ { type: 'address', value: '0x742d35Cc6634C0532925a3b8D4C9B569890FaC1c' },
64
+ { type: 'uint256', value: '100' },
65
+ );
66
+ ```
67
+
68
+ ### Common patterns
69
+
70
+ ```typescript
71
+ import { id, keccak256, AbiCoder } from 'ethers';
72
+
73
+ const selector = id('transfer(address,uint256)').slice(0, 10);
74
+ const typeHash = keccak256(toUtf8Bytes('Transfer(address from,address to,uint256 value)'));
75
+
76
+ function getMappingSlot(key: string, mappingSlot: number): string {
77
+ return keccak256(
78
+ AbiCoder.defaultAbiCoder().encode(['address', 'uint256'], [key, mappingSlot]),
79
+ );
80
+ }
81
+ ```
82
+
83
+ ### Address from public key
84
+
85
+ ```typescript
86
+ import { keccak256 } from 'ethers';
87
+
88
+ function pubkeyToAddress(pubkeyBytes: Uint8Array): string {
89
+ const hash = keccak256(pubkeyBytes.slice(1));
90
+ return '0x' + hash.slice(-40);
91
+ }
92
+ ```
93
+
94
+ ### Audit your codebase
95
+
96
+ ```bash
97
+ grep -rn "createHash.*sha3" --include="*.ts" --include="*.js" --exclude-dir=node_modules .
98
+ grep -rn "keccak256" --include="*.ts" --include="*.js" . | grep -v node_modules
99
+ ```
100
+
101
+ ## Rule
102
+
103
+ For Ethereum contexts, never use `crypto.createHash('sha3-256')`. Use Keccak-aware helpers from `ethers`, `viem`, `web3`, or another explicit Keccak implementation.
@@ -0,0 +1,168 @@
1
+ ---
2
+ name: nutrient-document-processing
3
+ description: Process, convert, OCR, extract, redact, sign, and fill documents using the Nutrient DWS API. Works with PDFs, DOCX, XLSX, PPTX, HTML, and images.
4
+ metadata:
5
+ origin: ECC
6
+ ---
7
+
8
+ # Nutrient Document Processing
9
+
10
+ > **Note:** This skill integrates with the Nutrient commercial API. Review their terms before use.
11
+
12
+ Process documents with the [Nutrient DWS Processor API](https://www.nutrient.io/api/). Convert formats, extract text and tables, OCR scanned documents, redact PII, add watermarks, digitally sign, and fill PDF forms.
13
+
14
+ ## Setup
15
+
16
+ Get a free API key at **[nutrient.io](https://dashboard.nutrient.io/sign_up/?product=processor)**
17
+
18
+ ```bash
19
+ export NUTRIENT_API_KEY="pdf_live_..."
20
+ ```
21
+
22
+ All requests go to `https://api.nutrient.io/build` as multipart POST with an `instructions` JSON field.
23
+
24
+ ## Operations
25
+
26
+ ### Convert Documents
27
+
28
+ ```bash
29
+ # DOCX to PDF
30
+ curl -X POST https://api.nutrient.io/build \
31
+ -H "Authorization: Bearer $NUTRIENT_API_KEY" \
32
+ -F "document.docx=@document.docx" \
33
+ -F 'instructions={"parts":[{"file":"document.docx"}]}' \
34
+ -o output.pdf
35
+
36
+ # PDF to DOCX
37
+ curl -X POST https://api.nutrient.io/build \
38
+ -H "Authorization: Bearer $NUTRIENT_API_KEY" \
39
+ -F "document.pdf=@document.pdf" \
40
+ -F 'instructions={"parts":[{"file":"document.pdf"}],"output":{"type":"docx"}}' \
41
+ -o output.docx
42
+
43
+ # HTML to PDF
44
+ curl -X POST https://api.nutrient.io/build \
45
+ -H "Authorization: Bearer $NUTRIENT_API_KEY" \
46
+ -F "index.html=@index.html" \
47
+ -F 'instructions={"parts":[{"html":"index.html"}]}' \
48
+ -o output.pdf
49
+ ```
50
+
51
+ Supported inputs: PDF, DOCX, XLSX, PPTX, DOC, XLS, PPT, PPS, PPSX, ODT, RTF, HTML, JPG, PNG, TIFF, HEIC, GIF, WebP, SVG, TGA, EPS.
52
+
53
+ ### Extract Text and Data
54
+
55
+ ```bash
56
+ # Extract plain text
57
+ curl -X POST https://api.nutrient.io/build \
58
+ -H "Authorization: Bearer $NUTRIENT_API_KEY" \
59
+ -F "document.pdf=@document.pdf" \
60
+ -F 'instructions={"parts":[{"file":"document.pdf"}],"output":{"type":"text"}}' \
61
+ -o output.txt
62
+
63
+ # Extract tables as Excel
64
+ curl -X POST https://api.nutrient.io/build \
65
+ -H "Authorization: Bearer $NUTRIENT_API_KEY" \
66
+ -F "document.pdf=@document.pdf" \
67
+ -F 'instructions={"parts":[{"file":"document.pdf"}],"output":{"type":"xlsx"}}' \
68
+ -o tables.xlsx
69
+ ```
70
+
71
+ ### OCR Scanned Documents
72
+
73
+ ```bash
74
+ # OCR to searchable PDF (supports 100+ languages)
75
+ curl -X POST https://api.nutrient.io/build \
76
+ -H "Authorization: Bearer $NUTRIENT_API_KEY" \
77
+ -F "scanned.pdf=@scanned.pdf" \
78
+ -F 'instructions={"parts":[{"file":"scanned.pdf"}],"actions":[{"type":"ocr","language":"english"}]}' \
79
+ -o searchable.pdf
80
+ ```
81
+
82
+ Languages: Supports 100+ languages via ISO 639-2 codes (e.g., `eng`, `deu`, `fra`, `spa`, `jpn`, `kor`, `chi_sim`, `chi_tra`, `ara`, `hin`, `rus`). Full language names like `english` or `german` also work. See the [complete OCR language table](https://www.nutrient.io/guides/document-engine/ocr/language-support/) for all supported codes.
83
+
84
+ ### Redact Sensitive Information
85
+
86
+ ```bash
87
+ # Pattern-based (SSN, email)
88
+ curl -X POST https://api.nutrient.io/build \
89
+ -H "Authorization: Bearer $NUTRIENT_API_KEY" \
90
+ -F "document.pdf=@document.pdf" \
91
+ -F 'instructions={"parts":[{"file":"document.pdf"}],"actions":[{"type":"redaction","strategy":"preset","strategyOptions":{"preset":"social-security-number"}},{"type":"redaction","strategy":"preset","strategyOptions":{"preset":"email-address"}}]}' \
92
+ -o redacted.pdf
93
+
94
+ # Regex-based
95
+ curl -X POST https://api.nutrient.io/build \
96
+ -H "Authorization: Bearer $NUTRIENT_API_KEY" \
97
+ -F "document.pdf=@document.pdf" \
98
+ -F 'instructions={"parts":[{"file":"document.pdf"}],"actions":[{"type":"redaction","strategy":"regex","strategyOptions":{"regex":"\\b[A-Z]{2}\\d{6}\\b"}}]}' \
99
+ -o redacted.pdf
100
+ ```
101
+
102
+ Presets: `social-security-number`, `email-address`, `credit-card-number`, `international-phone-number`, `north-american-phone-number`, `date`, `time`, `url`, `ipv4`, `ipv6`, `mac-address`, `us-zip-code`, `vin`.
103
+
104
+ ### Add Watermarks
105
+
106
+ ```bash
107
+ curl -X POST https://api.nutrient.io/build \
108
+ -H "Authorization: Bearer $NUTRIENT_API_KEY" \
109
+ -F "document.pdf=@document.pdf" \
110
+ -F 'instructions={"parts":[{"file":"document.pdf"}],"actions":[{"type":"watermark","text":"CONFIDENTIAL","fontSize":72,"opacity":0.3,"rotation":-45}]}' \
111
+ -o watermarked.pdf
112
+ ```
113
+
114
+ ### Digital Signatures
115
+
116
+ ```bash
117
+ # Self-signed CMS signature
118
+ curl -X POST https://api.nutrient.io/build \
119
+ -H "Authorization: Bearer $NUTRIENT_API_KEY" \
120
+ -F "document.pdf=@document.pdf" \
121
+ -F 'instructions={"parts":[{"file":"document.pdf"}],"actions":[{"type":"sign","signatureType":"cms"}]}' \
122
+ -o signed.pdf
123
+ ```
124
+
125
+ ### Fill PDF Forms
126
+
127
+ ```bash
128
+ curl -X POST https://api.nutrient.io/build \
129
+ -H "Authorization: Bearer $NUTRIENT_API_KEY" \
130
+ -F "form.pdf=@form.pdf" \
131
+ -F 'instructions={"parts":[{"file":"form.pdf"}],"actions":[{"type":"fillForm","formFields":{"name":"Jane Smith","email":"jane@example.com","date":"2026-02-06"}}]}' \
132
+ -o filled.pdf
133
+ ```
134
+
135
+ ## MCP Server (Alternative)
136
+
137
+ For native tool integration, use the MCP server instead of curl:
138
+
139
+ ```json
140
+ {
141
+ "mcpServers": {
142
+ "nutrient-dws": {
143
+ "command": "npx",
144
+ "args": ["-y", "@nutrient-sdk/dws-mcp-server"],
145
+ "env": {
146
+ "NUTRIENT_DWS_API_KEY": "YOUR_API_KEY",
147
+ "SANDBOX_PATH": "/path/to/working/directory"
148
+ }
149
+ }
150
+ }
151
+ }
152
+ ```
153
+
154
+ ## When to Use
155
+
156
+ - Converting documents between formats (PDF, DOCX, XLSX, PPTX, HTML, images)
157
+ - Extracting text, tables, or key-value pairs from PDFs
158
+ - OCR on scanned documents or images
159
+ - Redacting PII before sharing documents
160
+ - Adding watermarks to drafts or confidential documents
161
+ - Digitally signing contracts or agreements
162
+ - Filling PDF forms programmatically
163
+
164
+ ## Links
165
+
166
+ - [API Playground](https://dashboard.nutrient.io/processor-api/playground/)
167
+ - [Full API Docs](https://www.nutrient.io/guides/dws-processor/)
168
+ - [npm MCP Server](https://www.npmjs.com/package/@nutrient-sdk/dws-mcp-server)
@@ -0,0 +1,101 @@
1
+ ---
2
+ name: nuxt4-patterns
3
+ description: Nuxt 4 app patterns for hydration safety, performance, route rules, lazy loading, and SSR-safe data fetching with useFetch and useAsyncData.
4
+ metadata:
5
+ origin: ECC
6
+ ---
7
+
8
+ # Nuxt 4 Patterns
9
+
10
+ Use when building or debugging Nuxt 4 apps with SSR, hybrid rendering, route rules, or page-level data fetching.
11
+
12
+ ## When to Activate
13
+
14
+ - Hydration mismatches between server HTML and client state
15
+ - Route-level rendering decisions such as prerender, SWR, ISR, or client-only sections
16
+ - Performance work around lazy loading, lazy hydration, or payload size
17
+ - Page or component data fetching with `useFetch`, `useAsyncData`, or `$fetch`
18
+ - Nuxt routing issues tied to route params, middleware, or SSR/client differences
19
+
20
+ ## Hydration Safety
21
+
22
+ - Keep the first render deterministic. Do not put `Date.now()`, `Math.random()`, browser-only APIs, or storage reads directly into SSR-rendered template state.
23
+ - Move browser-only logic behind `onMounted()`, `import.meta.client`, `ClientOnly`, or a `.client.vue` component when the server cannot produce the same markup.
24
+ - Use Nuxt's `useRoute()` composable, not the one from `vue-router`.
25
+ - Do not use `route.fullPath` to drive SSR-rendered markup. URL fragments are client-only, which can create hydration mismatches.
26
+ - Treat `ssr: false` as an escape hatch for truly browser-only areas, not a default fix for mismatches.
27
+
28
+ ## Data Fetching
29
+
30
+ - Prefer `await useFetch()` for SSR-safe API reads in pages and components. It forwards server-fetched data into the Nuxt payload and avoids a second fetch on hydration.
31
+ - Use `useAsyncData()` when the fetcher is not a simple `$fetch()` call, when you need a custom key, or when you are composing multiple async sources.
32
+ - Give `useAsyncData()` a stable key for cache reuse and predictable refresh behavior.
33
+ - Keep `useAsyncData()` handlers side-effect free. They can run during SSR and hydration.
34
+ - Use `$fetch()` for user-triggered writes or client-only actions, not top-level page data that should be hydrated from SSR.
35
+ - Use `lazy: true`, `useLazyFetch()`, or `useLazyAsyncData()` for non-critical data that should not block navigation. Handle `status === 'pending'` in the UI.
36
+ - Use `server: false` only for data that is not needed for SEO or the first paint.
37
+ - Trim payload size with `pick` and prefer shallower payloads when deep reactivity is unnecessary.
38
+
39
+ ```ts
40
+ const route = useRoute()
41
+
42
+ const { data: article, status, error, refresh } = await useAsyncData(
43
+ () => `article:${route.params.slug}`,
44
+ () => $fetch(`/api/articles/${route.params.slug}`),
45
+ )
46
+
47
+ const { data: comments } = await useFetch(`/api/articles/${route.params.slug}/comments`, {
48
+ lazy: true,
49
+ server: false,
50
+ })
51
+ ```
52
+
53
+ ## Route Rules
54
+
55
+ Prefer `routeRules` in `nuxt.config.ts` for rendering and caching strategy:
56
+
57
+ ```ts
58
+ export default defineNuxtConfig({
59
+ routeRules: {
60
+ '/': { prerender: true },
61
+ '/products/**': { swr: 3600 },
62
+ '/blog/**': { isr: true },
63
+ '/admin/**': { ssr: false },
64
+ '/api/**': { cache: { maxAge: 60 * 60 } },
65
+ },
66
+ })
67
+ ```
68
+
69
+ - `prerender`: static HTML at build time
70
+ - `swr`: serve cached content and revalidate in the background
71
+ - `isr`: incremental static regeneration on supported platforms
72
+ - `ssr: false`: client-rendered route
73
+ - `cache` or `redirect`: Nitro-level response behavior
74
+
75
+ Pick route rules per route group, not globally. Marketing pages, catalogs, dashboards, and APIs usually need different strategies.
76
+
77
+ ## Lazy Loading and Performance
78
+
79
+ - Nuxt already code-splits pages by route. Keep route boundaries meaningful before micro-optimizing component splits.
80
+ - Use the `Lazy` prefix to dynamically import non-critical components.
81
+ - Conditionally render lazy components with `v-if` so the chunk is not loaded until the UI actually needs it.
82
+ - Use lazy hydration for below-the-fold or non-critical interactive UI.
83
+
84
+ ```vue
85
+ <template>
86
+ <LazyRecommendations v-if="showRecommendations" />
87
+ <LazyProductGallery hydrate-on-visible />
88
+ </template>
89
+ ```
90
+
91
+ - For custom strategies, use `defineLazyHydrationComponent()` with a visibility or idle strategy.
92
+ - Nuxt lazy hydration works on single-file components. Passing new props to a lazily hydrated component will trigger hydration immediately.
93
+ - Use `NuxtLink` for internal navigation so Nuxt can prefetch route components and generated payloads.
94
+
95
+ ## Review Checklist
96
+
97
+ - First SSR render and hydrated client render produce the same markup
98
+ - Page data uses `useFetch` or `useAsyncData`, not top-level `$fetch`
99
+ - Non-critical data is lazy and has explicit loading UI
100
+ - Route rules match the page's SEO and freshness requirements
101
+ - Heavy interactive islands are lazy-loaded or lazily hydrated