claudecode-omc 5.6.4 → 5.6.6

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 (383) hide show
  1. package/.local/commands/code-review.md +416 -0
  2. package/.local/commands/pr.md +250 -0
  3. package/.local/commands/prp-pr.md +244 -0
  4. package/.local/guidelines/CLAUDE.md +47 -0
  5. package/.local/skills/prompt-optimizer/SKILL.md +23 -4
  6. package/bundled/manifest.json +4 -4
  7. package/bundled/upstream/anthropic-skills/skills/algorithmic-art/LICENSE.txt +1 -1
  8. package/bundled/upstream/anthropic-skills/skills/brand-guidelines/LICENSE.txt +1 -1
  9. package/bundled/upstream/anthropic-skills/skills/canvas-design/LICENSE.txt +1 -1
  10. package/bundled/upstream/anthropic-skills/skills/claude-api/LICENSE.txt +1 -1
  11. package/bundled/upstream/anthropic-skills/skills/claude-api/SKILL.md +120 -58
  12. package/bundled/upstream/anthropic-skills/skills/claude-api/curl/examples.md +9 -9
  13. package/bundled/upstream/anthropic-skills/skills/claude-api/curl/managed-agents.md +336 -0
  14. package/bundled/upstream/anthropic-skills/skills/claude-api/go/managed-agents/README.md +561 -0
  15. package/bundled/upstream/anthropic-skills/skills/claude-api/java/claude-api.md +2 -2
  16. package/bundled/upstream/anthropic-skills/skills/claude-api/java/managed-agents/README.md +442 -0
  17. package/bundled/upstream/anthropic-skills/skills/claude-api/php/claude-api.md +10 -10
  18. package/bundled/upstream/anthropic-skills/skills/claude-api/php/managed-agents/README.md +435 -0
  19. package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/README.md +16 -16
  20. package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/batches.md +3 -3
  21. package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/files-api.md +3 -3
  22. package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/streaming.md +7 -7
  23. package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/tool-use.md +19 -19
  24. package/bundled/upstream/anthropic-skills/skills/claude-api/python/managed-agents/README.md +332 -0
  25. package/bundled/upstream/anthropic-skills/skills/claude-api/ruby/claude-api.md +4 -4
  26. package/bundled/upstream/anthropic-skills/skills/claude-api/ruby/managed-agents/README.md +389 -0
  27. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/agent-design.md +101 -0
  28. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/error-codes.md +11 -4
  29. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/live-sources.md +60 -48
  30. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-api-reference.md +372 -0
  31. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-client-patterns.md +209 -0
  32. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-core.md +220 -0
  33. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-environments.md +211 -0
  34. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-events.md +195 -0
  35. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-memory.md +197 -0
  36. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-multiagent.md +99 -0
  37. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-onboarding.md +114 -0
  38. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-outcomes.md +106 -0
  39. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-overview.md +67 -0
  40. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-tools.md +315 -0
  41. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-webhooks.md +110 -0
  42. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/model-migration.md +779 -0
  43. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/models.md +16 -14
  44. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/prompt-caching.md +45 -2
  45. package/bundled/upstream/anthropic-skills/skills/claude-api/shared/tool-use-concepts.md +28 -6
  46. package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/claude-api/README.md +15 -15
  47. package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/claude-api/batches.md +2 -2
  48. package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/claude-api/files-api.md +1 -1
  49. package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/claude-api/streaming.md +5 -5
  50. package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/claude-api/tool-use.md +15 -15
  51. package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/managed-agents/README.md +359 -0
  52. package/bundled/upstream/anthropic-skills/skills/internal-comms/LICENSE.txt +1 -1
  53. package/bundled/upstream/anthropic-skills/skills/mcp-builder/LICENSE.txt +1 -1
  54. package/bundled/upstream/anthropic-skills/skills/skill-creator/LICENSE.txt +1 -1
  55. package/bundled/upstream/anthropic-skills/skills/slack-gif-creator/LICENSE.txt +1 -1
  56. package/bundled/upstream/anthropic-skills/skills/theme-factory/LICENSE.txt +1 -1
  57. package/bundled/upstream/anthropic-skills/skills/web-artifacts-builder/LICENSE.txt +1 -1
  58. package/bundled/upstream/anthropic-skills/skills/webapp-testing/LICENSE.txt +1 -1
  59. package/bundled/upstream/ecc/.omc-source/bundle.json +2 -3
  60. package/bundled/upstream/ecc/.omc-source/manifests/.claude-plugin/marketplace.json +4 -4
  61. package/bundled/upstream/ecc/agents/a11y-architect.md +10 -2
  62. package/bundled/upstream/ecc/agents/architect.md +9 -0
  63. package/bundled/upstream/ecc/agents/build-error-resolver.md +9 -0
  64. package/bundled/upstream/ecc/agents/chief-of-staff.md +9 -0
  65. package/bundled/upstream/ecc/agents/code-architect.md +9 -0
  66. package/bundled/upstream/ecc/agents/code-explorer.md +10 -1
  67. package/bundled/upstream/ecc/agents/code-reviewer.md +87 -1
  68. package/bundled/upstream/ecc/agents/code-simplifier.md +9 -0
  69. package/bundled/upstream/ecc/agents/comment-analyzer.md +10 -1
  70. package/bundled/upstream/ecc/agents/conversation-analyzer.md +9 -0
  71. package/bundled/upstream/ecc/agents/cpp-build-resolver.md +9 -0
  72. package/bundled/upstream/ecc/agents/cpp-reviewer.md +9 -0
  73. package/bundled/upstream/ecc/agents/csharp-reviewer.md +9 -0
  74. package/bundled/upstream/ecc/agents/dart-build-resolver.md +9 -0
  75. package/bundled/upstream/ecc/agents/database-reviewer.md +9 -0
  76. package/bundled/upstream/ecc/agents/django-build-resolver.md +252 -0
  77. package/bundled/upstream/ecc/agents/django-reviewer.md +169 -0
  78. package/bundled/upstream/ecc/agents/doc-updater.md +9 -0
  79. package/bundled/upstream/ecc/agents/docs-lookup.md +9 -0
  80. package/bundled/upstream/ecc/agents/e2e-runner.md +9 -0
  81. package/bundled/upstream/ecc/agents/fastapi-reviewer.md +79 -0
  82. package/bundled/upstream/ecc/agents/flutter-reviewer.md +9 -0
  83. package/bundled/upstream/ecc/agents/fsharp-reviewer.md +109 -0
  84. package/bundled/upstream/ecc/agents/gan-evaluator.md +9 -0
  85. package/bundled/upstream/ecc/agents/gan-generator.md +9 -0
  86. package/bundled/upstream/ecc/agents/gan-planner.md +9 -0
  87. package/bundled/upstream/ecc/agents/go-build-resolver.md +9 -0
  88. package/bundled/upstream/ecc/agents/go-reviewer.md +9 -0
  89. package/bundled/upstream/ecc/agents/harmonyos-app-resolver.md +182 -0
  90. package/bundled/upstream/ecc/agents/harness-optimizer.md +9 -0
  91. package/bundled/upstream/ecc/agents/healthcare-reviewer.md +9 -0
  92. package/bundled/upstream/ecc/agents/homelab-architect.md +107 -0
  93. package/bundled/upstream/ecc/agents/java-build-resolver.md +133 -11
  94. package/bundled/upstream/ecc/agents/java-reviewer.md +130 -32
  95. package/bundled/upstream/ecc/agents/kotlin-build-resolver.md +9 -0
  96. package/bundled/upstream/ecc/agents/kotlin-reviewer.md +9 -0
  97. package/bundled/upstream/ecc/agents/loop-operator.md +9 -0
  98. package/bundled/upstream/ecc/agents/mle-reviewer.md +162 -0
  99. package/bundled/upstream/ecc/agents/network-architect.md +106 -0
  100. package/bundled/upstream/ecc/agents/network-config-reviewer.md +106 -0
  101. package/bundled/upstream/ecc/agents/network-troubleshooter.md +128 -0
  102. package/bundled/upstream/ecc/agents/opensource-forker.md +9 -0
  103. package/bundled/upstream/ecc/agents/opensource-packager.md +9 -0
  104. package/bundled/upstream/ecc/agents/opensource-sanitizer.md +9 -0
  105. package/bundled/upstream/ecc/agents/performance-optimizer.md +9 -0
  106. package/bundled/upstream/ecc/agents/planner.md +9 -0
  107. package/bundled/upstream/ecc/agents/pr-test-analyzer.md +9 -0
  108. package/bundled/upstream/ecc/agents/python-reviewer.md +9 -0
  109. package/bundled/upstream/ecc/agents/pytorch-build-resolver.md +12 -3
  110. package/bundled/upstream/ecc/agents/refactor-cleaner.md +9 -0
  111. package/bundled/upstream/ecc/agents/rust-build-resolver.md +9 -0
  112. package/bundled/upstream/ecc/agents/rust-reviewer.md +9 -0
  113. package/bundled/upstream/ecc/agents/security-reviewer.md +9 -0
  114. package/bundled/upstream/ecc/agents/seo-specialist.md +10 -1
  115. package/bundled/upstream/ecc/agents/silent-failure-hunter.md +9 -0
  116. package/bundled/upstream/ecc/agents/swift-build-resolver.md +170 -0
  117. package/bundled/upstream/ecc/agents/swift-reviewer.md +116 -0
  118. package/bundled/upstream/ecc/agents/tdd-guide.md +9 -0
  119. package/bundled/upstream/ecc/agents/type-design-analyzer.md +10 -1
  120. package/bundled/upstream/ecc/agents/typescript-reviewer.md +9 -0
  121. package/bundled/upstream/ecc/commands/auto-update.md +28 -0
  122. package/bundled/upstream/ecc/commands/build-fix.md +4 -0
  123. package/bundled/upstream/ecc/commands/checkpoint.md +4 -0
  124. package/bundled/upstream/ecc/commands/code-review.md +3 -3
  125. package/bundled/upstream/ecc/commands/cost-report.md +107 -0
  126. package/bundled/upstream/ecc/commands/cpp-build.md +1 -1
  127. package/bundled/upstream/ecc/commands/cpp-test.md +1 -1
  128. package/bundled/upstream/ecc/commands/ecc-guide.md +93 -0
  129. package/bundled/upstream/ecc/commands/fastapi-review.md +39 -0
  130. package/bundled/upstream/ecc/commands/flutter-build.md +1 -1
  131. package/bundled/upstream/ecc/commands/flutter-test.md +1 -1
  132. package/bundled/upstream/ecc/commands/gan-build.md +4 -0
  133. package/bundled/upstream/ecc/commands/gan-design.md +4 -0
  134. package/bundled/upstream/ecc/commands/go-build.md +1 -1
  135. package/bundled/upstream/ecc/commands/go-test.md +1 -1
  136. package/bundled/upstream/ecc/commands/harness-audit.md +4 -0
  137. package/bundled/upstream/ecc/commands/jira.md +2 -2
  138. package/bundled/upstream/ecc/commands/kotlin-build.md +1 -1
  139. package/bundled/upstream/ecc/commands/kotlin-test.md +1 -1
  140. package/bundled/upstream/ecc/commands/learn.md +4 -0
  141. package/bundled/upstream/ecc/commands/loop-start.md +4 -0
  142. package/bundled/upstream/ecc/commands/loop-status.md +54 -1
  143. package/bundled/upstream/ecc/commands/model-route.md +4 -0
  144. package/bundled/upstream/ecc/commands/multi-backend.md +4 -0
  145. package/bundled/upstream/ecc/commands/multi-execute.md +4 -0
  146. package/bundled/upstream/ecc/commands/multi-frontend.md +4 -0
  147. package/bundled/upstream/ecc/commands/multi-plan.md +4 -0
  148. package/bundled/upstream/ecc/commands/multi-workflow.md +4 -0
  149. package/bundled/upstream/ecc/commands/plan-prd.md +160 -0
  150. package/bundled/upstream/ecc/commands/plan.md +96 -13
  151. package/bundled/upstream/ecc/commands/pm2.md +4 -0
  152. package/bundled/upstream/ecc/commands/pr.md +184 -0
  153. package/bundled/upstream/ecc/commands/project-init.md +86 -0
  154. package/bundled/upstream/ecc/commands/python-review.md +1 -1
  155. package/bundled/upstream/ecc/commands/quality-gate.md +4 -0
  156. package/bundled/upstream/ecc/commands/refactor-clean.md +4 -0
  157. package/bundled/upstream/ecc/commands/rust-build.md +1 -1
  158. package/bundled/upstream/ecc/commands/rust-test.md +1 -1
  159. package/bundled/upstream/ecc/commands/security-scan.md +92 -0
  160. package/bundled/upstream/ecc/commands/sessions.md +6 -6
  161. package/bundled/upstream/ecc/commands/skill-health.md +3 -3
  162. package/bundled/upstream/ecc/commands/test-coverage.md +4 -0
  163. package/bundled/upstream/ecc/commands/update-codemaps.md +4 -0
  164. package/bundled/upstream/ecc/commands/update-docs.md +4 -0
  165. package/bundled/upstream/ecc/skills/accessibility/SKILL.md +1 -1
  166. package/bundled/upstream/ecc/skills/agent-architecture-audit/SKILL.md +256 -0
  167. package/bundled/upstream/ecc/skills/agent-payment-x402/SKILL.md +49 -3
  168. package/bundled/upstream/ecc/skills/agentic-os/SKILL.md +387 -0
  169. package/bundled/upstream/ecc/skills/angular-developer/SKILL.md +154 -0
  170. package/bundled/upstream/ecc/skills/angular-developer/references/angular-animations.md +160 -0
  171. package/bundled/upstream/ecc/skills/angular-developer/references/angular-aria.md +410 -0
  172. package/bundled/upstream/ecc/skills/angular-developer/references/cli.md +86 -0
  173. package/bundled/upstream/ecc/skills/angular-developer/references/component-harnesses.md +59 -0
  174. package/bundled/upstream/ecc/skills/angular-developer/references/component-styling.md +91 -0
  175. package/bundled/upstream/ecc/skills/angular-developer/references/components.md +117 -0
  176. package/bundled/upstream/ecc/skills/angular-developer/references/creating-services.md +97 -0
  177. package/bundled/upstream/ecc/skills/angular-developer/references/data-resolvers.md +69 -0
  178. package/bundled/upstream/ecc/skills/angular-developer/references/define-routes.md +67 -0
  179. package/bundled/upstream/ecc/skills/angular-developer/references/defining-providers.md +72 -0
  180. package/bundled/upstream/ecc/skills/angular-developer/references/di-fundamentals.md +120 -0
  181. package/bundled/upstream/ecc/skills/angular-developer/references/e2e-testing.md +56 -0
  182. package/bundled/upstream/ecc/skills/angular-developer/references/effects.md +83 -0
  183. package/bundled/upstream/ecc/skills/angular-developer/references/hierarchical-injectors.md +43 -0
  184. package/bundled/upstream/ecc/skills/angular-developer/references/host-elements.md +80 -0
  185. package/bundled/upstream/ecc/skills/angular-developer/references/injection-context.md +63 -0
  186. package/bundled/upstream/ecc/skills/angular-developer/references/inputs.md +101 -0
  187. package/bundled/upstream/ecc/skills/angular-developer/references/linked-signal.md +59 -0
  188. package/bundled/upstream/ecc/skills/angular-developer/references/loading-strategies.md +61 -0
  189. package/bundled/upstream/ecc/skills/angular-developer/references/mcp.md +108 -0
  190. package/bundled/upstream/ecc/skills/angular-developer/references/navigate-to-routes.md +69 -0
  191. package/bundled/upstream/ecc/skills/angular-developer/references/outputs.md +86 -0
  192. package/bundled/upstream/ecc/skills/angular-developer/references/reactive-forms.md +122 -0
  193. package/bundled/upstream/ecc/skills/angular-developer/references/rendering-strategies.md +44 -0
  194. package/bundled/upstream/ecc/skills/angular-developer/references/resource.md +77 -0
  195. package/bundled/upstream/ecc/skills/angular-developer/references/route-animations.md +56 -0
  196. package/bundled/upstream/ecc/skills/angular-developer/references/route-guards.md +52 -0
  197. package/bundled/upstream/ecc/skills/angular-developer/references/router-lifecycle.md +45 -0
  198. package/bundled/upstream/ecc/skills/angular-developer/references/router-testing.md +87 -0
  199. package/bundled/upstream/ecc/skills/angular-developer/references/show-routes-with-outlets.md +68 -0
  200. package/bundled/upstream/ecc/skills/angular-developer/references/signal-forms.md +795 -0
  201. package/bundled/upstream/ecc/skills/angular-developer/references/signals-overview.md +94 -0
  202. package/bundled/upstream/ecc/skills/angular-developer/references/tailwind-css.md +69 -0
  203. package/bundled/upstream/ecc/skills/angular-developer/references/template-driven-forms.md +114 -0
  204. package/bundled/upstream/ecc/skills/angular-developer/references/testing-fundamentals.md +65 -0
  205. package/bundled/upstream/ecc/skills/autonomous-agent-harness/SKILL.md +6 -0
  206. package/bundled/upstream/ecc/skills/backend-patterns/SKILL.md +8 -45
  207. package/bundled/upstream/ecc/skills/cisco-ios-patterns/SKILL.md +163 -0
  208. package/bundled/upstream/ecc/skills/configure-ecc/SKILL.md +31 -14
  209. package/bundled/upstream/ecc/skills/continuous-learning/SKILL.md +10 -2
  210. package/bundled/upstream/ecc/skills/continuous-learning-v2/SKILL.md +19 -5
  211. package/bundled/upstream/ecc/skills/continuous-learning-v2/agents/observer-loop.sh +44 -4
  212. package/bundled/upstream/ecc/skills/continuous-learning-v2/agents/observer.md +4 -4
  213. package/bundled/upstream/ecc/skills/continuous-learning-v2/agents/start-observer.sh +5 -1
  214. package/bundled/upstream/ecc/skills/continuous-learning-v2/hooks/observe.sh +21 -5
  215. package/bundled/upstream/ecc/skills/continuous-learning-v2/scripts/detect-project.sh +58 -13
  216. package/bundled/upstream/ecc/skills/continuous-learning-v2/scripts/instinct-cli.py +97 -4
  217. package/bundled/upstream/ecc/skills/continuous-learning-v2/scripts/lib/homunculus-dir.sh +31 -0
  218. package/bundled/upstream/ecc/skills/continuous-learning-v2/scripts/migrate-homunculus.sh +62 -0
  219. package/bundled/upstream/ecc/skills/continuous-learning-v2/scripts/test_parse_instinct.py +34 -0
  220. package/bundled/upstream/ecc/skills/cost-tracking/SKILL.md +147 -0
  221. package/bundled/upstream/ecc/skills/deep-research/SKILL.md +4 -0
  222. package/bundled/upstream/ecc/skills/defi-amm-security/SKILL.md +6 -0
  223. package/bundled/upstream/ecc/skills/django-celery/SKILL.md +457 -0
  224. package/bundled/upstream/ecc/skills/ecc-guide/SKILL.md +189 -0
  225. package/bundled/upstream/ecc/skills/error-handling/SKILL.md +376 -0
  226. package/bundled/upstream/ecc/skills/exa-search/SKILL.md +4 -0
  227. package/bundled/upstream/ecc/skills/fal-ai-media/SKILL.md +4 -0
  228. package/bundled/upstream/ecc/skills/fastapi-patterns/SKILL.md +327 -0
  229. package/bundled/upstream/ecc/skills/flox-environments/SKILL.md +496 -0
  230. package/bundled/upstream/ecc/skills/frontend-design-direction/SKILL.md +92 -0
  231. package/bundled/upstream/ecc/skills/frontend-slides/animation-patterns.md +122 -0
  232. package/bundled/upstream/ecc/skills/frontend-slides/html-template.md +419 -0
  233. package/bundled/upstream/ecc/skills/frontend-slides/scripts/export-pdf.sh +418 -0
  234. package/bundled/upstream/ecc/skills/frontend-slides/scripts/extract-pptx.py +96 -0
  235. package/bundled/upstream/ecc/skills/frontend-slides/viewport-base.css +153 -0
  236. package/bundled/upstream/ecc/skills/fsharp-testing/SKILL.md +280 -0
  237. package/bundled/upstream/ecc/skills/gateguard/SKILL.md +4 -0
  238. package/bundled/upstream/ecc/skills/hermes-imports/SKILL.md +88 -0
  239. package/bundled/upstream/ecc/skills/homelab-network-readiness/SKILL.md +169 -0
  240. package/bundled/upstream/ecc/skills/homelab-network-setup/SKILL.md +129 -0
  241. package/bundled/upstream/ecc/skills/homelab-pihole-dns/SKILL.md +274 -0
  242. package/bundled/upstream/ecc/skills/homelab-vlan-segmentation/SKILL.md +311 -0
  243. package/bundled/upstream/ecc/skills/homelab-wireguard-vpn/SKILL.md +305 -0
  244. package/bundled/upstream/ecc/skills/ios-icon-gen/SKILL.md +157 -0
  245. package/bundled/upstream/ecc/skills/ios-icon-gen/scripts/generate_icons.swift +258 -0
  246. package/bundled/upstream/ecc/skills/ios-icon-gen/scripts/iconify_gen.sh +235 -0
  247. package/bundled/upstream/ecc/skills/java-coding-standards/SKILL.md +241 -5
  248. package/bundled/upstream/ecc/skills/make-interfaces-feel-better/SKILL.md +151 -0
  249. package/bundled/upstream/ecc/skills/mle-workflow/SKILL.md +346 -0
  250. package/bundled/upstream/ecc/skills/motion-advanced/SKILL.md +596 -0
  251. package/bundled/upstream/ecc/skills/motion-foundations/SKILL.md +299 -0
  252. package/bundled/upstream/ecc/skills/motion-patterns/SKILL.md +435 -0
  253. package/bundled/upstream/ecc/skills/motion-ui/SKILL.md +575 -0
  254. package/bundled/upstream/ecc/skills/mysql-patterns/SKILL.md +412 -0
  255. package/bundled/upstream/ecc/skills/netmiko-ssh-automation/SKILL.md +173 -0
  256. package/bundled/upstream/ecc/skills/network-bgp-diagnostics/SKILL.md +167 -0
  257. package/bundled/upstream/ecc/skills/network-config-validation/SKILL.md +210 -0
  258. package/bundled/upstream/ecc/skills/network-interface-health/SKILL.md +152 -0
  259. package/bundled/upstream/ecc/skills/openclaw-persona-forge/SKILL.md +1 -9
  260. package/bundled/upstream/ecc/skills/plan-orchestrate/SKILL.md +262 -0
  261. package/bundled/upstream/ecc/skills/prisma-patterns/SKILL.md +371 -0
  262. package/bundled/upstream/ecc/skills/production-audit/SKILL.md +206 -0
  263. package/bundled/upstream/ecc/skills/prompt-optimizer/SKILL.md +24 -400
  264. package/bundled/upstream/ecc/skills/quarkus-patterns/SKILL.md +722 -0
  265. package/bundled/upstream/ecc/skills/quarkus-security/SKILL.md +467 -0
  266. package/bundled/upstream/ecc/skills/quarkus-tdd/SKILL.md +811 -0
  267. package/bundled/upstream/ecc/skills/quarkus-verification/SKILL.md +479 -0
  268. package/bundled/upstream/ecc/skills/redis-patterns/SKILL.md +403 -0
  269. package/bundled/upstream/ecc/skills/scientific-db-pubmed-database/SKILL.md +175 -0
  270. package/bundled/upstream/ecc/skills/scientific-db-uspto-database/SKILL.md +177 -0
  271. package/bundled/upstream/ecc/skills/scientific-pkg-gget/SKILL.md +166 -0
  272. package/bundled/upstream/ecc/skills/scientific-thinking-literature-review/SKILL.md +192 -0
  273. package/bundled/upstream/ecc/skills/scientific-thinking-scholar-evaluation/SKILL.md +160 -0
  274. package/bundled/upstream/ecc/skills/search-first/SKILL.md +23 -2
  275. package/bundled/upstream/ecc/skills/security-review/SKILL.md +10 -2
  276. package/bundled/upstream/ecc/skills/skill-comply/scripts/runner.py +28 -3
  277. package/bundled/upstream/ecc/skills/skill-comply/tests/test_runner.py +172 -0
  278. package/bundled/upstream/ecc/skills/skill-scout/SKILL.md +140 -0
  279. package/bundled/upstream/ecc/skills/skill-stocktake/SKILL.md +1 -0
  280. package/bundled/upstream/ecc/skills/strategic-compact/SKILL.md +2 -2
  281. package/bundled/upstream/ecc/skills/tinystruct-patterns/SKILL.md +203 -0
  282. package/bundled/upstream/ecc/skills/tinystruct-patterns/references/architecture.md +90 -0
  283. package/bundled/upstream/ecc/skills/tinystruct-patterns/references/data-handling.md +60 -0
  284. package/bundled/upstream/ecc/skills/tinystruct-patterns/references/database.md +99 -0
  285. package/bundled/upstream/ecc/skills/tinystruct-patterns/references/routing.md +64 -0
  286. package/bundled/upstream/ecc/skills/tinystruct-patterns/references/system-usage.md +97 -0
  287. package/bundled/upstream/ecc/skills/tinystruct-patterns/references/testing.md +72 -0
  288. package/bundled/upstream/ecc/skills/ui-to-vue/SKILL.md +134 -0
  289. package/bundled/upstream/ecc/skills/vite-patterns/SKILL.md +449 -0
  290. package/bundled/upstream/ecc/skills/windows-desktop-e2e/SKILL.md +788 -0
  291. package/bundled/upstream/ecc/skills/x-api/SKILL.md +4 -0
  292. package/bundled/upstream/oh-my-claudecode/.omc-source/bundle.json +20 -0
  293. package/bundled/upstream/oh-my-claudecode/agents/analyst.md +2 -1
  294. package/bundled/upstream/oh-my-claudecode/agents/architect.md +2 -1
  295. package/bundled/upstream/oh-my-claudecode/agents/code-reviewer.md +26 -7
  296. package/bundled/upstream/oh-my-claudecode/agents/critic.md +2 -1
  297. package/bundled/upstream/oh-my-claudecode/agents/debugger.md +2 -1
  298. package/bundled/upstream/oh-my-claudecode/agents/designer.md +14 -1
  299. package/bundled/upstream/oh-my-claudecode/agents/document-specialist.md +1 -1
  300. package/bundled/upstream/oh-my-claudecode/agents/executor.md +2 -1
  301. package/bundled/upstream/oh-my-claudecode/agents/explore.md +2 -1
  302. package/bundled/upstream/oh-my-claudecode/agents/git-master.md +2 -1
  303. package/bundled/upstream/oh-my-claudecode/agents/planner.md +2 -1
  304. package/bundled/upstream/oh-my-claudecode/agents/qa-tester.md +2 -1
  305. package/bundled/upstream/oh-my-claudecode/agents/scientist.md +2 -1
  306. package/bundled/upstream/oh-my-claudecode/agents/security-reviewer.md +2 -1
  307. package/bundled/upstream/oh-my-claudecode/agents/test-engineer.md +2 -1
  308. package/bundled/upstream/oh-my-claudecode/agents/tracer.md +2 -1
  309. package/bundled/upstream/oh-my-claudecode/agents/verifier.md +2 -1
  310. package/bundled/upstream/oh-my-claudecode/agents/writer.md +2 -1
  311. package/bundled/upstream/oh-my-claudecode/skills/AGENTS.md +4 -3
  312. package/bundled/upstream/oh-my-claudecode/skills/ai-slop-cleaner/SKILL.md +12 -0
  313. package/bundled/upstream/oh-my-claudecode/skills/deep-dive/SKILL.md +69 -13
  314. package/bundled/upstream/oh-my-claudecode/skills/deep-interview/SKILL.md +176 -63
  315. package/bundled/upstream/oh-my-claudecode/skills/learner/SKILL.md +3 -1
  316. package/bundled/upstream/oh-my-claudecode/skills/omc-doctor/SKILL.md +22 -3
  317. package/bundled/upstream/oh-my-claudecode/skills/omc-reference/SKILL.md +1 -1
  318. package/bundled/upstream/oh-my-claudecode/skills/omc-setup/phases/01-install-claude-md.md +2 -2
  319. package/bundled/upstream/oh-my-claudecode/skills/omc-setup/phases/02-configure.md +45 -2
  320. package/bundled/upstream/oh-my-claudecode/skills/omc-setup/phases/03-integrations.md +46 -5
  321. package/bundled/upstream/oh-my-claudecode/skills/plan/SKILL.md +19 -17
  322. package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/config.sh +1 -1
  323. package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/parse.sh +1 -1
  324. package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/providers/azure-devops.sh +1 -1
  325. package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/providers/bitbucket.sh +1 -1
  326. package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/providers/gitea.sh +1 -1
  327. package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/providers/github.sh +1 -1
  328. package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/providers/gitlab.sh +1 -1
  329. package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/providers/interface.sh +1 -1
  330. package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/providers/jira.sh +1 -1
  331. package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/session.sh +1 -1
  332. package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/tmux.sh +1 -1
  333. package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/worktree.sh +1 -1
  334. package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/psm.sh +1 -1
  335. package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/tests/test-psm-prompt-injection.sh +1 -1
  336. package/bundled/upstream/oh-my-claudecode/skills/ralph/SKILL.md +8 -8
  337. package/bundled/upstream/oh-my-claudecode/skills/ralplan/SKILL.md +9 -5
  338. package/bundled/upstream/oh-my-claudecode/skills/skill/SKILL.md +6 -6
  339. package/bundled/upstream/oh-my-claudecode/skills/skillify/SKILL.md +19 -3
  340. package/bundled/upstream/oh-my-claudecode/skills/trace/SKILL.md +3 -1
  341. package/bundled/upstream/oh-my-claudecode/skills/ultrawork/SKILL.md +20 -7
  342. package/bundled/upstream/superpowers/.omc-source/bundle.json +21 -0
  343. package/bundled/upstream/superpowers/hooks/hooks-cursor.json +1 -1
  344. package/bundled/upstream/superpowers/skills/executing-plans/SKILL.md +1 -1
  345. package/bundled/upstream/superpowers/skills/finishing-a-development-branch/SKILL.md +93 -42
  346. package/bundled/upstream/superpowers/skills/requesting-code-review/SKILL.md +7 -9
  347. package/bundled/upstream/superpowers/skills/requesting-code-review/code-reviewer.md +107 -85
  348. package/bundled/upstream/superpowers/skills/subagent-driven-development/SKILL.md +3 -1
  349. package/bundled/upstream/superpowers/skills/subagent-driven-development/code-quality-reviewer-prompt.md +2 -3
  350. package/bundled/upstream/superpowers/skills/systematic-debugging/CREATION-LOG.md +1 -1
  351. package/bundled/upstream/superpowers/skills/systematic-debugging/root-cause-tracing.md +1 -1
  352. package/bundled/upstream/superpowers/skills/using-git-worktrees/SKILL.md +95 -98
  353. package/bundled/upstream/superpowers/skills/using-superpowers/references/codex-tools.md +7 -48
  354. package/bundled/upstream/superpowers/skills/using-superpowers/references/copilot-tools.md +1 -11
  355. package/bundled/upstream/superpowers/skills/using-superpowers/references/gemini-tools.md +21 -3
  356. package/bundled/upstream/superpowers/skills/writing-plans/SKILL.md +1 -1
  357. package/package.json +1 -1
  358. package/src/cli/index.js +1 -0
  359. package/src/cli/setup.js +9 -0
  360. package/src/cli/skill-index.js +209 -0
  361. package/src/cli/skill.js +4 -0
  362. package/bundled/upstream/anthropic-skills/skills/claude-api/python/agent-sdk/README.md +0 -355
  363. package/bundled/upstream/anthropic-skills/skills/claude-api/python/agent-sdk/patterns.md +0 -359
  364. package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/agent-sdk/README.md +0 -297
  365. package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/agent-sdk/patterns.md +0 -209
  366. package/bundled/upstream/ecc/commands/agent-sort.md +0 -23
  367. package/bundled/upstream/ecc/commands/claw.md +0 -23
  368. package/bundled/upstream/ecc/commands/context-budget.md +0 -23
  369. package/bundled/upstream/ecc/commands/devfleet.md +0 -23
  370. package/bundled/upstream/ecc/commands/docs.md +0 -23
  371. package/bundled/upstream/ecc/commands/e2e.md +0 -268
  372. package/bundled/upstream/ecc/commands/eval.md +0 -23
  373. package/bundled/upstream/ecc/commands/orchestrate.md +0 -135
  374. package/bundled/upstream/ecc/commands/prompt-optimize.md +0 -23
  375. package/bundled/upstream/ecc/commands/rules-distill.md +0 -20
  376. package/bundled/upstream/ecc/commands/tdd.md +0 -231
  377. package/bundled/upstream/ecc/commands/verify.md +0 -23
  378. package/bundled/upstream/ecc/skills/claude-api/SKILL.md +0 -337
  379. package/bundled/upstream/ecc/skills/frontend-design/SKILL.md +0 -145
  380. package/bundled/upstream/superpowers/agents/code-reviewer.md +0 -48
  381. package/bundled/upstream/superpowers/commands/brainstorm.md +0 -5
  382. package/bundled/upstream/superpowers/commands/execute-plan.md +0 -5
  383. package/bundled/upstream/superpowers/commands/write-plan.md +0 -5
