agim-cli 1.2.144 → 1.2.148
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/CHANGELOG.md +159 -0
- package/dist/cli-ui/setup-llm.d.ts.map +1 -1
- package/dist/cli-ui/setup-llm.js +3 -1
- package/dist/cli-ui/setup-llm.js.map +1 -1
- package/dist/core/circuit-breaker.d.ts +28 -0
- package/dist/core/circuit-breaker.d.ts.map +1 -1
- package/dist/core/circuit-breaker.js +45 -0
- package/dist/core/circuit-breaker.js.map +1 -1
- package/dist/core/intent.d.ts.map +1 -1
- package/dist/core/intent.js +3 -1
- package/dist/core/intent.js.map +1 -1
- package/dist/core/llm/agent-loop.d.ts +9 -1
- package/dist/core/llm/agent-loop.d.ts.map +1 -1
- package/dist/core/llm/agent-loop.js +80 -1
- package/dist/core/llm/agent-loop.js.map +1 -1
- package/dist/core/llm/anthropic-provider.d.ts.map +1 -1
- package/dist/core/llm/anthropic-provider.js +18 -4
- package/dist/core/llm/anthropic-provider.js.map +1 -1
- package/dist/core/llm/hallucination-detector.d.ts +33 -0
- package/dist/core/llm/hallucination-detector.d.ts.map +1 -0
- package/dist/core/llm/hallucination-detector.js +103 -0
- package/dist/core/llm/hallucination-detector.js.map +1 -0
- package/dist/core/llm/imhub-dispatcher.d.ts.map +1 -1
- package/dist/core/llm/imhub-dispatcher.js +7 -0
- package/dist/core/llm/imhub-dispatcher.js.map +1 -1
- package/dist/core/llm/provider-base.d.ts +9 -0
- package/dist/core/llm/provider-base.d.ts.map +1 -1
- package/dist/core/llm/provider-base.js.map +1 -1
- package/dist/core/memory-distill.d.ts.map +1 -1
- package/dist/core/memory-distill.js +18 -3
- package/dist/core/memory-distill.js.map +1 -1
- package/dist/core/memory.d.ts +14 -0
- package/dist/core/memory.d.ts.map +1 -1
- package/dist/core/memory.js +39 -0
- package/dist/core/memory.js.map +1 -1
- package/dist/core/message-sink.d.ts +6 -0
- package/dist/core/message-sink.d.ts.map +1 -1
- package/dist/core/message-sink.js +18 -3
- package/dist/core/message-sink.js.map +1 -1
- package/dist/core/outbox.d.ts +30 -2
- package/dist/core/outbox.d.ts.map +1 -1
- package/dist/core/outbox.js +102 -10
- package/dist/core/outbox.js.map +1 -1
- package/dist/core/reminders.d.ts.map +1 -1
- package/dist/core/reminders.js +11 -1
- package/dist/core/reminders.js.map +1 -1
- package/dist/core/router.d.ts.map +1 -1
- package/dist/core/router.js +16 -4
- package/dist/core/router.js.map +1 -1
- package/dist/core/schedule.d.ts +18 -0
- package/dist/core/schedule.d.ts.map +1 -1
- package/dist/core/schedule.js +80 -17
- package/dist/core/schedule.js.map +1 -1
- package/dist/core/sensitive-paths.d.ts.map +1 -1
- package/dist/core/sensitive-paths.js +53 -9
- package/dist/core/sensitive-paths.js.map +1 -1
- package/dist/core/skills/builtin/ECC_LICENSE +21 -0
- package/dist/core/skills/builtin/ECC_NOTICE.md +22 -0
- package/dist/core/skills/builtin/accessibility/SKILL.md +146 -0
- package/dist/core/skills/builtin/agent-eval/SKILL.md +145 -0
- package/dist/core/skills/builtin/agent-harness-construction/SKILL.md +73 -0
- package/dist/core/skills/builtin/agent-introspection-debugging/SKILL.md +153 -0
- package/dist/core/skills/builtin/agentic-engineering/SKILL.md +63 -0
- package/dist/core/skills/builtin/ai-first-engineering/SKILL.md +51 -0
- package/dist/core/skills/builtin/ai-regression-testing/SKILL.md +385 -0
- package/dist/core/skills/builtin/android-clean-architecture/SKILL.md +339 -0
- package/dist/core/skills/builtin/angular-developer/SKILL.md +154 -0
- package/dist/core/skills/builtin/angular-developer/references/angular-animations.md +160 -0
- package/dist/core/skills/builtin/angular-developer/references/angular-aria.md +410 -0
- package/dist/core/skills/builtin/angular-developer/references/cli.md +86 -0
- package/dist/core/skills/builtin/angular-developer/references/component-harnesses.md +59 -0
- package/dist/core/skills/builtin/angular-developer/references/component-styling.md +91 -0
- package/dist/core/skills/builtin/angular-developer/references/components.md +117 -0
- package/dist/core/skills/builtin/angular-developer/references/creating-services.md +97 -0
- package/dist/core/skills/builtin/angular-developer/references/data-resolvers.md +69 -0
- package/dist/core/skills/builtin/angular-developer/references/define-routes.md +67 -0
- package/dist/core/skills/builtin/angular-developer/references/defining-providers.md +72 -0
- package/dist/core/skills/builtin/angular-developer/references/di-fundamentals.md +120 -0
- package/dist/core/skills/builtin/angular-developer/references/e2e-testing.md +56 -0
- package/dist/core/skills/builtin/angular-developer/references/effects.md +83 -0
- package/dist/core/skills/builtin/angular-developer/references/hierarchical-injectors.md +43 -0
- package/dist/core/skills/builtin/angular-developer/references/host-elements.md +80 -0
- package/dist/core/skills/builtin/angular-developer/references/injection-context.md +63 -0
- package/dist/core/skills/builtin/angular-developer/references/inputs.md +101 -0
- package/dist/core/skills/builtin/angular-developer/references/linked-signal.md +59 -0
- package/dist/core/skills/builtin/angular-developer/references/loading-strategies.md +61 -0
- package/dist/core/skills/builtin/angular-developer/references/mcp.md +108 -0
- package/dist/core/skills/builtin/angular-developer/references/navigate-to-routes.md +69 -0
- package/dist/core/skills/builtin/angular-developer/references/outputs.md +86 -0
- package/dist/core/skills/builtin/angular-developer/references/reactive-forms.md +122 -0
- package/dist/core/skills/builtin/angular-developer/references/rendering-strategies.md +44 -0
- package/dist/core/skills/builtin/angular-developer/references/resource.md +77 -0
- package/dist/core/skills/builtin/angular-developer/references/route-animations.md +56 -0
- package/dist/core/skills/builtin/angular-developer/references/route-guards.md +52 -0
- package/dist/core/skills/builtin/angular-developer/references/router-lifecycle.md +45 -0
- package/dist/core/skills/builtin/angular-developer/references/router-testing.md +87 -0
- package/dist/core/skills/builtin/angular-developer/references/show-routes-with-outlets.md +68 -0
- package/dist/core/skills/builtin/angular-developer/references/signal-forms.md +795 -0
- package/dist/core/skills/builtin/angular-developer/references/signals-overview.md +94 -0
- package/dist/core/skills/builtin/angular-developer/references/tailwind-css.md +69 -0
- package/dist/core/skills/builtin/angular-developer/references/template-driven-forms.md +114 -0
- package/dist/core/skills/builtin/angular-developer/references/testing-fundamentals.md +65 -0
- package/dist/core/skills/builtin/api-connector-builder/SKILL.md +120 -0
- package/dist/core/skills/builtin/api-design/SKILL.md +523 -0
- package/dist/core/skills/builtin/architecture-decision-records/SKILL.md +179 -0
- package/dist/core/skills/builtin/article-writing/SKILL.md +79 -0
- package/dist/core/skills/builtin/automation-audit-ops/SKILL.md +142 -0
- package/dist/core/skills/builtin/autonomous-agent-harness/SKILL.md +273 -0
- package/dist/core/skills/builtin/autonomous-loops/SKILL.md +610 -0
- package/dist/core/skills/builtin/backend-patterns/SKILL.md +561 -0
- package/dist/core/skills/builtin/benchmark/SKILL.md +93 -0
- package/dist/core/skills/builtin/benchmark-optimization-loop/SKILL.md +69 -0
- package/dist/core/skills/builtin/blueprint/SKILL.md +105 -0
- package/dist/core/skills/builtin/browser-qa/SKILL.md +87 -0
- package/dist/core/skills/builtin/bun-runtime/SKILL.md +84 -0
- package/dist/core/skills/builtin/cisco-ios-patterns/SKILL.md +163 -0
- package/dist/core/skills/builtin/claude-devfleet/SKILL.md +111 -0
- package/dist/core/skills/builtin/click-path-audit/SKILL.md +244 -0
- package/dist/core/skills/builtin/clickhouse-io/SKILL.md +439 -0
- package/dist/core/skills/builtin/code-tour/SKILL.md +236 -0
- package/dist/core/skills/builtin/codebase-onboarding/SKILL.md +233 -0
- package/dist/core/skills/builtin/codehealth-mcp/SKILL.md +166 -0
- package/dist/core/skills/builtin/coding-standards/SKILL.md +550 -0
- package/dist/core/skills/builtin/compose-multiplatform-patterns/SKILL.md +299 -0
- package/dist/core/skills/builtin/config-gc/SKILL.md +119 -0
- package/dist/core/skills/builtin/content-hash-cache-pattern/SKILL.md +161 -0
- package/dist/core/skills/builtin/context-budget/SKILL.md +135 -0
- package/dist/core/skills/builtin/continuous-agent-loop/SKILL.md +45 -0
- package/dist/core/skills/builtin/continuous-learning/SKILL.md +131 -0
- package/dist/core/skills/builtin/continuous-learning/config.json +18 -0
- package/dist/core/skills/builtin/continuous-learning/evaluate-session.sh +69 -0
- package/dist/core/skills/builtin/continuous-learning-v2/SKILL.md +360 -0
- package/dist/core/skills/builtin/continuous-learning-v2/agents/observer-loop.sh +335 -0
- package/dist/core/skills/builtin/continuous-learning-v2/agents/observer.md +198 -0
- package/dist/core/skills/builtin/continuous-learning-v2/agents/session-guardian.sh +150 -0
- package/dist/core/skills/builtin/continuous-learning-v2/agents/start-observer.sh +248 -0
- package/dist/core/skills/builtin/continuous-learning-v2/config.json +8 -0
- package/dist/core/skills/builtin/continuous-learning-v2/hooks/observe.sh +498 -0
- package/dist/core/skills/builtin/continuous-learning-v2/scripts/detect-project.sh +322 -0
- package/dist/core/skills/builtin/continuous-learning-v2/scripts/instinct-cli.py +1914 -0
- package/dist/core/skills/builtin/continuous-learning-v2/scripts/lib/homunculus-dir.sh +31 -0
- package/dist/core/skills/builtin/continuous-learning-v2/scripts/migrate-homunculus.sh +62 -0
- package/dist/core/skills/builtin/continuous-learning-v2/scripts/test_parse_instinct.py +1045 -0
- package/dist/core/skills/builtin/cost-aware-llm-pipeline/SKILL.md +183 -0
- package/dist/core/skills/builtin/cost-tracking/SKILL.md +147 -0
- package/dist/core/skills/builtin/council/SKILL.md +203 -0
- package/dist/core/skills/builtin/cpp-coding-standards/SKILL.md +723 -0
- package/dist/core/skills/builtin/cpp-testing/SKILL.md +324 -0
- package/dist/core/skills/builtin/crosspost/SKILL.md +111 -0
- package/dist/core/skills/builtin/csharp-testing/SKILL.md +321 -0
- package/dist/core/skills/builtin/customs-trade-compliance/SKILL.md +263 -0
- package/dist/core/skills/builtin/dart-flutter-patterns/SKILL.md +563 -0
- package/dist/core/skills/builtin/dashboard-builder/SKILL.md +108 -0
- package/dist/core/skills/builtin/data-scraper-agent/SKILL.md +764 -0
- package/dist/core/skills/builtin/data-throughput-accelerator/SKILL.md +72 -0
- package/dist/core/skills/builtin/database-migrations/SKILL.md +429 -0
- package/dist/core/skills/builtin/deep-research/SKILL.md +159 -0
- package/dist/core/skills/builtin/defi-amm-security/SKILL.md +166 -0
- package/dist/core/skills/builtin/deployment-patterns/SKILL.md +427 -0
- package/dist/core/skills/builtin/design-system/SKILL.md +82 -0
- package/dist/core/skills/builtin/django-celery/SKILL.md +457 -0
- package/dist/core/skills/builtin/django-patterns/SKILL.md +734 -0
- package/dist/core/skills/builtin/django-security/SKILL.md +593 -0
- package/dist/core/skills/builtin/django-tdd/SKILL.md +729 -0
- package/dist/core/skills/builtin/django-verification/SKILL.md +469 -0
- package/dist/core/skills/builtin/dmux-workflows/SKILL.md +191 -0
- package/dist/core/skills/builtin/docker-patterns/SKILL.md +364 -0
- package/dist/core/skills/builtin/documentation-lookup/SKILL.md +90 -0
- package/dist/core/skills/builtin/dotnet-patterns/SKILL.md +321 -0
- package/dist/core/skills/builtin/dynamic-workflow-mode/SKILL.md +123 -0
- package/dist/core/skills/builtin/e2e-testing/SKILL.md +326 -0
- package/dist/core/skills/builtin/email-ops/SKILL.md +121 -0
- package/dist/core/skills/builtin/energy-procurement/SKILL.md +228 -0
- package/dist/core/skills/builtin/enterprise-agent-ops/SKILL.md +50 -0
- package/dist/core/skills/builtin/error-handling/SKILL.md +376 -0
- package/dist/core/skills/builtin/eval-harness/SKILL.md +270 -0
- package/dist/core/skills/builtin/evm-token-decimals/SKILL.md +130 -0
- package/dist/core/skills/builtin/exa-search/SKILL.md +107 -0
- package/dist/core/skills/builtin/fal-ai-media/SKILL.md +288 -0
- package/dist/core/skills/builtin/fastapi-patterns/SKILL.md +513 -0
- package/dist/core/skills/builtin/finance-billing-ops/SKILL.md +127 -0
- package/dist/core/skills/builtin/flox-environments/SKILL.md +496 -0
- package/dist/core/skills/builtin/flutter-dart-code-review/SKILL.md +435 -0
- package/dist/core/skills/builtin/foundation-models-on-device/SKILL.md +243 -0
- package/dist/core/skills/builtin/frontend-a11y/SKILL.md +445 -0
- package/dist/core/skills/builtin/frontend-design-direction/SKILL.md +92 -0
- package/dist/core/skills/builtin/frontend-patterns/SKILL.md +656 -0
- package/dist/core/skills/builtin/frontend-slides/SKILL.md +184 -0
- package/dist/core/skills/builtin/frontend-slides/STYLE_PRESETS.md +330 -0
- package/dist/core/skills/builtin/frontend-slides/animation-patterns.md +122 -0
- package/dist/core/skills/builtin/frontend-slides/html-template.md +419 -0
- package/dist/core/skills/builtin/frontend-slides/scripts/export-pdf.sh +418 -0
- package/dist/core/skills/builtin/frontend-slides/scripts/extract-pptx.py +96 -0
- package/dist/core/skills/builtin/frontend-slides/viewport-base.css +153 -0
- package/dist/core/skills/builtin/fsharp-testing/SKILL.md +280 -0
- package/dist/core/skills/builtin/gan-style-harness/SKILL.md +278 -0
- package/dist/core/skills/builtin/gateguard/SKILL.md +132 -0
- package/dist/core/skills/builtin/git-workflow/SKILL.md +715 -0
- package/dist/core/skills/builtin/github-ops/SKILL.md +144 -0
- package/dist/core/skills/builtin/golang-patterns/SKILL.md +674 -0
- package/dist/core/skills/builtin/golang-testing/SKILL.md +720 -0
- package/dist/core/skills/builtin/healthcare-cdss-patterns/SKILL.md +245 -0
- package/dist/core/skills/builtin/healthcare-emr-patterns/SKILL.md +159 -0
- package/dist/core/skills/builtin/healthcare-eval-harness/SKILL.md +207 -0
- package/dist/core/skills/builtin/healthcare-phi-compliance/SKILL.md +145 -0
- package/dist/core/skills/builtin/hermes-imports/SKILL.md +88 -0
- package/dist/core/skills/builtin/hexagonal-architecture/SKILL.md +276 -0
- package/dist/core/skills/builtin/hipaa-compliance/SKILL.md +78 -0
- package/dist/core/skills/builtin/hookify-rules/SKILL.md +128 -0
- package/dist/core/skills/builtin/inherit-legacy-style/SKILL.md +156 -0
- package/dist/core/skills/builtin/intent-driven-development/SKILL.md +360 -0
- package/dist/core/skills/builtin/inventory-demand-planning/SKILL.md +247 -0
- package/dist/core/skills/builtin/ios-icon-gen/SKILL.md +157 -0
- package/dist/core/skills/builtin/ios-icon-gen/scripts/generate_icons.swift +258 -0
- package/dist/core/skills/builtin/ios-icon-gen/scripts/iconify_gen.sh +235 -0
- package/dist/core/skills/builtin/iterative-retrieval/SKILL.md +211 -0
- package/dist/core/skills/builtin/java-coding-standards/SKILL.md +383 -0
- package/dist/core/skills/builtin/jira-integration/SKILL.md +302 -0
- package/dist/core/skills/builtin/jpa-patterns/SKILL.md +151 -0
- package/dist/core/skills/builtin/knowledge-ops/SKILL.md +154 -0
- package/dist/core/skills/builtin/kotlin-coroutines-flows/SKILL.md +284 -0
- package/dist/core/skills/builtin/kotlin-exposed-patterns/SKILL.md +719 -0
- package/dist/core/skills/builtin/kotlin-ktor-patterns/SKILL.md +689 -0
- package/dist/core/skills/builtin/kotlin-patterns/SKILL.md +711 -0
- package/dist/core/skills/builtin/kotlin-testing/SKILL.md +824 -0
- package/dist/core/skills/builtin/kubernetes-patterns/SKILL.md +755 -0
- package/dist/core/skills/builtin/laravel-patterns/SKILL.md +415 -0
- package/dist/core/skills/builtin/laravel-plugin-discovery/SKILL.md +229 -0
- package/dist/core/skills/builtin/laravel-security/SKILL.md +947 -0
- package/dist/core/skills/builtin/laravel-tdd/SKILL.md +674 -0
- package/dist/core/skills/builtin/laravel-verification/SKILL.md +179 -0
- package/dist/core/skills/builtin/latency-critical-systems/SKILL.md +73 -0
- package/dist/core/skills/builtin/lead-intelligence/SKILL.md +321 -0
- package/dist/core/skills/builtin/lead-intelligence/agents/enrichment-agent.md +85 -0
- package/dist/core/skills/builtin/lead-intelligence/agents/mutual-mapper.md +75 -0
- package/dist/core/skills/builtin/lead-intelligence/agents/outreach-drafter.md +98 -0
- package/dist/core/skills/builtin/lead-intelligence/agents/signal-scorer.md +60 -0
- package/dist/core/skills/builtin/liquid-glass-design/SKILL.md +279 -0
- package/dist/core/skills/builtin/llm-trading-agent-security/SKILL.md +146 -0
- package/dist/core/skills/builtin/logistics-exception-management/SKILL.md +222 -0
- package/dist/core/skills/builtin/make-interfaces-feel-better/SKILL.md +151 -0
- package/dist/core/skills/builtin/market-research/SKILL.md +75 -0
- package/dist/core/skills/builtin/marketing-campaign/SKILL.md +113 -0
- package/dist/core/skills/builtin/mcp-server-patterns/SKILL.md +69 -0
- package/dist/core/skills/builtin/messages-ops/SKILL.md +104 -0
- package/dist/core/skills/builtin/mle-workflow/SKILL.md +346 -0
- package/dist/core/skills/builtin/motion-advanced/SKILL.md +596 -0
- package/dist/core/skills/builtin/motion-foundations/SKILL.md +299 -0
- package/dist/core/skills/builtin/motion-patterns/SKILL.md +434 -0
- package/dist/core/skills/builtin/motion-ui/SKILL.md +575 -0
- package/dist/core/skills/builtin/mysql-patterns/SKILL.md +412 -0
- package/dist/core/skills/builtin/nanoclaw-repl/SKILL.md +33 -0
- package/dist/core/skills/builtin/nestjs-patterns/SKILL.md +230 -0
- package/dist/core/skills/builtin/netmiko-ssh-automation/SKILL.md +173 -0
- package/dist/core/skills/builtin/network-bgp-diagnostics/SKILL.md +167 -0
- package/dist/core/skills/builtin/network-config-validation/SKILL.md +210 -0
- package/dist/core/skills/builtin/network-interface-health/SKILL.md +152 -0
- package/dist/core/skills/builtin/nextjs-turbopack/SKILL.md +57 -0
- package/dist/core/skills/builtin/nodejs-keccak256/SKILL.md +102 -0
- package/dist/core/skills/builtin/nutrient-document-processing/SKILL.md +167 -0
- package/dist/core/skills/builtin/nuxt4-patterns/SKILL.md +100 -0
- package/dist/core/skills/builtin/openclaw-persona-forge/SKILL.md +288 -0
- package/dist/core/skills/builtin/openclaw-persona-forge/gacha.py +224 -0
- package/dist/core/skills/builtin/openclaw-persona-forge/gacha.sh +5 -0
- package/dist/core/skills/builtin/openclaw-persona-forge/references/avatar-style.md +124 -0
- package/dist/core/skills/builtin/openclaw-persona-forge/references/boundary-rules.md +53 -0
- package/dist/core/skills/builtin/openclaw-persona-forge/references/error-handling.md +53 -0
- package/dist/core/skills/builtin/openclaw-persona-forge/references/identity-tension.md +48 -0
- package/dist/core/skills/builtin/openclaw-persona-forge/references/naming-system.md +39 -0
- package/dist/core/skills/builtin/openclaw-persona-forge/references/output-template.md +166 -0
- package/dist/core/skills/builtin/opensource-pipeline/SKILL.md +255 -0
- package/dist/core/skills/builtin/orch-add-feature/SKILL.md +44 -0
- package/dist/core/skills/builtin/orch-build-mvp/SKILL.md +48 -0
- package/dist/core/skills/builtin/orch-change-feature/SKILL.md +42 -0
- package/dist/core/skills/builtin/orch-fix-defect/SKILL.md +42 -0
- package/dist/core/skills/builtin/orch-pipeline/SKILL.md +120 -0
- package/dist/core/skills/builtin/orch-refine-code/SKILL.md +43 -0
- package/dist/core/skills/builtin/parallel-execution-optimizer/SKILL.md +72 -0
- package/dist/core/skills/builtin/perl-patterns/SKILL.md +504 -0
- package/dist/core/skills/builtin/perl-security/SKILL.md +503 -0
- package/dist/core/skills/builtin/perl-testing/SKILL.md +475 -0
- package/dist/core/skills/builtin/plan-orchestrate/SKILL.md +262 -0
- package/dist/core/skills/builtin/plankton-code-quality/SKILL.md +236 -0
- package/dist/core/skills/builtin/postgres-patterns/SKILL.md +147 -0
- package/dist/core/skills/builtin/prediction-market-oracle-research/SKILL.md +63 -0
- package/dist/core/skills/builtin/prediction-market-risk-review/SKILL.md +60 -0
- package/dist/core/skills/builtin/prisma-patterns/SKILL.md +371 -0
- package/dist/core/skills/builtin/product-capability/SKILL.md +141 -0
- package/dist/core/skills/builtin/product-lens/SKILL.md +92 -0
- package/dist/core/skills/builtin/production-audit/SKILL.md +206 -0
- package/dist/core/skills/builtin/production-scheduling/SKILL.md +238 -0
- package/dist/core/skills/builtin/prompt-optimizer/SKILL.md +398 -0
- package/dist/core/skills/builtin/python-patterns/SKILL.md +750 -0
- package/dist/core/skills/builtin/python-testing/SKILL.md +816 -0
- package/dist/core/skills/builtin/pytorch-patterns/SKILL.md +396 -0
- package/dist/core/skills/builtin/quality-nonconformance/SKILL.md +260 -0
- package/dist/core/skills/builtin/quarkus-patterns/SKILL.md +722 -0
- package/dist/core/skills/builtin/quarkus-security/SKILL.md +467 -0
- package/dist/core/skills/builtin/quarkus-tdd/SKILL.md +811 -0
- package/dist/core/skills/builtin/quarkus-verification/SKILL.md +479 -0
- package/dist/core/skills/builtin/ralphinho-rfc-pipeline/SKILL.md +67 -0
- package/dist/core/skills/builtin/react-patterns/SKILL.md +341 -0
- package/dist/core/skills/builtin/react-performance/SKILL.md +574 -0
- package/dist/core/skills/builtin/react-testing/SKILL.md +423 -0
- package/dist/core/skills/builtin/recsys-pipeline-architect/SKILL.md +114 -0
- package/dist/core/skills/builtin/recursive-decision-ledger/SKILL.md +79 -0
- package/dist/core/skills/builtin/redis-patterns/SKILL.md +403 -0
- package/dist/core/skills/builtin/regex-vs-llm-structured-text/SKILL.md +220 -0
- package/dist/core/skills/builtin/repo-scan/SKILL.md +78 -0
- package/dist/core/skills/builtin/research-ops/SKILL.md +112 -0
- package/dist/core/skills/builtin/returns-reverse-logistics/SKILL.md +240 -0
- package/dist/core/skills/builtin/rules-distill/SKILL.md +264 -0
- package/dist/core/skills/builtin/rules-distill/scripts/scan-rules.sh +58 -0
- package/dist/core/skills/builtin/rules-distill/scripts/scan-skills.sh +129 -0
- package/dist/core/skills/builtin/rust-patterns/SKILL.md +499 -0
- package/dist/core/skills/builtin/rust-testing/SKILL.md +500 -0
- package/dist/core/skills/builtin/safety-guard/SKILL.md +75 -0
- package/dist/core/skills/builtin/santa-method/SKILL.md +306 -0
- package/dist/core/skills/builtin/scientific-db-pubmed-database/SKILL.md +175 -0
- package/dist/core/skills/builtin/scientific-db-uspto-database/SKILL.md +177 -0
- package/dist/core/skills/builtin/scientific-pkg-gget/SKILL.md +166 -0
- package/dist/core/skills/builtin/scientific-thinking-literature-review/SKILL.md +192 -0
- package/dist/core/skills/builtin/scientific-thinking-scholar-evaluation/SKILL.md +160 -0
- package/dist/core/skills/builtin/search-first/SKILL.md +182 -0
- package/dist/core/skills/builtin/security-bounty-hunter/SKILL.md +99 -0
- package/dist/core/skills/builtin/security-review/SKILL.md +503 -0
- package/dist/core/skills/builtin/security-review/cloud-infrastructure-security.md +361 -0
- package/dist/core/skills/builtin/security-scan/SKILL.md +165 -0
- package/dist/core/skills/builtin/seo/SKILL.md +154 -0
- package/dist/core/skills/builtin/skill-comply/SKILL.md +58 -0
- package/dist/core/skills/builtin/skill-comply/fixtures/compliant_trace.jsonl +5 -0
- package/dist/core/skills/builtin/skill-comply/fixtures/noncompliant_trace.jsonl +3 -0
- package/dist/core/skills/builtin/skill-comply/fixtures/tdd_spec.yaml +44 -0
- package/dist/core/skills/builtin/skill-comply/prompts/classifier.md +24 -0
- package/dist/core/skills/builtin/skill-comply/prompts/scenario_generator.md +62 -0
- package/dist/core/skills/builtin/skill-comply/prompts/spec_generator.md +42 -0
- package/dist/core/skills/builtin/skill-comply/pyproject.toml +15 -0
- package/dist/core/skills/builtin/skill-comply/scripts/__init__.py +0 -0
- package/dist/core/skills/builtin/skill-comply/scripts/classifier.py +85 -0
- package/dist/core/skills/builtin/skill-comply/scripts/grader.py +124 -0
- package/dist/core/skills/builtin/skill-comply/scripts/parser.py +107 -0
- package/dist/core/skills/builtin/skill-comply/scripts/report.py +170 -0
- package/dist/core/skills/builtin/skill-comply/scripts/run.py +127 -0
- package/dist/core/skills/builtin/skill-comply/scripts/runner.py +186 -0
- package/dist/core/skills/builtin/skill-comply/scripts/scenario_generator.py +70 -0
- package/dist/core/skills/builtin/skill-comply/scripts/spec_generator.py +72 -0
- package/dist/core/skills/builtin/skill-comply/scripts/utils.py +13 -0
- package/dist/core/skills/builtin/skill-comply/tests/test_grader.py +197 -0
- package/dist/core/skills/builtin/skill-comply/tests/test_parser.py +90 -0
- package/dist/core/skills/builtin/skill-comply/tests/test_runner.py +172 -0
- package/dist/core/skills/builtin/skill-scout/SKILL.md +140 -0
- package/dist/core/skills/builtin/skill-stocktake/SKILL.md +194 -0
- package/dist/core/skills/builtin/skill-stocktake/scripts/quick-diff.sh +87 -0
- package/dist/core/skills/builtin/skill-stocktake/scripts/save-results.sh +56 -0
- package/dist/core/skills/builtin/skill-stocktake/scripts/scan.sh +170 -0
- package/dist/core/skills/builtin/springboot-patterns/SKILL.md +314 -0
- package/dist/core/skills/builtin/springboot-security/SKILL.md +272 -0
- package/dist/core/skills/builtin/springboot-tdd/SKILL.md +158 -0
- package/dist/core/skills/builtin/springboot-verification/SKILL.md +231 -0
- package/dist/core/skills/builtin/strategic-compact/SKILL.md +135 -0
- package/dist/core/skills/builtin/swift-actor-persistence/SKILL.md +143 -0
- package/dist/core/skills/builtin/swift-concurrency-6-2/SKILL.md +216 -0
- package/dist/core/skills/builtin/swift-protocol-di-testing/SKILL.md +190 -0
- package/dist/core/skills/builtin/swiftui-patterns/SKILL.md +259 -0
- package/dist/core/skills/builtin/tdd-workflow/SKILL.md +463 -0
- package/dist/core/skills/builtin/team-agent-orchestration/SKILL.md +110 -0
- package/dist/core/skills/builtin/team-builder/SKILL.md +168 -0
- package/dist/core/skills/builtin/terminal-ops/SKILL.md +109 -0
- package/dist/core/skills/builtin/tinystruct-patterns/SKILL.md +203 -0
- package/dist/core/skills/builtin/tinystruct-patterns/references/architecture.md +90 -0
- package/dist/core/skills/builtin/tinystruct-patterns/references/data-handling.md +60 -0
- package/dist/core/skills/builtin/tinystruct-patterns/references/database.md +99 -0
- package/dist/core/skills/builtin/tinystruct-patterns/references/routing.md +64 -0
- package/dist/core/skills/builtin/tinystruct-patterns/references/system-usage.md +97 -0
- package/dist/core/skills/builtin/tinystruct-patterns/references/testing.md +72 -0
- package/dist/core/skills/builtin/token-budget-advisor/SKILL.md +133 -0
- package/dist/core/skills/builtin/ui-demo/SKILL.md +465 -0
- package/dist/core/skills/builtin/ui-to-vue/SKILL.md +134 -0
- package/dist/core/skills/builtin/uncloud/SKILL.md +343 -0
- package/dist/core/skills/builtin/unified-notifications-ops/SKILL.md +187 -0
- package/dist/core/skills/builtin/verification-loop/SKILL.md +126 -0
- package/dist/core/skills/builtin/video-editing/SKILL.md +310 -0
- package/dist/core/skills/builtin/videodb/SKILL.md +374 -0
- package/dist/core/skills/builtin/videodb/reference/api-reference.md +550 -0
- package/dist/core/skills/builtin/videodb/reference/capture-reference.md +407 -0
- package/dist/core/skills/builtin/videodb/reference/capture.md +101 -0
- package/dist/core/skills/builtin/videodb/reference/editor.md +443 -0
- package/dist/core/skills/builtin/videodb/reference/generative.md +331 -0
- package/dist/core/skills/builtin/videodb/reference/rtstream-reference.md +564 -0
- package/dist/core/skills/builtin/videodb/reference/rtstream.md +65 -0
- package/dist/core/skills/builtin/videodb/reference/search.md +230 -0
- package/dist/core/skills/builtin/videodb/reference/streaming.md +406 -0
- package/dist/core/skills/builtin/videodb/reference/use-cases.md +118 -0
- package/dist/core/skills/builtin/videodb/scripts/ws_listener.py +282 -0
- package/dist/core/skills/builtin/visa-doc-translate/README.md +86 -0
- package/dist/core/skills/builtin/visa-doc-translate/SKILL.md +117 -0
- package/dist/core/skills/builtin/vite-patterns/SKILL.md +449 -0
- package/dist/core/skills/builtin/windows-desktop-e2e/SKILL.md +887 -0
- package/dist/core/skills/builtin/x-api/SKILL.md +234 -0
- package/dist/core/skills/loader.js +11 -0
- package/dist/core/skills/loader.js.map +1 -1
- package/dist/core/types.d.ts +6 -0
- package/dist/core/types.d.ts.map +1 -1
- package/dist/plugins/agents/native/index.d.ts +47 -8
- package/dist/plugins/agents/native/index.d.ts.map +1 -1
- package/dist/plugins/agents/native/index.js +253 -102
- package/dist/plugins/agents/native/index.js.map +1 -1
- package/dist/plugins/agents/native/tool-registry.d.ts +33 -0
- package/dist/plugins/agents/native/tool-registry.d.ts.map +1 -0
- package/dist/plugins/agents/native/tool-registry.js +82 -0
- package/dist/plugins/agents/native/tool-registry.js.map +1 -0
- package/dist/plugins/messengers/dingtalk/dingtalk-client.d.ts.map +1 -1
- package/dist/plugins/messengers/dingtalk/dingtalk-client.js +11 -11
- package/dist/plugins/messengers/dingtalk/dingtalk-client.js.map +1 -1
- package/dist/plugins/messengers/feishu/feishu-adapter.d.ts.map +1 -1
- package/dist/plugins/messengers/feishu/feishu-adapter.js +9 -5
- package/dist/plugins/messengers/feishu/feishu-adapter.js.map +1 -1
- package/dist/plugins/messengers/wechat/ilink-adapter.d.ts.map +1 -1
- package/dist/plugins/messengers/wechat/ilink-adapter.js +11 -1
- package/dist/plugins/messengers/wechat/ilink-adapter.js.map +1 -1
- package/dist/web/public/assets/{a2a-DczMMkbl.js → a2a-Cll3P4QN.js} +2 -2
- package/dist/web/public/assets/{a2a-DczMMkbl.js.map → a2a-Cll3P4QN.js.map} +1 -1
- package/dist/web/public/assets/{activity-cbLHkzca.js → activity-B7T7YFlD.js} +2 -2
- package/dist/web/public/assets/{activity-cbLHkzca.js.map → activity-B7T7YFlD.js.map} +1 -1
- package/dist/web/public/assets/{admins-C-YsGMj7.js → admins-CN7P018S.js} +2 -2
- package/dist/web/public/assets/{admins-C-YsGMj7.js.map → admins-CN7P018S.js.map} +1 -1
- package/dist/web/public/assets/{agents-BWfov_1-.js → agents-Bqgq7GBF.js} +2 -2
- package/dist/web/public/assets/{agents-BWfov_1-.js.map → agents-Bqgq7GBF.js.map} +1 -1
- package/dist/web/public/assets/{approvals-HSssmXKS.js → approvals-C8IUJQ_A.js} +2 -2
- package/dist/web/public/assets/{approvals-HSssmXKS.js.map → approvals-C8IUJQ_A.js.map} +1 -1
- package/dist/web/public/assets/{arrow-down-BXvC8Al2.js → arrow-down-SLWKqtDc.js} +2 -2
- package/dist/web/public/assets/{arrow-down-BXvC8Al2.js.map → arrow-down-SLWKqtDc.js.map} +1 -1
- package/dist/web/public/assets/{arrow-up-63xELY5Q.js → arrow-up-BOADc9ce.js} +2 -2
- package/dist/web/public/assets/{arrow-up-63xELY5Q.js.map → arrow-up-BOADc9ce.js.map} +1 -1
- package/dist/web/public/assets/{asks-COLEFOvK.js → asks-C-j-DypC.js} +2 -2
- package/dist/web/public/assets/{asks-COLEFOvK.js.map → asks-C-j-DypC.js.map} +1 -1
- package/dist/web/public/assets/{audit-D4ZEiZub.js → audit-DQb-RuXh.js} +2 -2
- package/dist/web/public/assets/{audit-D4ZEiZub.js.map → audit-DQb-RuXh.js.map} +1 -1
- package/dist/web/public/assets/{bell-Cg2Bvv06.js → bell-CV88-ul6.js} +2 -2
- package/dist/web/public/assets/{bell-Cg2Bvv06.js.map → bell-CV88-ul6.js.map} +1 -1
- package/dist/web/public/assets/{bgjobs-CEjCzwtd.js → bgjobs-CDrK0d-W.js} +2 -2
- package/dist/web/public/assets/{bgjobs-CEjCzwtd.js.map → bgjobs-CDrK0d-W.js.map} +1 -1
- package/dist/web/public/assets/{brain-euvl6F6C.js → brain-B7HtSOQU.js} +2 -2
- package/dist/web/public/assets/{brain-euvl6F6C.js.map → brain-B7HtSOQU.js.map} +1 -1
- package/dist/web/public/assets/{briefcase-DPWLbCnA.js → briefcase-mdzuIa__.js} +2 -2
- package/dist/web/public/assets/{briefcase-DPWLbCnA.js.map → briefcase-mdzuIa__.js.map} +1 -1
- package/dist/web/public/assets/{browser-ponyfill-BUutOaRz.js → browser-ponyfill-DBWdeCTC.js} +2 -2
- package/dist/web/public/assets/{browser-ponyfill-BUutOaRz.js.map → browser-ponyfill-DBWdeCTC.js.map} +1 -1
- package/dist/web/public/assets/{chat-Dz9kfaxH.js → chat-CSjtY2rN.js} +3 -3
- package/dist/web/public/assets/{chat-Dz9kfaxH.js.map → chat-CSjtY2rN.js.map} +1 -1
- package/dist/web/public/assets/{chevron-left-BeIh5thq.js → chevron-left-uSfPn636.js} +2 -2
- package/dist/web/public/assets/{chevron-left-BeIh5thq.js.map → chevron-left-uSfPn636.js.map} +1 -1
- package/dist/web/public/assets/{chevron-right-uP_l9MMb.js → chevron-right-CtelqacW.js} +2 -2
- package/dist/web/public/assets/{chevron-right-uP_l9MMb.js.map → chevron-right-CtelqacW.js.map} +1 -1
- package/dist/web/public/assets/{circle-check-CewnjFgv.js → circle-check-8dbL-u7O.js} +2 -2
- package/dist/web/public/assets/{circle-check-CewnjFgv.js.map → circle-check-8dbL-u7O.js.map} +1 -1
- package/dist/web/public/assets/{circle-check-big-C2RTc48c.js → circle-check-big-D8-svk9a.js} +2 -2
- package/dist/web/public/assets/{circle-check-big-C2RTc48c.js.map → circle-check-big-D8-svk9a.js.map} +1 -1
- package/dist/web/public/assets/{circle-x-Ccg1HyV-.js → circle-x-rUxzIz5P.js} +2 -2
- package/dist/web/public/assets/{circle-x-Ccg1HyV-.js.map → circle-x-rUxzIz5P.js.map} +1 -1
- package/dist/web/public/assets/{clock-qxbYSynv.js → clock-CG5dlBGB.js} +2 -2
- package/dist/web/public/assets/{clock-qxbYSynv.js.map → clock-CG5dlBGB.js.map} +1 -1
- package/dist/web/public/assets/{confirm-dialog-DmJq4Td9.js → confirm-dialog-DlUsSur3.js} +2 -2
- package/dist/web/public/assets/{confirm-dialog-DmJq4Td9.js.map → confirm-dialog-DlUsSur3.js.map} +1 -1
- package/dist/web/public/assets/{copy-DxSHRdbc.js → copy-DnC76wFT.js} +2 -2
- package/dist/web/public/assets/{copy-DxSHRdbc.js.map → copy-DnC76wFT.js.map} +1 -1
- package/dist/web/public/assets/{data-table-S7rIjwdO.js → data-table-DswkWUfG.js} +2 -2
- package/dist/web/public/assets/{data-table-S7rIjwdO.js.map → data-table-DswkWUfG.js.map} +1 -1
- package/dist/web/public/assets/dialog-Ceo4YuXy.js +6 -0
- package/dist/web/public/assets/dialog-Ceo4YuXy.js.map +1 -0
- package/dist/web/public/assets/{download-OhsGtnO-.js → download-DF-46tS4.js} +2 -2
- package/dist/web/public/assets/{download-OhsGtnO-.js.map → download-DF-46tS4.js.map} +1 -1
- package/dist/web/public/assets/{email-C1-HxWLF.js → email-CZee26-_.js} +3 -3
- package/dist/web/public/assets/{email-C1-HxWLF.js.map → email-CZee26-_.js.map} +1 -1
- package/dist/web/public/assets/{empty-state-C-qjOHyu.js → empty-state-D9Hi0Atm.js} +2 -2
- package/dist/web/public/assets/{empty-state-C-qjOHyu.js.map → empty-state-D9Hi0Atm.js.map} +1 -1
- package/dist/web/public/assets/{external-link-DRVp9-lb.js → external-link-D64iZa9P.js} +2 -2
- package/dist/web/public/assets/{external-link-DRVp9-lb.js.map → external-link-D64iZa9P.js.map} +1 -1
- package/dist/web/public/assets/{eye-CFhg5BTa.js → eye-sY6WZb7D.js} +2 -2
- package/dist/web/public/assets/{eye-CFhg5BTa.js.map → eye-sY6WZb7D.js.map} +1 -1
- package/dist/web/public/assets/{facts-CGaLWhzi.js → facts-B7bGGwvi.js} +2 -2
- package/dist/web/public/assets/{facts-CGaLWhzi.js.map → facts-B7bGGwvi.js.map} +1 -1
- package/dist/web/public/assets/{goals-C-dJANmn.js → goals-BfQbsvZv.js} +2 -2
- package/dist/web/public/assets/{goals-C-dJANmn.js.map → goals-BfQbsvZv.js.map} +1 -1
- package/dist/web/public/assets/{health-CWcti5h3.js → health-Ba_mY0Ts.js} +2 -2
- package/dist/web/public/assets/{health-CWcti5h3.js.map → health-Ba_mY0Ts.js.map} +1 -1
- package/dist/web/public/assets/{heart-pulse-DmGhKR2W.js → heart-pulse-BjikOVwU.js} +2 -2
- package/dist/web/public/assets/{heart-pulse-DmGhKR2W.js.map → heart-pulse-BjikOVwU.js.map} +1 -1
- package/dist/web/public/assets/{heartbeat-kLoGBNCo.js → heartbeat-BM8LlPes.js} +2 -2
- package/dist/web/public/assets/{heartbeat-kLoGBNCo.js.map → heartbeat-BM8LlPes.js.map} +1 -1
- package/dist/web/public/assets/{hot-BITDoax1.js → hot-BtuLL6n8.js} +2 -2
- package/dist/web/public/assets/{hot-BITDoax1.js.map → hot-BtuLL6n8.js.map} +1 -1
- package/dist/web/public/assets/index-DEWFfW_Z.js +199 -0
- package/dist/web/public/assets/index-DEWFfW_Z.js.map +1 -0
- package/dist/web/public/assets/{installed-Co9WrtQ7.js → installed-Xr8p31ij.js} +2 -2
- package/dist/web/public/assets/{installed-Co9WrtQ7.js.map → installed-Xr8p31ij.js.map} +1 -1
- package/dist/web/public/assets/{jobs-hdHhBEvi.js → jobs-Ddy81Udm.js} +2 -2
- package/dist/web/public/assets/{jobs-hdHhBEvi.js.map → jobs-Ddy81Udm.js.map} +1 -1
- package/dist/web/public/assets/{layout-CQtbOBag.js → layout-BL74fT-L.js} +2 -2
- package/dist/web/public/assets/{layout-CQtbOBag.js.map → layout-BL74fT-L.js.map} +1 -1
- package/dist/web/public/assets/{layout-bDMXIKIR.js → layout-Bn2qUxcK.js} +2 -2
- package/dist/web/public/assets/{layout-bDMXIKIR.js.map → layout-Bn2qUxcK.js.map} +1 -1
- package/dist/web/public/assets/{layout-BMXC1Uh1.js → layout-Bp4SAA8_.js} +2 -2
- package/dist/web/public/assets/{layout-BMXC1Uh1.js.map → layout-Bp4SAA8_.js.map} +1 -1
- package/dist/web/public/assets/{layout-CysVsySh.js → layout-CZ9pGnW8.js} +2 -2
- package/dist/web/public/assets/{layout-CysVsySh.js.map → layout-CZ9pGnW8.js.map} +1 -1
- package/dist/web/public/assets/{layout-CyBGneZ9.js → layout-pasFRkKV.js} +2 -2
- package/dist/web/public/assets/{layout-CyBGneZ9.js.map → layout-pasFRkKV.js.map} +1 -1
- package/dist/web/public/assets/llm-yp7b5xxL.js +7 -0
- package/dist/web/public/assets/llm-yp7b5xxL.js.map +1 -0
- package/dist/web/public/assets/{loader-circle-9VUMGitw.js → loader-circle-Bbw4pEyE.js} +2 -2
- package/dist/web/public/assets/{loader-circle-9VUMGitw.js.map → loader-circle-Bbw4pEyE.js.map} +1 -1
- package/dist/web/public/assets/{map-pin-BXYvvHry.js → map-pin-DIXHUQgM.js} +2 -2
- package/dist/web/public/assets/{map-pin-BXYvvHry.js.map → map-pin-DIXHUQgM.js.map} +1 -1
- package/dist/web/public/assets/{mcp-BgLdlwSn.js → mcp-DyaljIM_.js} +2 -2
- package/dist/web/public/assets/{mcp-BgLdlwSn.js.map → mcp-DyaljIM_.js.map} +1 -1
- package/dist/web/public/assets/memos-Dkoc157i.js +12 -0
- package/dist/web/public/assets/memos-Dkoc157i.js.map +1 -0
- package/dist/web/public/assets/{messengers-7Phqea62.js → messengers-CcyGDeUI.js} +2 -2
- package/dist/web/public/assets/{messengers-7Phqea62.js.map → messengers-CcyGDeUI.js.map} +1 -1
- package/dist/web/public/assets/{mobile-CV5b6D2W.js → mobile-DqzIv4Xb.js} +2 -2
- package/dist/web/public/assets/{mobile-CV5b6D2W.js.map → mobile-DqzIv4Xb.js.map} +1 -1
- package/dist/web/public/assets/{native-agent-QvIa6LjE.js → native-agent-BQ7WaRGK.js} +2 -2
- package/dist/web/public/assets/{native-agent-QvIa6LjE.js.map → native-agent-BQ7WaRGK.js.map} +1 -1
- package/dist/web/public/assets/{network-BXhEjGhE.js → network-B_yUFAqC.js} +2 -2
- package/dist/web/public/assets/{network-BXhEjGhE.js.map → network-B_yUFAqC.js.map} +1 -1
- package/dist/web/public/assets/{outbox-DHQL7TQb.js → outbox-l8aVOZqO.js} +2 -2
- package/dist/web/public/assets/{outbox-DHQL7TQb.js.map → outbox-l8aVOZqO.js.map} +1 -1
- package/dist/web/public/assets/{pagination-VKuPb1Ot.js → pagination-BAKRGKa9.js} +2 -2
- package/dist/web/public/assets/{pagination-VKuPb1Ot.js.map → pagination-BAKRGKa9.js.map} +1 -1
- package/dist/web/public/assets/{persona-CWug2GLR.js → persona-D3VL9Rg1.js} +2 -2
- package/dist/web/public/assets/{persona-CWug2GLR.js.map → persona-D3VL9Rg1.js.map} +1 -1
- package/dist/web/public/assets/{plans-CZoEs5SY.js → plans-BBB5e9my.js} +2 -2
- package/dist/web/public/assets/{plans-CZoEs5SY.js.map → plans-BBB5e9my.js.map} +1 -1
- package/dist/web/public/assets/{play-CfSn5Vdl.js → play-7-Wd369f.js} +2 -2
- package/dist/web/public/assets/{play-CfSn5Vdl.js.map → play-7-Wd369f.js.map} +1 -1
- package/dist/web/public/assets/{plus-Z8l4CiqJ.js → plus-B0sfZy-j.js} +2 -2
- package/dist/web/public/assets/{plus-Z8l4CiqJ.js.map → plus-B0sfZy-j.js.map} +1 -1
- package/dist/web/public/assets/{policy-CutDSEPW.js → policy-BM1WRXH0.js} +2 -2
- package/dist/web/public/assets/{policy-CutDSEPW.js.map → policy-BM1WRXH0.js.map} +1 -1
- package/dist/web/public/assets/{qr-code-DgU5aiM6.js → qr-code-DcKs5fi3.js} +2 -2
- package/dist/web/public/assets/{qr-code-DgU5aiM6.js.map → qr-code-DcKs5fi3.js.map} +1 -1
- package/dist/web/public/assets/{react-Cb2sDjhD.js → react-DlP5eolq.js} +2 -2
- package/dist/web/public/assets/{react-Cb2sDjhD.js.map → react-DlP5eolq.js.map} +1 -1
- package/dist/web/public/assets/{refresh-ccw-D2CWiyU_.js → refresh-ccw-uNKeBeRl.js} +2 -2
- package/dist/web/public/assets/{refresh-ccw-D2CWiyU_.js.map → refresh-ccw-uNKeBeRl.js.map} +1 -1
- package/dist/web/public/assets/{reminders-Cb6Izedg.js → reminders-DHM8K0_O.js} +2 -2
- package/dist/web/public/assets/{reminders-Cb6Izedg.js.map → reminders-DHM8K0_O.js.map} +1 -1
- package/dist/web/public/assets/{save-DB0BDYTs.js → save-qwJa5_SA.js} +2 -2
- package/dist/web/public/assets/{save-DB0BDYTs.js.map → save-qwJa5_SA.js.map} +1 -1
- package/dist/web/public/assets/{schedules-8mSjE14D.js → schedules-Bcd0wbT4.js} +2 -2
- package/dist/web/public/assets/{schedules-8mSjE14D.js.map → schedules-Bcd0wbT4.js.map} +1 -1
- package/dist/web/public/assets/{search-Con69NhG.js → search-BUlzNWrj.js} +2 -2
- package/dist/web/public/assets/{search-Con69NhG.js.map → search-BUlzNWrj.js.map} +1 -1
- package/dist/web/public/assets/{search-B4fHilZ0.js → search-i1tP2maJ.js} +2 -2
- package/dist/web/public/assets/{search-B4fHilZ0.js.map → search-i1tP2maJ.js.map} +1 -1
- package/dist/web/public/assets/{security-BTe3zUg8.js → security-DgJyTT4g.js} +2 -2
- package/dist/web/public/assets/{security-BTe3zUg8.js.map → security-DgJyTT4g.js.map} +1 -1
- package/dist/web/public/assets/{service-C7SqcwfL.js → service-A0Hzear0.js} +2 -2
- package/dist/web/public/assets/{service-C7SqcwfL.js.map → service-A0Hzear0.js.map} +1 -1
- package/dist/web/public/assets/{shield-alert-CKFVsGgI.js → shield-alert-DrnN6fz_.js} +2 -2
- package/dist/web/public/assets/{shield-alert-CKFVsGgI.js.map → shield-alert-DrnN6fz_.js.map} +1 -1
- package/dist/web/public/assets/{status-badge-BSkpyN4D.js → status-badge-Ryzf96Pl.js} +2 -2
- package/dist/web/public/assets/{status-badge-BSkpyN4D.js.map → status-badge-Ryzf96Pl.js.map} +1 -1
- package/dist/web/public/assets/{subtasks-Bel-I1Sk.js → subtasks-Bzh3o3EF.js} +2 -2
- package/dist/web/public/assets/{subtasks-Bel-I1Sk.js.map → subtasks-Bzh3o3EF.js.map} +1 -1
- package/dist/web/public/assets/{table-CPn1MRcy.js → table-BbAOSyc8.js} +2 -2
- package/dist/web/public/assets/{table-CPn1MRcy.js.map → table-BbAOSyc8.js.map} +1 -1
- package/dist/web/public/assets/{topn-Ba3RjcK1.js → topn-DkhYw-Gp.js} +2 -2
- package/dist/web/public/assets/{topn-Ba3RjcK1.js.map → topn-DkhYw-Gp.js.map} +1 -1
- package/dist/web/public/assets/{trash-2-Dfov8aHD.js → trash-2-CA0cLpnU.js} +2 -2
- package/dist/web/public/assets/{trash-2-Dfov8aHD.js.map → trash-2-CA0cLpnU.js.map} +1 -1
- package/dist/web/public/assets/{use-background-tasks-BQrEeUwY.js → use-background-tasks-B64YjlA8.js} +2 -2
- package/dist/web/public/assets/{use-background-tasks-BQrEeUwY.js.map → use-background-tasks-B64YjlA8.js.map} +1 -1
- package/dist/web/public/assets/{use-event-stream-DgGpGKop.js → use-event-stream-I1lMFEfh.js} +2 -2
- package/dist/web/public/assets/{use-event-stream-DgGpGKop.js.map → use-event-stream-I1lMFEfh.js.map} +1 -1
- package/dist/web/public/assets/{use-llm-admin-DYekqogG.js → use-llm-admin-DY2axI4D.js} +2 -2
- package/dist/web/public/assets/{use-llm-admin-DYekqogG.js.map → use-llm-admin-DY2axI4D.js.map} +1 -1
- package/dist/web/public/assets/{use-memory-DbJ4pP2Z.js → use-memory-BYEjVWbU.js} +2 -2
- package/dist/web/public/assets/{use-memory-DbJ4pP2Z.js.map → use-memory-BYEjVWbU.js.map} +1 -1
- package/dist/web/public/assets/{use-observability-C2M6WZ9W.js → use-observability-Coj02yDo.js} +2 -2
- package/dist/web/public/assets/{use-observability-C2M6WZ9W.js.map → use-observability-Coj02yDo.js.map} +1 -1
- package/dist/web/public/assets/{use-settings-DMdaoWsB.js → use-settings-i1MhlkyC.js} +2 -2
- package/dist/web/public/assets/{use-settings-DMdaoWsB.js.map → use-settings-i1MhlkyC.js.map} +1 -1
- package/dist/web/public/assets/{use-workspace-BHG7h3jQ.js → use-workspace-DgEM35PY.js} +2 -2
- package/dist/web/public/assets/{use-workspace-BHG7h3jQ.js.map → use-workspace-DgEM35PY.js.map} +1 -1
- package/dist/web/public/assets/{useQuery-PdiC7-sY.js → useQuery-CY2iazjN.js} +2 -2
- package/dist/web/public/assets/{useQuery-PdiC7-sY.js.map → useQuery-CY2iazjN.js.map} +1 -1
- package/dist/web/public/assets/{vector-DnZM3OXU.js → vector-Ic76u2hY.js} +2 -2
- package/dist/web/public/assets/{vector-DnZM3OXU.js.map → vector-Ic76u2hY.js.map} +1 -1
- package/dist/web/public/assets/{viewer-Dz6k0YKp.js → viewer-BXbUN1Rl.js} +2 -2
- package/dist/web/public/assets/{viewer-Dz6k0YKp.js.map → viewer-BXbUN1Rl.js.map} +1 -1
- package/dist/web/public/assets/{workspace-BnXrWS3j.js → workspace-CUg0JPn6.js} +3 -3
- package/dist/web/public/assets/{workspace-BnXrWS3j.js.map → workspace-CUg0JPn6.js.map} +1 -1
- package/dist/web/public/assets/{workspaces-CSS_UBEi.js → workspaces-C-wb5FQj.js} +2 -2
- package/dist/web/public/assets/{workspaces-CSS_UBEi.js.map → workspaces-C-wb5FQj.js.map} +1 -1
- package/dist/web/public/assets/{x-DG-JKVw_.js → x-D1iSuoqg.js} +2 -2
- package/dist/web/public/assets/{x-DG-JKVw_.js.map → x-D1iSuoqg.js.map} +1 -1
- package/dist/web/public/index.html +2 -2
- package/dist/web/server.d.ts.map +1 -1
- package/dist/web/server.js +6 -0
- package/dist/web/server.js.map +1 -1
- package/package.json +1 -1
- package/dist/web/public/assets/dialog-bAIDaO-6.js +0 -6
- package/dist/web/public/assets/dialog-bAIDaO-6.js.map +0 -1
- package/dist/web/public/assets/index-O0BQoyzo.js +0 -199
- package/dist/web/public/assets/index-O0BQoyzo.js.map +0 -1
- package/dist/web/public/assets/llm-CPIRNQU2.js +0 -7
- package/dist/web/public/assets/llm-CPIRNQU2.js.map +0 -1
- package/dist/web/public/assets/memos-CfneX9DH.js +0 -12
- package/dist/web/public/assets/memos-CfneX9DH.js.map +0 -1
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: code-tour
|
|
3
|
+
description: [ECC] Create CodeTour `.tour` files — persona-targeted, step-by-step walkthroughs with real file and line anchors. Use for onboarding tours, architecture walkthroughs, PR tours, RCA tours, and structured "explain how this works" requests.
|
|
4
|
+
origin: ECC
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Code Tour
|
|
8
|
+
|
|
9
|
+
Create **CodeTour** `.tour` files for codebase walkthroughs that open directly to real files and line ranges. Tours live in `.tours/` and are meant for the CodeTour format, not ad hoc Markdown notes.
|
|
10
|
+
|
|
11
|
+
A good tour is a narrative for a specific reader:
|
|
12
|
+
- what they are looking at
|
|
13
|
+
- why it matters
|
|
14
|
+
- what path they should follow next
|
|
15
|
+
|
|
16
|
+
Only create `.tour` JSON files. Do not modify source code as part of this skill.
|
|
17
|
+
|
|
18
|
+
## When to Use
|
|
19
|
+
|
|
20
|
+
Use this skill when:
|
|
21
|
+
- the user asks for a code tour, onboarding tour, architecture walkthrough, or PR tour
|
|
22
|
+
- the user says "explain how X works" and wants a reusable guided artifact
|
|
23
|
+
- the user wants a ramp-up path for a new engineer or reviewer
|
|
24
|
+
- the task is better served by a guided sequence than a flat summary
|
|
25
|
+
|
|
26
|
+
Examples:
|
|
27
|
+
- onboarding a new maintainer
|
|
28
|
+
- architecture tour for one service or package
|
|
29
|
+
- PR-review walk-through anchored to changed files
|
|
30
|
+
- RCA tour showing the failure path
|
|
31
|
+
- security review tour of trust boundaries and key checks
|
|
32
|
+
|
|
33
|
+
## When NOT to Use
|
|
34
|
+
|
|
35
|
+
| Instead of code-tour | Use |
|
|
36
|
+
| --- | --- |
|
|
37
|
+
| A one-off explanation in chat is enough | answer directly |
|
|
38
|
+
| The user wants prose docs, not a `.tour` artifact | `documentation-lookup` or repo docs editing |
|
|
39
|
+
| The task is implementation or refactoring | do the implementation work |
|
|
40
|
+
| The task is broad codebase onboarding without a tour artifact | `codebase-onboarding` |
|
|
41
|
+
|
|
42
|
+
## Workflow
|
|
43
|
+
|
|
44
|
+
### 1. Discover
|
|
45
|
+
|
|
46
|
+
Explore the repo before writing anything:
|
|
47
|
+
- README and package/app entry points
|
|
48
|
+
- folder structure
|
|
49
|
+
- relevant config files
|
|
50
|
+
- the changed files if the tour is PR-focused
|
|
51
|
+
|
|
52
|
+
Do not start writing steps before you understand the shape of the code.
|
|
53
|
+
|
|
54
|
+
### 2. Infer the reader
|
|
55
|
+
|
|
56
|
+
Decide the persona and depth from the request.
|
|
57
|
+
|
|
58
|
+
| Request shape | Persona | Suggested depth |
|
|
59
|
+
| --- | --- | --- |
|
|
60
|
+
| "onboarding", "new joiner" | `new-joiner` | 9-13 steps |
|
|
61
|
+
| "quick tour", "vibe check" | `vibecoder` | 5-8 steps |
|
|
62
|
+
| "architecture" | `architect` | 14-18 steps |
|
|
63
|
+
| "tour this PR" | `pr-reviewer` | 7-11 steps |
|
|
64
|
+
| "why did this break" | `rca-investigator` | 7-11 steps |
|
|
65
|
+
| "security review" | `security-reviewer` | 7-11 steps |
|
|
66
|
+
| "explain how this feature works" | `feature-explainer` | 7-11 steps |
|
|
67
|
+
| "debug this path" | `bug-fixer` | 7-11 steps |
|
|
68
|
+
|
|
69
|
+
### 3. Read and verify anchors
|
|
70
|
+
|
|
71
|
+
Every file path and line anchor must be real:
|
|
72
|
+
- confirm the file exists
|
|
73
|
+
- confirm the line numbers are in range
|
|
74
|
+
- if using a selection, verify the exact block
|
|
75
|
+
- if the file is volatile, prefer a pattern-based anchor
|
|
76
|
+
|
|
77
|
+
Never guess line numbers.
|
|
78
|
+
|
|
79
|
+
### 4. Write the `.tour`
|
|
80
|
+
|
|
81
|
+
Write to:
|
|
82
|
+
|
|
83
|
+
```text
|
|
84
|
+
.tours/<persona>-<focus>.tour
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Keep the path deterministic and readable.
|
|
88
|
+
|
|
89
|
+
### 5. Validate
|
|
90
|
+
|
|
91
|
+
Before finishing:
|
|
92
|
+
- every referenced path exists
|
|
93
|
+
- every line or selection is valid
|
|
94
|
+
- the first step is anchored to a real file or directory
|
|
95
|
+
- the tour tells a coherent story rather than listing files
|
|
96
|
+
|
|
97
|
+
## Step Types
|
|
98
|
+
|
|
99
|
+
### Content
|
|
100
|
+
|
|
101
|
+
Use sparingly, usually only for a closing step:
|
|
102
|
+
|
|
103
|
+
```json
|
|
104
|
+
{ "title": "Next Steps", "description": "You can now trace the request path end to end." }
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
Do not make the first step content-only.
|
|
108
|
+
|
|
109
|
+
### Directory
|
|
110
|
+
|
|
111
|
+
Use to orient the reader to a module:
|
|
112
|
+
|
|
113
|
+
```json
|
|
114
|
+
{ "directory": "src/services", "title": "Service Layer", "description": "The core orchestration logic lives here." }
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
### File + line
|
|
118
|
+
|
|
119
|
+
This is the default step type:
|
|
120
|
+
|
|
121
|
+
```json
|
|
122
|
+
{ "file": "src/auth/middleware.ts", "line": 42, "title": "Auth Gate", "description": "Every protected request passes here first." }
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
### Selection
|
|
126
|
+
|
|
127
|
+
Use when one code block matters more than the whole file:
|
|
128
|
+
|
|
129
|
+
```json
|
|
130
|
+
{
|
|
131
|
+
"file": "src/core/pipeline.ts",
|
|
132
|
+
"selection": {
|
|
133
|
+
"start": { "line": 15, "character": 0 },
|
|
134
|
+
"end": { "line": 34, "character": 0 }
|
|
135
|
+
},
|
|
136
|
+
"title": "Request Pipeline",
|
|
137
|
+
"description": "This block wires validation, auth, and downstream execution."
|
|
138
|
+
}
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
### Pattern
|
|
142
|
+
|
|
143
|
+
Use when exact lines may drift:
|
|
144
|
+
|
|
145
|
+
```json
|
|
146
|
+
{ "file": "src/app.ts", "pattern": "export default class App", "title": "Application Entry" }
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### URI
|
|
150
|
+
|
|
151
|
+
Use for PRs, issues, or docs when helpful:
|
|
152
|
+
|
|
153
|
+
```json
|
|
154
|
+
{ "uri": "https://github.com/org/repo/pull/456", "title": "The PR" }
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
## Writing Rule: SMIG
|
|
158
|
+
|
|
159
|
+
Each description should answer:
|
|
160
|
+
- **Situation**: what the reader is looking at
|
|
161
|
+
- **Mechanism**: how it works
|
|
162
|
+
- **Implication**: why it matters for this persona
|
|
163
|
+
- **Gotcha**: what a smart reader might miss
|
|
164
|
+
|
|
165
|
+
Keep descriptions compact, specific, and grounded in the actual code.
|
|
166
|
+
|
|
167
|
+
## Narrative Shape
|
|
168
|
+
|
|
169
|
+
Use this arc unless the task clearly needs something different:
|
|
170
|
+
1. orientation
|
|
171
|
+
2. module map
|
|
172
|
+
3. core execution path
|
|
173
|
+
4. edge case or gotcha
|
|
174
|
+
5. closing / next move
|
|
175
|
+
|
|
176
|
+
The tour should feel like a path, not an inventory.
|
|
177
|
+
|
|
178
|
+
## Example
|
|
179
|
+
|
|
180
|
+
```json
|
|
181
|
+
{
|
|
182
|
+
"$schema": "https://aka.ms/codetour-schema",
|
|
183
|
+
"title": "API Service Tour",
|
|
184
|
+
"description": "Walkthrough of the request path for the payments service.",
|
|
185
|
+
"ref": "main",
|
|
186
|
+
"steps": [
|
|
187
|
+
{
|
|
188
|
+
"directory": "src",
|
|
189
|
+
"title": "Source Root",
|
|
190
|
+
"description": "All runtime code for the service starts here."
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"file": "src/server.ts",
|
|
194
|
+
"line": 12,
|
|
195
|
+
"title": "Entry Point",
|
|
196
|
+
"description": "The server boots here and wires middleware before any route is reached."
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"file": "src/routes/payments.ts",
|
|
200
|
+
"line": 8,
|
|
201
|
+
"title": "Payment Routes",
|
|
202
|
+
"description": "Every payments request enters through this router before hitting service logic."
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"title": "Next Steps",
|
|
206
|
+
"description": "You can now follow any payment request end to end with the main anchors in place."
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
}
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
## Anti-Patterns
|
|
213
|
+
|
|
214
|
+
| Anti-pattern | Fix |
|
|
215
|
+
| --- | --- |
|
|
216
|
+
| Flat file listing | Tell a story with dependency between steps |
|
|
217
|
+
| Generic descriptions | Name the concrete code path or pattern |
|
|
218
|
+
| Guessed anchors | Verify every file and line first |
|
|
219
|
+
| Too many steps for a quick tour | Cut aggressively |
|
|
220
|
+
| First step is content-only | Anchor the first step to a real file or directory |
|
|
221
|
+
| Persona mismatch | Write for the actual reader, not a generic engineer |
|
|
222
|
+
|
|
223
|
+
## Best Practices
|
|
224
|
+
|
|
225
|
+
- keep step count proportional to repo size and persona depth
|
|
226
|
+
- use directory steps for orientation, file steps for substance
|
|
227
|
+
- for PR tours, cover changed files first
|
|
228
|
+
- for monorepos, scope to the relevant packages instead of touring everything
|
|
229
|
+
- close with what the reader can now do, not a recap
|
|
230
|
+
|
|
231
|
+
## Related Skills
|
|
232
|
+
|
|
233
|
+
- `codebase-onboarding`
|
|
234
|
+
- `coding-standards`
|
|
235
|
+
- `council`
|
|
236
|
+
- official upstream format: `microsoft/codetour`
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: codebase-onboarding
|
|
3
|
+
description: [ECC] Analyze an unfamiliar codebase and generate a structured onboarding guide with architecture map, key entry points, conventions, and a starter CLAUDE.md. Use when joining a new project or setting up Claude Code for the first time in a repo.
|
|
4
|
+
origin: ECC
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Codebase Onboarding
|
|
8
|
+
|
|
9
|
+
Systematically analyze an unfamiliar codebase and produce a structured onboarding guide. Designed for developers joining a new project or setting up Claude Code in an existing repo for the first time.
|
|
10
|
+
|
|
11
|
+
## When to Use
|
|
12
|
+
|
|
13
|
+
- First time opening a project with Claude Code
|
|
14
|
+
- Joining a new team or repository
|
|
15
|
+
- User asks "help me understand this codebase"
|
|
16
|
+
- User asks to generate a CLAUDE.md for a project
|
|
17
|
+
- User says "onboard me" or "walk me through this repo"
|
|
18
|
+
|
|
19
|
+
## How It Works
|
|
20
|
+
|
|
21
|
+
### Phase 1: Reconnaissance
|
|
22
|
+
|
|
23
|
+
Gather raw signals about the project without reading every file. Run these checks in parallel:
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
1. Package manifest detection
|
|
27
|
+
→ package.json, go.mod, Cargo.toml, pyproject.toml, pom.xml, build.gradle,
|
|
28
|
+
Gemfile, composer.json, mix.exs, pubspec.yaml
|
|
29
|
+
|
|
30
|
+
2. Framework fingerprinting
|
|
31
|
+
→ next.config.*, nuxt.config.*, angular.json, vite.config.*,
|
|
32
|
+
django settings, flask app factory, fastapi main, rails config
|
|
33
|
+
|
|
34
|
+
3. Entry point identification
|
|
35
|
+
→ main.*, index.*, app.*, server.*, cmd/, src/main/
|
|
36
|
+
|
|
37
|
+
4. Directory structure snapshot
|
|
38
|
+
→ Top 2 levels of the directory tree, ignoring node_modules, vendor,
|
|
39
|
+
.git, dist, build, __pycache__, .next
|
|
40
|
+
|
|
41
|
+
5. Config and tooling detection
|
|
42
|
+
→ .eslintrc*, .prettierrc*, tsconfig.json, Makefile, Dockerfile,
|
|
43
|
+
docker-compose*, .github/workflows/, .env.example, CI configs
|
|
44
|
+
|
|
45
|
+
6. Test structure detection
|
|
46
|
+
→ tests/, test/, __tests__/, *_test.go, *.spec.ts, *.test.js,
|
|
47
|
+
pytest.ini, jest.config.*, vitest.config.*
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Phase 2: Architecture Mapping
|
|
51
|
+
|
|
52
|
+
From the reconnaissance data, identify:
|
|
53
|
+
|
|
54
|
+
**Tech Stack**
|
|
55
|
+
- Language(s) and version constraints
|
|
56
|
+
- Framework(s) and major libraries
|
|
57
|
+
- Database(s) and ORMs
|
|
58
|
+
- Build tools and bundlers
|
|
59
|
+
- CI/CD platform
|
|
60
|
+
|
|
61
|
+
**Architecture Pattern**
|
|
62
|
+
- Monolith, monorepo, microservices, or serverless
|
|
63
|
+
- Frontend/backend split or full-stack
|
|
64
|
+
- API style: REST, GraphQL, gRPC, tRPC
|
|
65
|
+
|
|
66
|
+
**Key Directories**
|
|
67
|
+
Map the top-level directories to their purpose:
|
|
68
|
+
|
|
69
|
+
<!-- Example for a React project — replace with detected directories -->
|
|
70
|
+
```
|
|
71
|
+
src/components/ → React UI components
|
|
72
|
+
src/api/ → API route handlers
|
|
73
|
+
src/lib/ → Shared utilities
|
|
74
|
+
src/db/ → Database models and migrations
|
|
75
|
+
tests/ → Test suites
|
|
76
|
+
scripts/ → Build and deployment scripts
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
**Data Flow**
|
|
80
|
+
Trace one request from entry to response:
|
|
81
|
+
- Where does a request enter? (router, handler, controller)
|
|
82
|
+
- How is it validated? (middleware, schemas, guards)
|
|
83
|
+
- Where is business logic? (services, models, use cases)
|
|
84
|
+
- How does it reach the database? (ORM, raw queries, repositories)
|
|
85
|
+
|
|
86
|
+
### Phase 3: Convention Detection
|
|
87
|
+
|
|
88
|
+
Identify patterns the codebase already follows:
|
|
89
|
+
|
|
90
|
+
**Naming Conventions**
|
|
91
|
+
- File naming: kebab-case, camelCase, PascalCase, snake_case
|
|
92
|
+
- Component/class naming patterns
|
|
93
|
+
- Test file naming: `*.test.ts`, `*.spec.ts`, `*_test.go`
|
|
94
|
+
|
|
95
|
+
**Code Patterns**
|
|
96
|
+
- Error handling style: try/catch, Result types, error codes
|
|
97
|
+
- Dependency injection or direct imports
|
|
98
|
+
- State management approach
|
|
99
|
+
- Async patterns: callbacks, promises, async/await, channels
|
|
100
|
+
|
|
101
|
+
**Git Conventions**
|
|
102
|
+
- Branch naming from recent branches
|
|
103
|
+
- Commit message style from recent commits
|
|
104
|
+
- PR workflow (squash, merge, rebase)
|
|
105
|
+
- If the repo has no commits yet or only a shallow history (e.g. `git clone --depth 1`), skip this section and note "Git history unavailable or too shallow to detect conventions"
|
|
106
|
+
|
|
107
|
+
### Phase 4: Generate Onboarding Artifacts
|
|
108
|
+
|
|
109
|
+
Produce two outputs:
|
|
110
|
+
|
|
111
|
+
#### Output 1: Onboarding Guide
|
|
112
|
+
|
|
113
|
+
```markdown
|
|
114
|
+
# Onboarding Guide: [Project Name]
|
|
115
|
+
|
|
116
|
+
## Overview
|
|
117
|
+
[2-3 sentences: what this project does and who it serves]
|
|
118
|
+
|
|
119
|
+
## Tech Stack
|
|
120
|
+
<!-- Example for a Next.js project — replace with detected stack -->
|
|
121
|
+
| Layer | Technology | Version |
|
|
122
|
+
|-------|-----------|---------|
|
|
123
|
+
| Language | TypeScript | 5.x |
|
|
124
|
+
| Framework | Next.js | 14.x |
|
|
125
|
+
| Database | PostgreSQL | 16 |
|
|
126
|
+
| ORM | Prisma | 5.x |
|
|
127
|
+
| Testing | Jest + Playwright | - |
|
|
128
|
+
|
|
129
|
+
## Architecture
|
|
130
|
+
[Diagram or description of how components connect]
|
|
131
|
+
|
|
132
|
+
## Key Entry Points
|
|
133
|
+
<!-- Example for a Next.js project — replace with detected paths -->
|
|
134
|
+
- **API routes**: `src/app/api/` — Next.js route handlers
|
|
135
|
+
- **UI pages**: `src/app/(dashboard)/` — authenticated pages
|
|
136
|
+
- **Database**: `prisma/schema.prisma` — data model source of truth
|
|
137
|
+
- **Config**: `next.config.ts` — build and runtime config
|
|
138
|
+
|
|
139
|
+
## Directory Map
|
|
140
|
+
[Top-level directory → purpose mapping]
|
|
141
|
+
|
|
142
|
+
## Request Lifecycle
|
|
143
|
+
[Trace one API request from entry to response]
|
|
144
|
+
|
|
145
|
+
## Conventions
|
|
146
|
+
- [File naming pattern]
|
|
147
|
+
- [Error handling approach]
|
|
148
|
+
- [Testing patterns]
|
|
149
|
+
- [Git workflow]
|
|
150
|
+
|
|
151
|
+
## Common Tasks
|
|
152
|
+
<!-- Example for a Node.js project — replace with detected commands -->
|
|
153
|
+
- **Run dev server**: `npm run dev`
|
|
154
|
+
- **Run tests**: `npm test`
|
|
155
|
+
- **Run linter**: `npm run lint`
|
|
156
|
+
- **Database migrations**: `npx prisma migrate dev`
|
|
157
|
+
- **Build for production**: `npm run build`
|
|
158
|
+
|
|
159
|
+
## Where to Look
|
|
160
|
+
<!-- Example for a Next.js project — replace with detected paths -->
|
|
161
|
+
| I want to... | Look at... |
|
|
162
|
+
|--------------|-----------|
|
|
163
|
+
| Add an API endpoint | `src/app/api/` |
|
|
164
|
+
| Add a UI page | `src/app/(dashboard)/` |
|
|
165
|
+
| Add a database table | `prisma/schema.prisma` |
|
|
166
|
+
| Add a test | `tests/` matching the source path |
|
|
167
|
+
| Change build config | `next.config.ts` |
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
#### Output 2: Starter CLAUDE.md
|
|
171
|
+
|
|
172
|
+
Generate or update a project-specific CLAUDE.md based on detected conventions. If `CLAUDE.md` already exists, read it first and enhance it — preserve existing project-specific instructions and clearly call out what was added or changed.
|
|
173
|
+
|
|
174
|
+
```markdown
|
|
175
|
+
# Project Instructions
|
|
176
|
+
|
|
177
|
+
## Tech Stack
|
|
178
|
+
[Detected stack summary]
|
|
179
|
+
|
|
180
|
+
## Code Style
|
|
181
|
+
- [Detected naming conventions]
|
|
182
|
+
- [Detected patterns to follow]
|
|
183
|
+
|
|
184
|
+
## Testing
|
|
185
|
+
- Run tests: `[detected test command]`
|
|
186
|
+
- Test pattern: [detected test file convention]
|
|
187
|
+
- Coverage: [if configured, the coverage command]
|
|
188
|
+
|
|
189
|
+
## Build & Run
|
|
190
|
+
- Dev: `[detected dev command]`
|
|
191
|
+
- Build: `[detected build command]`
|
|
192
|
+
- Lint: `[detected lint command]`
|
|
193
|
+
|
|
194
|
+
## Project Structure
|
|
195
|
+
[Key directory → purpose map]
|
|
196
|
+
|
|
197
|
+
## Conventions
|
|
198
|
+
- [Commit style if detectable]
|
|
199
|
+
- [PR workflow if detectable]
|
|
200
|
+
- [Error handling patterns]
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
## Best Practices
|
|
204
|
+
|
|
205
|
+
1. **Don't read everything** — reconnaissance should use Glob and Grep, not Read on every file. Read selectively only for ambiguous signals.
|
|
206
|
+
2. **Verify, don't guess** — if a framework is detected from config but the actual code uses something different, trust the code.
|
|
207
|
+
3. **Respect existing CLAUDE.md** — if one already exists, enhance it rather than replacing it. Call out what's new vs existing.
|
|
208
|
+
4. **Stay concise** — the onboarding guide should be scannable in 2 minutes. Details belong in the code, not the guide.
|
|
209
|
+
5. **Flag unknowns** — if a convention can't be confidently detected, say so rather than guessing. "Could not determine test runner" is better than a wrong answer.
|
|
210
|
+
|
|
211
|
+
## Anti-Patterns to Avoid
|
|
212
|
+
|
|
213
|
+
- Generating a CLAUDE.md that's longer than 100 lines — keep it focused
|
|
214
|
+
- Listing every dependency — highlight only the ones that shape how you write code
|
|
215
|
+
- Describing obvious directory names — `src/` doesn't need an explanation
|
|
216
|
+
- Copying the README — the onboarding guide adds structural insight the README lacks
|
|
217
|
+
|
|
218
|
+
## Examples
|
|
219
|
+
|
|
220
|
+
### Example 1: First time in a new repo
|
|
221
|
+
**User**: "Onboard me to this codebase"
|
|
222
|
+
**Action**: Run full 4-phase workflow → produce Onboarding Guide + Starter CLAUDE.md
|
|
223
|
+
**Output**: Onboarding Guide printed directly to the conversation, plus a `CLAUDE.md` written to the project root
|
|
224
|
+
|
|
225
|
+
### Example 2: Generate CLAUDE.md for existing project
|
|
226
|
+
**User**: "Generate a CLAUDE.md for this project"
|
|
227
|
+
**Action**: Run Phases 1-3, skip Onboarding Guide, produce only CLAUDE.md
|
|
228
|
+
**Output**: Project-specific `CLAUDE.md` with detected conventions
|
|
229
|
+
|
|
230
|
+
### Example 3: Enhance existing CLAUDE.md
|
|
231
|
+
**User**: "Update the CLAUDE.md with current project conventions"
|
|
232
|
+
**Action**: Read existing CLAUDE.md, run Phases 1-3, merge new findings
|
|
233
|
+
**Output**: Updated `CLAUDE.md` with additions clearly marked
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: codehealth-mcp
|
|
3
|
+
description: [ECC] Real-time structural Code Health via CodeScene MCP — review before edits, verify score deltas after changes, gate commits and PRs. Use when reviewing code quality, refactoring, checking if AI changes degraded a file, or before commit/PR.
|
|
4
|
+
origin: community
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Code Health MCP (CodeScene)
|
|
8
|
+
|
|
9
|
+
Structural maintainability feedback for AI-assisted coding. Complements style/lint skills (`coding-standards`, `plankton-code-quality`) with **design-level** health scores and regression gates.
|
|
10
|
+
|
|
11
|
+
**Upstream:** [codescene-oss/codescene-mcp-server](https://github.com/codescene-oss/codescene-mcp-server)
|
|
12
|
+
**Package:** `@codescene/codehealth-mcp` (stdio via npx)
|
|
13
|
+
|
|
14
|
+
## Security and boundaries
|
|
15
|
+
|
|
16
|
+
**Opt-in (ECC):** The `codescene` block in `mcp-configs/mcp-servers.json` is a template only. ECC plugin installs do not auto-enable bundled MCP servers. Copy the entry into your config only if you want it. You can exclude it during ECC install/sync with `ECC_DISABLED_MCPS=codescene,...`.
|
|
17
|
+
|
|
18
|
+
**Credentials:** No bundled token. Set `CS_ACCESS_TOKEN` yourself (see [getting-a-personal-access-token.md](https://github.com/codescene-oss/codescene-mcp-server/blob/main/docs/getting-a-personal-access-token.md) in the upstream repo). Never commit tokens to the repo.
|
|
19
|
+
|
|
20
|
+
**What the tools read:** When invoked, tools analyze files and git state **in the local repository** you point them at (paths you pass, plus branch context for `analyze_change_set`). They do not run by themselves. For standalone mode, follow upstream privacy docs: [codescene-mcp-server README](https://github.com/codescene-oss/codescene-mcp-server#frequently-asked-questions) and [CodeScene policies](https://codescene.com/policies). Do not use this skill for secrets, credentials, or paths you do not want analyzed.
|
|
21
|
+
|
|
22
|
+
**If the MCP is unavailable (offline, bad token, server crash):** Do not invent Code Health scores. Tell the user the check was skipped. Continue only with explicit user approval. Prefer lint/tests/verification-loop for gating when MCP is down. Re-enable checks once the server connects.
|
|
23
|
+
|
|
24
|
+
## When to Use
|
|
25
|
+
|
|
26
|
+
- User asks to **review code quality**, **refactor** a file, or check if **AI changes degraded** maintainability
|
|
27
|
+
- Before editing a **hotspot**, legacy module, or unfamiliar file
|
|
28
|
+
- Before **commit** or **pull request** when you need a maintainability safeguard
|
|
29
|
+
- After a large agent-written diff — verify Code Health did not regress
|
|
30
|
+
- Pair with `verification-loop`, `tdd-workflow`, or `/quality-gate` as a structural check (not a replacement for tests/lint)
|
|
31
|
+
|
|
32
|
+
## When to Activate
|
|
33
|
+
|
|
34
|
+
Same triggers as **When to Use** above — this heading is what ECC uses for skill auto-activation.
|
|
35
|
+
|
|
36
|
+
## How It Works
|
|
37
|
+
|
|
38
|
+
### 1. Connect the MCP server
|
|
39
|
+
|
|
40
|
+
Copy the `codescene` entry from `mcp-configs/mcp-servers.json` into your harness MCP config.
|
|
41
|
+
|
|
42
|
+
**Claude Code** (`~/.claude.json` → `mcpServers`):
|
|
43
|
+
|
|
44
|
+
```json
|
|
45
|
+
"codescene": {
|
|
46
|
+
"command": "npx",
|
|
47
|
+
"args": ["-y", "@codescene/codehealth-mcp"],
|
|
48
|
+
"env": {
|
|
49
|
+
"CS_ACCESS_TOKEN": "YOUR_CS_ACCESS_TOKEN_HERE"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
**Project-scoped:** merge the same block into `.mcp.json` at the repo root.
|
|
55
|
+
|
|
56
|
+
Token setup is documented in the upstream repo (link above). Standalone mode does not require a paid CodeScene platform account for the four tools listed below. Restart the session and confirm the `codescene` server is connected before relying on scores.
|
|
57
|
+
|
|
58
|
+
### 2. Call standalone tools only
|
|
59
|
+
|
|
60
|
+
| Tool | When to use |
|
|
61
|
+
|------|-------------|
|
|
62
|
+
| `code_health_review` | Full structural analysis **before** modifying a file |
|
|
63
|
+
| `code_health_score` | Quick numeric score after each change (delta check) |
|
|
64
|
+
| `pre_commit_code_health_safeguard` | Block commits that introduce Code Health regressions |
|
|
65
|
+
| `analyze_change_set` | Branch-level check **before** opening a PR |
|
|
66
|
+
|
|
67
|
+
Do **not** call platform-only tools (e.g. repository-wide technical debt hotspot lists). Do **not** reference `delta_analysis` — not available on standalone.
|
|
68
|
+
|
|
69
|
+
### 3. Interpret scores (1–10)
|
|
70
|
+
|
|
71
|
+
| Range | Meaning | Agent behavior |
|
|
72
|
+
|-------|---------|----------------|
|
|
73
|
+
| **9.0–10.0** | Green — healthy | Safer to extend; still prefer vertical slices |
|
|
74
|
+
| **4.0–8.9** | Yellow — debt | Tread carefully; no drive-by refactors |
|
|
75
|
+
| **1.0–3.9** | Red — severe debt | Narrow scope only |
|
|
76
|
+
|
|
77
|
+
### 4. Run the feedback loop
|
|
78
|
+
|
|
79
|
+
**Before touching a file**
|
|
80
|
+
|
|
81
|
+
1. Run `code_health_review` on the target path.
|
|
82
|
+
2. Record baseline score and listed code smells.
|
|
83
|
+
3. Plan the smallest change that addresses the task.
|
|
84
|
+
|
|
85
|
+
Scope by score: **below 5** — minimal diff only; **5–7** — no broad refactors; **above 7** — safer to refactor, still verify after each edit.
|
|
86
|
+
|
|
87
|
+
**After each change**
|
|
88
|
+
|
|
89
|
+
1. Run `code_health_score` on the same file.
|
|
90
|
+
2. Compare to the baseline from `code_health_review`.
|
|
91
|
+
3. If the score **regressed**, fix before continuing. Never mark the task done while the score is lower than when you started.
|
|
92
|
+
|
|
93
|
+
**Before every commit** — run `pre_commit_code_health_safeguard` on the repository path.
|
|
94
|
+
|
|
95
|
+
**Before a PR** — run `analyze_change_set` against the base branch (e.g. `main`).
|
|
96
|
+
|
|
97
|
+
## Examples
|
|
98
|
+
|
|
99
|
+
### Example: Flask maintainability improvement
|
|
100
|
+
|
|
101
|
+
On `pallets/flask`, an agent loop using only standalone tools:
|
|
102
|
+
|
|
103
|
+
1. `code_health_review` on a target module (baseline **4.82**)
|
|
104
|
+
2. Targeted refactor addressing listed smells
|
|
105
|
+
3. `code_health_score` after each edit
|
|
106
|
+
4. `pre_commit_code_health_safeguard` before commit
|
|
107
|
+
5. `analyze_change_set` before PR
|
|
108
|
+
|
|
109
|
+
Result: Code Health **4.82 → 9.1** (free standalone token only).
|
|
110
|
+
|
|
111
|
+
### Example: AGENTS.md enforcement block
|
|
112
|
+
|
|
113
|
+
Paste into the project `AGENTS.md` or `CLAUDE.md`:
|
|
114
|
+
|
|
115
|
+
```md
|
|
116
|
+
## Code Health (CodeScene MCP)
|
|
117
|
+
|
|
118
|
+
Before modifying any file: run `code_health_review`, note score and issues.
|
|
119
|
+
|
|
120
|
+
- Score below 5: problematic range — scope changes narrowly.
|
|
121
|
+
- Score 5–7: warning range — no broad refactors.
|
|
122
|
+
|
|
123
|
+
After each change: run `code_health_score` to verify delta.
|
|
124
|
+
|
|
125
|
+
- If score regressed: fix before continuing; never declare done if score dropped.
|
|
126
|
+
|
|
127
|
+
Before every commit: run `pre_commit_code_health_safeguard`.
|
|
128
|
+
|
|
129
|
+
Before PR: run `analyze_change_set`.
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### Example: anti-patterns vs correct loop
|
|
133
|
+
|
|
134
|
+
```markdown
|
|
135
|
+
# BAD: Edit first, check later
|
|
136
|
+
[large refactor without code_health_review]
|
|
137
|
+
|
|
138
|
+
# BAD: Ignore score drop
|
|
139
|
+
"Tests pass" → mark task done while Code Health decreased
|
|
140
|
+
|
|
141
|
+
# BAD: Broad refactor on red-score file (below 5)
|
|
142
|
+
Drive-by cleanup across the module
|
|
143
|
+
|
|
144
|
+
# GOOD: review → small change → score → commit safeguard → analyze_change_set
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
## Pairing with ECC
|
|
148
|
+
|
|
149
|
+
| ECC skill / flow | Code Health MCP role |
|
|
150
|
+
|------------------|----------------------|
|
|
151
|
+
| `coding-standards` | Style/naming; Code Health = structure/complexity |
|
|
152
|
+
| `plankton-code-quality` | Write-time lint/format; Code Health = pre/post edit structural gate |
|
|
153
|
+
| `verification-loop` / `/quality-gate` | Add structural regression check before "done" |
|
|
154
|
+
| `security-review` | Security vs maintainability — use both when relevant |
|
|
155
|
+
| `tdd-workflow` | Tests pass ≠ healthy design — check score after refactors |
|
|
156
|
+
|
|
157
|
+
**Context tip:** ECC recommends keeping MCP count low. Enable `codescene` when doing substantive edits; disable when not needed.
|
|
158
|
+
|
|
159
|
+
## Related Skills
|
|
160
|
+
|
|
161
|
+
- `coding-standards` — baseline conventions
|
|
162
|
+
- `plankton-code-quality` — write-time lint/format hooks
|
|
163
|
+
- `verification-loop` — build/test/lint gate
|
|
164
|
+
- `tdd-workflow` — test-first development
|
|
165
|
+
- `security-review` — security checklist
|
|
166
|
+
- `documentation-lookup` — library docs via Context7 (orthogonal)
|