arboris-cli 1.0.0 → 1.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 (451) hide show
  1. package/dist/cli.mjs +420 -0
  2. package/manifest.json +602 -0
  3. package/package.json +22 -10
  4. package/prisma/skills/accessibility/SKILL.md +147 -0
  5. package/prisma/skills/agent-architecture-audit/SKILL.md +257 -0
  6. package/prisma/skills/agent-eval/SKILL.md +146 -0
  7. package/prisma/skills/agent-harness-construction/SKILL.md +74 -0
  8. package/prisma/skills/agent-introspection-debugging/SKILL.md +154 -0
  9. package/prisma/skills/agent-payment-x402/SKILL.md +225 -0
  10. package/prisma/skills/agent-self-evaluation/SKILL.md +182 -0
  11. package/prisma/skills/agent-self-evaluation/examples/high-score-example.md +87 -0
  12. package/prisma/skills/agent-self-evaluation/examples/low-score-example.md +86 -0
  13. package/prisma/skills/agent-self-evaluation/references/evaluation-criteria.md +71 -0
  14. package/prisma/skills/agent-self-evaluation/references/hook-integration.md +64 -0
  15. package/prisma/skills/agent-self-evaluation/scripts/evaluate.py +408 -0
  16. package/prisma/skills/agent-self-evaluation/templates/evaluation-report.md +86 -0
  17. package/prisma/skills/agent-sort/SKILL.md +216 -0
  18. package/prisma/skills/agentic-engineering/SKILL.md +64 -0
  19. package/prisma/skills/agentic-os/SKILL.md +388 -0
  20. package/prisma/skills/ai-first-engineering/SKILL.md +52 -0
  21. package/prisma/skills/ai-regression-testing/SKILL.md +386 -0
  22. package/prisma/skills/android-clean-architecture/SKILL.md +340 -0
  23. package/prisma/skills/angular-developer/SKILL.md +155 -0
  24. package/prisma/skills/angular-developer/references/angular-animations.md +160 -0
  25. package/prisma/skills/angular-developer/references/angular-aria.md +410 -0
  26. package/prisma/skills/angular-developer/references/cli.md +86 -0
  27. package/prisma/skills/angular-developer/references/component-harnesses.md +59 -0
  28. package/prisma/skills/angular-developer/references/component-styling.md +91 -0
  29. package/prisma/skills/angular-developer/references/components.md +117 -0
  30. package/prisma/skills/angular-developer/references/creating-services.md +97 -0
  31. package/prisma/skills/angular-developer/references/data-resolvers.md +69 -0
  32. package/prisma/skills/angular-developer/references/define-routes.md +67 -0
  33. package/prisma/skills/angular-developer/references/defining-providers.md +72 -0
  34. package/prisma/skills/angular-developer/references/di-fundamentals.md +120 -0
  35. package/prisma/skills/angular-developer/references/e2e-testing.md +56 -0
  36. package/prisma/skills/angular-developer/references/effects.md +83 -0
  37. package/prisma/skills/angular-developer/references/hierarchical-injectors.md +43 -0
  38. package/prisma/skills/angular-developer/references/host-elements.md +80 -0
  39. package/prisma/skills/angular-developer/references/injection-context.md +63 -0
  40. package/prisma/skills/angular-developer/references/inputs.md +101 -0
  41. package/prisma/skills/angular-developer/references/linked-signal.md +59 -0
  42. package/prisma/skills/angular-developer/references/loading-strategies.md +61 -0
  43. package/prisma/skills/angular-developer/references/mcp.md +108 -0
  44. package/prisma/skills/angular-developer/references/navigate-to-routes.md +69 -0
  45. package/prisma/skills/angular-developer/references/outputs.md +86 -0
  46. package/prisma/skills/angular-developer/references/reactive-forms.md +122 -0
  47. package/prisma/skills/angular-developer/references/rendering-strategies.md +44 -0
  48. package/prisma/skills/angular-developer/references/resource.md +77 -0
  49. package/prisma/skills/angular-developer/references/route-animations.md +56 -0
  50. package/prisma/skills/angular-developer/references/route-guards.md +52 -0
  51. package/prisma/skills/angular-developer/references/router-lifecycle.md +45 -0
  52. package/prisma/skills/angular-developer/references/router-testing.md +87 -0
  53. package/prisma/skills/angular-developer/references/show-routes-with-outlets.md +68 -0
  54. package/prisma/skills/angular-developer/references/signal-forms.md +795 -0
  55. package/prisma/skills/angular-developer/references/signals-overview.md +94 -0
  56. package/prisma/skills/angular-developer/references/tailwind-css.md +69 -0
  57. package/prisma/skills/angular-developer/references/template-driven-forms.md +114 -0
  58. package/prisma/skills/angular-developer/references/testing-fundamentals.md +65 -0
  59. package/prisma/skills/api-connector-builder/SKILL.md +121 -0
  60. package/prisma/skills/api-design/SKILL.md +524 -0
  61. package/prisma/skills/architecture-decision-records/SKILL.md +180 -0
  62. package/prisma/skills/article-writing/SKILL.md +80 -0
  63. package/prisma/skills/automation-audit-ops/SKILL.md +143 -0
  64. package/prisma/skills/autonomous-agent-harness/SKILL.md +274 -0
  65. package/prisma/skills/autonomous-loops/SKILL.md +611 -0
  66. package/prisma/skills/backend-patterns/SKILL.md +562 -0
  67. package/prisma/skills/benchmark/SKILL.md +94 -0
  68. package/prisma/skills/benchmark-methodology/SKILL.md +190 -0
  69. package/prisma/skills/benchmark-optimization-loop/SKILL.md +70 -0
  70. package/prisma/skills/blender-motion-state-inspection/SKILL.md +165 -0
  71. package/prisma/skills/blueprint/SKILL.md +106 -0
  72. package/prisma/skills/brand-discovery/SKILL.md +145 -0
  73. package/prisma/skills/brand-discovery/references/10_purpose-why.md +40 -0
  74. package/prisma/skills/brand-discovery/references/20_positioning.md +44 -0
  75. package/prisma/skills/brand-discovery/references/30_audience-niche.md +52 -0
  76. package/prisma/skills/brand-discovery/references/40_personality-archetype.md +57 -0
  77. package/prisma/skills/brand-discovery/references/50_voice-tone.md +59 -0
  78. package/prisma/skills/brand-discovery/references/60_narrative-story.md +50 -0
  79. package/prisma/skills/brand-discovery/references/70_founder-tension.md +49 -0
  80. package/prisma/skills/brand-discovery/references/90_SYNTHESIS.md +133 -0
  81. package/prisma/skills/brand-voice/SKILL.md +98 -0
  82. package/prisma/skills/brand-voice/references/voice-profile-schema.md +55 -0
  83. package/prisma/skills/browser-qa/SKILL.md +105 -0
  84. package/prisma/skills/bun-runtime/SKILL.md +85 -0
  85. package/prisma/skills/canary-watch/SKILL.md +108 -0
  86. package/prisma/skills/carrier-relationship-management/SKILL.md +212 -0
  87. package/prisma/skills/cisco-ios-patterns/SKILL.md +164 -0
  88. package/prisma/skills/ck/SKILL.md +148 -0
  89. package/prisma/skills/ck/commands/forget.mjs +44 -0
  90. package/prisma/skills/ck/commands/info.mjs +24 -0
  91. package/prisma/skills/ck/commands/init.mjs +143 -0
  92. package/prisma/skills/ck/commands/list.mjs +40 -0
  93. package/prisma/skills/ck/commands/migrate.mjs +202 -0
  94. package/prisma/skills/ck/commands/resume.mjs +36 -0
  95. package/prisma/skills/ck/commands/save.mjs +210 -0
  96. package/prisma/skills/ck/commands/shared.mjs +387 -0
  97. package/prisma/skills/ck/hooks/session-start.mjs +224 -0
  98. package/prisma/skills/claude-devfleet/SKILL.md +112 -0
  99. package/prisma/skills/click-path-audit/SKILL.md +245 -0
  100. package/prisma/skills/clickhouse-io/SKILL.md +440 -0
  101. package/prisma/skills/code-tour/SKILL.md +254 -0
  102. package/prisma/skills/codebase-onboarding/SKILL.md +234 -0
  103. package/prisma/skills/codehealth-mcp/SKILL.md +167 -0
  104. package/prisma/skills/coding-standards/SKILL.md +551 -0
  105. package/prisma/skills/competitive-platform-analysis/SKILL.md +214 -0
  106. package/prisma/skills/competitive-report-structure/SKILL.md +162 -0
  107. package/prisma/skills/compose-multiplatform-patterns/SKILL.md +300 -0
  108. package/prisma/skills/config-gc/SKILL.md +120 -0
  109. package/prisma/skills/configure-ecc/SKILL.md +385 -0
  110. package/prisma/skills/connections-optimizer/SKILL.md +190 -0
  111. package/prisma/skills/content-engine/SKILL.md +132 -0
  112. package/prisma/skills/content-hash-cache-pattern/SKILL.md +162 -0
  113. package/prisma/skills/context-budget/SKILL.md +136 -0
  114. package/prisma/skills/continuous-agent-loop/SKILL.md +46 -0
  115. package/prisma/skills/continuous-learning/SKILL.md +132 -0
  116. package/prisma/skills/continuous-learning/config.json +18 -0
  117. package/prisma/skills/continuous-learning/evaluate-session.sh +69 -0
  118. package/prisma/skills/continuous-learning-v2/SKILL.md +361 -0
  119. package/prisma/skills/continuous-learning-v2/agents/observer-loop.sh +359 -0
  120. package/prisma/skills/continuous-learning-v2/agents/observer.md +189 -0
  121. package/prisma/skills/continuous-learning-v2/agents/session-guardian.sh +150 -0
  122. package/prisma/skills/continuous-learning-v2/agents/start-observer.sh +248 -0
  123. package/prisma/skills/continuous-learning-v2/config.json +8 -0
  124. package/prisma/skills/continuous-learning-v2/hooks/observe.sh +585 -0
  125. package/prisma/skills/continuous-learning-v2/scripts/detect-project.sh +322 -0
  126. package/prisma/skills/continuous-learning-v2/scripts/instinct-cli.py +1956 -0
  127. package/prisma/skills/continuous-learning-v2/scripts/lib/homunculus-dir.sh +31 -0
  128. package/prisma/skills/continuous-learning-v2/scripts/migrate-homunculus.sh +68 -0
  129. package/prisma/skills/continuous-learning-v2/scripts/test_parse_instinct.py +1421 -0
  130. package/prisma/skills/cost-aware-llm-pipeline/SKILL.md +184 -0
  131. package/prisma/skills/cost-tracking/SKILL.md +97 -0
  132. package/prisma/skills/council/SKILL.md +204 -0
  133. package/prisma/skills/cpp-coding-standards/SKILL.md +724 -0
  134. package/prisma/skills/cpp-testing/SKILL.md +325 -0
  135. package/prisma/skills/crosspost/SKILL.md +112 -0
  136. package/prisma/skills/csharp-testing/SKILL.md +322 -0
  137. package/prisma/skills/customer-billing-ops/SKILL.md +141 -0
  138. package/prisma/skills/customs-trade-compliance/SKILL.md +263 -0
  139. package/prisma/skills/dart-flutter-patterns/SKILL.md +564 -0
  140. package/prisma/skills/dashboard-builder/SKILL.md +109 -0
  141. package/prisma/skills/data-scraper-agent/SKILL.md +765 -0
  142. package/prisma/skills/data-throughput-accelerator/SKILL.md +73 -0
  143. package/prisma/skills/database-migrations/SKILL.md +430 -0
  144. package/prisma/skills/deep-research/SKILL.md +160 -0
  145. package/prisma/skills/defi-amm-security/SKILL.md +167 -0
  146. package/prisma/skills/delivery-gate/SKILL.md +126 -0
  147. package/prisma/skills/delivery-gate/hooks/quality-gate.py +220 -0
  148. package/prisma/skills/deployment-patterns/SKILL.md +428 -0
  149. package/prisma/skills/design-system/SKILL.md +83 -0
  150. package/prisma/skills/django-celery/SKILL.md +458 -0
  151. package/prisma/skills/django-patterns/SKILL.md +735 -0
  152. package/prisma/skills/django-security/SKILL.md +644 -0
  153. package/prisma/skills/django-tdd/SKILL.md +730 -0
  154. package/prisma/skills/django-verification/SKILL.md +470 -0
  155. package/prisma/skills/dmux-workflows/SKILL.md +192 -0
  156. package/prisma/skills/docker-patterns/SKILL.md +365 -0
  157. package/prisma/skills/documentation-lookup/SKILL.md +91 -0
  158. package/prisma/skills/dotnet-patterns/SKILL.md +322 -0
  159. package/prisma/skills/dynamic-workflow-mode/SKILL.md +124 -0
  160. package/prisma/skills/e2e-testing/SKILL.md +327 -0
  161. package/prisma/skills/ecc-guide/SKILL.md +190 -0
  162. package/prisma/skills/ecc-recipes/SKILL.md +149 -0
  163. package/prisma/skills/ecc-tools-cost-audit/SKILL.md +161 -0
  164. package/prisma/skills/email-ops/SKILL.md +122 -0
  165. package/prisma/skills/energy-procurement/SKILL.md +228 -0
  166. package/prisma/skills/enterprise-agent-ops/SKILL.md +51 -0
  167. package/prisma/skills/error-handling/SKILL.md +377 -0
  168. package/prisma/skills/eval-harness/SKILL.md +271 -0
  169. package/prisma/skills/evm-token-decimals/SKILL.md +131 -0
  170. package/prisma/skills/exa-search/SKILL.md +108 -0
  171. package/prisma/skills/fal-ai-media/SKILL.md +289 -0
  172. package/prisma/skills/fastapi-patterns/SKILL.md +514 -0
  173. package/prisma/skills/finance-billing-ops/SKILL.md +128 -0
  174. package/prisma/skills/flox-environments/SKILL.md +497 -0
  175. package/prisma/skills/flutter-dart-code-review/SKILL.md +436 -0
  176. package/prisma/skills/foundation-models-on-device/SKILL.md +243 -0
  177. package/prisma/skills/frontend-a11y/SKILL.md +446 -0
  178. package/prisma/skills/frontend-design-direction/SKILL.md +93 -0
  179. package/prisma/skills/frontend-patterns/SKILL.md +657 -0
  180. package/prisma/skills/frontend-slides/SKILL.md +185 -0
  181. package/prisma/skills/frontend-slides/STYLE_PRESETS.md +330 -0
  182. package/prisma/skills/frontend-slides/animation-patterns.md +122 -0
  183. package/prisma/skills/frontend-slides/html-template.md +419 -0
  184. package/prisma/skills/frontend-slides/scripts/export-pdf.sh +418 -0
  185. package/prisma/skills/frontend-slides/scripts/extract-pptx.py +96 -0
  186. package/prisma/skills/frontend-slides/viewport-base.css +153 -0
  187. package/prisma/skills/fsharp-testing/SKILL.md +281 -0
  188. package/prisma/skills/gan-style-harness/SKILL.md +279 -0
  189. package/prisma/skills/gateguard/SKILL.md +133 -0
  190. package/prisma/skills/generating-python-installer/SKILL.md +820 -0
  191. package/prisma/skills/git-workflow/SKILL.md +716 -0
  192. package/prisma/skills/github-ops/SKILL.md +145 -0
  193. package/prisma/skills/golang-patterns/SKILL.md +675 -0
  194. package/prisma/skills/golang-testing/SKILL.md +721 -0
  195. package/prisma/skills/google-workspace-ops/SKILL.md +96 -0
  196. package/prisma/skills/growth-log/SKILL.md +128 -0
  197. package/prisma/skills/healthcare-cdss-patterns/SKILL.md +246 -0
  198. package/prisma/skills/healthcare-emr-patterns/SKILL.md +160 -0
  199. package/prisma/skills/healthcare-eval-harness/SKILL.md +208 -0
  200. package/prisma/skills/healthcare-phi-compliance/SKILL.md +146 -0
  201. package/prisma/skills/hermes-imports/SKILL.md +89 -0
  202. package/prisma/skills/hexagonal-architecture/SKILL.md +277 -0
  203. package/prisma/skills/hipaa-compliance/SKILL.md +79 -0
  204. package/prisma/skills/homelab-network-readiness/SKILL.md +170 -0
  205. package/prisma/skills/homelab-network-setup/SKILL.md +130 -0
  206. package/prisma/skills/homelab-pihole-dns/SKILL.md +275 -0
  207. package/prisma/skills/homelab-vlan-segmentation/SKILL.md +312 -0
  208. package/prisma/skills/homelab-wireguard-vpn/SKILL.md +306 -0
  209. package/prisma/skills/hookify-rules/SKILL.md +128 -0
  210. package/prisma/skills/inherit-legacy-style/SKILL.md +157 -0
  211. package/prisma/skills/intent-driven-development/SKILL.md +360 -0
  212. package/prisma/skills/inventory-demand-planning/SKILL.md +247 -0
  213. package/prisma/skills/investor-materials/SKILL.md +97 -0
  214. package/prisma/skills/investor-outreach/SKILL.md +92 -0
  215. package/prisma/skills/ios-icon-gen/SKILL.md +158 -0
  216. package/prisma/skills/ios-icon-gen/scripts/generate_icons.swift +258 -0
  217. package/prisma/skills/ios-icon-gen/scripts/iconify_gen.sh +235 -0
  218. package/prisma/skills/iterative-retrieval/SKILL.md +212 -0
  219. package/prisma/skills/ito-basket-compare/SKILL.md +64 -0
  220. package/prisma/skills/ito-data-atlas-agent/SKILL.md +64 -0
  221. package/prisma/skills/ito-market-intelligence/SKILL.md +61 -0
  222. package/prisma/skills/ito-trade-planner/SKILL.md +68 -0
  223. package/prisma/skills/java-coding-standards/SKILL.md +384 -0
  224. package/prisma/skills/jira-integration/SKILL.md +303 -0
  225. package/prisma/skills/jpa-patterns/SKILL.md +152 -0
  226. package/prisma/skills/knowledge-ops/SKILL.md +155 -0
  227. package/prisma/skills/kotlin-coroutines-flows/SKILL.md +285 -0
  228. package/prisma/skills/kotlin-exposed-patterns/SKILL.md +720 -0
  229. package/prisma/skills/kotlin-ktor-patterns/SKILL.md +690 -0
  230. package/prisma/skills/kotlin-patterns/SKILL.md +712 -0
  231. package/prisma/skills/kotlin-testing/SKILL.md +825 -0
  232. package/prisma/skills/kubernetes-patterns/SKILL.md +756 -0
  233. package/prisma/skills/laravel-patterns/SKILL.md +416 -0
  234. package/prisma/skills/laravel-plugin-discovery/SKILL.md +230 -0
  235. package/prisma/skills/laravel-security/SKILL.md +948 -0
  236. package/prisma/skills/laravel-tdd/SKILL.md +675 -0
  237. package/prisma/skills/laravel-verification/SKILL.md +180 -0
  238. package/prisma/skills/latency-critical-systems/SKILL.md +74 -0
  239. package/prisma/skills/lead-intelligence/SKILL.md +322 -0
  240. package/prisma/skills/lead-intelligence/agents/enrichment-agent.md +85 -0
  241. package/prisma/skills/lead-intelligence/agents/mutual-mapper.md +75 -0
  242. package/prisma/skills/lead-intelligence/agents/outreach-drafter.md +98 -0
  243. package/prisma/skills/lead-intelligence/agents/signal-scorer.md +60 -0
  244. package/prisma/skills/liquid-glass-design/SKILL.md +279 -0
  245. package/prisma/skills/llm-trading-agent-security/SKILL.md +147 -0
  246. package/prisma/skills/logistics-exception-management/SKILL.md +222 -0
  247. package/prisma/skills/loop-design-check/SKILL.md +143 -0
  248. package/prisma/skills/mailtrap-email-integration/SKILL.md +77 -0
  249. package/prisma/skills/make-interfaces-feel-better/SKILL.md +152 -0
  250. package/prisma/skills/manim-video/SKILL.md +90 -0
  251. package/prisma/skills/manim-video/assets/network_graph_scene.py +52 -0
  252. package/prisma/skills/market-research/SKILL.md +76 -0
  253. package/prisma/skills/marketing-campaign/SKILL.md +114 -0
  254. package/prisma/skills/mcp-server-patterns/SKILL.md +70 -0
  255. package/prisma/skills/messages-ops/SKILL.md +105 -0
  256. package/prisma/skills/ml-adoption-playbook/SKILL.md +57 -0
  257. package/prisma/skills/mle-workflow/SKILL.md +347 -0
  258. package/prisma/skills/motion-advanced/SKILL.md +596 -0
  259. package/prisma/skills/motion-foundations/SKILL.md +299 -0
  260. package/prisma/skills/motion-patterns/SKILL.md +434 -0
  261. package/prisma/skills/motion-ui/SKILL.md +576 -0
  262. package/prisma/skills/mysql-patterns/SKILL.md +413 -0
  263. package/prisma/skills/nanoclaw-repl/SKILL.md +34 -0
  264. package/prisma/skills/nestjs-patterns/SKILL.md +231 -0
  265. package/prisma/skills/netmiko-ssh-automation/SKILL.md +174 -0
  266. package/prisma/skills/network-bgp-diagnostics/SKILL.md +168 -0
  267. package/prisma/skills/network-config-validation/SKILL.md +211 -0
  268. package/prisma/skills/network-interface-health/SKILL.md +153 -0
  269. package/prisma/skills/nextjs-turbopack/SKILL.md +58 -0
  270. package/prisma/skills/nodejs-keccak256/SKILL.md +103 -0
  271. package/prisma/skills/nutrient-document-processing/SKILL.md +168 -0
  272. package/prisma/skills/nuxt4-patterns/SKILL.md +101 -0
  273. package/prisma/skills/openclaw-persona-forge/SKILL.md +289 -0
  274. package/prisma/skills/openclaw-persona-forge/gacha.py +224 -0
  275. package/prisma/skills/openclaw-persona-forge/gacha.sh +5 -0
  276. package/prisma/skills/openclaw-persona-forge/references/avatar-style.md +124 -0
  277. package/prisma/skills/openclaw-persona-forge/references/boundary-rules.md +53 -0
  278. package/prisma/skills/openclaw-persona-forge/references/error-handling.md +53 -0
  279. package/prisma/skills/openclaw-persona-forge/references/identity-tension.md +48 -0
  280. package/prisma/skills/openclaw-persona-forge/references/naming-system.md +39 -0
  281. package/prisma/skills/openclaw-persona-forge/references/output-template.md +166 -0
  282. package/prisma/skills/opensource-pipeline/SKILL.md +256 -0
  283. package/prisma/skills/orch-add-feature/SKILL.md +45 -0
  284. package/prisma/skills/orch-build-mvp/SKILL.md +49 -0
  285. package/prisma/skills/orch-change-feature/SKILL.md +43 -0
  286. package/prisma/skills/orch-fix-defect/SKILL.md +43 -0
  287. package/prisma/skills/orch-pipeline/SKILL.md +121 -0
  288. package/prisma/skills/orch-refine-code/SKILL.md +44 -0
  289. package/prisma/skills/parallel-execution-optimizer/SKILL.md +73 -0
  290. package/prisma/skills/perl-patterns/SKILL.md +505 -0
  291. package/prisma/skills/perl-security/SKILL.md +504 -0
  292. package/prisma/skills/perl-testing/SKILL.md +476 -0
  293. package/prisma/skills/plan-orchestrate/SKILL.md +263 -0
  294. package/prisma/skills/plankton-code-quality/SKILL.md +237 -0
  295. package/prisma/skills/postgres-patterns/SKILL.md +148 -0
  296. package/prisma/skills/prediction-market-oracle-research/SKILL.md +64 -0
  297. package/prisma/skills/prediction-market-risk-review/SKILL.md +61 -0
  298. package/prisma/skills/prisma-patterns/SKILL.md +401 -0
  299. package/prisma/skills/product-capability/SKILL.md +142 -0
  300. package/prisma/skills/product-lens/SKILL.md +93 -0
  301. package/prisma/skills/production-audit/SKILL.md +207 -0
  302. package/prisma/skills/production-scheduling/SKILL.md +238 -0
  303. package/prisma/skills/project-flow-ops/SKILL.md +112 -0
  304. package/prisma/skills/prompt-optimizer/SKILL.md +398 -0
  305. package/prisma/skills/python-patterns/SKILL.md +751 -0
  306. package/prisma/skills/python-testing/SKILL.md +817 -0
  307. package/prisma/skills/pytorch-patterns/SKILL.md +397 -0
  308. package/prisma/skills/quality-nonconformance/SKILL.md +260 -0
  309. package/prisma/skills/quarkus-patterns/SKILL.md +723 -0
  310. package/prisma/skills/quarkus-security/SKILL.md +468 -0
  311. package/prisma/skills/quarkus-tdd/SKILL.md +812 -0
  312. package/prisma/skills/quarkus-verification/SKILL.md +480 -0
  313. package/prisma/skills/ralphinho-rfc-pipeline/SKILL.md +68 -0
  314. package/prisma/skills/react-native-patterns/SKILL.md +326 -0
  315. package/prisma/skills/react-patterns/SKILL.md +342 -0
  316. package/prisma/skills/react-performance/SKILL.md +575 -0
  317. package/prisma/skills/react-testing/SKILL.md +424 -0
  318. package/prisma/skills/recsys-pipeline-architect/SKILL.md +115 -0
  319. package/prisma/skills/recursive-decision-ledger/SKILL.md +80 -0
  320. package/prisma/skills/redis-patterns/SKILL.md +404 -0
  321. package/prisma/skills/regex-vs-llm-structured-text/SKILL.md +221 -0
  322. package/prisma/skills/remotion-video-creation/SKILL.md +43 -0
  323. package/prisma/skills/remotion-video-creation/rules/3d.md +86 -0
  324. package/prisma/skills/remotion-video-creation/rules/animations.md +29 -0
  325. package/prisma/skills/remotion-video-creation/rules/assets/charts-bar-chart.tsx +173 -0
  326. package/prisma/skills/remotion-video-creation/rules/assets/text-animations-typewriter.tsx +100 -0
  327. package/prisma/skills/remotion-video-creation/rules/assets/text-animations-word-highlight.tsx +108 -0
  328. package/prisma/skills/remotion-video-creation/rules/assets.md +78 -0
  329. package/prisma/skills/remotion-video-creation/rules/audio.md +172 -0
  330. package/prisma/skills/remotion-video-creation/rules/calculate-metadata.md +104 -0
  331. package/prisma/skills/remotion-video-creation/rules/can-decode.md +75 -0
  332. package/prisma/skills/remotion-video-creation/rules/charts.md +58 -0
  333. package/prisma/skills/remotion-video-creation/rules/compositions.md +146 -0
  334. package/prisma/skills/remotion-video-creation/rules/display-captions.md +126 -0
  335. package/prisma/skills/remotion-video-creation/rules/extract-frames.md +229 -0
  336. package/prisma/skills/remotion-video-creation/rules/fonts.md +152 -0
  337. package/prisma/skills/remotion-video-creation/rules/get-audio-duration.md +58 -0
  338. package/prisma/skills/remotion-video-creation/rules/get-video-dimensions.md +68 -0
  339. package/prisma/skills/remotion-video-creation/rules/get-video-duration.md +58 -0
  340. package/prisma/skills/remotion-video-creation/rules/gifs.md +138 -0
  341. package/prisma/skills/remotion-video-creation/rules/images.md +130 -0
  342. package/prisma/skills/remotion-video-creation/rules/import-srt-captions.md +67 -0
  343. package/prisma/skills/remotion-video-creation/rules/lottie.md +67 -0
  344. package/prisma/skills/remotion-video-creation/rules/measuring-dom-nodes.md +34 -0
  345. package/prisma/skills/remotion-video-creation/rules/measuring-text.md +143 -0
  346. package/prisma/skills/remotion-video-creation/rules/sequencing.md +106 -0
  347. package/prisma/skills/remotion-video-creation/rules/tailwind.md +11 -0
  348. package/prisma/skills/remotion-video-creation/rules/text-animations.md +20 -0
  349. package/prisma/skills/remotion-video-creation/rules/timing.md +179 -0
  350. package/prisma/skills/remotion-video-creation/rules/transcribe-captions.md +19 -0
  351. package/prisma/skills/remotion-video-creation/rules/transitions.md +122 -0
  352. package/prisma/skills/remotion-video-creation/rules/trimming.md +52 -0
  353. package/prisma/skills/remotion-video-creation/rules/videos.md +171 -0
  354. package/prisma/skills/repo-scan/SKILL.md +79 -0
  355. package/prisma/skills/research-ops/SKILL.md +113 -0
  356. package/prisma/skills/returns-reverse-logistics/SKILL.md +240 -0
  357. package/prisma/skills/rules-distill/SKILL.md +265 -0
  358. package/prisma/skills/rules-distill/scripts/scan-rules.sh +58 -0
  359. package/prisma/skills/rules-distill/scripts/scan-skills.sh +129 -0
  360. package/prisma/skills/rust-patterns/SKILL.md +500 -0
  361. package/prisma/skills/rust-testing/SKILL.md +501 -0
  362. package/prisma/skills/safety-guard/SKILL.md +76 -0
  363. package/prisma/skills/santa-method/SKILL.md +307 -0
  364. package/prisma/skills/scientific-db-pubmed-database/SKILL.md +176 -0
  365. package/prisma/skills/scientific-db-uspto-database/SKILL.md +178 -0
  366. package/prisma/skills/scientific-pkg-gget/SKILL.md +167 -0
  367. package/prisma/skills/scientific-thinking-literature-review/SKILL.md +193 -0
  368. package/prisma/skills/scientific-thinking-scholar-evaluation/SKILL.md +161 -0
  369. package/prisma/skills/search-first/SKILL.md +183 -0
  370. package/prisma/skills/security-bounty-hunter/SKILL.md +100 -0
  371. package/prisma/skills/security-review/SKILL.md +504 -0
  372. package/prisma/skills/security-review/cloud-infrastructure-security.md +361 -0
  373. package/prisma/skills/security-scan/SKILL.md +166 -0
  374. package/prisma/skills/seo/SKILL.md +155 -0
  375. package/prisma/skills/skill-comply/SKILL.md +59 -0
  376. package/prisma/skills/skill-comply/fixtures/compliant_trace.jsonl +5 -0
  377. package/prisma/skills/skill-comply/fixtures/noncompliant_trace.jsonl +3 -0
  378. package/prisma/skills/skill-comply/fixtures/tdd_spec.yaml +44 -0
  379. package/prisma/skills/skill-comply/prompts/classifier.md +24 -0
  380. package/prisma/skills/skill-comply/prompts/scenario_generator.md +62 -0
  381. package/prisma/skills/skill-comply/prompts/spec_generator.md +42 -0
  382. package/prisma/skills/skill-comply/pyproject.toml +15 -0
  383. package/prisma/skills/skill-comply/scripts/__init__.py +0 -0
  384. package/prisma/skills/skill-comply/scripts/classifier.py +85 -0
  385. package/prisma/skills/skill-comply/scripts/grader.py +124 -0
  386. package/prisma/skills/skill-comply/scripts/parser.py +107 -0
  387. package/prisma/skills/skill-comply/scripts/report.py +170 -0
  388. package/prisma/skills/skill-comply/scripts/run.py +127 -0
  389. package/prisma/skills/skill-comply/scripts/runner.py +194 -0
  390. package/prisma/skills/skill-comply/scripts/scenario_generator.py +70 -0
  391. package/prisma/skills/skill-comply/scripts/spec_generator.py +72 -0
  392. package/prisma/skills/skill-comply/scripts/utils.py +13 -0
  393. package/prisma/skills/skill-comply/tests/test_grader.py +197 -0
  394. package/prisma/skills/skill-comply/tests/test_parser.py +90 -0
  395. package/prisma/skills/skill-comply/tests/test_runner.py +172 -0
  396. package/prisma/skills/skill-scout/SKILL.md +141 -0
  397. package/prisma/skills/skill-stocktake/SKILL.md +195 -0
  398. package/prisma/skills/skill-stocktake/scripts/quick-diff.sh +87 -0
  399. package/prisma/skills/skill-stocktake/scripts/save-results.sh +56 -0
  400. package/prisma/skills/skill-stocktake/scripts/scan.sh +170 -0
  401. package/prisma/skills/social-graph-ranker/SKILL.md +155 -0
  402. package/prisma/skills/social-publisher/SKILL.md +130 -0
  403. package/prisma/skills/springboot-patterns/SKILL.md +315 -0
  404. package/prisma/skills/springboot-security/SKILL.md +273 -0
  405. package/prisma/skills/springboot-tdd/SKILL.md +159 -0
  406. package/prisma/skills/springboot-verification/SKILL.md +232 -0
  407. package/prisma/skills/strategic-compact/SKILL.md +136 -0
  408. package/prisma/skills/swift-actor-persistence/SKILL.md +144 -0
  409. package/prisma/skills/swift-concurrency-6-2/SKILL.md +216 -0
  410. package/prisma/skills/swift-protocol-di-testing/SKILL.md +191 -0
  411. package/prisma/skills/swiftui-patterns/SKILL.md +259 -0
  412. package/prisma/skills/taste/SKILL.md +264 -0
  413. package/prisma/skills/taste/references/genre-taxonomy.md +87 -0
  414. package/prisma/skills/tdd-workflow/SKILL.md +583 -0
  415. package/prisma/skills/team-agent-orchestration/SKILL.md +111 -0
  416. package/prisma/skills/team-builder/SKILL.md +169 -0
  417. package/prisma/skills/terminal-ops/SKILL.md +110 -0
  418. package/prisma/skills/tinystruct-patterns/SKILL.md +279 -0
  419. package/prisma/skills/tinystruct-patterns/references/architecture.md +90 -0
  420. package/prisma/skills/tinystruct-patterns/references/data-handling.md +60 -0
  421. package/prisma/skills/tinystruct-patterns/references/database.md +99 -0
  422. package/prisma/skills/tinystruct-patterns/references/routing.md +64 -0
  423. package/prisma/skills/tinystruct-patterns/references/system-usage.md +97 -0
  424. package/prisma/skills/tinystruct-patterns/references/testing.md +72 -0
  425. package/prisma/skills/token-budget-advisor/SKILL.md +134 -0
  426. package/prisma/skills/ui-demo/SKILL.md +466 -0
  427. package/prisma/skills/ui-to-vue/SKILL.md +135 -0
  428. package/prisma/skills/uncloud/SKILL.md +344 -0
  429. package/prisma/skills/unified-notifications-ops/SKILL.md +188 -0
  430. package/prisma/skills/verification-loop/SKILL.md +127 -0
  431. package/prisma/skills/video-editing/SKILL.md +311 -0
  432. package/prisma/skills/videodb/SKILL.md +375 -0
  433. package/prisma/skills/videodb/reference/api-reference.md +550 -0
  434. package/prisma/skills/videodb/reference/capture-reference.md +407 -0
  435. package/prisma/skills/videodb/reference/capture.md +101 -0
  436. package/prisma/skills/videodb/reference/editor.md +443 -0
  437. package/prisma/skills/videodb/reference/generative.md +331 -0
  438. package/prisma/skills/videodb/reference/rtstream-reference.md +564 -0
  439. package/prisma/skills/videodb/reference/rtstream.md +65 -0
  440. package/prisma/skills/videodb/reference/search.md +230 -0
  441. package/prisma/skills/videodb/reference/streaming.md +406 -0
  442. package/prisma/skills/videodb/reference/use-cases.md +118 -0
  443. package/prisma/skills/videodb/scripts/ws_listener.py +282 -0
  444. package/prisma/skills/visa-doc-translate/README.md +86 -0
  445. package/prisma/skills/visa-doc-translate/SKILL.md +117 -0
  446. package/prisma/skills/vite-patterns/SKILL.md +450 -0
  447. package/prisma/skills/vue-patterns/SKILL.md +471 -0
  448. package/prisma/skills/windows-desktop-e2e/SKILL.md +888 -0
  449. package/prisma/skills/workspace-surface-audit/SKILL.md +126 -0
  450. package/prisma/skills/x-api/SKILL.md +235 -0
  451. package/run.mjs +0 -10