@@ -1,209 +0,0 @@
1
- # Agent SDK Patterns — TypeScript
2
-
3
- ## Basic Agent
4
-
5
- ```typescript
6
- import { query } from "@anthropic-ai/claude-agent-sdk";
7
-
8
- async function main() {
9
- for await (const message of query({
10
- prompt: "Explain what this repository does",
11
- options: {
12
- cwd: "/path/to/project",
13
- allowedTools: ["Read", "Glob", "Grep"],
14
- },
15
- })) {
16
- if ("result" in message) {
17
- console.log(message.result);
18
- }
19
- }
20
- }
21
-
22
- main();
23
- ```
24
-
25
- ---
26
-
27
- ## Hooks
28
-
29
- ### After Tool Use Hook
30
-
31
- ```typescript
32
- import { query, HookCallback } from "@anthropic-ai/claude-agent-sdk";
33
- import { appendFileSync } from "fs";
34
-
35
- const logFileChange: HookCallback = async (input) => {
36
- const filePath = (input as any).tool_input?.file_path ?? "unknown";
37
- appendFileSync(
38
- "./audit.log",
39
- `${new Date().toISOString()}: modified ${filePath}\n`,
40
- );
41
- return {};
42
- };
43
-
44
- for await (const message of query({
45
- prompt: "Refactor utils.py to improve readability",
46
- options: {
47
- allowedTools: ["Read", "Edit", "Write"],
48
- permissionMode: "acceptEdits",
49
- hooks: {
50
- PostToolUse: [{ matcher: "Edit|Write", hooks: [logFileChange] }],
51
- },
52
- },
53
- })) {
54
- if ("result" in message) console.log(message.result);
55
- }
56
- ```
57
-
58
- ---
59
-
60
- ## Subagents
61
-
62
- ```typescript
63
- import { query } from "@anthropic-ai/claude-agent-sdk";
64
-
65
- for await (const message of query({
66
- prompt: "Use the code-reviewer agent to review this codebase",
67
- options: {
68
- allowedTools: ["Read", "Glob", "Grep", "Agent"],
69
- agents: {
70
- "code-reviewer": {
71
- description: "Expert code reviewer for quality and security reviews.",
72
- prompt: "Analyze code quality and suggest improvements.",
73
- tools: ["Read", "Glob", "Grep"],
74
- },
75
- },
76
- },
77
- })) {
78
- if ("result" in message) console.log(message.result);
79
- }
80
- ```
81
-
82
- ---
83
-
84
- ## MCP Server Integration
85
-
86
- ### Browser Automation (Playwright)
87
-
88
- ```typescript
89
- for await (const message of query({
90
- prompt: "Open example.com and describe what you see",
91
- options: {
92
- mcpServers: {
93
- playwright: { command: "npx", args: ["@playwright/mcp@latest"] },
94
- },
95
- },
96
- })) {
97
- if ("result" in message) console.log(message.result);
98
- }
99
- ```
100
-
101
- ---
102
-
103
- ## Session Resumption
104
-
105
- ```typescript
106
- import { query } from "@anthropic-ai/claude-agent-sdk";
107
-
108
- let sessionId: string | undefined;
109
-
110
- // First query: capture the session ID
111
- for await (const message of query({
112
- prompt: "Read the authentication module",
113
- options: { allowedTools: ["Read", "Glob"] },
114
- })) {
115
- if (message.type === "system" && message.subtype === "init") {
116
- sessionId = message.session_id;
117
- }
118
- }
119
-
120
- // Resume with full context from the first query
121
- for await (const message of query({
122
- prompt: "Now find all places that call it",
123
- options: { resume: sessionId },
124
- })) {
125
- if ("result" in message) console.log(message.result);
126
- }
127
- ```
128
-
129
- ---
130
-
131
- ## Session History
132
-
133
- ```typescript
134
- import { listSessions, getSessionMessages, getSessionInfo } from "@anthropic-ai/claude-agent-sdk";
135
-
136
- async function main() {
137
- // List past sessions (supports pagination via limit/offset)
138
- const sessions = await listSessions();
139
- for (const session of sessions) {
140
- console.log(`Session ${session.sessionId} in ${session.cwd} (tag: ${session.tag})`);
141
- }
142
-
143
- // Get metadata for a single session
144
- if (sessions.length > 0) {
145
- const info = await getSessionInfo(sessions[0].sessionId);
146
- console.log(`Created: ${info.createdAt}, Tag: ${info.tag}`);
147
- }
148
-
149
- // Retrieve messages from the most recent session
150
- if (sessions.length > 0) {
151
- const messages = await getSessionMessages(sessions[0].sessionId, { limit: 50 });
152
- for (const msg of messages) {
153
- console.log(msg);
154
- }
155
- }
156
- }
157
-
158
- main();
159
- ```
160
-
161
- ---
162
-
163
- ## Session Mutations
164
-
165
- ```typescript
166
- import { renameSession, tagSession, forkSession } from "@anthropic-ai/claude-agent-sdk";
167
-
168
- async function main() {
169
- const sessionId = "your-session-id";
170
-
171
- // Rename a session
172
- await renameSession(sessionId, "Refactoring auth module");
173
-
174
- // Tag a session for filtering
175
- await tagSession(sessionId, "experiment-v2");
176
-
177
- // Clear a tag
178
- await tagSession(sessionId, null);
179
-
180
- // Fork a conversation to branch from a point
181
- const { sessionId: forkedId } = await forkSession(sessionId);
182
- console.log(`Forked session: ${forkedId}`);
183
- }
184
-
185
- main();
186
- ```
187
-
188
- ---
189
-
190
- ## Custom System Prompt
191
-
192
- ```typescript
193
- import { query } from "@anthropic-ai/claude-agent-sdk";
194
-
195
- for await (const message of query({
196
- prompt: "Review this code",
197
- options: {
198
- allowedTools: ["Read", "Glob", "Grep"],
199
- systemPrompt: `You are a senior code reviewer focused on:
200
- 1. Security vulnerabilities
201
- 2. Performance issues
202
- 3. Code maintainability
203
-
204
- Always provide specific line numbers and suggestions for improvement.`,
205
- },
206
- })) {
207
- if ("result" in message) console.log(message.result);
208
- }
209
- ```
@@ -1,23 +0,0 @@
1
- ---
2
- description: Legacy slash-entry shim for the agent-sort skill. Prefer the skill directly.
3
- ---
4
-
5
- # Agent Sort (Legacy Shim)
6
-
7
- Use this only if you still invoke `/agent-sort`. The maintained workflow lives in `skills/agent-sort/SKILL.md`.
8
-
9
- ## Canonical Surface
10
-
11
- - Prefer the `agent-sort` skill directly.
12
- - Keep this file only as a compatibility entry point.
13
-
14
- ## Arguments
15
-
16
- `$ARGUMENTS`
17
-
18
- ## Delegation
19
-
20
- Apply the `agent-sort` skill.
21
- - Classify ECC surfaces with concrete repo evidence.
22
- - Keep the result to DAILY vs LIBRARY.
23
- - If an install change is needed afterward, hand off to `configure-ecc` instead of re-implementing install logic here.
@@ -1,23 +0,0 @@
1
- ---
2
- description: Legacy slash-entry shim for the nanoclaw-repl skill. Prefer the skill directly.
3
- ---
4
-
5
- # Claw Command (Legacy Shim)
6
-
7
- Use this only if you still reach for `/claw` from muscle memory. The maintained implementation lives in `skills/nanoclaw-repl/SKILL.md`.
8
-
9
- ## Canonical Surface
10
-
11
- - Prefer the `nanoclaw-repl` skill directly.
12
- - Keep this file only as a compatibility entry point while command-first usage is retired.
13
-
14
- ## Arguments
15
-
16
- `$ARGUMENTS`
17
-
18
- ## Delegation
19
-
20
- Apply the `nanoclaw-repl` skill and keep the response focused on operating or extending `scripts/claw.js`.
21
- - If the user wants to run it, use `node scripts/claw.js` or `npm run claw`.
22
- - If the user wants to extend it, preserve the zero-dependency and markdown-backed session model.
23
- - If the request is really about long-running orchestration rather than NanoClaw itself, redirect to `dmux-workflows` or `autonomous-agent-harness`.
@@ -1,23 +0,0 @@
1
- ---
2
- description: Legacy slash-entry shim for the context-budget skill. Prefer the skill directly.
3
- ---
4
-
5
- # Context Budget Optimizer (Legacy Shim)
6
-
7
- Use this only if you still invoke `/context-budget`. The maintained workflow lives in `skills/context-budget/SKILL.md`.
8
-
9
- ## Canonical Surface
10
-
11
- - Prefer the `context-budget` skill directly.
12
- - Keep this file only as a compatibility entry point.
13
-
14
- ## Arguments
15
-
16
- $ARGUMENTS
17
-
18
- ## Delegation
19
-
20
- Apply the `context-budget` skill.
21
- - Pass through `--verbose` if the user supplied it.
22
- - Assume a 200K context window unless the user specified otherwise.
23
- - Return the skill's inventory, issue detection, and prioritized savings report without re-implementing the scan here.
@@ -1,23 +0,0 @@
1
- ---
2
- description: Legacy slash-entry shim for the claude-devfleet skill. Prefer the skill directly.
3
- ---
4
-
5
- # DevFleet (Legacy Shim)
6
-
7
- Use this only if you still call `/devfleet`. The maintained workflow lives in `skills/claude-devfleet/SKILL.md`.
8
-
9
- ## Canonical Surface
10
-
11
- - Prefer the `claude-devfleet` skill directly.
12
- - Keep this file only as a compatibility entry point while command-first usage is retired.
13
-
14
- ## Arguments
15
-
16
- `$ARGUMENTS`
17
-
18
- ## Delegation
19
-
20
- Apply the `claude-devfleet` skill.
21
- - Plan from the user's description, show the DAG, and get approval before dispatch unless the user already said to proceed.
22
- - Prefer polling status over blocking waits for long missions.
23
- - Report mission IDs, files changed, failures, and next steps from structured mission reports.
@@ -1,23 +0,0 @@
1
- ---
2
- description: Legacy slash-entry shim for the documentation-lookup skill. Prefer the skill directly.
3
- ---
4
-
5
- # Docs Command (Legacy Shim)
6
-
7
- Use this only if you still reach for `/docs`. The maintained workflow lives in `skills/documentation-lookup/SKILL.md`.
8
-
9
- ## Canonical Surface
10
-
11
- - Prefer the `documentation-lookup` skill directly.
12
- - Keep this file only as a compatibility entry point.
13
-
14
- ## Arguments
15
-
16
- `$ARGUMENTS`
17
-
18
- ## Delegation
19
-
20
- Apply the `documentation-lookup` skill.
21
- - If the library or the question is missing, ask for the missing part.
22
- - Use live documentation through Context7 instead of training data.
23
- - Return only the current answer and the minimum code/example surface needed.
@@ -1,268 +0,0 @@
1
- ---
2
- description: Legacy slash-entry shim for the e2e-testing skill. Prefer the skill directly.
3
- ---
4
-
5
- # E2E Command (Legacy Shim)
6
-
7
- Use this only if you still invoke `/e2e`. The maintained workflow lives in `skills/e2e-testing/SKILL.md`.
8
-
9
- ## Canonical Surface
10
-
11
- - Prefer the `e2e-testing` skill directly.
12
- - Keep this file only as a compatibility entry point.
13
-
14
- ## Arguments
15
-
16
- `$ARGUMENTS`
17
-
18
- ## Delegation
19
-
20
- Apply the `e2e-testing` skill.
21
- - Generate or update Playwright coverage for the requested user flow.
22
- - Run only the relevant tests unless the user explicitly asked for the entire suite.
23
- - Capture the usual artifacts and report failures, flake risk, and next fixes without duplicating the full skill body here.
24
- await marketsPage.searchMarkets('xyznonexistentmarket123456')
25
-
26
- // Verify empty state
27
- await expect(page.locator('[data-testid="no-results"]')).toBeVisible()
28
- await expect(page.locator('[data-testid="no-results"]')).toContainText(
29
- /no.*results|no.*markets/i
30
- )
31
-
32
- const marketCount = await marketsPage.marketCards.count()
33
- expect(marketCount).toBe(0)
34
- })
35
-
36
- test('can clear search and see all markets again', async ({ page }) => {
37
- const marketsPage = new MarketsPage(page)
38
- await marketsPage.goto()
39
-
40
- // Initial market count
41
- const initialCount = await marketsPage.marketCards.count()
42
-
43
- // Perform search
44
- await marketsPage.searchMarkets('trump')
45
- await page.waitForLoadState('networkidle')
46
-
47
- // Verify filtered results
48
- const filteredCount = await marketsPage.marketCards.count()
49
- expect(filteredCount).toBeLessThan(initialCount)
50
-
51
- // Clear search
52
- await marketsPage.searchInput.clear()
53
- await page.waitForLoadState('networkidle')
54
-
55
- // Verify all markets shown again
56
- const finalCount = await marketsPage.marketCards.count()
57
- expect(finalCount).toBe(initialCount)
58
- })
59
- })
60
- ```
61
-
62
- ## Running Tests
63
-
64
- ```bash
65
- # Run the generated test
66
- npx playwright test tests/e2e/markets/search-and-view.spec.ts
67
-
68
- Running 3 tests using 3 workers
69
-
70
- ✓ [chromium] › search-and-view.spec.ts:5:3 › user can search markets and view details (4.2s)
71
- ✓ [chromium] › search-and-view.spec.ts:52:3 › search with no results shows empty state (1.8s)
72
- ✓ [chromium] › search-and-view.spec.ts:67:3 › can clear search and see all markets again (2.9s)
73
-
74
- 3 passed (9.1s)
75
-
76
- Artifacts generated:
77
- - artifacts/search-results.png
78
- - artifacts/market-details.png
79
- - playwright-report/index.html
80
- ```
81
-
82
- ## Test Report
83
-
84
- ```
85
- ╔══════════════════════════════════════════════════════════════╗
86
- ║ E2E Test Results ║
87
- ╠══════════════════════════════════════════════════════════════╣
88
- ║ Status: PASS: ALL TESTS PASSED ║
89
- ║ Total: 3 tests ║
90
- ║ Passed: 3 (100%) ║
91
- ║ Failed: 0 ║
92
- ║ Flaky: 0 ║
93
- ║ Duration: 9.1s ║
94
- ╚══════════════════════════════════════════════════════════════╝
95
-
96
- Artifacts:
97
- Screenshots: 2 files
98
- Videos: 0 files (only on failure)
99
- Traces: 0 files (only on failure)
100
- HTML Report: playwright-report/index.html
101
-
102
- View report: npx playwright show-report
103
- ```
104
-
105
- PASS: E2E test suite ready for CI/CD integration!
106
- ```
107
-
108
- ## Test Artifacts
109
-
110
- When tests run, the following artifacts are captured:
111
-
112
- **On All Tests:**
113
- - HTML Report with timeline and results
114
- - JUnit XML for CI integration
115
-
116
- **On Failure Only:**
117
- - Screenshot of the failing state
118
- - Video recording of the test
119
- - Trace file for debugging (step-by-step replay)
120
- - Network logs
121
- - Console logs
122
-
123
- ## Viewing Artifacts
124
-
125
- ```bash
126
- # View HTML report in browser
127
- npx playwright show-report
128
-
129
- # View specific trace file
130
- npx playwright show-trace artifacts/trace-abc123.zip
131
-
132
- # Screenshots are saved in artifacts/ directory
133
- open artifacts/search-results.png
134
- ```
135
-
136
- ## Flaky Test Detection
137
-
138
- If a test fails intermittently:
139
-
140
- ```
141
- WARNING: FLAKY TEST DETECTED: tests/e2e/markets/trade.spec.ts
142
-
143
- Test passed 7/10 runs (70% pass rate)
144
-
145
- Common failure:
146
- "Timeout waiting for element '[data-testid="confirm-btn"]'"
147
-
148
- Recommended fixes:
149
- 1. Add explicit wait: await page.waitForSelector('[data-testid="confirm-btn"]')
150
- 2. Increase timeout: { timeout: 10000 }
151
- 3. Check for race conditions in component
152
- 4. Verify element is not hidden by animation
153
-
154
- Quarantine recommendation: Mark as test.fixme() until fixed
155
- ```
156
-
157
- ## Browser Configuration
158
-
159
- Tests run on multiple browsers by default:
160
- - PASS: Chromium (Desktop Chrome)
161
- - PASS: Firefox (Desktop)
162
- - PASS: WebKit (Desktop Safari)
163
- - PASS: Mobile Chrome (optional)
164
-
165
- Configure in `playwright.config.ts` to adjust browsers.
166
-
167
- ## CI/CD Integration
168
-
169
- Add to your CI pipeline:
170
-
171
- ```yaml
172
- # .github/workflows/e2e.yml
173
- - name: Install Playwright
174
- run: npx playwright install --with-deps
175
-
176
- - name: Run E2E tests
177
- run: npx playwright test
178
-
179
- - name: Upload artifacts
180
- if: always()
181
- uses: actions/upload-artifact@v3
182
- with:
183
- name: playwright-report
184
- path: playwright-report/
185
- ```
186
-
187
- ## PMX-Specific Critical Flows
188
-
189
- For PMX, prioritize these E2E tests:
190
-
191
- **CRITICAL (Must Always Pass):**
192
- 1. User can connect wallet
193
- 2. User can browse markets
194
- 3. User can search markets (semantic search)
195
- 4. User can view market details
196
- 5. User can place trade (with test funds)
197
- 6. Market resolves correctly
198
- 7. User can withdraw funds
199
-
200
- **IMPORTANT:**
201
- 1. Market creation flow
202
- 2. User profile updates
203
- 3. Real-time price updates
204
- 4. Chart rendering
205
- 5. Filter and sort markets
206
- 6. Mobile responsive layout
207
-
208
- ## Best Practices
209
-
210
- **DO:**
211
- - PASS: Use Page Object Model for maintainability
212
- - PASS: Use data-testid attributes for selectors
213
- - PASS: Wait for API responses, not arbitrary timeouts
214
- - PASS: Test critical user journeys end-to-end
215
- - PASS: Run tests before merging to main
216
- - PASS: Review artifacts when tests fail
217
-
218
- **DON'T:**
219
- - FAIL: Use brittle selectors (CSS classes can change)
220
- - FAIL: Test implementation details
221
- - FAIL: Run tests against production
222
- - FAIL: Ignore flaky tests
223
- - FAIL: Skip artifact review on failures
224
- - FAIL: Test every edge case with E2E (use unit tests)
225
-
226
- ## Important Notes
227
-
228
- **CRITICAL for PMX:**
229
- - E2E tests involving real money MUST run on testnet/staging only
230
- - Never run trading tests against production
231
- - Set `test.skip(process.env.NODE_ENV === 'production')` for financial tests
232
- - Use test wallets with small test funds only
233
-
234
- ## Integration with Other Commands
235
-
236
- - Use `/plan` to identify critical journeys to test
237
- - Use `/tdd` for unit tests (faster, more granular)
238
- - Use `/e2e` for integration and user journey tests
239
- - Use `/code-review` to verify test quality
240
-
241
- ## Related Agents
242
-
243
- This command invokes the `e2e-runner` agent provided by ECC.
244
-
245
- For manual installs, the source file lives at:
246
- `agents/e2e-runner.md`
247
-
248
- ## Quick Commands
249
-
250
- ```bash
251
- # Run all E2E tests
252
- npx playwright test
253
-
254
- # Run specific test file
255
- npx playwright test tests/e2e/markets/search.spec.ts
256
-
257
- # Run in headed mode (see browser)
258
- npx playwright test --headed
259
-
260
- # Debug test
261
- npx playwright test --debug
262
-
263
- # Generate test code
264
- npx playwright codegen http://localhost:3000
265
-
266
- # View report
267
- npx playwright show-report
268
- ```
@@ -1,23 +0,0 @@
1
- ---
2
- description: Legacy slash-entry shim for the eval-harness skill. Prefer the skill directly.
3
- ---
4
-
5
- # Eval Command (Legacy Shim)
6
-
7
- Use this only if you still invoke `/eval`. The maintained workflow lives in `skills/eval-harness/SKILL.md`.
8
-
9
- ## Canonical Surface
10
-
11
- - Prefer the `eval-harness` skill directly.
12
- - Keep this file only as a compatibility entry point.
13
-
14
- ## Arguments
15
-
16
- `$ARGUMENTS`
17
-
18
- ## Delegation
19
-
20
- Apply the `eval-harness` skill.
21
- - Support the same user intents as before: define, check, report, list, and cleanup.
22
- - Keep evals capability-first, regression-backed, and evidence-based.
23
- - Use the skill as the canonical evaluator instead of maintaining a separate command-specific playbook.