agim-cli 1.2.147 → 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 +58 -0
- 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/package.json +1 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: orch-build-mvp
|
|
3
|
+
description: [ECC] Orchestrate bootstrapping a working MVP from a design or spec document — ingest the doc, plan thin vertical slices, scaffold the first end-to-end slice, then TDD-implement, review, and gated commit. Use to turn an SDD/PRD into a running starting point.
|
|
4
|
+
origin: ECC
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# orch-build-mvp
|
|
8
|
+
|
|
9
|
+
Actor · action · target: **orch · build · mvp**. Thin wrapper over the shared
|
|
10
|
+
engine in [`orch-pipeline`](../orch-pipeline/SKILL.md).
|
|
11
|
+
|
|
12
|
+
## When to Use
|
|
13
|
+
|
|
14
|
+
- The user has a **design / spec document** (SDD, PRD, system_design) and wants a
|
|
15
|
+
working vertical slice bootstrapped from it.
|
|
16
|
+
- Takes a doc path as its argument, e.g. `civicpulse/docs/SDD-v0.6.md`.
|
|
17
|
+
|
|
18
|
+
## Operation settings
|
|
19
|
+
|
|
20
|
+
- **Default size floor:** large — this is the full pipeline including Scaffold.
|
|
21
|
+
- **Phase mask:** 0 (read the spec) → 1 → 2 (heavy) → 3 (scaffold) → 4 → 5 → 6.
|
|
22
|
+
- **First move (phase 0 → 2):** read the doc; extract scope, locked decisions,
|
|
23
|
+
and the feature list; order it into **thin vertical slices** (one end-to-end
|
|
24
|
+
path first, not all-models-then-all-views). Phase 3 stands up that first slice.
|
|
25
|
+
|
|
26
|
+
## How It Works
|
|
27
|
+
|
|
28
|
+
1. Run the `orch-pipeline` engine with the settings above.
|
|
29
|
+
2. **Reuse the existing GAN harness** instead of hand-rolling an iterate loop:
|
|
30
|
+
- Translate the SDD into `gan-harness/spec.md` + `gan-harness/eval-rubric.md`
|
|
31
|
+
(this stands in for what `gan-planner` would generate — you already have the spec).
|
|
32
|
+
- Drive the build with `/gan-build "<one-line brief>" --skip-planner`
|
|
33
|
+
(defaults: `--max-iterations 15`, `--pass-threshold 7.0`,
|
|
34
|
+
`--eval-mode playwright`; use `--eval-mode code-only` for non-UI slices).
|
|
35
|
+
- That command runs the `gan-generator` → `gan-evaluator` loop and writes
|
|
36
|
+
`gan-harness/feedback/feedback-NNN.md` until the score passes or plateaus.
|
|
37
|
+
3. Stop at **Gate 1** (slice plan) and **Gate 2** (pre-commit). Commit the
|
|
38
|
+
scaffold and each slice as separate `feat:` commits.
|
|
39
|
+
4. Add `security-reviewer` for any slice touching a security trigger.
|
|
40
|
+
|
|
41
|
+
## Example
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
orch-build-mvp: civicpulse/docs/SDD-v0.6.md
|
|
45
|
+
→ read SDD → slice list (vertical) → scaffold slice 1 [GATE 1: approve]
|
|
46
|
+
→ /gan-build --skip-planner (generator → evaluator loop) scores vs spec → review
|
|
47
|
+
→ commit feat: [GATE 2: confirm] → next slice
|
|
48
|
+
```
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: orch-change-feature
|
|
3
|
+
description: [ECC] Orchestrate altering an existing, working feature to new desired behavior — update its tests to the new spec, change the implementation to match, review, and gated commit. Use when behavior is not broken but should be different.
|
|
4
|
+
origin: ECC
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# orch-change-feature
|
|
8
|
+
|
|
9
|
+
Actor · action · target: **orch · change · feature**. Thin wrapper over the
|
|
10
|
+
shared engine in [`orch-pipeline`](../orch-pipeline/SKILL.md).
|
|
11
|
+
|
|
12
|
+
## When to Use
|
|
13
|
+
|
|
14
|
+
- An existing feature **works**, but the desired behavior is different ("change",
|
|
15
|
+
"adjust", "make it also …", "instead of X do Y").
|
|
16
|
+
- Distinguish from siblings:
|
|
17
|
+
- **not** broken → not `orch-fix-defect` (no bug to reproduce).
|
|
18
|
+
- **not** new → not `orch-add-feature` (the capability already exists).
|
|
19
|
+
|
|
20
|
+
## Operation settings
|
|
21
|
+
|
|
22
|
+
- **Default size floor:** small — most tweaks are a function or two.
|
|
23
|
+
- **Phase mask:** 0 → (1 only if the new behavior needs research) → light 2 →
|
|
24
|
+
4 → 5 → 6.
|
|
25
|
+
- **First move (phase 4):** update the *existing* tests to express the new
|
|
26
|
+
desired behavior, then change the implementation until they pass. Changing the
|
|
27
|
+
tests first is what separates a tweak from a fix.
|
|
28
|
+
|
|
29
|
+
## How It Works
|
|
30
|
+
|
|
31
|
+
1. Run the `orch-pipeline` engine with the settings above.
|
|
32
|
+
2. Keep the plan light — only `standard`+ size warrants the full `planner` pass.
|
|
33
|
+
3. Stop at **Gate 1** (plan / changed-test approval) and **Gate 2** (pre-commit).
|
|
34
|
+
4. Add `security-reviewer` if the change touches a security trigger.
|
|
35
|
+
|
|
36
|
+
## Example
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
orch-change-feature: make nws-poller alert at 2 warnings instead of 3
|
|
40
|
+
→ update threshold tests to new spec → change impl to green
|
|
41
|
+
→ code-review → commit [GATE 2: confirm]
|
|
42
|
+
```
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: orch-fix-defect
|
|
3
|
+
description: [ECC] Orchestrate fixing a bug — reproduce it as a failing regression test, fix to green, review, and gated commit — by delegating each phase to the matching ECC agent. Use when existing behavior is broken or wrong.
|
|
4
|
+
origin: ECC
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# orch-fix-defect
|
|
8
|
+
|
|
9
|
+
Actor · action · target: **orch · fix · defect**. Thin wrapper over the shared
|
|
10
|
+
engine in [`orch-pipeline`](../orch-pipeline/SKILL.md).
|
|
11
|
+
|
|
12
|
+
## When to Use
|
|
13
|
+
|
|
14
|
+
- Something is **broken**: wrong output, an error, a crash, a regression.
|
|
15
|
+
- Distinguish from siblings:
|
|
16
|
+
- behavior is correct but you want it different → `orch-change-feature`.
|
|
17
|
+
- the capability does not exist yet → `orch-add-feature`.
|
|
18
|
+
|
|
19
|
+
## Operation settings
|
|
20
|
+
|
|
21
|
+
- **Default size floor:** small (often trivial).
|
|
22
|
+
- **Phase mask:** 0 → (light 2 only if root cause is non-obvious or standard+) →
|
|
23
|
+
4 → 5 → 6. Research (1) is usually skipped.
|
|
24
|
+
- **First move (phase 4):** reproduce the bug as a **new failing** test
|
|
25
|
+
(regression test), then fix until it goes green. Proving the bug exists first
|
|
26
|
+
is what separates a fix from a tweak.
|
|
27
|
+
|
|
28
|
+
## How It Works
|
|
29
|
+
|
|
30
|
+
1. Run the `orch-pipeline` engine with the settings above.
|
|
31
|
+
2. If the root cause is unclear, scope it with `code-explorer` before the red
|
|
32
|
+
test; escalate build breaks to `build-error-resolver` / `/build-fix`.
|
|
33
|
+
3. Stop at **Gate 1** (only if a plan was produced) and **Gate 2** (pre-commit).
|
|
34
|
+
4. Add `security-reviewer` if the defect sits in a security-sensitive path.
|
|
35
|
+
|
|
36
|
+
## Example
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
orch-fix-defect: poller crashes on empty NWS response
|
|
40
|
+
→ write failing test reproducing the crash → fix to green
|
|
41
|
+
→ code-review → commit [GATE 2: confirm] (commit: fix:)
|
|
42
|
+
```
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: orch-pipeline
|
|
3
|
+
description: [ECC] Shared orchestration engine for the orch-* skill family. Defines the gated Research-Plan-TDD-Review-Commit pipeline, the size classifier, the agent map, and the two human gates that the orch-* operation skills delegate to. Not usually invoked directly.
|
|
4
|
+
origin: ECC
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Orchestrator Pipeline (shared engine)
|
|
8
|
+
|
|
9
|
+
The `orch-*` skills are thin wrappers. They do not re-implement any work — they
|
|
10
|
+
classify the request, choose which phases of *this* pipeline run, and delegate
|
|
11
|
+
each phase to an existing ECC agent or command. This file is that pipeline.
|
|
12
|
+
|
|
13
|
+
> Invoke an operation skill (`orch-add-feature`, `orch-fix-defect`, …) rather
|
|
14
|
+
> than this engine directly. This file is the reference they point at.
|
|
15
|
+
|
|
16
|
+
## When to Use
|
|
17
|
+
|
|
18
|
+
- Loaded indirectly whenever an `orch-*` operation skill runs.
|
|
19
|
+
- Read directly only when adding a new operation to the family or tuning the
|
|
20
|
+
shared phases, gates, or agent map.
|
|
21
|
+
|
|
22
|
+
## The operation family
|
|
23
|
+
|
|
24
|
+
| Skill | Operation | Trigger | First move |
|
|
25
|
+
|-------|-----------|---------|------------|
|
|
26
|
+
| `orch-add-feature` | feature | capability does not exist yet | research + plan a new slice |
|
|
27
|
+
| `orch-change-feature` | tweak | works, but desired behavior differs | amend existing behavior *and its tests* |
|
|
28
|
+
| `orch-fix-defect` | fix | broken; behavior is wrong | reproduce as a failing test, then fix |
|
|
29
|
+
| `orch-refine-code` | refactor | behavior stays, structure improves | restructure while keeping tests green |
|
|
30
|
+
| `orch-build-mvp` | mvp | bootstrap from a design/spec doc | ingest doc → vertical slices |
|
|
31
|
+
|
|
32
|
+
> These wrappers **compose** existing ECC commands rather than replace them:
|
|
33
|
+
> `/feature-dev`, `/plan`, `/code-review`, `/build-fix`, `/refactor-clean`, and
|
|
34
|
+
> `/gan-build`, plus the `tdd-workflow` skill. The orch-* family adds the shared
|
|
35
|
+
> size classifier and the two gates
|
|
36
|
+
> on top of them, so one umbrella covers all five operations consistently.
|
|
37
|
+
|
|
38
|
+
## Step 0 — Classify size (right-sizing)
|
|
39
|
+
|
|
40
|
+
Ceremony scales to blast radius. Score the request on three signals, take the
|
|
41
|
+
**highest** tier any signal reaches, and state the result in one line so the user
|
|
42
|
+
can override:
|
|
43
|
+
|
|
44
|
+
| Tier | Files touched | New dependency / contract | Design ambiguity | Phases that run |
|
|
45
|
+
|------|---------------|---------------------------|------------------|-----------------|
|
|
46
|
+
| trivial | 1, a few lines | none | none — the change is obvious | 4 → 5 → 6 |
|
|
47
|
+
| small | 1 file / 1 function | none | clear once you read the code | (1 light) → 4 → 5 → 6 |
|
|
48
|
+
| standard | 2–5 files | maybe a new internal module | one real choice to make | 1 → 2 → 4 → 5 → 6 |
|
|
49
|
+
| large | many / cross-cutting | new external dep, public API, or a spec doc | multiple open questions | 1 → 2 → (3) → 4 → 5 → 6 |
|
|
50
|
+
|
|
51
|
+
Phase 0 (Intake) always runs and is omitted from the mask column above. The
|
|
52
|
+
tie-breaker: anything touching a security trigger (below) or a public API /
|
|
53
|
+
contract is **at least** standard, regardless of file count.
|
|
54
|
+
|
|
55
|
+
## The phases
|
|
56
|
+
|
|
57
|
+
Each phase delegates — it does not do the work inline.
|
|
58
|
+
|
|
59
|
+
- **0. Intake** — restate the request. For `orch-build-mvp`, read the spec/design
|
|
60
|
+
doc and extract scope, locked decisions, and a feature list.
|
|
61
|
+
- **1. Research & Reuse** — per `rules/common/development-workflow.md`: `gh search repos` /
|
|
62
|
+
`gh search code`, then Context7 / vendor docs, then package registries, then
|
|
63
|
+
Exa. Prefer adopting a proven implementation over net-new code.
|
|
64
|
+
- **2. Plan** — delegate to the `planner` agent (or `architect` /
|
|
65
|
+
`code-architect` for structural decisions). Output a `task_list` ordered as
|
|
66
|
+
thin vertical slices. → **GATE 1.**
|
|
67
|
+
- **3. Scaffold** — `orch-build-mvp` only: stand up the first end-to-end slice.
|
|
68
|
+
- **4. Implement (TDD)** — drive each task through the `tdd-guide` agent (or the `tdd-workflow` skill):
|
|
69
|
+
red → green → refactor. Honor the operation's first-move rule.
|
|
70
|
+
- **5. Review** — `code-reviewer` agent / `/code-review`. Add `security-reviewer`
|
|
71
|
+
whenever the diff touches a security trigger (below).
|
|
72
|
+
- **6. Commit** — conventional commits (`feat:` / `fix:` / `refactor:` / …), one
|
|
73
|
+
per logical chunk. → **GATE 2.**
|
|
74
|
+
|
|
75
|
+
## The two gates
|
|
76
|
+
|
|
77
|
+
This family is **gated, not autonomous**:
|
|
78
|
+
|
|
79
|
+
1. **GATE 1 — after Plan.** Present the `task_list`; do not write implementation
|
|
80
|
+
code until the user approves.
|
|
81
|
+
2. **GATE 2 — before Commit.** Present the diff summary and proposed messages;
|
|
82
|
+
do not commit until the user confirms.
|
|
83
|
+
|
|
84
|
+
Everything between the gates flows without stopping.
|
|
85
|
+
|
|
86
|
+
## Agent / command map
|
|
87
|
+
|
|
88
|
+
| Phase | Primary | Fallback / escalation |
|
|
89
|
+
|-------|---------|----------------------|
|
|
90
|
+
| Intake / understand | `code-explorer` | trace existing paths before a tweak, fix, or refactor |
|
|
91
|
+
| Plan | `planner` | `architect`, `code-architect` for structural calls |
|
|
92
|
+
| Implement | `tdd-guide` (or `tdd-workflow` skill) | `build-error-resolver` / `/build-fix` on build breaks |
|
|
93
|
+
| Review | `code-reviewer` / `/code-review` | language reviewer (`python-reviewer`, `typescript-reviewer`, …) |
|
|
94
|
+
| Security | `security-reviewer` | — |
|
|
95
|
+
| MVP inner loop | `/gan-build "<brief>" --skip-planner` | drives `gan-generator` → `gan-evaluator`; tune `--max-iterations` / `--pass-threshold` |
|
|
96
|
+
|
|
97
|
+
Match the language reviewer to the repo (see the repo's own `CLAUDE.md`).
|
|
98
|
+
|
|
99
|
+
## Security-review trigger
|
|
100
|
+
|
|
101
|
+
Pull in `security-reviewer` when the diff touches any of: authentication or
|
|
102
|
+
authorization, user-input handling, database queries, file-system paths,
|
|
103
|
+
external API calls, cryptography, or secrets / credentials. (Per `rules/common/security.md`.)
|
|
104
|
+
|
|
105
|
+
## Handoff artifacts
|
|
106
|
+
|
|
107
|
+
The pipeline carries no hidden state — the planning docs *are* the handoff:
|
|
108
|
+
|
|
109
|
+
- `task_list` (from Plan) drives the Implement loop.
|
|
110
|
+
- Larger work may also emit PRD / architecture / system_design under the repo's
|
|
111
|
+
`docs/` per `rules/common/development-workflow.md`.
|
|
112
|
+
- Review findings (CRITICAL / HIGH) must be resolved before Gate 2.
|
|
113
|
+
|
|
114
|
+
## Verification
|
|
115
|
+
|
|
116
|
+
- size tier was stated and matched the work
|
|
117
|
+
- Gate 1 (plan) and Gate 2 (commit) were both honored
|
|
118
|
+
- `security-reviewer` ran iff a security trigger was touched
|
|
119
|
+
- commits are conventional and scoped to one logical change
|
|
120
|
+
- new / changed behavior has tests; coverage ≥ 80% per `rules/common/testing.md`
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: orch-refine-code
|
|
3
|
+
description: [ECC] Orchestrate a behavior-preserving refactor — confirm tests are green, restructure without changing behavior, keep tests green, review, and gated commit. Use when the structure should improve but behavior must not change.
|
|
4
|
+
origin: ECC
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# orch-refine-code
|
|
8
|
+
|
|
9
|
+
Actor · action · target: **orch · refine · code**. Thin wrapper over the shared
|
|
10
|
+
engine in [`orch-pipeline`](../orch-pipeline/SKILL.md).
|
|
11
|
+
|
|
12
|
+
## When to Use
|
|
13
|
+
|
|
14
|
+
- Same behavior, **better structure**: extract modules, remove duplication, kill
|
|
15
|
+
dead code, reduce nesting, rename for clarity.
|
|
16
|
+
- Distinguish from siblings: if behavior is meant to change at all, this is the
|
|
17
|
+
wrong skill (`orch-change-feature` / `orch-fix-defect`).
|
|
18
|
+
|
|
19
|
+
## Operation settings
|
|
20
|
+
|
|
21
|
+
- **Default size floor:** standard — restructures touch multiple files.
|
|
22
|
+
- **Phase mask:** 0 → 2 (plan the restructure) → 4 (keep green) → 5 → 6. No new
|
|
23
|
+
behavior tests are written — the existing suite is the safety net.
|
|
24
|
+
- **First move (phase 4):** confirm the relevant tests exist and are **green
|
|
25
|
+
before** touching code; if coverage is thin, add characterization tests first.
|
|
26
|
+
Then restructure in small steps, re-running tests after each.
|
|
27
|
+
|
|
28
|
+
## How It Works
|
|
29
|
+
|
|
30
|
+
1. Run the `orch-pipeline` engine with the settings above.
|
|
31
|
+
2. For dead-code / duplication sweeps, delegate to the `refactor-cleaner` agent
|
|
32
|
+
(it runs knip / depcheck / ts-prune and removes safely).
|
|
33
|
+
3. Stop at **Gate 1** (restructure plan) and **Gate 2** (pre-commit).
|
|
34
|
+
4. Commit as `refactor:` — the diff must be behavior-neutral.
|
|
35
|
+
|
|
36
|
+
## Example
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
orch-refine-code: extract the NWS HTTP client out of poller.py
|
|
40
|
+
→ confirm tests green → plan extraction [GATE 1: approve]
|
|
41
|
+
→ move in small steps, tests green throughout → code-review
|
|
42
|
+
→ commit refactor: [GATE 2: confirm]
|
|
43
|
+
```
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: parallel-execution-optimizer
|
|
3
|
+
description: [ECC] Use when the user wants a task done much faster through parallel work, concurrent agents, batched tool calls, isolated worktrees, or many independent verification lanes without losing correctness.
|
|
4
|
+
origin: ECC
|
|
5
|
+
tools: Read, Write, Edit, Bash, Grep, Glob
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Parallel Execution Optimizer
|
|
9
|
+
|
|
10
|
+
Use this skill when speed comes from doing independent work at the same time:
|
|
11
|
+
repo inspection, file reads, API checks, browser checks, build/test lanes,
|
|
12
|
+
deploy readbacks, or multi-worktree implementation passes.
|
|
13
|
+
|
|
14
|
+
## Core Pattern
|
|
15
|
+
|
|
16
|
+
Turn urgency into a dependency graph before acting.
|
|
17
|
+
|
|
18
|
+
1. Define the objective and done signal.
|
|
19
|
+
2. Split work into lanes.
|
|
20
|
+
3. Mark each lane as parallel, sequential, or gated.
|
|
21
|
+
4. Run independent reads/checks together.
|
|
22
|
+
5. Keep writes isolated by file, worktree, branch, service, or dataset.
|
|
23
|
+
6. Merge only after evidence shows the lanes are compatible.
|
|
24
|
+
7. End with a verification table, not a vague speed claim.
|
|
25
|
+
|
|
26
|
+
## Lane Matrix
|
|
27
|
+
|
|
28
|
+
Before a large push, write a compact matrix:
|
|
29
|
+
|
|
30
|
+
```text
|
|
31
|
+
Lane | Can run in parallel? | Write surface | Risk | Verification
|
|
32
|
+
Repo scan | yes | none | low | rg/git status outputs
|
|
33
|
+
Backend patch | maybe | src/api | medium | unit tests
|
|
34
|
+
Frontend patch | maybe | app/components | medium | browser screenshot
|
|
35
|
+
Deploy readback | after build | remote service | high | live URL + logs
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Only run lanes in parallel when their write surfaces do not collide.
|
|
39
|
+
|
|
40
|
+
## Execution Rules
|
|
41
|
+
|
|
42
|
+
- Batch file reads, searches, status checks, and metadata queries.
|
|
43
|
+
- Use isolated worktrees for large unrelated implementation lanes.
|
|
44
|
+
- Start long-running tests, builds, backfills, and deploys in separate sessions,
|
|
45
|
+
then poll them deliberately.
|
|
46
|
+
- If a lane discovers a blocker that changes the plan, pause dependent lanes
|
|
47
|
+
and update the matrix.
|
|
48
|
+
- Never let a background process outlive the turn unless the user explicitly
|
|
49
|
+
asked for a continuing service.
|
|
50
|
+
- Do not parallelize destructive commands, migrations, writes to the same table,
|
|
51
|
+
or live customer-impacting deploys without an explicit gate.
|
|
52
|
+
|
|
53
|
+
## Output Shape
|
|
54
|
+
|
|
55
|
+
Use this when reporting:
|
|
56
|
+
|
|
57
|
+
```text
|
|
58
|
+
Parallel execution result:
|
|
59
|
+
- Lanes run: 5
|
|
60
|
+
- Lanes completed: 4
|
|
61
|
+
- Blocked lane: deploy readback, waiting on DNS propagation
|
|
62
|
+
- Fast path found: batched repo scan + focused tests
|
|
63
|
+
- Verification: lint pass, unit pass, live smoke pass
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Failure Modes
|
|
67
|
+
|
|
68
|
+
- More concurrency that creates conflicting edits.
|
|
69
|
+
- Benchmarking the tool instead of the task.
|
|
70
|
+
- Treating "fast" as done before correctness is proven.
|
|
71
|
+
- Forgetting to poll running sessions.
|
|
72
|
+
- Hiding skipped checks behind a success summary.
|