@@ -0,0 +1,470 @@
1
+ ---
2
+ name: django-verification
3
+ description: "Verification loop for Django projects: migrations, linting, tests with coverage, security scans, and deployment readiness checks before release or PR."
4
+ metadata:
5
+ origin: ECC
6
+ ---
7
+
8
+ # Django Verification Loop
9
+
10
+ Run before PRs, after major changes, and pre-deploy to ensure Django application quality and security.
11
+
12
+ ## When to Activate
13
+
14
+ - Before opening a pull request for a Django project
15
+ - After major model changes, migration updates, or dependency upgrades
16
+ - Pre-deployment verification for staging or production
17
+ - Running full environment → lint → test → security → deploy readiness pipeline
18
+ - Validating migration safety and test coverage
19
+
20
+ ## Phase 1: Environment Check
21
+
22
+ ```bash
23
+ # Verify Python version
24
+ python --version # Should match project requirements
25
+
26
+ # Check virtual environment
27
+ which python
28
+ pip list --outdated
29
+
30
+ # Verify environment variables
31
+ python -c "import os; import environ; print('DJANGO_SECRET_KEY set' if os.environ.get('DJANGO_SECRET_KEY') else 'MISSING: DJANGO_SECRET_KEY')"
32
+ ```
33
+
34
+ If environment is misconfigured, stop and fix.
35
+
36
+ ## Phase 2: Code Quality & Formatting
37
+
38
+ ```bash
39
+ # Type checking
40
+ mypy . --config-file pyproject.toml
41
+
42
+ # Linting with ruff
43
+ ruff check . --fix
44
+
45
+ # Formatting with black
46
+ black . --check
47
+ black . # Auto-fix
48
+
49
+ # Import sorting
50
+ isort . --check-only
51
+ isort . # Auto-fix
52
+
53
+ # Django-specific checks
54
+ python manage.py check --deploy
55
+ ```
56
+
57
+ Common issues:
58
+ - Missing type hints on public functions
59
+ - PEP 8 formatting violations
60
+ - Unsorted imports
61
+ - Debug settings left in production configuration
62
+
63
+ ## Phase 3: Migrations
64
+
65
+ ```bash
66
+ # Check for unapplied migrations
67
+ python manage.py showmigrations
68
+
69
+ # Create missing migrations
70
+ python manage.py makemigrations --check
71
+
72
+ # Dry-run migration application
73
+ python manage.py migrate --plan
74
+
75
+ # Apply migrations (test environment)
76
+ python manage.py migrate
77
+
78
+ # Check for migration conflicts
79
+ python manage.py makemigrations --merge # Only if conflicts exist
80
+ ```
81
+
82
+ Report:
83
+ - Number of pending migrations
84
+ - Any migration conflicts
85
+ - Model changes without migrations
86
+
87
+ ## Phase 4: Tests + Coverage
88
+
89
+ ```bash
90
+ # Run all tests with pytest
91
+ pytest --cov=apps --cov-report=html --cov-report=term-missing --reuse-db
92
+
93
+ # Run specific app tests
94
+ pytest apps/users/tests/
95
+
96
+ # Run with markers
97
+ pytest -m "not slow" # Skip slow tests
98
+ pytest -m integration # Only integration tests
99
+
100
+ # Coverage report
101
+ open htmlcov/index.html
102
+ ```
103
+
104
+ Report:
105
+ - Total tests: X passed, Y failed, Z skipped
106
+ - Overall coverage: XX%
107
+ - Per-app coverage breakdown
108
+
109
+ Coverage targets:
110
+
111
+ | Component | Target |
112
+ |-----------|--------|
113
+ | Models | 90%+ |
114
+ | Serializers | 85%+ |
115
+ | Views | 80%+ |
116
+ | Services | 90%+ |
117
+ | Overall | 80%+ |
118
+
119
+ ## Phase 5: Security Scan
120
+
121
+ ```bash
122
+ # Dependency vulnerabilities
123
+ pip-audit
124
+ safety check --full-report
125
+
126
+ # Django security checks
127
+ python manage.py check --deploy
128
+
129
+ # Bandit security linter
130
+ bandit -r . -f json -o bandit-report.json
131
+
132
+ # Secret scanning (if gitleaks is installed)
133
+ gitleaks detect --source . --verbose
134
+
135
+ # Environment variable check
136
+ python -c "from django.core.exceptions import ImproperlyConfigured; from django.conf import settings; settings.DEBUG"
137
+ ```
138
+
139
+ Report:
140
+ - Vulnerable dependencies found
141
+ - Security configuration issues
142
+ - Hardcoded secrets detected
143
+ - DEBUG mode status (should be False in production)
144
+
145
+ ## Phase 6: Django Management Commands
146
+
147
+ ```bash
148
+ # Check for model issues
149
+ python manage.py check
150
+
151
+ # Collect static files
152
+ python manage.py collectstatic --noinput --clear
153
+
154
+ # Create superuser (if needed for tests)
155
+ echo "from apps.users.models import User; User.objects.create_superuser('admin@example.com', 'admin')" | python manage.py shell
156
+
157
+ # Database integrity
158
+ python manage.py check --database default
159
+
160
+ # Cache verification (if using Redis)
161
+ python -c "from django.core.cache import cache; cache.set('test', 'value', 10); print(cache.get('test'))"
162
+ ```
163
+
164
+ ## Phase 7: Performance Checks
165
+
166
+ ```bash
167
+ # Django Debug Toolbar output (check for N+1 queries)
168
+ # Run in dev mode with DEBUG=True and access a page
169
+ # Look for duplicate queries in SQL panel
170
+
171
+ # Query count analysis
172
+ django-admin debugsqlshell # If django-debug-sqlshell installed
173
+
174
+ # Check for missing indexes
175
+ python manage.py shell << EOF
176
+ from django.db import connection
177
+ with connection.cursor() as cursor:
178
+ cursor.execute("SELECT table_name, index_name FROM information_schema.statistics WHERE table_schema = 'public'")
179
+ print(cursor.fetchall())
180
+ EOF
181
+ ```
182
+
183
+ Report:
184
+ - Number of queries per page (should be < 50 for typical pages)
185
+ - Missing database indexes
186
+ - Duplicate queries detected
187
+
188
+ ## Phase 8: Static Assets
189
+
190
+ ```bash
191
+ # Check for npm dependencies (if using npm)
192
+ npm audit
193
+ npm audit fix
194
+
195
+ # Build static files (if using webpack/vite)
196
+ npm run build
197
+
198
+ # Verify static files
199
+ ls -la staticfiles/
200
+ python manage.py findstatic css/style.css
201
+ ```
202
+
203
+ ## Phase 9: Configuration Review
204
+
205
+ ```python
206
+ # Run in Python shell to verify settings
207
+ python manage.py shell << EOF
208
+ from django.conf import settings
209
+ import os
210
+
211
+ # Critical checks
212
+ checks = {
213
+ 'DEBUG is False': not settings.DEBUG,
214
+ 'SECRET_KEY set': bool(settings.SECRET_KEY and len(settings.SECRET_KEY) > 30),
215
+ 'ALLOWED_HOSTS set': len(settings.ALLOWED_HOSTS) > 0,
216
+ 'HTTPS enabled': getattr(settings, 'SECURE_SSL_REDIRECT', False),
217
+ 'HSTS enabled': getattr(settings, 'SECURE_HSTS_SECONDS', 0) > 0,
218
+ 'Database configured': settings.DATABASES['default']['ENGINE'] != 'django.db.backends.sqlite3',
219
+ }
220
+
221
+ for check, result in checks.items():
222
+ status = '✓' if result else '✗'
223
+ print(f"{status} {check}")
224
+ EOF
225
+ ```
226
+
227
+ ## Phase 10: Logging Configuration
228
+
229
+ ```bash
230
+ # Test logging output
231
+ python manage.py shell << EOF
232
+ import logging
233
+ logger = logging.getLogger('django')
234
+ logger.warning('Test warning message')
235
+ logger.error('Test error message')
236
+ EOF
237
+
238
+ # Check log files (if configured)
239
+ tail -f /var/log/django/django.log
240
+ ```
241
+
242
+ ## Phase 11: API Documentation (if DRF)
243
+
244
+ ```bash
245
+ # Generate schema
246
+ python manage.py generateschema --format openapi-json > schema.json
247
+
248
+ # Validate schema
249
+ # Check if schema.json is valid JSON
250
+ python -c "import json; json.load(open('schema.json'))"
251
+
252
+ # Access Swagger UI (if using drf-yasg)
253
+ # Visit http://localhost:8000/swagger/ in browser
254
+ ```
255
+
256
+ ## Phase 12: Diff Review
257
+
258
+ ```bash
259
+ # Show diff statistics
260
+ git diff --stat
261
+
262
+ # Show actual changes
263
+ git diff
264
+
265
+ # Show changed files
266
+ git diff --name-only
267
+
268
+ # Check for common issues
269
+ git diff | grep -i "todo\|fixme\|hack\|xxx"
270
+ git diff | grep "print(" # Debug statements
271
+ git diff | grep "DEBUG = True" # Debug mode
272
+ git diff | grep "import pdb" # Debugger
273
+ ```
274
+
275
+ Checklist:
276
+ - No debugging statements (print, pdb, breakpoint())
277
+ - No TODO/FIXME comments in critical code
278
+ - No hardcoded secrets or credentials
279
+ - Database migrations included for model changes
280
+ - Configuration changes documented
281
+ - Error handling present for external calls
282
+ - Transaction management where needed
283
+
284
+ ## Output Template
285
+
286
+ ```
287
+ DJANGO VERIFICATION REPORT
288
+ ==========================
289
+
290
+ Phase 1: Environment Check
291
+ ✓ Python 3.11.5
292
+ ✓ Virtual environment active
293
+ ✓ All environment variables set
294
+
295
+ Phase 2: Code Quality
296
+ ✓ mypy: No type errors
297
+ ✗ ruff: 3 issues found (auto-fixed)
298
+ ✓ black: No formatting issues
299
+ ✓ isort: Imports properly sorted
300
+ ✓ manage.py check: No issues
301
+
302
+ Phase 3: Migrations
303
+ ✓ No unapplied migrations
304
+ ✓ No migration conflicts
305
+ ✓ All models have migrations
306
+
307
+ Phase 4: Tests + Coverage
308
+ Tests: 247 passed, 0 failed, 5 skipped
309
+ Coverage:
310
+ Overall: 87%
311
+ users: 92%
312
+ products: 89%
313
+ orders: 85%
314
+ payments: 91%
315
+
316
+ Phase 5: Security Scan
317
+ ✗ pip-audit: 2 vulnerabilities found (fix required)
318
+ ✓ safety check: No issues
319
+ ✓ bandit: No security issues
320
+ ✓ No secrets detected
321
+ ✓ DEBUG = False
322
+
323
+ Phase 6: Django Commands
324
+ ✓ collectstatic completed
325
+ ✓ Database integrity OK
326
+ ✓ Cache backend reachable
327
+
328
+ Phase 7: Performance
329
+ ✓ No N+1 queries detected
330
+ ✓ Database indexes configured
331
+ ✓ Query count acceptable
332
+
333
+ Phase 8: Static Assets
334
+ ✓ npm audit: No vulnerabilities
335
+ ✓ Assets built successfully
336
+ ✓ Static files collected
337
+
338
+ Phase 9: Configuration
339
+ ✓ DEBUG = False
340
+ ✓ SECRET_KEY configured
341
+ ✓ ALLOWED_HOSTS set
342
+ ✓ HTTPS enabled
343
+ ✓ HSTS enabled
344
+ ✓ Database configured
345
+
346
+ Phase 10: Logging
347
+ ✓ Logging configured
348
+ ✓ Log files writable
349
+
350
+ Phase 11: API Documentation
351
+ ✓ Schema generated
352
+ ✓ Swagger UI accessible
353
+
354
+ Phase 12: Diff Review
355
+ Files changed: 12
356
+ +450, -120 lines
357
+ ✓ No debug statements
358
+ ✓ No hardcoded secrets
359
+ ✓ Migrations included
360
+
361
+ RECOMMENDATION: WARNING: Fix pip-audit vulnerabilities before deploying
362
+
363
+ NEXT STEPS:
364
+ 1. Update vulnerable dependencies
365
+ 2. Re-run security scan
366
+ 3. Deploy to staging for final testing
367
+ ```
368
+
369
+ ## Pre-Deployment Checklist
370
+
371
+ - [ ] All tests passing
372
+ - [ ] Coverage ≥ 80%
373
+ - [ ] No security vulnerabilities
374
+ - [ ] No unapplied migrations
375
+ - [ ] DEBUG = False in production settings
376
+ - [ ] SECRET_KEY properly configured
377
+ - [ ] ALLOWED_HOSTS set correctly
378
+ - [ ] Database backups enabled
379
+ - [ ] Static files collected and served
380
+ - [ ] Logging configured and working
381
+ - [ ] Error monitoring (Sentry, etc.) configured
382
+ - [ ] CDN configured (if applicable)
383
+ - [ ] Redis/cache backend configured
384
+ - [ ] Celery workers running (if applicable)
385
+ - [ ] HTTPS/SSL configured
386
+ - [ ] Environment variables documented
387
+
388
+ ## Continuous Integration
389
+
390
+ ### GitHub Actions Example
391
+
392
+ ```yaml
393
+ # .github/workflows/django-verification.yml
394
+ name: Django Verification
395
+
396
+ on: [push, pull_request]
397
+
398
+ jobs:
399
+ verify:
400
+ runs-on: ubuntu-latest
401
+ services:
402
+ postgres:
403
+ image: postgres:14
404
+ env:
405
+ POSTGRES_PASSWORD: postgres
406
+ options: >-
407
+ --health-cmd pg_isready
408
+ --health-interval 10s
409
+ --health-timeout 5s
410
+ --health-retries 5
411
+
412
+ steps:
413
+ - uses: actions/checkout@v3
414
+
415
+ - name: Set up Python
416
+ uses: actions/setup-python@v4
417
+ with:
418
+ python-version: '3.11'
419
+
420
+ - name: Cache pip
421
+ uses: actions/cache@v3
422
+ with:
423
+ path: ~/.cache/pip
424
+ key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
425
+
426
+ - name: Install dependencies
427
+ run: |
428
+ pip install -r requirements.txt
429
+ pip install ruff black mypy pytest pytest-django pytest-cov bandit safety pip-audit
430
+
431
+ - name: Code quality checks
432
+ run: |
433
+ ruff check .
434
+ black . --check
435
+ isort . --check-only
436
+ mypy .
437
+
438
+ - name: Security scan
439
+ run: |
440
+ bandit -r . -f json -o bandit-report.json
441
+ safety check --full-report
442
+ pip-audit
443
+
444
+ - name: Run tests
445
+ env:
446
+ DATABASE_URL: postgres://postgres:postgres@localhost:5432/test
447
+ DJANGO_SECRET_KEY: test-secret-key
448
+ run: |
449
+ pytest --cov=apps --cov-report=xml --cov-report=term-missing
450
+
451
+ - name: Upload coverage
452
+ uses: codecov/codecov-action@v3
453
+ ```
454
+
455
+ ## Quick Reference
456
+
457
+ | Check | Command |
458
+ |-------|---------|
459
+ | Environment | `python --version` |
460
+ | Type checking | `mypy .` |
461
+ | Linting | `ruff check .` |
462
+ | Formatting | `black . --check` |
463
+ | Migrations | `python manage.py makemigrations --check` |
464
+ | Tests | `pytest --cov=apps` |
465
+ | Security | `pip-audit && bandit -r .` |
466
+ | Django check | `python manage.py check --deploy` |
467
+ | Collectstatic | `python manage.py collectstatic --noinput` |
468
+ | Diff stats | `git diff --stat` |
469
+
470
+ Remember: Automated verification catches common issues but doesn't replace manual code review and testing in staging environment.
@@ -0,0 +1,192 @@
1
+ ---
2
+ name: dmux-workflows
3
+ description: Multi-agent orchestration using dmux (tmux pane manager for AI agents). Patterns for parallel agent workflows across Claude Code, Codex, OpenCode, and other harnesses. Use when running multiple agent sessions in parallel or coordinating multi-agent development workflows.
4
+ metadata:
5
+ origin: ECC
6
+ ---
7
+
8
+ # dmux Workflows
9
+
10
+ Orchestrate parallel AI agent sessions using dmux, a tmux pane manager for agent harnesses.
11
+
12
+ ## When to Activate
13
+
14
+ - Running multiple agent sessions in parallel
15
+ - Coordinating work across Claude Code, Codex, and other harnesses
16
+ - Complex tasks that benefit from divide-and-conquer parallelism
17
+ - User says "run in parallel", "split this work", "use dmux", or "multi-agent"
18
+
19
+ ## What is dmux
20
+
21
+ dmux is a tmux-based orchestration tool that manages AI agent panes:
22
+ - Press `n` to create a new pane with a prompt
23
+ - Press `m` to merge pane output back to the main session
24
+ - Supports: Claude Code, Codex, OpenCode, Cline, Gemini, Qwen
25
+
26
+ **Install:** Install dmux from its repository after reviewing the package. See [github.com/standardagents/dmux](https://github.com/standardagents/dmux)
27
+
28
+ ## Quick Start
29
+
30
+ ```bash
31
+ # Start dmux session
32
+ dmux
33
+
34
+ # Create agent panes (press 'n' in dmux, then type prompt)
35
+ # Pane 1: "Implement the auth middleware in src/auth/"
36
+ # Pane 2: "Write tests for the user service"
37
+ # Pane 3: "Update API documentation"
38
+
39
+ # Each pane runs its own agent session
40
+ # Press 'm' to merge results back
41
+ ```
42
+
43
+ ## Workflow Patterns
44
+
45
+ ### Pattern 1: Research + Implement
46
+
47
+ Split research and implementation into parallel tracks:
48
+
49
+ ```
50
+ Pane 1 (Research): "Research best practices for rate limiting in Node.js.
51
+ Check current libraries, compare approaches, and write findings to
52
+ /tmp/rate-limit-research.md"
53
+
54
+ Pane 2 (Implement): "Implement rate limiting middleware for our Express API.
55
+ Start with a basic token bucket, we'll refine after research completes."
56
+
57
+ # After Pane 1 completes, merge findings into Pane 2's context
58
+ ```
59
+
60
+ ### Pattern 2: Multi-File Feature
61
+
62
+ Parallelize work across independent files:
63
+
64
+ ```
65
+ Pane 1: "Create the database schema and migrations for the billing feature"
66
+ Pane 2: "Build the billing API endpoints in src/api/billing/"
67
+ Pane 3: "Create the billing dashboard UI components"
68
+
69
+ # Merge all, then do integration in main pane
70
+ ```
71
+
72
+ ### Pattern 3: Test + Fix Loop
73
+
74
+ Run tests in one pane, fix in another:
75
+
76
+ ```
77
+ Pane 1 (Watcher): "Run the test suite in watch mode. When tests fail,
78
+ summarize the failures."
79
+
80
+ Pane 2 (Fixer): "Fix failing tests based on the error output from pane 1"
81
+ ```
82
+
83
+ ### Pattern 4: Cross-Harness
84
+
85
+ Use different AI tools for different tasks:
86
+
87
+ ```
88
+ Pane 1 (Claude Code): "Review the security of the auth module"
89
+ Pane 2 (Codex): "Refactor the utility functions for performance"
90
+ Pane 3 (Claude Code): "Write E2E tests for the checkout flow"
91
+ ```
92
+
93
+ ### Pattern 5: Code Review Pipeline
94
+
95
+ Parallel review perspectives:
96
+
97
+ ```
98
+ Pane 1: "Review src/api/ for security vulnerabilities"
99
+ Pane 2: "Review src/api/ for performance issues"
100
+ Pane 3: "Review src/api/ for test coverage gaps"
101
+
102
+ # Merge all reviews into a single report
103
+ ```
104
+
105
+ ## Best Practices
106
+
107
+ 1. **Independent tasks only.** Don't parallelize tasks that depend on each other's output.
108
+ 2. **Clear boundaries.** Each pane should work on distinct files or concerns.
109
+ 3. **Merge strategically.** Review pane output before merging to avoid conflicts.
110
+ 4. **Use git worktrees.** For file-conflict-prone work, use separate worktrees per pane.
111
+ 5. **Resource awareness.** Each pane uses API tokens — keep total panes under 5-6.
112
+
113
+ ## Git Worktree Integration
114
+
115
+ For tasks that touch overlapping files:
116
+
117
+ ```bash
118
+ # Create worktrees for isolation
119
+ git worktree add -b feat/auth ../feature-auth HEAD
120
+ git worktree add -b feat/billing ../feature-billing HEAD
121
+
122
+ # Run agents in separate worktrees
123
+ # Pane 1: cd ../feature-auth && claude
124
+ # Pane 2: cd ../feature-billing && claude
125
+
126
+ # Merge branches when done
127
+ git merge feat/auth
128
+ git merge feat/billing
129
+ ```
130
+
131
+ ## Complementary Tools
132
+
133
+ | Tool | What It Does | When to Use |
134
+ |------|-------------|-------------|
135
+ | **dmux** | tmux pane management for agents | Parallel agent sessions |
136
+ | **Superset** | Terminal IDE for 10+ parallel agents | Large-scale orchestration |
137
+ | **Claude Code Task tool** | In-process subagent spawning | Programmatic parallelism within a session |
138
+ | **Codex multi-agent** | Built-in agent roles | Codex-specific parallel work |
139
+
140
+ ## ECC Helper
141
+
142
+ ECC now includes a helper for external tmux-pane orchestration with separate git worktrees:
143
+
144
+ ```bash
145
+ node scripts/orchestrate-worktrees.js plan.json --execute
146
+ ```
147
+
148
+ Example `plan.json`:
149
+
150
+ ```json
151
+ {
152
+ "sessionName": "skill-audit",
153
+ "baseRef": "HEAD",
154
+ "launcherCommand": "codex exec --cwd {worktree_path} --task-file {task_file}",
155
+ "workers": [
156
+ { "name": "docs-a", "task": "Fix skills 1-4 and write handoff notes." },
157
+ { "name": "docs-b", "task": "Fix skills 5-8 and write handoff notes." }
158
+ ]
159
+ }
160
+ ```
161
+
162
+ The helper:
163
+ - Creates one branch-backed git worktree per worker
164
+ - Optionally overlays selected `seedPaths` from the main checkout into each worker worktree
165
+ - Writes per-worker `task.md`, `handoff.md`, and `status.md` files under `.orchestration/<session>/`
166
+ - Starts a tmux session with one pane per worker
167
+ - Launches each worker command in its own pane
168
+ - Leaves the main pane free for the orchestrator
169
+
170
+ Use `seedPaths` when workers need access to dirty or untracked local files that are not yet part of `HEAD`, such as local orchestration scripts, draft plans, or docs:
171
+
172
+ ```json
173
+ {
174
+ "sessionName": "workflow-e2e",
175
+ "seedPaths": [
176
+ "scripts/orchestrate-worktrees.js",
177
+ "scripts/lib/tmux-worktree-orchestrator.js",
178
+ ".claude/plan/workflow-e2e-test.json"
179
+ ],
180
+ "launcherCommand": "bash {repo_root}/scripts/orchestrate-codex-worker.sh {task_file} {handoff_file} {status_file}",
181
+ "workers": [
182
+ { "name": "seed-check", "task": "Verify seeded files are present before starting work." }
183
+ ]
184
+ }
185
+ ```
186
+
187
+ ## Troubleshooting
188
+
189
+ - **Pane not responding:** Switch to the pane directly or inspect it with `tmux capture-pane -pt <session>:0.<pane-index>`.
190
+ - **Merge conflicts:** Use git worktrees to isolate file changes per pane.
191
+ - **High token usage:** Reduce number of parallel panes. Each pane is a full agent session.
192
+ - **tmux not found:** Install with `brew install tmux` (macOS) or `apt install tmux` (Linux).