claudecode-omc 5.6.5 → 5.6.7
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.
- package/.local/commands/code-review.md +416 -0
- package/.local/commands/pr.md +250 -0
- package/.local/commands/prp-pr.md +244 -0
- package/.local/guidelines/CLAUDE.md +47 -0
- package/.local/skills/h5-to-swiftui/SKILL.md +201 -0
- package/.local/skills/h5-to-swiftui/assets/calibration/README.md +176 -0
- package/.local/skills/h5-to-swiftui/assets/calibration/h5-twin/index.html +52 -0
- package/.local/skills/h5-to-swiftui/assets/calibration/h5-twin/style.css +133 -0
- package/.local/skills/h5-to-swiftui/assets/calibration/swiftui-twin/Package.swift +26 -0
- package/.local/skills/h5-to-swiftui/assets/calibration/swiftui-twin/Sources/CalibrationScreen/CalibrationScreen.swift +142 -0
- package/.local/skills/h5-to-swiftui/assets/calibration/swiftui-twin-divergent/Package.swift +32 -0
- package/.local/skills/h5-to-swiftui/assets/calibration/swiftui-twin-divergent/Sources/CalibrationScreenDivergent/CalibrationScreenDivergent.swift +122 -0
- package/.local/skills/h5-to-swiftui/assets/calibration/tokens.json +42 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-react/index.html +14 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-react/package.json +20 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-react/public/api/articles/001.json +96 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-react/public/api/articles/index.json +89 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-react/src/App.jsx +22 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-react/src/App.module.css +11 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-react/src/components/ArticleCard.jsx +53 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-react/src/components/ArticleCard.module.css +139 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-react/src/components/NavBar.jsx +37 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-react/src/components/NavBar.module.css +72 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-react/src/components/TagCloud.jsx +30 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-react/src/components/TagCloud.module.css +50 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-react/src/components/TrendChart.jsx +159 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-react/src/components/TrendChart.module.css +21 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-react/src/main.jsx +12 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-react/src/screens/ArticleScreen.jsx +182 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-react/src/screens/ArticleScreen.module.css +294 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-react/src/screens/FeedScreen.jsx +147 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-react/src/screens/FeedScreen.module.css +161 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-react/src/styles/global.css +50 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-react/src/styles/tokens.css +103 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-react/vite.config.js +6 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-vanilla/data/tasks.js +67 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-vanilla/index.html +26 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-vanilla/router.js +73 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-vanilla/screens/detail.js +164 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-vanilla/screens/home.js +53 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-vanilla/screens/list.js +87 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-vanilla/styles/app.css +342 -0
- package/.local/skills/h5-to-swiftui/assets/sample-h5-vanilla/styles/tokens.css +68 -0
- package/.local/skills/h5-to-swiftui/references/css-to-swiftui-map.md +205 -0
- package/.local/skills/h5-to-swiftui/references/design-token-extraction.md +209 -0
- package/.local/skills/h5-to-swiftui/references/high-risk-triage.md +209 -0
- package/.local/skills/h5-to-swiftui/references/render-equivalence-calibration.md +193 -0
- package/.local/skills/h5-to-swiftui/references/stack-detection.md +160 -0
- package/.local/skills/h5-to-swiftui/references/visual-diff-loop-protocol.md +365 -0
- package/.local/skills/h5-to-swiftui/scripts/_calib-consts.mjs +150 -0
- package/.local/skills/h5-to-swiftui/scripts/_imglib.mjs +547 -0
- package/.local/skills/h5-to-swiftui/scripts/_provenance.mjs +123 -0
- package/.local/skills/h5-to-swiftui/scripts/calibrate-render.mjs +625 -0
- package/.local/skills/h5-to-swiftui/scripts/capture-reference.mjs +386 -0
- package/.local/skills/h5-to-swiftui/scripts/detect-stack.mjs +305 -0
- package/.local/skills/h5-to-swiftui/scripts/evaluate-convergence.mjs +1093 -0
- package/.local/skills/h5-to-swiftui/scripts/extract-tokens.mjs +600 -0
- package/.local/skills/h5-to-swiftui/scripts/mark-overlay.mjs +379 -0
- package/.local/skills/h5-to-swiftui/scripts/pixel-diff.mjs +530 -0
- package/.local/skills/h5-to-swiftui/scripts/sim-screenshot.sh +544 -0
- package/bundled/manifest.json +4 -4
- package/bundled/upstream/anthropic-skills/skills/algorithmic-art/LICENSE.txt +1 -1
- package/bundled/upstream/anthropic-skills/skills/brand-guidelines/LICENSE.txt +1 -1
- package/bundled/upstream/anthropic-skills/skills/canvas-design/LICENSE.txt +1 -1
- package/bundled/upstream/anthropic-skills/skills/claude-api/LICENSE.txt +1 -1
- package/bundled/upstream/anthropic-skills/skills/claude-api/SKILL.md +120 -58
- package/bundled/upstream/anthropic-skills/skills/claude-api/curl/examples.md +9 -9
- package/bundled/upstream/anthropic-skills/skills/claude-api/curl/managed-agents.md +336 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/go/managed-agents/README.md +561 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/java/claude-api.md +2 -2
- package/bundled/upstream/anthropic-skills/skills/claude-api/java/managed-agents/README.md +442 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/php/claude-api.md +10 -10
- package/bundled/upstream/anthropic-skills/skills/claude-api/php/managed-agents/README.md +435 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/README.md +16 -16
- package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/batches.md +3 -3
- package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/files-api.md +3 -3
- package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/streaming.md +7 -7
- package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/tool-use.md +19 -19
- package/bundled/upstream/anthropic-skills/skills/claude-api/python/managed-agents/README.md +332 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/ruby/claude-api.md +4 -4
- package/bundled/upstream/anthropic-skills/skills/claude-api/ruby/managed-agents/README.md +389 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/agent-design.md +101 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/error-codes.md +11 -4
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/live-sources.md +60 -48
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-api-reference.md +372 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-client-patterns.md +209 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-core.md +220 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-environments.md +211 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-events.md +195 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-memory.md +197 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-multiagent.md +99 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-onboarding.md +114 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-outcomes.md +106 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-overview.md +67 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-tools.md +315 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-webhooks.md +110 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/model-migration.md +779 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/models.md +16 -14
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/prompt-caching.md +45 -2
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/tool-use-concepts.md +28 -6
- package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/claude-api/README.md +15 -15
- package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/claude-api/batches.md +2 -2
- package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/claude-api/files-api.md +1 -1
- package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/claude-api/streaming.md +5 -5
- package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/claude-api/tool-use.md +15 -15
- package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/managed-agents/README.md +359 -0
- package/bundled/upstream/anthropic-skills/skills/internal-comms/LICENSE.txt +1 -1
- package/bundled/upstream/anthropic-skills/skills/mcp-builder/LICENSE.txt +1 -1
- package/bundled/upstream/anthropic-skills/skills/skill-creator/LICENSE.txt +1 -1
- package/bundled/upstream/anthropic-skills/skills/slack-gif-creator/LICENSE.txt +1 -1
- package/bundled/upstream/anthropic-skills/skills/theme-factory/LICENSE.txt +1 -1
- package/bundled/upstream/anthropic-skills/skills/web-artifacts-builder/LICENSE.txt +1 -1
- package/bundled/upstream/anthropic-skills/skills/webapp-testing/LICENSE.txt +1 -1
- package/bundled/upstream/ecc/.omc-source/bundle.json +2 -3
- package/bundled/upstream/ecc/.omc-source/manifests/.claude-plugin/marketplace.json +4 -4
- package/bundled/upstream/ecc/agents/a11y-architect.md +10 -2
- package/bundled/upstream/ecc/agents/architect.md +9 -0
- package/bundled/upstream/ecc/agents/build-error-resolver.md +9 -0
- package/bundled/upstream/ecc/agents/chief-of-staff.md +9 -0
- package/bundled/upstream/ecc/agents/code-architect.md +9 -0
- package/bundled/upstream/ecc/agents/code-explorer.md +10 -1
- package/bundled/upstream/ecc/agents/code-reviewer.md +87 -1
- package/bundled/upstream/ecc/agents/code-simplifier.md +9 -0
- package/bundled/upstream/ecc/agents/comment-analyzer.md +10 -1
- package/bundled/upstream/ecc/agents/conversation-analyzer.md +9 -0
- package/bundled/upstream/ecc/agents/cpp-build-resolver.md +9 -0
- package/bundled/upstream/ecc/agents/cpp-reviewer.md +9 -0
- package/bundled/upstream/ecc/agents/csharp-reviewer.md +9 -0
- package/bundled/upstream/ecc/agents/dart-build-resolver.md +9 -0
- package/bundled/upstream/ecc/agents/database-reviewer.md +9 -0
- package/bundled/upstream/ecc/agents/django-build-resolver.md +252 -0
- package/bundled/upstream/ecc/agents/django-reviewer.md +169 -0
- package/bundled/upstream/ecc/agents/doc-updater.md +9 -0
- package/bundled/upstream/ecc/agents/docs-lookup.md +9 -0
- package/bundled/upstream/ecc/agents/e2e-runner.md +9 -0
- package/bundled/upstream/ecc/agents/fastapi-reviewer.md +79 -0
- package/bundled/upstream/ecc/agents/flutter-reviewer.md +9 -0
- package/bundled/upstream/ecc/agents/fsharp-reviewer.md +109 -0
- package/bundled/upstream/ecc/agents/gan-evaluator.md +9 -0
- package/bundled/upstream/ecc/agents/gan-generator.md +9 -0
- package/bundled/upstream/ecc/agents/gan-planner.md +9 -0
- package/bundled/upstream/ecc/agents/go-build-resolver.md +9 -0
- package/bundled/upstream/ecc/agents/go-reviewer.md +9 -0
- package/bundled/upstream/ecc/agents/harmonyos-app-resolver.md +182 -0
- package/bundled/upstream/ecc/agents/harness-optimizer.md +9 -0
- package/bundled/upstream/ecc/agents/healthcare-reviewer.md +9 -0
- package/bundled/upstream/ecc/agents/homelab-architect.md +107 -0
- package/bundled/upstream/ecc/agents/java-build-resolver.md +133 -11
- package/bundled/upstream/ecc/agents/java-reviewer.md +130 -32
- package/bundled/upstream/ecc/agents/kotlin-build-resolver.md +9 -0
- package/bundled/upstream/ecc/agents/kotlin-reviewer.md +9 -0
- package/bundled/upstream/ecc/agents/loop-operator.md +9 -0
- package/bundled/upstream/ecc/agents/mle-reviewer.md +162 -0
- package/bundled/upstream/ecc/agents/network-architect.md +106 -0
- package/bundled/upstream/ecc/agents/network-config-reviewer.md +106 -0
- package/bundled/upstream/ecc/agents/network-troubleshooter.md +128 -0
- package/bundled/upstream/ecc/agents/opensource-forker.md +9 -0
- package/bundled/upstream/ecc/agents/opensource-packager.md +9 -0
- package/bundled/upstream/ecc/agents/opensource-sanitizer.md +9 -0
- package/bundled/upstream/ecc/agents/performance-optimizer.md +9 -0
- package/bundled/upstream/ecc/agents/planner.md +9 -0
- package/bundled/upstream/ecc/agents/pr-test-analyzer.md +9 -0
- package/bundled/upstream/ecc/agents/python-reviewer.md +9 -0
- package/bundled/upstream/ecc/agents/pytorch-build-resolver.md +12 -3
- package/bundled/upstream/ecc/agents/refactor-cleaner.md +9 -0
- package/bundled/upstream/ecc/agents/rust-build-resolver.md +9 -0
- package/bundled/upstream/ecc/agents/rust-reviewer.md +9 -0
- package/bundled/upstream/ecc/agents/security-reviewer.md +9 -0
- package/bundled/upstream/ecc/agents/seo-specialist.md +10 -1
- package/bundled/upstream/ecc/agents/silent-failure-hunter.md +9 -0
- package/bundled/upstream/ecc/agents/swift-build-resolver.md +170 -0
- package/bundled/upstream/ecc/agents/swift-reviewer.md +116 -0
- package/bundled/upstream/ecc/agents/tdd-guide.md +9 -0
- package/bundled/upstream/ecc/agents/type-design-analyzer.md +10 -1
- package/bundled/upstream/ecc/agents/typescript-reviewer.md +9 -0
- package/bundled/upstream/ecc/commands/auto-update.md +28 -0
- package/bundled/upstream/ecc/commands/build-fix.md +4 -0
- package/bundled/upstream/ecc/commands/checkpoint.md +4 -0
- package/bundled/upstream/ecc/commands/code-review.md +3 -3
- package/bundled/upstream/ecc/commands/cost-report.md +107 -0
- package/bundled/upstream/ecc/commands/cpp-build.md +1 -1
- package/bundled/upstream/ecc/commands/cpp-test.md +1 -1
- package/bundled/upstream/ecc/commands/ecc-guide.md +93 -0
- package/bundled/upstream/ecc/commands/fastapi-review.md +39 -0
- package/bundled/upstream/ecc/commands/flutter-build.md +1 -1
- package/bundled/upstream/ecc/commands/flutter-test.md +1 -1
- package/bundled/upstream/ecc/commands/gan-build.md +4 -0
- package/bundled/upstream/ecc/commands/gan-design.md +4 -0
- package/bundled/upstream/ecc/commands/go-build.md +1 -1
- package/bundled/upstream/ecc/commands/go-test.md +1 -1
- package/bundled/upstream/ecc/commands/harness-audit.md +4 -0
- package/bundled/upstream/ecc/commands/jira.md +2 -2
- package/bundled/upstream/ecc/commands/kotlin-build.md +1 -1
- package/bundled/upstream/ecc/commands/kotlin-test.md +1 -1
- package/bundled/upstream/ecc/commands/learn.md +4 -0
- package/bundled/upstream/ecc/commands/loop-start.md +4 -0
- package/bundled/upstream/ecc/commands/loop-status.md +54 -1
- package/bundled/upstream/ecc/commands/model-route.md +4 -0
- package/bundled/upstream/ecc/commands/multi-backend.md +4 -0
- package/bundled/upstream/ecc/commands/multi-execute.md +4 -0
- package/bundled/upstream/ecc/commands/multi-frontend.md +4 -0
- package/bundled/upstream/ecc/commands/multi-plan.md +4 -0
- package/bundled/upstream/ecc/commands/multi-workflow.md +4 -0
- package/bundled/upstream/ecc/commands/plan-prd.md +160 -0
- package/bundled/upstream/ecc/commands/plan.md +96 -13
- package/bundled/upstream/ecc/commands/pm2.md +4 -0
- package/bundled/upstream/ecc/commands/pr.md +184 -0
- package/bundled/upstream/ecc/commands/project-init.md +86 -0
- package/bundled/upstream/ecc/commands/python-review.md +1 -1
- package/bundled/upstream/ecc/commands/quality-gate.md +4 -0
- package/bundled/upstream/ecc/commands/refactor-clean.md +4 -0
- package/bundled/upstream/ecc/commands/rust-build.md +1 -1
- package/bundled/upstream/ecc/commands/rust-test.md +1 -1
- package/bundled/upstream/ecc/commands/security-scan.md +92 -0
- package/bundled/upstream/ecc/commands/sessions.md +6 -6
- package/bundled/upstream/ecc/commands/skill-health.md +3 -3
- package/bundled/upstream/ecc/commands/test-coverage.md +4 -0
- package/bundled/upstream/ecc/commands/update-codemaps.md +4 -0
- package/bundled/upstream/ecc/commands/update-docs.md +4 -0
- package/bundled/upstream/ecc/skills/accessibility/SKILL.md +1 -1
- package/bundled/upstream/ecc/skills/agent-architecture-audit/SKILL.md +256 -0
- package/bundled/upstream/ecc/skills/agent-payment-x402/SKILL.md +49 -3
- package/bundled/upstream/ecc/skills/agentic-os/SKILL.md +387 -0
- package/bundled/upstream/ecc/skills/angular-developer/SKILL.md +154 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/angular-animations.md +160 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/angular-aria.md +410 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/cli.md +86 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/component-harnesses.md +59 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/component-styling.md +91 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/components.md +117 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/creating-services.md +97 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/data-resolvers.md +69 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/define-routes.md +67 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/defining-providers.md +72 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/di-fundamentals.md +120 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/e2e-testing.md +56 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/effects.md +83 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/hierarchical-injectors.md +43 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/host-elements.md +80 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/injection-context.md +63 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/inputs.md +101 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/linked-signal.md +59 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/loading-strategies.md +61 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/mcp.md +108 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/navigate-to-routes.md +69 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/outputs.md +86 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/reactive-forms.md +122 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/rendering-strategies.md +44 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/resource.md +77 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/route-animations.md +56 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/route-guards.md +52 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/router-lifecycle.md +45 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/router-testing.md +87 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/show-routes-with-outlets.md +68 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/signal-forms.md +795 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/signals-overview.md +94 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/tailwind-css.md +69 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/template-driven-forms.md +114 -0
- package/bundled/upstream/ecc/skills/angular-developer/references/testing-fundamentals.md +65 -0
- package/bundled/upstream/ecc/skills/autonomous-agent-harness/SKILL.md +6 -0
- package/bundled/upstream/ecc/skills/backend-patterns/SKILL.md +8 -45
- package/bundled/upstream/ecc/skills/cisco-ios-patterns/SKILL.md +163 -0
- package/bundled/upstream/ecc/skills/configure-ecc/SKILL.md +31 -14
- package/bundled/upstream/ecc/skills/continuous-learning/SKILL.md +10 -2
- package/bundled/upstream/ecc/skills/continuous-learning-v2/SKILL.md +19 -5
- package/bundled/upstream/ecc/skills/continuous-learning-v2/agents/observer-loop.sh +44 -4
- package/bundled/upstream/ecc/skills/continuous-learning-v2/agents/observer.md +4 -4
- package/bundled/upstream/ecc/skills/continuous-learning-v2/agents/start-observer.sh +5 -1
- package/bundled/upstream/ecc/skills/continuous-learning-v2/hooks/observe.sh +21 -5
- package/bundled/upstream/ecc/skills/continuous-learning-v2/scripts/detect-project.sh +58 -13
- package/bundled/upstream/ecc/skills/continuous-learning-v2/scripts/instinct-cli.py +97 -4
- package/bundled/upstream/ecc/skills/continuous-learning-v2/scripts/lib/homunculus-dir.sh +31 -0
- package/bundled/upstream/ecc/skills/continuous-learning-v2/scripts/migrate-homunculus.sh +62 -0
- package/bundled/upstream/ecc/skills/continuous-learning-v2/scripts/test_parse_instinct.py +34 -0
- package/bundled/upstream/ecc/skills/cost-tracking/SKILL.md +147 -0
- package/bundled/upstream/ecc/skills/deep-research/SKILL.md +4 -0
- package/bundled/upstream/ecc/skills/defi-amm-security/SKILL.md +6 -0
- package/bundled/upstream/ecc/skills/django-celery/SKILL.md +457 -0
- package/bundled/upstream/ecc/skills/ecc-guide/SKILL.md +189 -0
- package/bundled/upstream/ecc/skills/error-handling/SKILL.md +376 -0
- package/bundled/upstream/ecc/skills/exa-search/SKILL.md +4 -0
- package/bundled/upstream/ecc/skills/fal-ai-media/SKILL.md +4 -0
- package/bundled/upstream/ecc/skills/fastapi-patterns/SKILL.md +327 -0
- package/bundled/upstream/ecc/skills/flox-environments/SKILL.md +496 -0
- package/bundled/upstream/ecc/skills/frontend-design-direction/SKILL.md +92 -0
- package/bundled/upstream/ecc/skills/frontend-slides/animation-patterns.md +122 -0
- package/bundled/upstream/ecc/skills/frontend-slides/html-template.md +419 -0
- package/bundled/upstream/ecc/skills/frontend-slides/scripts/export-pdf.sh +418 -0
- package/bundled/upstream/ecc/skills/frontend-slides/scripts/extract-pptx.py +96 -0
- package/bundled/upstream/ecc/skills/frontend-slides/viewport-base.css +153 -0
- package/bundled/upstream/ecc/skills/fsharp-testing/SKILL.md +280 -0
- package/bundled/upstream/ecc/skills/gateguard/SKILL.md +4 -0
- package/bundled/upstream/ecc/skills/hermes-imports/SKILL.md +88 -0
- package/bundled/upstream/ecc/skills/homelab-network-readiness/SKILL.md +169 -0
- package/bundled/upstream/ecc/skills/homelab-network-setup/SKILL.md +129 -0
- package/bundled/upstream/ecc/skills/homelab-pihole-dns/SKILL.md +274 -0
- package/bundled/upstream/ecc/skills/homelab-vlan-segmentation/SKILL.md +311 -0
- package/bundled/upstream/ecc/skills/homelab-wireguard-vpn/SKILL.md +305 -0
- package/bundled/upstream/ecc/skills/ios-icon-gen/SKILL.md +157 -0
- package/bundled/upstream/ecc/skills/ios-icon-gen/scripts/generate_icons.swift +258 -0
- package/bundled/upstream/ecc/skills/ios-icon-gen/scripts/iconify_gen.sh +235 -0
- package/bundled/upstream/ecc/skills/java-coding-standards/SKILL.md +241 -5
- package/bundled/upstream/ecc/skills/make-interfaces-feel-better/SKILL.md +151 -0
- package/bundled/upstream/ecc/skills/mle-workflow/SKILL.md +346 -0
- package/bundled/upstream/ecc/skills/motion-advanced/SKILL.md +596 -0
- package/bundled/upstream/ecc/skills/motion-foundations/SKILL.md +299 -0
- package/bundled/upstream/ecc/skills/motion-patterns/SKILL.md +435 -0
- package/bundled/upstream/ecc/skills/motion-ui/SKILL.md +575 -0
- package/bundled/upstream/ecc/skills/mysql-patterns/SKILL.md +412 -0
- package/bundled/upstream/ecc/skills/netmiko-ssh-automation/SKILL.md +173 -0
- package/bundled/upstream/ecc/skills/network-bgp-diagnostics/SKILL.md +167 -0
- package/bundled/upstream/ecc/skills/network-config-validation/SKILL.md +210 -0
- package/bundled/upstream/ecc/skills/network-interface-health/SKILL.md +152 -0
- package/bundled/upstream/ecc/skills/openclaw-persona-forge/SKILL.md +1 -9
- package/bundled/upstream/ecc/skills/plan-orchestrate/SKILL.md +262 -0
- package/bundled/upstream/ecc/skills/prisma-patterns/SKILL.md +371 -0
- package/bundled/upstream/ecc/skills/production-audit/SKILL.md +206 -0
- package/bundled/upstream/ecc/skills/prompt-optimizer/SKILL.md +24 -400
- package/bundled/upstream/ecc/skills/quarkus-patterns/SKILL.md +722 -0
- package/bundled/upstream/ecc/skills/quarkus-security/SKILL.md +467 -0
- package/bundled/upstream/ecc/skills/quarkus-tdd/SKILL.md +811 -0
- package/bundled/upstream/ecc/skills/quarkus-verification/SKILL.md +479 -0
- package/bundled/upstream/ecc/skills/redis-patterns/SKILL.md +403 -0
- package/bundled/upstream/ecc/skills/scientific-db-pubmed-database/SKILL.md +175 -0
- package/bundled/upstream/ecc/skills/scientific-db-uspto-database/SKILL.md +177 -0
- package/bundled/upstream/ecc/skills/scientific-pkg-gget/SKILL.md +166 -0
- package/bundled/upstream/ecc/skills/scientific-thinking-literature-review/SKILL.md +192 -0
- package/bundled/upstream/ecc/skills/scientific-thinking-scholar-evaluation/SKILL.md +160 -0
- package/bundled/upstream/ecc/skills/search-first/SKILL.md +23 -2
- package/bundled/upstream/ecc/skills/security-review/SKILL.md +10 -2
- package/bundled/upstream/ecc/skills/skill-comply/scripts/runner.py +28 -3
- package/bundled/upstream/ecc/skills/skill-comply/tests/test_runner.py +172 -0
- package/bundled/upstream/ecc/skills/skill-scout/SKILL.md +140 -0
- package/bundled/upstream/ecc/skills/skill-stocktake/SKILL.md +1 -0
- package/bundled/upstream/ecc/skills/strategic-compact/SKILL.md +2 -2
- package/bundled/upstream/ecc/skills/tinystruct-patterns/SKILL.md +203 -0
- package/bundled/upstream/ecc/skills/tinystruct-patterns/references/architecture.md +90 -0
- package/bundled/upstream/ecc/skills/tinystruct-patterns/references/data-handling.md +60 -0
- package/bundled/upstream/ecc/skills/tinystruct-patterns/references/database.md +99 -0
- package/bundled/upstream/ecc/skills/tinystruct-patterns/references/routing.md +64 -0
- package/bundled/upstream/ecc/skills/tinystruct-patterns/references/system-usage.md +97 -0
- package/bundled/upstream/ecc/skills/tinystruct-patterns/references/testing.md +72 -0
- package/bundled/upstream/ecc/skills/ui-to-vue/SKILL.md +134 -0
- package/bundled/upstream/ecc/skills/vite-patterns/SKILL.md +449 -0
- package/bundled/upstream/ecc/skills/windows-desktop-e2e/SKILL.md +788 -0
- package/bundled/upstream/ecc/skills/x-api/SKILL.md +4 -0
- package/bundled/upstream/oh-my-claudecode/.omc-source/bundle.json +20 -0
- package/bundled/upstream/oh-my-claudecode/agents/analyst.md +2 -1
- package/bundled/upstream/oh-my-claudecode/agents/architect.md +2 -1
- package/bundled/upstream/oh-my-claudecode/agents/code-reviewer.md +26 -7
- package/bundled/upstream/oh-my-claudecode/agents/critic.md +2 -1
- package/bundled/upstream/oh-my-claudecode/agents/debugger.md +2 -1
- package/bundled/upstream/oh-my-claudecode/agents/designer.md +14 -1
- package/bundled/upstream/oh-my-claudecode/agents/document-specialist.md +1 -1
- package/bundled/upstream/oh-my-claudecode/agents/executor.md +2 -1
- package/bundled/upstream/oh-my-claudecode/agents/explore.md +2 -1
- package/bundled/upstream/oh-my-claudecode/agents/git-master.md +2 -1
- package/bundled/upstream/oh-my-claudecode/agents/planner.md +2 -1
- package/bundled/upstream/oh-my-claudecode/agents/qa-tester.md +2 -1
- package/bundled/upstream/oh-my-claudecode/agents/scientist.md +2 -1
- package/bundled/upstream/oh-my-claudecode/agents/security-reviewer.md +2 -1
- package/bundled/upstream/oh-my-claudecode/agents/test-engineer.md +2 -1
- package/bundled/upstream/oh-my-claudecode/agents/tracer.md +2 -1
- package/bundled/upstream/oh-my-claudecode/agents/verifier.md +2 -1
- package/bundled/upstream/oh-my-claudecode/agents/writer.md +2 -1
- package/bundled/upstream/oh-my-claudecode/skills/AGENTS.md +4 -3
- package/bundled/upstream/oh-my-claudecode/skills/ai-slop-cleaner/SKILL.md +12 -0
- package/bundled/upstream/oh-my-claudecode/skills/deep-dive/SKILL.md +69 -13
- package/bundled/upstream/oh-my-claudecode/skills/deep-interview/SKILL.md +176 -63
- package/bundled/upstream/oh-my-claudecode/skills/learner/SKILL.md +3 -1
- package/bundled/upstream/oh-my-claudecode/skills/omc-doctor/SKILL.md +22 -3
- package/bundled/upstream/oh-my-claudecode/skills/omc-reference/SKILL.md +1 -1
- package/bundled/upstream/oh-my-claudecode/skills/omc-setup/phases/01-install-claude-md.md +2 -2
- package/bundled/upstream/oh-my-claudecode/skills/omc-setup/phases/02-configure.md +45 -2
- package/bundled/upstream/oh-my-claudecode/skills/omc-setup/phases/03-integrations.md +46 -5
- package/bundled/upstream/oh-my-claudecode/skills/plan/SKILL.md +19 -17
- package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/config.sh +1 -1
- package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/parse.sh +1 -1
- package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/providers/azure-devops.sh +1 -1
- package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/providers/bitbucket.sh +1 -1
- package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/providers/gitea.sh +1 -1
- package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/providers/github.sh +1 -1
- package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/providers/gitlab.sh +1 -1
- package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/providers/interface.sh +1 -1
- package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/providers/jira.sh +1 -1
- package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/session.sh +1 -1
- package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/tmux.sh +1 -1
- package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/lib/worktree.sh +1 -1
- package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/psm.sh +1 -1
- package/bundled/upstream/oh-my-claudecode/skills/project-session-manager/tests/test-psm-prompt-injection.sh +1 -1
- package/bundled/upstream/oh-my-claudecode/skills/ralph/SKILL.md +8 -8
- package/bundled/upstream/oh-my-claudecode/skills/ralplan/SKILL.md +9 -5
- package/bundled/upstream/oh-my-claudecode/skills/skill/SKILL.md +6 -6
- package/bundled/upstream/oh-my-claudecode/skills/skillify/SKILL.md +19 -3
- package/bundled/upstream/oh-my-claudecode/skills/trace/SKILL.md +3 -1
- package/bundled/upstream/oh-my-claudecode/skills/ultrawork/SKILL.md +20 -7
- package/bundled/upstream/superpowers/.omc-source/bundle.json +21 -0
- package/bundled/upstream/superpowers/hooks/hooks-cursor.json +1 -1
- package/bundled/upstream/superpowers/skills/executing-plans/SKILL.md +1 -1
- package/bundled/upstream/superpowers/skills/finishing-a-development-branch/SKILL.md +93 -42
- package/bundled/upstream/superpowers/skills/requesting-code-review/SKILL.md +7 -9
- package/bundled/upstream/superpowers/skills/requesting-code-review/code-reviewer.md +107 -85
- package/bundled/upstream/superpowers/skills/subagent-driven-development/SKILL.md +3 -1
- package/bundled/upstream/superpowers/skills/subagent-driven-development/code-quality-reviewer-prompt.md +2 -3
- package/bundled/upstream/superpowers/skills/systematic-debugging/CREATION-LOG.md +1 -1
- package/bundled/upstream/superpowers/skills/systematic-debugging/root-cause-tracing.md +1 -1
- package/bundled/upstream/superpowers/skills/using-git-worktrees/SKILL.md +95 -98
- package/bundled/upstream/superpowers/skills/using-superpowers/references/codex-tools.md +7 -48
- package/bundled/upstream/superpowers/skills/using-superpowers/references/copilot-tools.md +1 -11
- package/bundled/upstream/superpowers/skills/using-superpowers/references/gemini-tools.md +21 -3
- package/bundled/upstream/superpowers/skills/writing-plans/SKILL.md +1 -1
- package/package.json +1 -1
- package/bundled/upstream/anthropic-skills/skills/claude-api/python/agent-sdk/README.md +0 -355
- package/bundled/upstream/anthropic-skills/skills/claude-api/python/agent-sdk/patterns.md +0 -359
- package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/agent-sdk/README.md +0 -297
- package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/agent-sdk/patterns.md +0 -209
- package/bundled/upstream/ecc/commands/agent-sort.md +0 -23
- package/bundled/upstream/ecc/commands/claw.md +0 -23
- package/bundled/upstream/ecc/commands/context-budget.md +0 -23
- package/bundled/upstream/ecc/commands/devfleet.md +0 -23
- package/bundled/upstream/ecc/commands/docs.md +0 -23
- package/bundled/upstream/ecc/commands/e2e.md +0 -268
- package/bundled/upstream/ecc/commands/eval.md +0 -23
- package/bundled/upstream/ecc/commands/orchestrate.md +0 -135
- package/bundled/upstream/ecc/commands/prompt-optimize.md +0 -23
- package/bundled/upstream/ecc/commands/rules-distill.md +0 -20
- package/bundled/upstream/ecc/commands/tdd.md +0 -231
- package/bundled/upstream/ecc/commands/verify.md +0 -23
- package/bundled/upstream/ecc/skills/claude-api/SKILL.md +0 -337
- package/bundled/upstream/ecc/skills/frontend-design/SKILL.md +0 -145
- package/bundled/upstream/superpowers/agents/code-reviewer.md +0 -48
- package/bundled/upstream/superpowers/commands/brainstorm.md +0 -5
- package/bundled/upstream/superpowers/commands/execute-plan.md +0 -5
- package/bundled/upstream/superpowers/commands/write-plan.md +0 -5
|
@@ -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.
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Legacy slash-entry shim for dmux-workflows and autonomous-agent-harness. Prefer the skills directly.
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Orchestrate Command (Legacy Shim)
|
|
6
|
-
|
|
7
|
-
Use this only if you still invoke `/orchestrate`. The maintained orchestration guidance lives in `skills/dmux-workflows/SKILL.md` and `skills/autonomous-agent-harness/SKILL.md`.
|
|
8
|
-
|
|
9
|
-
## Canonical Surface
|
|
10
|
-
|
|
11
|
-
- Prefer `dmux-workflows` for parallel panes, worktrees, and multi-agent splits.
|
|
12
|
-
- Prefer `autonomous-agent-harness` for longer-running loops, governance, scheduling, and control-plane style execution.
|
|
13
|
-
- Keep this file only as a compatibility entry point.
|
|
14
|
-
|
|
15
|
-
## Arguments
|
|
16
|
-
|
|
17
|
-
`$ARGUMENTS`
|
|
18
|
-
|
|
19
|
-
## Delegation
|
|
20
|
-
|
|
21
|
-
Apply the orchestration skills instead of maintaining a second workflow spec here.
|
|
22
|
-
- Start with `dmux-workflows` for split/parallel execution.
|
|
23
|
-
- Pull in `autonomous-agent-harness` when the user is really asking for persistent loops, governance, or operator-layer behavior.
|
|
24
|
-
- Keep handoffs structured, but let the skills define the maintained sequencing rules.
|
|
25
|
-
Security Reviewer: [summary]
|
|
26
|
-
|
|
27
|
-
### FILES CHANGED
|
|
28
|
-
|
|
29
|
-
[List all files modified]
|
|
30
|
-
|
|
31
|
-
### TEST RESULTS
|
|
32
|
-
|
|
33
|
-
[Test pass/fail summary]
|
|
34
|
-
|
|
35
|
-
### SECURITY STATUS
|
|
36
|
-
|
|
37
|
-
[Security findings]
|
|
38
|
-
|
|
39
|
-
### RECOMMENDATION
|
|
40
|
-
|
|
41
|
-
[SHIP / NEEDS WORK / BLOCKED]
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
## Parallel Execution
|
|
45
|
-
|
|
46
|
-
For independent checks, run agents in parallel:
|
|
47
|
-
|
|
48
|
-
```markdown
|
|
49
|
-
### Parallel Phase
|
|
50
|
-
Run simultaneously:
|
|
51
|
-
- code-reviewer (quality)
|
|
52
|
-
- security-reviewer (security)
|
|
53
|
-
- architect (design)
|
|
54
|
-
|
|
55
|
-
### Merge Results
|
|
56
|
-
Combine outputs into single report
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
For external tmux-pane workers with separate git worktrees, use `node scripts/orchestrate-worktrees.js plan.json --execute`. The built-in orchestration pattern stays in-process; the helper is for long-running or cross-harness sessions.
|
|
60
|
-
|
|
61
|
-
When workers need to see dirty or untracked local files from the main checkout, add `seedPaths` to the plan file. ECC overlays only those selected paths into each worker worktree after `git worktree add`, which keeps the branch isolated while still exposing in-flight local scripts, plans, or docs.
|
|
62
|
-
|
|
63
|
-
```json
|
|
64
|
-
{
|
|
65
|
-
"sessionName": "workflow-e2e",
|
|
66
|
-
"seedPaths": [
|
|
67
|
-
"scripts/orchestrate-worktrees.js",
|
|
68
|
-
"scripts/lib/tmux-worktree-orchestrator.js",
|
|
69
|
-
".claude/plan/workflow-e2e-test.json"
|
|
70
|
-
],
|
|
71
|
-
"workers": [
|
|
72
|
-
{ "name": "docs", "task": "Update orchestration docs." }
|
|
73
|
-
]
|
|
74
|
-
}
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
To export a control-plane snapshot for a live tmux/worktree session, run:
|
|
78
|
-
|
|
79
|
-
```bash
|
|
80
|
-
node scripts/orchestration-status.js .claude/plan/workflow-visual-proof.json
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
The snapshot includes session activity, tmux pane metadata, worker states, objectives, seeded overlays, and recent handoff summaries in JSON form.
|
|
84
|
-
|
|
85
|
-
## Operator Command-Center Handoff
|
|
86
|
-
|
|
87
|
-
When the workflow spans multiple sessions, worktrees, or tmux panes, append a control-plane block to the final handoff:
|
|
88
|
-
|
|
89
|
-
```markdown
|
|
90
|
-
CONTROL PLANE
|
|
91
|
-
-------------
|
|
92
|
-
Sessions:
|
|
93
|
-
- active session ID or alias
|
|
94
|
-
- branch + worktree path for each active worker
|
|
95
|
-
- tmux pane or detached session name when applicable
|
|
96
|
-
|
|
97
|
-
Diffs:
|
|
98
|
-
- git status summary
|
|
99
|
-
- git diff --stat for touched files
|
|
100
|
-
- merge/conflict risk notes
|
|
101
|
-
|
|
102
|
-
Approvals:
|
|
103
|
-
- pending user approvals
|
|
104
|
-
- blocked steps awaiting confirmation
|
|
105
|
-
|
|
106
|
-
Telemetry:
|
|
107
|
-
- last activity timestamp or idle signal
|
|
108
|
-
- estimated token or cost drift
|
|
109
|
-
- policy events raised by hooks or reviewers
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
This keeps planner, implementer, reviewer, and loop workers legible from the operator surface.
|
|
113
|
-
|
|
114
|
-
## Workflow Arguments
|
|
115
|
-
|
|
116
|
-
$ARGUMENTS:
|
|
117
|
-
- `feature <description>` - Full feature workflow
|
|
118
|
-
- `bugfix <description>` - Bug fix workflow
|
|
119
|
-
- `refactor <description>` - Refactoring workflow
|
|
120
|
-
- `security <description>` - Security review workflow
|
|
121
|
-
- `custom <agents> <description>` - Custom agent sequence
|
|
122
|
-
|
|
123
|
-
## Custom Workflow Example
|
|
124
|
-
|
|
125
|
-
```
|
|
126
|
-
/orchestrate custom "architect,tdd-guide,code-reviewer" "Redesign caching layer"
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
## Tips
|
|
130
|
-
|
|
131
|
-
1. **Start with planner** for complex features
|
|
132
|
-
2. **Always include code-reviewer** before merge
|
|
133
|
-
3. **Use security-reviewer** for auth/payment/PII
|
|
134
|
-
4. **Keep handoffs concise** - focus on what next agent needs
|
|
135
|
-
5. **Run verification** between agents if needed
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Legacy slash-entry shim for the prompt-optimizer skill. Prefer the skill directly.
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Prompt Optimize (Legacy Shim)
|
|
6
|
-
|
|
7
|
-
Use this only if you still invoke `/prompt-optimize`. The maintained workflow lives in `skills/prompt-optimizer/SKILL.md`.
|
|
8
|
-
|
|
9
|
-
## Canonical Surface
|
|
10
|
-
|
|
11
|
-
- Prefer the `prompt-optimizer` 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 `prompt-optimizer` skill.
|
|
21
|
-
- Keep it advisory-only: optimize the prompt, do not execute the task.
|
|
22
|
-
- Return the recommended ECC components plus a ready-to-run prompt.
|
|
23
|
-
- If the user actually wants direct execution, say so and tell them to make a normal task request instead of staying inside the shim.
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Legacy slash-entry shim for the rules-distill skill. Prefer the skill directly.
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Rules Distill (Legacy Shim)
|
|
6
|
-
|
|
7
|
-
Use this only if you still invoke `/rules-distill`. The maintained workflow lives in `skills/rules-distill/SKILL.md`.
|
|
8
|
-
|
|
9
|
-
## Canonical Surface
|
|
10
|
-
|
|
11
|
-
- Prefer the `rules-distill` 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 `rules-distill` skill and follow its inventory, cross-read, and verdict workflow instead of duplicating that logic here.
|
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Legacy slash-entry shim for the tdd-workflow skill. Prefer the skill directly.
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# TDD Command (Legacy Shim)
|
|
6
|
-
|
|
7
|
-
Use this only if you still invoke `/tdd`. The maintained workflow lives in `skills/tdd-workflow/SKILL.md`.
|
|
8
|
-
|
|
9
|
-
## Canonical Surface
|
|
10
|
-
|
|
11
|
-
- Prefer the `tdd-workflow` 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 `tdd-workflow` skill.
|
|
21
|
-
- Stay strict on RED -> GREEN -> REFACTOR.
|
|
22
|
-
- Keep tests first, coverage explicit, and checkpoint evidence clear.
|
|
23
|
-
- Use the skill as the maintained TDD body instead of duplicating the playbook here.
|
|
24
|
-
})
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Step 3: Run Tests - Verify FAIL
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
npm test lib/liquidity.test.ts
|
|
31
|
-
|
|
32
|
-
FAIL lib/liquidity.test.ts
|
|
33
|
-
✕ should return high score for liquid market (2 ms)
|
|
34
|
-
Error: Not implemented
|
|
35
|
-
|
|
36
|
-
1 test failed, 0 passed
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
PASS: Tests fail as expected. Ready to implement.
|
|
40
|
-
|
|
41
|
-
## Step 4: Implement Minimal Code (GREEN)
|
|
42
|
-
|
|
43
|
-
```typescript
|
|
44
|
-
// lib/liquidity.ts
|
|
45
|
-
export function calculateLiquidityScore(market: MarketData): number {
|
|
46
|
-
// Handle zero volume edge case
|
|
47
|
-
if (market.totalVolume === 0) {
|
|
48
|
-
return 0
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
// Calculate component scores (0-100 scale)
|
|
52
|
-
const volumeScore = Math.min(market.totalVolume / 1000, 100)
|
|
53
|
-
const spreadScore = Math.max(100 - (market.bidAskSpread * 1000), 0)
|
|
54
|
-
const traderScore = Math.min(market.activeTraders / 10, 100)
|
|
55
|
-
|
|
56
|
-
// Recent activity bonus
|
|
57
|
-
const hoursSinceLastTrade = (Date.now() - market.lastTradeTime.getTime()) / (1000 * 60 * 60)
|
|
58
|
-
const recencyScore = Math.max(100 - (hoursSinceLastTrade * 10), 0)
|
|
59
|
-
|
|
60
|
-
// Weighted average
|
|
61
|
-
const score = (
|
|
62
|
-
volumeScore * 0.4 +
|
|
63
|
-
spreadScore * 0.3 +
|
|
64
|
-
traderScore * 0.2 +
|
|
65
|
-
recencyScore * 0.1
|
|
66
|
-
)
|
|
67
|
-
|
|
68
|
-
return Math.min(Math.max(score, 0), 100) // Clamp to 0-100
|
|
69
|
-
}
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
## Step 5: Run Tests - Verify PASS
|
|
73
|
-
|
|
74
|
-
```bash
|
|
75
|
-
npm test lib/liquidity.test.ts
|
|
76
|
-
|
|
77
|
-
PASS lib/liquidity.test.ts
|
|
78
|
-
✓ should return high score for liquid market (3 ms)
|
|
79
|
-
✓ should return low score for illiquid market (2 ms)
|
|
80
|
-
✓ should handle edge case: zero volume (1 ms)
|
|
81
|
-
|
|
82
|
-
3 tests passed
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
PASS: All tests passing!
|
|
86
|
-
|
|
87
|
-
## Step 6: Refactor (IMPROVE)
|
|
88
|
-
|
|
89
|
-
```typescript
|
|
90
|
-
// lib/liquidity.ts - Refactored with constants and better readability
|
|
91
|
-
const WEIGHTS = {
|
|
92
|
-
VOLUME: 0.4,
|
|
93
|
-
SPREAD: 0.3,
|
|
94
|
-
TRADERS: 0.2,
|
|
95
|
-
RECENCY: 0.1,
|
|
96
|
-
} as const
|
|
97
|
-
|
|
98
|
-
const SCALE_FACTORS = {
|
|
99
|
-
VOLUME: 1000,
|
|
100
|
-
SPREAD: 1000,
|
|
101
|
-
TRADERS: 10,
|
|
102
|
-
RECENCY_PENALTY: 10,
|
|
103
|
-
} as const
|
|
104
|
-
|
|
105
|
-
function clamp(value: number, min: number, max: number): number {
|
|
106
|
-
return Math.min(Math.max(value, min), max)
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
export function calculateLiquidityScore(market: MarketData): number {
|
|
110
|
-
if (market.totalVolume === 0) return 0
|
|
111
|
-
|
|
112
|
-
const volumeScore = Math.min(market.totalVolume / SCALE_FACTORS.VOLUME, 100)
|
|
113
|
-
const spreadScore = clamp(100 - (market.bidAskSpread * SCALE_FACTORS.SPREAD), 0, 100)
|
|
114
|
-
const traderScore = Math.min(market.activeTraders / SCALE_FACTORS.TRADERS, 100)
|
|
115
|
-
|
|
116
|
-
const hoursSinceLastTrade = (Date.now() - market.lastTradeTime.getTime()) / (1000 * 60 * 60)
|
|
117
|
-
const recencyScore = clamp(100 - (hoursSinceLastTrade * SCALE_FACTORS.RECENCY_PENALTY), 0, 100)
|
|
118
|
-
|
|
119
|
-
const weightedScore =
|
|
120
|
-
volumeScore * WEIGHTS.VOLUME +
|
|
121
|
-
spreadScore * WEIGHTS.SPREAD +
|
|
122
|
-
traderScore * WEIGHTS.TRADERS +
|
|
123
|
-
recencyScore * WEIGHTS.RECENCY
|
|
124
|
-
|
|
125
|
-
return clamp(weightedScore, 0, 100)
|
|
126
|
-
}
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
## Step 7: Verify Tests Still Pass
|
|
130
|
-
|
|
131
|
-
```bash
|
|
132
|
-
npm test lib/liquidity.test.ts
|
|
133
|
-
|
|
134
|
-
PASS lib/liquidity.test.ts
|
|
135
|
-
✓ should return high score for liquid market (3 ms)
|
|
136
|
-
✓ should return low score for illiquid market (2 ms)
|
|
137
|
-
✓ should handle edge case: zero volume (1 ms)
|
|
138
|
-
|
|
139
|
-
3 tests passed
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
PASS: Refactoring complete, tests still passing!
|
|
143
|
-
|
|
144
|
-
## Step 8: Check Coverage
|
|
145
|
-
|
|
146
|
-
```bash
|
|
147
|
-
npm test -- --coverage lib/liquidity.test.ts
|
|
148
|
-
|
|
149
|
-
File | % Stmts | % Branch | % Funcs | % Lines
|
|
150
|
-
---------------|---------|----------|---------|--------
|
|
151
|
-
liquidity.ts | 100 | 100 | 100 | 100
|
|
152
|
-
|
|
153
|
-
Coverage: 100% PASS: (Target: 80%)
|
|
154
|
-
```
|
|
155
|
-
|
|
156
|
-
PASS: TDD session complete!
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
## TDD Best Practices
|
|
160
|
-
|
|
161
|
-
**DO:**
|
|
162
|
-
- PASS: Write the test FIRST, before any implementation
|
|
163
|
-
- PASS: Run tests and verify they FAIL before implementing
|
|
164
|
-
- PASS: Write minimal code to make tests pass
|
|
165
|
-
- PASS: Refactor only after tests are green
|
|
166
|
-
- PASS: Add edge cases and error scenarios
|
|
167
|
-
- PASS: Aim for 80%+ coverage (100% for critical code)
|
|
168
|
-
|
|
169
|
-
**DON'T:**
|
|
170
|
-
- FAIL: Write implementation before tests
|
|
171
|
-
- FAIL: Skip running tests after each change
|
|
172
|
-
- FAIL: Write too much code at once
|
|
173
|
-
- FAIL: Ignore failing tests
|
|
174
|
-
- FAIL: Test implementation details (test behavior)
|
|
175
|
-
- FAIL: Mock everything (prefer integration tests)
|
|
176
|
-
|
|
177
|
-
## Test Types to Include
|
|
178
|
-
|
|
179
|
-
**Unit Tests** (Function-level):
|
|
180
|
-
- Happy path scenarios
|
|
181
|
-
- Edge cases (empty, null, max values)
|
|
182
|
-
- Error conditions
|
|
183
|
-
- Boundary values
|
|
184
|
-
|
|
185
|
-
**Integration Tests** (Component-level):
|
|
186
|
-
- API endpoints
|
|
187
|
-
- Database operations
|
|
188
|
-
- External service calls
|
|
189
|
-
- React components with hooks
|
|
190
|
-
|
|
191
|
-
**E2E Tests** (use `/e2e` command):
|
|
192
|
-
- Critical user flows
|
|
193
|
-
- Multi-step processes
|
|
194
|
-
- Full stack integration
|
|
195
|
-
|
|
196
|
-
## Coverage Requirements
|
|
197
|
-
|
|
198
|
-
- **80% minimum** for all code
|
|
199
|
-
- **100% required** for:
|
|
200
|
-
- Financial calculations
|
|
201
|
-
- Authentication logic
|
|
202
|
-
- Security-critical code
|
|
203
|
-
- Core business logic
|
|
204
|
-
|
|
205
|
-
## Important Notes
|
|
206
|
-
|
|
207
|
-
**MANDATORY**: Tests must be written BEFORE implementation. The TDD cycle is:
|
|
208
|
-
|
|
209
|
-
1. **RED** - Write failing test
|
|
210
|
-
2. **GREEN** - Implement to pass
|
|
211
|
-
3. **REFACTOR** - Improve code
|
|
212
|
-
|
|
213
|
-
Never skip the RED phase. Never write code before tests.
|
|
214
|
-
|
|
215
|
-
## Integration with Other Commands
|
|
216
|
-
|
|
217
|
-
- Use `/plan` first to understand what to build
|
|
218
|
-
- Use `/tdd` to implement with tests
|
|
219
|
-
- Use `/build-fix` if build errors occur
|
|
220
|
-
- Use `/code-review` to review implementation
|
|
221
|
-
- Use `/test-coverage` to verify coverage
|
|
222
|
-
|
|
223
|
-
## Related Agents
|
|
224
|
-
|
|
225
|
-
This command invokes the `tdd-guide` agent provided by ECC.
|
|
226
|
-
|
|
227
|
-
The related `tdd-workflow` skill is also bundled with ECC.
|
|
228
|
-
|
|
229
|
-
For manual installs, the source files live at:
|
|
230
|
-
- `agents/tdd-guide.md`
|
|
231
|
-
- `skills/tdd-workflow/SKILL.md`
|