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.
- 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/prompt-optimizer/SKILL.md +23 -4
- 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/src/cli/index.js +1 -0
- package/src/cli/setup.js +9 -0
- package/src/cli/skill-index.js +209 -0
- package/src/cli/skill.js +4 -0
- 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,337 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: claude-api
|
|
3
|
-
description: Anthropic Claude API patterns for Python and TypeScript. Covers Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, and Claude Agent SDK. Use when building applications with the Claude API or Anthropic SDKs.
|
|
4
|
-
origin: ECC
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Claude API
|
|
8
|
-
|
|
9
|
-
Build applications with the Anthropic Claude API and SDKs.
|
|
10
|
-
|
|
11
|
-
## When to Activate
|
|
12
|
-
|
|
13
|
-
- Building applications that call the Claude API
|
|
14
|
-
- Code imports `anthropic` (Python) or `@anthropic-ai/sdk` (TypeScript)
|
|
15
|
-
- User asks about Claude API patterns, tool use, streaming, or vision
|
|
16
|
-
- Implementing agent workflows with Claude Agent SDK
|
|
17
|
-
- Optimizing API costs, token usage, or latency
|
|
18
|
-
|
|
19
|
-
## Model Selection
|
|
20
|
-
|
|
21
|
-
| Model | ID | Best For |
|
|
22
|
-
|-------|-----|----------|
|
|
23
|
-
| Opus 4.1 | `claude-opus-4-1` | Complex reasoning, architecture, research |
|
|
24
|
-
| Sonnet 4 | `claude-sonnet-4-0` | Balanced coding, most development tasks |
|
|
25
|
-
| Haiku 3.5 | `claude-3-5-haiku-latest` | Fast responses, high-volume, cost-sensitive |
|
|
26
|
-
|
|
27
|
-
Default to Sonnet 4 unless the task requires deep reasoning (Opus) or speed/cost optimization (Haiku). For production, prefer pinned snapshot IDs over aliases.
|
|
28
|
-
|
|
29
|
-
## Python SDK
|
|
30
|
-
|
|
31
|
-
### Installation
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
pip install anthropic
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
### Basic Message
|
|
38
|
-
|
|
39
|
-
```python
|
|
40
|
-
import anthropic
|
|
41
|
-
|
|
42
|
-
client = anthropic.Anthropic() # reads ANTHROPIC_API_KEY from env
|
|
43
|
-
|
|
44
|
-
message = client.messages.create(
|
|
45
|
-
model="claude-sonnet-4-0",
|
|
46
|
-
max_tokens=1024,
|
|
47
|
-
messages=[
|
|
48
|
-
{"role": "user", "content": "Explain async/await in Python"}
|
|
49
|
-
]
|
|
50
|
-
)
|
|
51
|
-
print(message.content[0].text)
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
### Streaming
|
|
55
|
-
|
|
56
|
-
```python
|
|
57
|
-
with client.messages.stream(
|
|
58
|
-
model="claude-sonnet-4-0",
|
|
59
|
-
max_tokens=1024,
|
|
60
|
-
messages=[{"role": "user", "content": "Write a haiku about coding"}]
|
|
61
|
-
) as stream:
|
|
62
|
-
for text in stream.text_stream:
|
|
63
|
-
print(text, end="", flush=True)
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
### System Prompt
|
|
67
|
-
|
|
68
|
-
```python
|
|
69
|
-
message = client.messages.create(
|
|
70
|
-
model="claude-sonnet-4-0",
|
|
71
|
-
max_tokens=1024,
|
|
72
|
-
system="You are a senior Python developer. Be concise.",
|
|
73
|
-
messages=[{"role": "user", "content": "Review this function"}]
|
|
74
|
-
)
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
## TypeScript SDK
|
|
78
|
-
|
|
79
|
-
### Installation
|
|
80
|
-
|
|
81
|
-
```bash
|
|
82
|
-
npm install @anthropic-ai/sdk
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
### Basic Message
|
|
86
|
-
|
|
87
|
-
```typescript
|
|
88
|
-
import Anthropic from "@anthropic-ai/sdk";
|
|
89
|
-
|
|
90
|
-
const client = new Anthropic(); // reads ANTHROPIC_API_KEY from env
|
|
91
|
-
|
|
92
|
-
const message = await client.messages.create({
|
|
93
|
-
model: "claude-sonnet-4-0",
|
|
94
|
-
max_tokens: 1024,
|
|
95
|
-
messages: [
|
|
96
|
-
{ role: "user", content: "Explain async/await in TypeScript" }
|
|
97
|
-
],
|
|
98
|
-
});
|
|
99
|
-
console.log(message.content[0].text);
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
### Streaming
|
|
103
|
-
|
|
104
|
-
```typescript
|
|
105
|
-
const stream = client.messages.stream({
|
|
106
|
-
model: "claude-sonnet-4-0",
|
|
107
|
-
max_tokens: 1024,
|
|
108
|
-
messages: [{ role: "user", content: "Write a haiku" }],
|
|
109
|
-
});
|
|
110
|
-
|
|
111
|
-
for await (const event of stream) {
|
|
112
|
-
if (event.type === "content_block_delta" && event.delta.type === "text_delta") {
|
|
113
|
-
process.stdout.write(event.delta.text);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
## Tool Use
|
|
119
|
-
|
|
120
|
-
Define tools and let Claude call them:
|
|
121
|
-
|
|
122
|
-
```python
|
|
123
|
-
tools = [
|
|
124
|
-
{
|
|
125
|
-
"name": "get_weather",
|
|
126
|
-
"description": "Get current weather for a location",
|
|
127
|
-
"input_schema": {
|
|
128
|
-
"type": "object",
|
|
129
|
-
"properties": {
|
|
130
|
-
"location": {"type": "string", "description": "City name"},
|
|
131
|
-
"unit": {"type": "string", "enum": ["celsius", "fahrenheit"]}
|
|
132
|
-
},
|
|
133
|
-
"required": ["location"]
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
]
|
|
137
|
-
|
|
138
|
-
message = client.messages.create(
|
|
139
|
-
model="claude-sonnet-4-0",
|
|
140
|
-
max_tokens=1024,
|
|
141
|
-
tools=tools,
|
|
142
|
-
messages=[{"role": "user", "content": "What's the weather in SF?"}]
|
|
143
|
-
)
|
|
144
|
-
|
|
145
|
-
# Handle tool use response
|
|
146
|
-
for block in message.content:
|
|
147
|
-
if block.type == "tool_use":
|
|
148
|
-
# Execute the tool with block.input
|
|
149
|
-
result = get_weather(**block.input)
|
|
150
|
-
# Send result back
|
|
151
|
-
follow_up = client.messages.create(
|
|
152
|
-
model="claude-sonnet-4-0",
|
|
153
|
-
max_tokens=1024,
|
|
154
|
-
tools=tools,
|
|
155
|
-
messages=[
|
|
156
|
-
{"role": "user", "content": "What's the weather in SF?"},
|
|
157
|
-
{"role": "assistant", "content": message.content},
|
|
158
|
-
{"role": "user", "content": [
|
|
159
|
-
{"type": "tool_result", "tool_use_id": block.id, "content": str(result)}
|
|
160
|
-
]}
|
|
161
|
-
]
|
|
162
|
-
)
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
## Vision
|
|
166
|
-
|
|
167
|
-
Send images for analysis:
|
|
168
|
-
|
|
169
|
-
```python
|
|
170
|
-
import base64
|
|
171
|
-
|
|
172
|
-
with open("diagram.png", "rb") as f:
|
|
173
|
-
image_data = base64.standard_b64encode(f.read()).decode("utf-8")
|
|
174
|
-
|
|
175
|
-
message = client.messages.create(
|
|
176
|
-
model="claude-sonnet-4-0",
|
|
177
|
-
max_tokens=1024,
|
|
178
|
-
messages=[{
|
|
179
|
-
"role": "user",
|
|
180
|
-
"content": [
|
|
181
|
-
{"type": "image", "source": {"type": "base64", "media_type": "image/png", "data": image_data}},
|
|
182
|
-
{"type": "text", "text": "Describe this diagram"}
|
|
183
|
-
]
|
|
184
|
-
}]
|
|
185
|
-
)
|
|
186
|
-
```
|
|
187
|
-
|
|
188
|
-
## Extended Thinking
|
|
189
|
-
|
|
190
|
-
For complex reasoning tasks:
|
|
191
|
-
|
|
192
|
-
```python
|
|
193
|
-
message = client.messages.create(
|
|
194
|
-
model="claude-sonnet-4-0",
|
|
195
|
-
max_tokens=16000,
|
|
196
|
-
thinking={
|
|
197
|
-
"type": "enabled",
|
|
198
|
-
"budget_tokens": 10000
|
|
199
|
-
},
|
|
200
|
-
messages=[{"role": "user", "content": "Solve this math problem step by step..."}]
|
|
201
|
-
)
|
|
202
|
-
|
|
203
|
-
for block in message.content:
|
|
204
|
-
if block.type == "thinking":
|
|
205
|
-
print(f"Thinking: {block.thinking}")
|
|
206
|
-
elif block.type == "text":
|
|
207
|
-
print(f"Answer: {block.text}")
|
|
208
|
-
```
|
|
209
|
-
|
|
210
|
-
## Prompt Caching
|
|
211
|
-
|
|
212
|
-
Cache large system prompts or context to reduce costs:
|
|
213
|
-
|
|
214
|
-
```python
|
|
215
|
-
message = client.messages.create(
|
|
216
|
-
model="claude-sonnet-4-0",
|
|
217
|
-
max_tokens=1024,
|
|
218
|
-
system=[
|
|
219
|
-
{"type": "text", "text": large_system_prompt, "cache_control": {"type": "ephemeral"}}
|
|
220
|
-
],
|
|
221
|
-
messages=[{"role": "user", "content": "Question about the cached context"}]
|
|
222
|
-
)
|
|
223
|
-
# Check cache usage
|
|
224
|
-
print(f"Cache read: {message.usage.cache_read_input_tokens}")
|
|
225
|
-
print(f"Cache creation: {message.usage.cache_creation_input_tokens}")
|
|
226
|
-
```
|
|
227
|
-
|
|
228
|
-
## Batches API
|
|
229
|
-
|
|
230
|
-
Process large volumes asynchronously at 50% cost reduction:
|
|
231
|
-
|
|
232
|
-
```python
|
|
233
|
-
import time
|
|
234
|
-
|
|
235
|
-
batch = client.messages.batches.create(
|
|
236
|
-
requests=[
|
|
237
|
-
{
|
|
238
|
-
"custom_id": f"request-{i}",
|
|
239
|
-
"params": {
|
|
240
|
-
"model": "claude-sonnet-4-0",
|
|
241
|
-
"max_tokens": 1024,
|
|
242
|
-
"messages": [{"role": "user", "content": prompt}]
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
for i, prompt in enumerate(prompts)
|
|
246
|
-
]
|
|
247
|
-
)
|
|
248
|
-
|
|
249
|
-
# Poll for completion
|
|
250
|
-
while True:
|
|
251
|
-
status = client.messages.batches.retrieve(batch.id)
|
|
252
|
-
if status.processing_status == "ended":
|
|
253
|
-
break
|
|
254
|
-
time.sleep(30)
|
|
255
|
-
|
|
256
|
-
# Get results
|
|
257
|
-
for result in client.messages.batches.results(batch.id):
|
|
258
|
-
print(result.result.message.content[0].text)
|
|
259
|
-
```
|
|
260
|
-
|
|
261
|
-
## Claude Agent SDK
|
|
262
|
-
|
|
263
|
-
Build multi-step agents:
|
|
264
|
-
|
|
265
|
-
```python
|
|
266
|
-
# Note: Agent SDK API surface may change — check official docs
|
|
267
|
-
import anthropic
|
|
268
|
-
|
|
269
|
-
# Define tools as functions
|
|
270
|
-
tools = [{
|
|
271
|
-
"name": "search_codebase",
|
|
272
|
-
"description": "Search the codebase for relevant code",
|
|
273
|
-
"input_schema": {
|
|
274
|
-
"type": "object",
|
|
275
|
-
"properties": {"query": {"type": "string"}},
|
|
276
|
-
"required": ["query"]
|
|
277
|
-
}
|
|
278
|
-
}]
|
|
279
|
-
|
|
280
|
-
# Run an agentic loop with tool use
|
|
281
|
-
client = anthropic.Anthropic()
|
|
282
|
-
messages = [{"role": "user", "content": "Review the auth module for security issues"}]
|
|
283
|
-
|
|
284
|
-
while True:
|
|
285
|
-
response = client.messages.create(
|
|
286
|
-
model="claude-sonnet-4-0",
|
|
287
|
-
max_tokens=4096,
|
|
288
|
-
tools=tools,
|
|
289
|
-
messages=messages,
|
|
290
|
-
)
|
|
291
|
-
if response.stop_reason == "end_turn":
|
|
292
|
-
break
|
|
293
|
-
# Handle tool calls and continue the loop
|
|
294
|
-
messages.append({"role": "assistant", "content": response.content})
|
|
295
|
-
# ... execute tools and append tool_result messages
|
|
296
|
-
```
|
|
297
|
-
|
|
298
|
-
## Cost Optimization
|
|
299
|
-
|
|
300
|
-
| Strategy | Savings | When to Use |
|
|
301
|
-
|----------|---------|-------------|
|
|
302
|
-
| Prompt caching | Up to 90% on cached tokens | Repeated system prompts or context |
|
|
303
|
-
| Batches API | 50% | Non-time-sensitive bulk processing |
|
|
304
|
-
| Haiku instead of Sonnet | ~75% | Simple tasks, classification, extraction |
|
|
305
|
-
| Shorter max_tokens | Variable | When you know output will be short |
|
|
306
|
-
| Streaming | None (same cost) | Better UX, same price |
|
|
307
|
-
|
|
308
|
-
## Error Handling
|
|
309
|
-
|
|
310
|
-
```python
|
|
311
|
-
import time
|
|
312
|
-
|
|
313
|
-
from anthropic import APIError, RateLimitError, APIConnectionError
|
|
314
|
-
|
|
315
|
-
try:
|
|
316
|
-
message = client.messages.create(...)
|
|
317
|
-
except RateLimitError:
|
|
318
|
-
# Back off and retry
|
|
319
|
-
time.sleep(60)
|
|
320
|
-
except APIConnectionError:
|
|
321
|
-
# Network issue, retry with backoff
|
|
322
|
-
pass
|
|
323
|
-
except APIError as e:
|
|
324
|
-
print(f"API error {e.status_code}: {e.message}")
|
|
325
|
-
```
|
|
326
|
-
|
|
327
|
-
## Environment Setup
|
|
328
|
-
|
|
329
|
-
```bash
|
|
330
|
-
# Required
|
|
331
|
-
export ANTHROPIC_API_KEY="your-api-key-here"
|
|
332
|
-
|
|
333
|
-
# Optional: set default model
|
|
334
|
-
export ANTHROPIC_MODEL="claude-sonnet-4-0"
|
|
335
|
-
```
|
|
336
|
-
|
|
337
|
-
Never hardcode API keys. Always use environment variables.
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: frontend-design
|
|
3
|
-
description: Create distinctive, production-grade frontend interfaces with high design quality. Use when the user asks to build web components, pages, or applications and the visual direction matters as much as the code quality.
|
|
4
|
-
origin: ECC
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Frontend Design
|
|
8
|
-
|
|
9
|
-
Use this when the task is not just "make it work" but "make it look designed."
|
|
10
|
-
|
|
11
|
-
This skill is for product pages, dashboards, app shells, components, or visual systems that need a clear point of view instead of generic AI-looking UI.
|
|
12
|
-
|
|
13
|
-
## When To Use
|
|
14
|
-
|
|
15
|
-
- building a landing page, dashboard, or app surface from scratch
|
|
16
|
-
- upgrading a bland interface into something intentional and memorable
|
|
17
|
-
- translating a product concept into a concrete visual direction
|
|
18
|
-
- implementing a frontend where typography, composition, and motion matter
|
|
19
|
-
|
|
20
|
-
## Core Principle
|
|
21
|
-
|
|
22
|
-
Pick a direction and commit to it.
|
|
23
|
-
|
|
24
|
-
Safe-average UI is usually worse than a strong, coherent aesthetic with a few bold choices.
|
|
25
|
-
|
|
26
|
-
## Design Workflow
|
|
27
|
-
|
|
28
|
-
### 1. Frame the interface first
|
|
29
|
-
|
|
30
|
-
Before coding, settle:
|
|
31
|
-
|
|
32
|
-
- purpose
|
|
33
|
-
- audience
|
|
34
|
-
- emotional tone
|
|
35
|
-
- visual direction
|
|
36
|
-
- one thing the user should remember
|
|
37
|
-
|
|
38
|
-
Possible directions:
|
|
39
|
-
|
|
40
|
-
- brutally minimal
|
|
41
|
-
- editorial
|
|
42
|
-
- industrial
|
|
43
|
-
- luxury
|
|
44
|
-
- playful
|
|
45
|
-
- geometric
|
|
46
|
-
- retro-futurist
|
|
47
|
-
- soft and organic
|
|
48
|
-
- maximalist
|
|
49
|
-
|
|
50
|
-
Do not mix directions casually. Choose one and execute it cleanly.
|
|
51
|
-
|
|
52
|
-
### 2. Build the visual system
|
|
53
|
-
|
|
54
|
-
Define:
|
|
55
|
-
|
|
56
|
-
- type hierarchy
|
|
57
|
-
- color variables
|
|
58
|
-
- spacing rhythm
|
|
59
|
-
- layout logic
|
|
60
|
-
- motion rules
|
|
61
|
-
- surface / border / shadow treatment
|
|
62
|
-
|
|
63
|
-
Use CSS variables or the project's token system so the interface stays coherent as it grows.
|
|
64
|
-
|
|
65
|
-
### 3. Compose with intention
|
|
66
|
-
|
|
67
|
-
Prefer:
|
|
68
|
-
|
|
69
|
-
- asymmetry when it sharpens hierarchy
|
|
70
|
-
- overlap when it creates depth
|
|
71
|
-
- strong whitespace when it clarifies focus
|
|
72
|
-
- dense layouts only when the product benefits from density
|
|
73
|
-
|
|
74
|
-
Avoid defaulting to a symmetrical card grid unless it is clearly the right fit.
|
|
75
|
-
|
|
76
|
-
### 4. Make motion meaningful
|
|
77
|
-
|
|
78
|
-
Use animation to:
|
|
79
|
-
|
|
80
|
-
- reveal hierarchy
|
|
81
|
-
- stage information
|
|
82
|
-
- reinforce user action
|
|
83
|
-
- create one or two memorable moments
|
|
84
|
-
|
|
85
|
-
Do not scatter generic micro-interactions everywhere. One well-directed load sequence is usually stronger than twenty random hover effects.
|
|
86
|
-
|
|
87
|
-
## Strong Defaults
|
|
88
|
-
|
|
89
|
-
### Typography
|
|
90
|
-
|
|
91
|
-
- pick fonts with character
|
|
92
|
-
- pair a distinctive display face with a readable body face when appropriate
|
|
93
|
-
- avoid generic defaults when the page is design-led
|
|
94
|
-
|
|
95
|
-
### Color
|
|
96
|
-
|
|
97
|
-
- commit to a clear palette
|
|
98
|
-
- one dominant field with selective accents usually works better than evenly weighted rainbow palettes
|
|
99
|
-
- avoid cliché purple-gradient-on-white unless the product genuinely calls for it
|
|
100
|
-
|
|
101
|
-
### Background
|
|
102
|
-
|
|
103
|
-
Use atmosphere:
|
|
104
|
-
|
|
105
|
-
- gradients
|
|
106
|
-
- meshes
|
|
107
|
-
- textures
|
|
108
|
-
- subtle noise
|
|
109
|
-
- patterns
|
|
110
|
-
- layered transparency
|
|
111
|
-
|
|
112
|
-
Flat empty backgrounds are rarely the best answer for a product-facing page.
|
|
113
|
-
|
|
114
|
-
### Layout
|
|
115
|
-
|
|
116
|
-
- break the grid when the composition benefits from it
|
|
117
|
-
- use diagonals, offsets, and grouping intentionally
|
|
118
|
-
- keep reading flow obvious even when the layout is unconventional
|
|
119
|
-
|
|
120
|
-
## Anti-Patterns
|
|
121
|
-
|
|
122
|
-
Never default to:
|
|
123
|
-
|
|
124
|
-
- interchangeable SaaS hero sections
|
|
125
|
-
- generic card piles with no hierarchy
|
|
126
|
-
- random accent colors without a system
|
|
127
|
-
- placeholder-feeling typography
|
|
128
|
-
- motion that exists only because animation was easy to add
|
|
129
|
-
|
|
130
|
-
## Execution Rules
|
|
131
|
-
|
|
132
|
-
- preserve the established design system when working inside an existing product
|
|
133
|
-
- match technical complexity to the visual idea
|
|
134
|
-
- keep accessibility and responsiveness intact
|
|
135
|
-
- frontends should feel deliberate on desktop and mobile
|
|
136
|
-
|
|
137
|
-
## Quality Gate
|
|
138
|
-
|
|
139
|
-
Before delivering:
|
|
140
|
-
|
|
141
|
-
- the interface has a clear visual point of view
|
|
142
|
-
- typography and spacing feel intentional
|
|
143
|
-
- color and motion support the product instead of decorating it randomly
|
|
144
|
-
- the result does not read like generic AI UI
|
|
145
|
-
- the implementation is production-grade, not just visually interesting
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: code-reviewer
|
|
3
|
-
description: |
|
|
4
|
-
Use this agent when a major project step has been completed and needs to be reviewed against the original plan and coding standards. Examples: <example>Context: The user is creating a code-review agent that should be called after a logical chunk of code is written. user: "I've finished implementing the user authentication system as outlined in step 3 of our plan" assistant: "Great work! Now let me use the code-reviewer agent to review the implementation against our plan and coding standards" <commentary>Since a major project step has been completed, use the code-reviewer agent to validate the work against the plan and identify any issues.</commentary></example> <example>Context: User has completed a significant feature implementation. user: "The API endpoints for the task management system are now complete - that covers step 2 from our architecture document" assistant: "Excellent! Let me have the code-reviewer agent examine this implementation to ensure it aligns with our plan and follows best practices" <commentary>A numbered step from the planning document has been completed, so the code-reviewer agent should review the work.</commentary></example>
|
|
5
|
-
model: inherit
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
You are a Senior Code Reviewer with expertise in software architecture, design patterns, and best practices. Your role is to review completed project steps against original plans and ensure code quality standards are met.
|
|
9
|
-
|
|
10
|
-
When reviewing completed work, you will:
|
|
11
|
-
|
|
12
|
-
1. **Plan Alignment Analysis**:
|
|
13
|
-
- Compare the implementation against the original planning document or step description
|
|
14
|
-
- Identify any deviations from the planned approach, architecture, or requirements
|
|
15
|
-
- Assess whether deviations are justified improvements or problematic departures
|
|
16
|
-
- Verify that all planned functionality has been implemented
|
|
17
|
-
|
|
18
|
-
2. **Code Quality Assessment**:
|
|
19
|
-
- Review code for adherence to established patterns and conventions
|
|
20
|
-
- Check for proper error handling, type safety, and defensive programming
|
|
21
|
-
- Evaluate code organization, naming conventions, and maintainability
|
|
22
|
-
- Assess test coverage and quality of test implementations
|
|
23
|
-
- Look for potential security vulnerabilities or performance issues
|
|
24
|
-
|
|
25
|
-
3. **Architecture and Design Review**:
|
|
26
|
-
- Ensure the implementation follows SOLID principles and established architectural patterns
|
|
27
|
-
- Check for proper separation of concerns and loose coupling
|
|
28
|
-
- Verify that the code integrates well with existing systems
|
|
29
|
-
- Assess scalability and extensibility considerations
|
|
30
|
-
|
|
31
|
-
4. **Documentation and Standards**:
|
|
32
|
-
- Verify that code includes appropriate comments and documentation
|
|
33
|
-
- Check that file headers, function documentation, and inline comments are present and accurate
|
|
34
|
-
- Ensure adherence to project-specific coding standards and conventions
|
|
35
|
-
|
|
36
|
-
5. **Issue Identification and Recommendations**:
|
|
37
|
-
- Clearly categorize issues as: Critical (must fix), Important (should fix), or Suggestions (nice to have)
|
|
38
|
-
- For each issue, provide specific examples and actionable recommendations
|
|
39
|
-
- When you identify plan deviations, explain whether they're problematic or beneficial
|
|
40
|
-
- Suggest specific improvements with code examples when helpful
|
|
41
|
-
|
|
42
|
-
6. **Communication Protocol**:
|
|
43
|
-
- If you find significant deviations from the plan, ask the coding agent to review and confirm the changes
|
|
44
|
-
- If you identify issues with the original plan itself, recommend plan updates
|
|
45
|
-
- For implementation problems, provide clear guidance on fixes needed
|
|
46
|
-
- Always acknowledge what was done well before highlighting issues
|
|
47
|
-
|
|
48
|
-
Your output should be structured, actionable, and focused on helping maintain high code quality while ensuring project goals are met. Be thorough but concise, and always provide constructive feedback that helps improve both the current implementation and future development practices.
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Deprecated - use the superpowers:executing-plans skill instead"
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
Tell your human partner that this command is deprecated and will be removed in the next major release. They should ask you to use the "superpowers executing-plans" skill instead.
|