claudecode-omc 5.5.2 → 5.6.0
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/README.md +63 -0
- package/bundled/manifest.json +3 -2
- package/bundled/upstream/ecc/.omc-source/bundle.json +23 -0
- package/bundled/upstream/ecc/.omc-source/last-plan-apply.json +439 -0
- package/bundled/upstream/ecc/.omc-source/manifests/.claude-plugin/marketplace.json +47 -0
- package/bundled/upstream/ecc/agents/a11y-architect.md +141 -0
- package/bundled/upstream/ecc/agents/architect.md +211 -0
- package/bundled/upstream/ecc/agents/build-error-resolver.md +114 -0
- package/bundled/upstream/ecc/agents/chief-of-staff.md +151 -0
- package/bundled/upstream/ecc/agents/code-architect.md +71 -0
- package/bundled/upstream/ecc/agents/code-explorer.md +69 -0
- package/bundled/upstream/ecc/agents/code-reviewer.md +237 -0
- package/bundled/upstream/ecc/agents/code-simplifier.md +47 -0
- package/bundled/upstream/ecc/agents/comment-analyzer.md +45 -0
- package/bundled/upstream/ecc/agents/conversation-analyzer.md +52 -0
- package/bundled/upstream/ecc/agents/cpp-build-resolver.md +90 -0
- package/bundled/upstream/ecc/agents/cpp-reviewer.md +72 -0
- package/bundled/upstream/ecc/agents/csharp-reviewer.md +101 -0
- package/bundled/upstream/ecc/agents/dart-build-resolver.md +201 -0
- package/bundled/upstream/ecc/agents/database-reviewer.md +91 -0
- package/bundled/upstream/ecc/agents/doc-updater.md +107 -0
- package/bundled/upstream/ecc/agents/docs-lookup.md +68 -0
- package/bundled/upstream/ecc/agents/e2e-runner.md +107 -0
- package/bundled/upstream/ecc/agents/flutter-reviewer.md +243 -0
- package/bundled/upstream/ecc/agents/gan-evaluator.md +209 -0
- package/bundled/upstream/ecc/agents/gan-generator.md +131 -0
- package/bundled/upstream/ecc/agents/gan-planner.md +99 -0
- package/bundled/upstream/ecc/agents/go-build-resolver.md +94 -0
- package/bundled/upstream/ecc/agents/go-reviewer.md +76 -0
- package/bundled/upstream/ecc/agents/harness-optimizer.md +35 -0
- package/bundled/upstream/ecc/agents/healthcare-reviewer.md +83 -0
- package/bundled/upstream/ecc/agents/java-build-resolver.md +153 -0
- package/bundled/upstream/ecc/agents/java-reviewer.md +92 -0
- package/bundled/upstream/ecc/agents/kotlin-build-resolver.md +118 -0
- package/bundled/upstream/ecc/agents/kotlin-reviewer.md +159 -0
- package/bundled/upstream/ecc/agents/loop-operator.md +36 -0
- package/bundled/upstream/ecc/agents/opensource-forker.md +198 -0
- package/bundled/upstream/ecc/agents/opensource-packager.md +249 -0
- package/bundled/upstream/ecc/agents/opensource-sanitizer.md +188 -0
- package/bundled/upstream/ecc/agents/performance-optimizer.md +446 -0
- package/bundled/upstream/ecc/agents/planner.md +212 -0
- package/bundled/upstream/ecc/agents/pr-test-analyzer.md +45 -0
- package/bundled/upstream/ecc/agents/python-reviewer.md +98 -0
- package/bundled/upstream/ecc/agents/pytorch-build-resolver.md +120 -0
- package/bundled/upstream/ecc/agents/refactor-cleaner.md +85 -0
- package/bundled/upstream/ecc/agents/rust-build-resolver.md +148 -0
- package/bundled/upstream/ecc/agents/rust-reviewer.md +94 -0
- package/bundled/upstream/ecc/agents/security-reviewer.md +108 -0
- package/bundled/upstream/ecc/agents/seo-specialist.md +62 -0
- package/bundled/upstream/ecc/agents/silent-failure-hunter.md +50 -0
- package/bundled/upstream/ecc/agents/tdd-guide.md +91 -0
- package/bundled/upstream/ecc/agents/type-design-analyzer.md +41 -0
- package/bundled/upstream/ecc/agents/typescript-reviewer.md +112 -0
- package/bundled/upstream/ecc/commands/agent-sort.md +23 -0
- package/bundled/upstream/ecc/commands/aside.md +164 -0
- package/bundled/upstream/ecc/commands/build-fix.md +62 -0
- package/bundled/upstream/ecc/commands/checkpoint.md +74 -0
- package/bundled/upstream/ecc/commands/claw.md +23 -0
- package/bundled/upstream/ecc/commands/code-review.md +289 -0
- package/bundled/upstream/ecc/commands/context-budget.md +23 -0
- package/bundled/upstream/ecc/commands/cpp-build.md +173 -0
- package/bundled/upstream/ecc/commands/cpp-review.md +132 -0
- package/bundled/upstream/ecc/commands/cpp-test.md +251 -0
- package/bundled/upstream/ecc/commands/devfleet.md +23 -0
- package/bundled/upstream/ecc/commands/docs.md +23 -0
- package/bundled/upstream/ecc/commands/e2e.md +268 -0
- package/bundled/upstream/ecc/commands/eval.md +23 -0
- package/bundled/upstream/ecc/commands/evolve.md +178 -0
- package/bundled/upstream/ecc/commands/feature-dev.md +49 -0
- package/bundled/upstream/ecc/commands/flutter-build.md +164 -0
- package/bundled/upstream/ecc/commands/flutter-review.md +116 -0
- package/bundled/upstream/ecc/commands/flutter-test.md +144 -0
- package/bundled/upstream/ecc/commands/gan-build.md +99 -0
- package/bundled/upstream/ecc/commands/gan-design.md +35 -0
- package/bundled/upstream/ecc/commands/go-build.md +183 -0
- package/bundled/upstream/ecc/commands/go-review.md +148 -0
- package/bundled/upstream/ecc/commands/go-test.md +268 -0
- package/bundled/upstream/ecc/commands/gradle-build.md +70 -0
- package/bundled/upstream/ecc/commands/harness-audit.md +73 -0
- package/bundled/upstream/ecc/commands/hookify-configure.md +14 -0
- package/bundled/upstream/ecc/commands/hookify-help.md +46 -0
- package/bundled/upstream/ecc/commands/hookify-list.md +21 -0
- package/bundled/upstream/ecc/commands/hookify.md +50 -0
- package/bundled/upstream/ecc/commands/instinct-export.md +66 -0
- package/bundled/upstream/ecc/commands/instinct-import.md +114 -0
- package/bundled/upstream/ecc/commands/instinct-status.md +59 -0
- package/bundled/upstream/ecc/commands/jira.md +106 -0
- package/bundled/upstream/ecc/commands/kotlin-build.md +174 -0
- package/bundled/upstream/ecc/commands/kotlin-review.md +140 -0
- package/bundled/upstream/ecc/commands/kotlin-test.md +312 -0
- package/bundled/upstream/ecc/commands/learn-eval.md +116 -0
- package/bundled/upstream/ecc/commands/learn.md +70 -0
- package/bundled/upstream/ecc/commands/loop-start.md +32 -0
- package/bundled/upstream/ecc/commands/loop-status.md +24 -0
- package/bundled/upstream/ecc/commands/model-route.md +26 -0
- package/bundled/upstream/ecc/commands/multi-backend.md +158 -0
- package/bundled/upstream/ecc/commands/multi-execute.md +315 -0
- package/bundled/upstream/ecc/commands/multi-frontend.md +158 -0
- package/bundled/upstream/ecc/commands/multi-plan.md +268 -0
- package/bundled/upstream/ecc/commands/multi-workflow.md +191 -0
- package/bundled/upstream/ecc/commands/orchestrate.md +135 -0
- package/bundled/upstream/ecc/commands/plan.md +117 -0
- package/bundled/upstream/ecc/commands/pm2.md +272 -0
- package/bundled/upstream/ecc/commands/projects.md +39 -0
- package/bundled/upstream/ecc/commands/promote.md +41 -0
- package/bundled/upstream/ecc/commands/prompt-optimize.md +23 -0
- package/bundled/upstream/ecc/commands/prp-commit.md +112 -0
- package/bundled/upstream/ecc/commands/prp-implement.md +385 -0
- package/bundled/upstream/ecc/commands/prp-plan.md +502 -0
- package/bundled/upstream/ecc/commands/prp-pr.md +184 -0
- package/bundled/upstream/ecc/commands/prp-prd.md +447 -0
- package/bundled/upstream/ecc/commands/prune.md +31 -0
- package/bundled/upstream/ecc/commands/python-review.md +297 -0
- package/bundled/upstream/ecc/commands/quality-gate.md +29 -0
- package/bundled/upstream/ecc/commands/refactor-clean.md +80 -0
- package/bundled/upstream/ecc/commands/resume-session.md +156 -0
- package/bundled/upstream/ecc/commands/review-pr.md +37 -0
- package/bundled/upstream/ecc/commands/rules-distill.md +20 -0
- package/bundled/upstream/ecc/commands/rust-build.md +187 -0
- package/bundled/upstream/ecc/commands/rust-review.md +142 -0
- package/bundled/upstream/ecc/commands/rust-test.md +308 -0
- package/bundled/upstream/ecc/commands/santa-loop.md +175 -0
- package/bundled/upstream/ecc/commands/save-session.md +275 -0
- package/bundled/upstream/ecc/commands/sessions.md +339 -0
- package/bundled/upstream/ecc/commands/setup-pm.md +80 -0
- package/bundled/upstream/ecc/commands/skill-create.md +174 -0
- package/bundled/upstream/ecc/commands/skill-health.md +54 -0
- package/bundled/upstream/ecc/commands/tdd.md +231 -0
- package/bundled/upstream/ecc/commands/test-coverage.md +69 -0
- package/bundled/upstream/ecc/commands/update-codemaps.md +72 -0
- package/bundled/upstream/ecc/commands/update-docs.md +84 -0
- package/bundled/upstream/ecc/commands/verify.md +23 -0
- package/bundled/upstream/ecc/hooks/README.md +237 -0
- package/bundled/upstream/ecc/hooks/hooks.json +330 -0
- package/bundled/upstream/ecc/skills/accessibility/SKILL.md +146 -0
- package/bundled/upstream/ecc/skills/agent-eval/SKILL.md +145 -0
- package/bundled/upstream/ecc/skills/agent-harness-construction/SKILL.md +73 -0
- package/bundled/upstream/ecc/skills/agent-introspection-debugging/SKILL.md +153 -0
- package/bundled/upstream/ecc/skills/agent-payment-x402/SKILL.md +178 -0
- package/bundled/upstream/ecc/skills/agent-sort/SKILL.md +215 -0
- package/bundled/upstream/ecc/skills/agentic-engineering/SKILL.md +63 -0
- package/bundled/upstream/ecc/skills/ai-first-engineering/SKILL.md +51 -0
- package/bundled/upstream/ecc/skills/ai-regression-testing/SKILL.md +385 -0
- package/bundled/upstream/ecc/skills/android-clean-architecture/SKILL.md +339 -0
- package/bundled/upstream/ecc/skills/api-connector-builder/SKILL.md +120 -0
- package/bundled/upstream/ecc/skills/api-design/SKILL.md +523 -0
- package/bundled/upstream/ecc/skills/architecture-decision-records/SKILL.md +179 -0
- package/bundled/upstream/ecc/skills/article-writing/SKILL.md +79 -0
- package/bundled/upstream/ecc/skills/automation-audit-ops/SKILL.md +142 -0
- package/bundled/upstream/ecc/skills/autonomous-agent-harness/SKILL.md +267 -0
- package/bundled/upstream/ecc/skills/autonomous-loops/SKILL.md +610 -0
- package/bundled/upstream/ecc/skills/backend-patterns/SKILL.md +598 -0
- package/bundled/upstream/ecc/skills/benchmark/SKILL.md +93 -0
- package/bundled/upstream/ecc/skills/blueprint/SKILL.md +105 -0
- package/bundled/upstream/ecc/skills/brand-voice/SKILL.md +97 -0
- package/bundled/upstream/ecc/skills/brand-voice/references/voice-profile-schema.md +55 -0
- package/bundled/upstream/ecc/skills/browser-qa/SKILL.md +87 -0
- package/bundled/upstream/ecc/skills/bun-runtime/SKILL.md +84 -0
- package/bundled/upstream/ecc/skills/canary-watch/SKILL.md +99 -0
- package/bundled/upstream/ecc/skills/carrier-relationship-management/SKILL.md +212 -0
- package/bundled/upstream/ecc/skills/ck/SKILL.md +147 -0
- package/bundled/upstream/ecc/skills/ck/commands/forget.mjs +44 -0
- package/bundled/upstream/ecc/skills/ck/commands/info.mjs +24 -0
- package/bundled/upstream/ecc/skills/ck/commands/init.mjs +143 -0
- package/bundled/upstream/ecc/skills/ck/commands/list.mjs +40 -0
- package/bundled/upstream/ecc/skills/ck/commands/migrate.mjs +202 -0
- package/bundled/upstream/ecc/skills/ck/commands/resume.mjs +36 -0
- package/bundled/upstream/ecc/skills/ck/commands/save.mjs +210 -0
- package/bundled/upstream/ecc/skills/ck/commands/shared.mjs +387 -0
- package/bundled/upstream/ecc/skills/ck/hooks/session-start.mjs +224 -0
- package/bundled/upstream/ecc/skills/claude-api/SKILL.md +337 -0
- package/bundled/upstream/ecc/skills/claude-devfleet/SKILL.md +103 -0
- package/bundled/upstream/ecc/skills/click-path-audit/SKILL.md +244 -0
- package/bundled/upstream/ecc/skills/clickhouse-io/SKILL.md +439 -0
- package/bundled/upstream/ecc/skills/code-tour/SKILL.md +236 -0
- package/bundled/upstream/ecc/skills/codebase-onboarding/SKILL.md +233 -0
- package/bundled/upstream/ecc/skills/coding-standards/SKILL.md +549 -0
- package/bundled/upstream/ecc/skills/compose-multiplatform-patterns/SKILL.md +299 -0
- package/bundled/upstream/ecc/skills/configure-ecc/SKILL.md +367 -0
- package/bundled/upstream/ecc/skills/connections-optimizer/SKILL.md +189 -0
- package/bundled/upstream/ecc/skills/content-engine/SKILL.md +131 -0
- package/bundled/upstream/ecc/skills/content-hash-cache-pattern/SKILL.md +161 -0
- package/bundled/upstream/ecc/skills/context-budget/SKILL.md +135 -0
- package/bundled/upstream/ecc/skills/continuous-agent-loop/SKILL.md +45 -0
- package/bundled/upstream/ecc/skills/continuous-learning/SKILL.md +123 -0
- package/bundled/upstream/ecc/skills/continuous-learning/config.json +18 -0
- package/bundled/upstream/ecc/skills/continuous-learning/evaluate-session.sh +69 -0
- package/bundled/upstream/ecc/skills/continuous-learning-v2/SKILL.md +346 -0
- package/bundled/upstream/ecc/skills/continuous-learning-v2/agents/observer-loop.sh +282 -0
- package/bundled/upstream/ecc/skills/continuous-learning-v2/agents/observer.md +198 -0
- package/bundled/upstream/ecc/skills/continuous-learning-v2/agents/session-guardian.sh +150 -0
- package/bundled/upstream/ecc/skills/continuous-learning-v2/agents/start-observer.sh +244 -0
- package/bundled/upstream/ecc/skills/continuous-learning-v2/config.json +8 -0
- package/bundled/upstream/ecc/skills/continuous-learning-v2/hooks/observe.sh +460 -0
- package/bundled/upstream/ecc/skills/continuous-learning-v2/scripts/detect-project.sh +243 -0
- package/bundled/upstream/ecc/skills/continuous-learning-v2/scripts/instinct-cli.py +1426 -0
- package/bundled/upstream/ecc/skills/continuous-learning-v2/scripts/test_parse_instinct.py +984 -0
- package/bundled/upstream/ecc/skills/cost-aware-llm-pipeline/SKILL.md +183 -0
- package/bundled/upstream/ecc/skills/council/SKILL.md +203 -0
- package/bundled/upstream/ecc/skills/cpp-coding-standards/SKILL.md +723 -0
- package/bundled/upstream/ecc/skills/cpp-testing/SKILL.md +324 -0
- package/bundled/upstream/ecc/skills/crosspost/SKILL.md +111 -0
- package/bundled/upstream/ecc/skills/csharp-testing/SKILL.md +321 -0
- package/bundled/upstream/ecc/skills/customer-billing-ops/SKILL.md +140 -0
- package/bundled/upstream/ecc/skills/customs-trade-compliance/SKILL.md +263 -0
- package/bundled/upstream/ecc/skills/dart-flutter-patterns/SKILL.md +563 -0
- package/bundled/upstream/ecc/skills/dashboard-builder/SKILL.md +108 -0
- package/bundled/upstream/ecc/skills/data-scraper-agent/SKILL.md +764 -0
- package/bundled/upstream/ecc/skills/database-migrations/SKILL.md +429 -0
- package/bundled/upstream/ecc/skills/deep-research/SKILL.md +155 -0
- package/bundled/upstream/ecc/skills/defi-amm-security/SKILL.md +160 -0
- package/bundled/upstream/ecc/skills/deployment-patterns/SKILL.md +427 -0
- package/bundled/upstream/ecc/skills/design-system/SKILL.md +82 -0
- package/bundled/upstream/ecc/skills/django-patterns/SKILL.md +734 -0
- package/bundled/upstream/ecc/skills/django-security/SKILL.md +593 -0
- package/bundled/upstream/ecc/skills/django-tdd/SKILL.md +729 -0
- package/bundled/upstream/ecc/skills/django-verification/SKILL.md +469 -0
- package/bundled/upstream/ecc/skills/dmux-workflows/SKILL.md +191 -0
- package/bundled/upstream/ecc/skills/docker-patterns/SKILL.md +364 -0
- package/bundled/upstream/ecc/skills/documentation-lookup/SKILL.md +90 -0
- package/bundled/upstream/ecc/skills/dotnet-patterns/SKILL.md +321 -0
- package/bundled/upstream/ecc/skills/e2e-testing/SKILL.md +326 -0
- package/bundled/upstream/ecc/skills/ecc-tools-cost-audit/SKILL.md +160 -0
- package/bundled/upstream/ecc/skills/email-ops/SKILL.md +121 -0
- package/bundled/upstream/ecc/skills/energy-procurement/SKILL.md +228 -0
- package/bundled/upstream/ecc/skills/enterprise-agent-ops/SKILL.md +50 -0
- package/bundled/upstream/ecc/skills/eval-harness/SKILL.md +270 -0
- package/bundled/upstream/ecc/skills/evm-token-decimals/SKILL.md +130 -0
- package/bundled/upstream/ecc/skills/exa-search/SKILL.md +103 -0
- package/bundled/upstream/ecc/skills/fal-ai-media/SKILL.md +284 -0
- package/bundled/upstream/ecc/skills/finance-billing-ops/SKILL.md +127 -0
- package/bundled/upstream/ecc/skills/flutter-dart-code-review/SKILL.md +435 -0
- package/bundled/upstream/ecc/skills/foundation-models-on-device/SKILL.md +243 -0
- package/bundled/upstream/ecc/skills/frontend-design/SKILL.md +145 -0
- package/bundled/upstream/ecc/skills/frontend-patterns/SKILL.md +642 -0
- package/bundled/upstream/ecc/skills/frontend-slides/SKILL.md +184 -0
- package/bundled/upstream/ecc/skills/frontend-slides/STYLE_PRESETS.md +330 -0
- package/bundled/upstream/ecc/skills/gan-style-harness/SKILL.md +278 -0
- package/bundled/upstream/ecc/skills/gateguard/SKILL.md +121 -0
- package/bundled/upstream/ecc/skills/git-workflow/SKILL.md +715 -0
- package/bundled/upstream/ecc/skills/github-ops/SKILL.md +144 -0
- package/bundled/upstream/ecc/skills/golang-patterns/SKILL.md +674 -0
- package/bundled/upstream/ecc/skills/golang-testing/SKILL.md +720 -0
- package/bundled/upstream/ecc/skills/google-workspace-ops/SKILL.md +95 -0
- package/bundled/upstream/ecc/skills/healthcare-cdss-patterns/SKILL.md +245 -0
- package/bundled/upstream/ecc/skills/healthcare-emr-patterns/SKILL.md +159 -0
- package/bundled/upstream/ecc/skills/healthcare-eval-harness/SKILL.md +207 -0
- package/bundled/upstream/ecc/skills/healthcare-phi-compliance/SKILL.md +145 -0
- package/bundled/upstream/ecc/skills/hexagonal-architecture/SKILL.md +276 -0
- package/bundled/upstream/ecc/skills/hipaa-compliance/SKILL.md +78 -0
- package/bundled/upstream/ecc/skills/hookify-rules/SKILL.md +128 -0
- package/bundled/upstream/ecc/skills/inventory-demand-planning/SKILL.md +247 -0
- package/bundled/upstream/ecc/skills/investor-materials/SKILL.md +96 -0
- package/bundled/upstream/ecc/skills/investor-outreach/SKILL.md +91 -0
- package/bundled/upstream/ecc/skills/iterative-retrieval/SKILL.md +211 -0
- package/bundled/upstream/ecc/skills/java-coding-standards/SKILL.md +147 -0
- package/bundled/upstream/ecc/skills/jira-integration/SKILL.md +293 -0
- package/bundled/upstream/ecc/skills/jpa-patterns/SKILL.md +151 -0
- package/bundled/upstream/ecc/skills/knowledge-ops/SKILL.md +154 -0
- package/bundled/upstream/ecc/skills/kotlin-coroutines-flows/SKILL.md +284 -0
- package/bundled/upstream/ecc/skills/kotlin-exposed-patterns/SKILL.md +719 -0
- package/bundled/upstream/ecc/skills/kotlin-ktor-patterns/SKILL.md +689 -0
- package/bundled/upstream/ecc/skills/kotlin-patterns/SKILL.md +711 -0
- package/bundled/upstream/ecc/skills/kotlin-testing/SKILL.md +824 -0
- package/bundled/upstream/ecc/skills/laravel-patterns/SKILL.md +415 -0
- package/bundled/upstream/ecc/skills/laravel-plugin-discovery/SKILL.md +229 -0
- package/bundled/upstream/ecc/skills/laravel-security/SKILL.md +285 -0
- package/bundled/upstream/ecc/skills/laravel-tdd/SKILL.md +283 -0
- package/bundled/upstream/ecc/skills/laravel-verification/SKILL.md +179 -0
- package/bundled/upstream/ecc/skills/lead-intelligence/SKILL.md +321 -0
- package/bundled/upstream/ecc/skills/lead-intelligence/agents/enrichment-agent.md +85 -0
- package/bundled/upstream/ecc/skills/lead-intelligence/agents/mutual-mapper.md +75 -0
- package/bundled/upstream/ecc/skills/lead-intelligence/agents/outreach-drafter.md +98 -0
- package/bundled/upstream/ecc/skills/lead-intelligence/agents/signal-scorer.md +60 -0
- package/bundled/upstream/ecc/skills/liquid-glass-design/SKILL.md +279 -0
- package/bundled/upstream/ecc/skills/llm-trading-agent-security/SKILL.md +146 -0
- package/bundled/upstream/ecc/skills/logistics-exception-management/SKILL.md +222 -0
- package/bundled/upstream/ecc/skills/manim-video/SKILL.md +89 -0
- package/bundled/upstream/ecc/skills/manim-video/assets/network_graph_scene.py +52 -0
- package/bundled/upstream/ecc/skills/market-research/SKILL.md +75 -0
- package/bundled/upstream/ecc/skills/mcp-server-patterns/SKILL.md +69 -0
- package/bundled/upstream/ecc/skills/messages-ops/SKILL.md +104 -0
- package/bundled/upstream/ecc/skills/nanoclaw-repl/SKILL.md +33 -0
- package/bundled/upstream/ecc/skills/nestjs-patterns/SKILL.md +230 -0
- package/bundled/upstream/ecc/skills/nextjs-turbopack/SKILL.md +44 -0
- package/bundled/upstream/ecc/skills/nodejs-keccak256/SKILL.md +102 -0
- package/bundled/upstream/ecc/skills/nutrient-document-processing/SKILL.md +167 -0
- package/bundled/upstream/ecc/skills/nuxt4-patterns/SKILL.md +100 -0
- package/bundled/upstream/ecc/skills/openclaw-persona-forge/SKILL.md +296 -0
- package/bundled/upstream/ecc/skills/openclaw-persona-forge/gacha.py +224 -0
- package/bundled/upstream/ecc/skills/openclaw-persona-forge/gacha.sh +5 -0
- package/bundled/upstream/ecc/skills/openclaw-persona-forge/references/avatar-style.md +124 -0
- package/bundled/upstream/ecc/skills/openclaw-persona-forge/references/boundary-rules.md +53 -0
- package/bundled/upstream/ecc/skills/openclaw-persona-forge/references/error-handling.md +53 -0
- package/bundled/upstream/ecc/skills/openclaw-persona-forge/references/identity-tension.md +48 -0
- package/bundled/upstream/ecc/skills/openclaw-persona-forge/references/naming-system.md +39 -0
- package/bundled/upstream/ecc/skills/openclaw-persona-forge/references/output-template.md +166 -0
- package/bundled/upstream/ecc/skills/opensource-pipeline/SKILL.md +255 -0
- package/bundled/upstream/ecc/skills/perl-patterns/SKILL.md +504 -0
- package/bundled/upstream/ecc/skills/perl-security/SKILL.md +503 -0
- package/bundled/upstream/ecc/skills/perl-testing/SKILL.md +475 -0
- package/bundled/upstream/ecc/skills/plankton-code-quality/SKILL.md +236 -0
- package/bundled/upstream/ecc/skills/postgres-patterns/SKILL.md +147 -0
- package/bundled/upstream/ecc/skills/product-capability/SKILL.md +141 -0
- package/bundled/upstream/ecc/skills/product-lens/SKILL.md +92 -0
- package/bundled/upstream/ecc/skills/production-scheduling/SKILL.md +238 -0
- package/bundled/upstream/ecc/skills/project-flow-ops/SKILL.md +111 -0
- package/bundled/upstream/ecc/skills/prompt-optimizer/SKILL.md +397 -0
- package/bundled/upstream/ecc/skills/python-patterns/SKILL.md +750 -0
- package/bundled/upstream/ecc/skills/python-testing/SKILL.md +816 -0
- package/bundled/upstream/ecc/skills/pytorch-patterns/SKILL.md +396 -0
- package/bundled/upstream/ecc/skills/quality-nonconformance/SKILL.md +260 -0
- package/bundled/upstream/ecc/skills/ralphinho-rfc-pipeline/SKILL.md +67 -0
- package/bundled/upstream/ecc/skills/regex-vs-llm-structured-text/SKILL.md +220 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/SKILL.md +43 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/3d.md +86 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/animations.md +29 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/assets/charts-bar-chart.tsx +173 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/assets/text-animations-typewriter.tsx +100 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/assets/text-animations-word-highlight.tsx +108 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/assets.md +78 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/audio.md +172 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/calculate-metadata.md +104 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/can-decode.md +75 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/charts.md +58 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/compositions.md +146 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/display-captions.md +126 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/extract-frames.md +229 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/fonts.md +152 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/get-audio-duration.md +58 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/get-video-dimensions.md +68 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/get-video-duration.md +58 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/gifs.md +138 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/images.md +130 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/import-srt-captions.md +67 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/lottie.md +67 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/measuring-dom-nodes.md +34 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/measuring-text.md +143 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/sequencing.md +106 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/tailwind.md +11 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/text-animations.md +20 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/timing.md +179 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/transcribe-captions.md +19 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/transitions.md +122 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/trimming.md +52 -0
- package/bundled/upstream/ecc/skills/remotion-video-creation/rules/videos.md +171 -0
- package/bundled/upstream/ecc/skills/repo-scan/SKILL.md +78 -0
- package/bundled/upstream/ecc/skills/research-ops/SKILL.md +112 -0
- package/bundled/upstream/ecc/skills/returns-reverse-logistics/SKILL.md +240 -0
- package/bundled/upstream/ecc/skills/rules-distill/SKILL.md +264 -0
- package/bundled/upstream/ecc/skills/rules-distill/scripts/scan-rules.sh +58 -0
- package/bundled/upstream/ecc/skills/rules-distill/scripts/scan-skills.sh +129 -0
- package/bundled/upstream/ecc/skills/rust-patterns/SKILL.md +499 -0
- package/bundled/upstream/ecc/skills/rust-testing/SKILL.md +500 -0
- package/bundled/upstream/ecc/skills/safety-guard/SKILL.md +75 -0
- package/bundled/upstream/ecc/skills/santa-method/SKILL.md +306 -0
- package/bundled/upstream/ecc/skills/search-first/SKILL.md +161 -0
- package/bundled/upstream/ecc/skills/security-bounty-hunter/SKILL.md +99 -0
- package/bundled/upstream/ecc/skills/security-review/SKILL.md +495 -0
- package/bundled/upstream/ecc/skills/security-review/cloud-infrastructure-security.md +361 -0
- package/bundled/upstream/ecc/skills/security-scan/SKILL.md +165 -0
- package/bundled/upstream/ecc/skills/seo/SKILL.md +154 -0
- package/bundled/upstream/ecc/skills/skill-comply/SKILL.md +58 -0
- package/bundled/upstream/ecc/skills/skill-comply/fixtures/compliant_trace.jsonl +5 -0
- package/bundled/upstream/ecc/skills/skill-comply/fixtures/noncompliant_trace.jsonl +3 -0
- package/bundled/upstream/ecc/skills/skill-comply/fixtures/tdd_spec.yaml +44 -0
- package/bundled/upstream/ecc/skills/skill-comply/prompts/classifier.md +24 -0
- package/bundled/upstream/ecc/skills/skill-comply/prompts/scenario_generator.md +62 -0
- package/bundled/upstream/ecc/skills/skill-comply/prompts/spec_generator.md +42 -0
- package/bundled/upstream/ecc/skills/skill-comply/pyproject.toml +15 -0
- package/bundled/upstream/ecc/skills/skill-comply/scripts/__init__.py +0 -0
- package/bundled/upstream/ecc/skills/skill-comply/scripts/classifier.py +85 -0
- package/bundled/upstream/ecc/skills/skill-comply/scripts/grader.py +124 -0
- package/bundled/upstream/ecc/skills/skill-comply/scripts/parser.py +107 -0
- package/bundled/upstream/ecc/skills/skill-comply/scripts/report.py +170 -0
- package/bundled/upstream/ecc/skills/skill-comply/scripts/run.py +127 -0
- package/bundled/upstream/ecc/skills/skill-comply/scripts/runner.py +161 -0
- package/bundled/upstream/ecc/skills/skill-comply/scripts/scenario_generator.py +70 -0
- package/bundled/upstream/ecc/skills/skill-comply/scripts/spec_generator.py +72 -0
- package/bundled/upstream/ecc/skills/skill-comply/scripts/utils.py +13 -0
- package/bundled/upstream/ecc/skills/skill-comply/tests/test_grader.py +197 -0
- package/bundled/upstream/ecc/skills/skill-comply/tests/test_parser.py +90 -0
- package/bundled/upstream/ecc/skills/skill-stocktake/SKILL.md +193 -0
- package/bundled/upstream/ecc/skills/skill-stocktake/scripts/quick-diff.sh +87 -0
- package/bundled/upstream/ecc/skills/skill-stocktake/scripts/save-results.sh +56 -0
- package/bundled/upstream/ecc/skills/skill-stocktake/scripts/scan.sh +170 -0
- package/bundled/upstream/ecc/skills/social-graph-ranker/SKILL.md +154 -0
- package/bundled/upstream/ecc/skills/springboot-patterns/SKILL.md +314 -0
- package/bundled/upstream/ecc/skills/springboot-security/SKILL.md +272 -0
- package/bundled/upstream/ecc/skills/springboot-tdd/SKILL.md +158 -0
- package/bundled/upstream/ecc/skills/springboot-verification/SKILL.md +231 -0
- package/bundled/upstream/ecc/skills/strategic-compact/SKILL.md +131 -0
- package/bundled/upstream/ecc/skills/strategic-compact/suggest-compact.sh +54 -0
- package/bundled/upstream/ecc/skills/swift-actor-persistence/SKILL.md +143 -0
- package/bundled/upstream/ecc/skills/swift-concurrency-6-2/SKILL.md +216 -0
- package/bundled/upstream/ecc/skills/swift-protocol-di-testing/SKILL.md +190 -0
- package/bundled/upstream/ecc/skills/swiftui-patterns/SKILL.md +259 -0
- package/bundled/upstream/ecc/skills/tdd-workflow/SKILL.md +463 -0
- package/bundled/upstream/ecc/skills/team-builder/SKILL.md +168 -0
- package/bundled/upstream/ecc/skills/terminal-ops/SKILL.md +109 -0
- package/bundled/upstream/ecc/skills/token-budget-advisor/SKILL.md +133 -0
- package/bundled/upstream/ecc/skills/ui-demo/SKILL.md +465 -0
- package/bundled/upstream/ecc/skills/unified-notifications-ops/SKILL.md +187 -0
- package/bundled/upstream/ecc/skills/verification-loop/SKILL.md +126 -0
- package/bundled/upstream/ecc/skills/video-editing/SKILL.md +310 -0
- package/bundled/upstream/ecc/skills/videodb/SKILL.md +374 -0
- package/bundled/upstream/ecc/skills/videodb/reference/api-reference.md +550 -0
- package/bundled/upstream/ecc/skills/videodb/reference/capture-reference.md +407 -0
- package/bundled/upstream/ecc/skills/videodb/reference/capture.md +101 -0
- package/bundled/upstream/ecc/skills/videodb/reference/editor.md +443 -0
- package/bundled/upstream/ecc/skills/videodb/reference/generative.md +331 -0
- package/bundled/upstream/ecc/skills/videodb/reference/rtstream-reference.md +564 -0
- package/bundled/upstream/ecc/skills/videodb/reference/rtstream.md +65 -0
- package/bundled/upstream/ecc/skills/videodb/reference/search.md +230 -0
- package/bundled/upstream/ecc/skills/videodb/reference/streaming.md +406 -0
- package/bundled/upstream/ecc/skills/videodb/reference/use-cases.md +118 -0
- package/bundled/upstream/ecc/skills/videodb/scripts/ws_listener.py +282 -0
- package/bundled/upstream/ecc/skills/visa-doc-translate/README.md +86 -0
- package/bundled/upstream/ecc/skills/visa-doc-translate/SKILL.md +117 -0
- package/bundled/upstream/ecc/skills/workspace-surface-audit/SKILL.md +125 -0
- package/bundled/upstream/ecc/skills/x-api/SKILL.md +230 -0
- package/bundled/upstream/superpowers/.omc-source/last-plan-apply.json +22 -0
- package/package.json +3 -1
- package/src/catalog/source-catalog.js +391 -0
- package/src/cli/artifact.js +3 -2
- package/src/cli/doctor.js +25 -4
- package/src/cli/index.js +19 -0
- package/src/cli/plan.js +220 -0
- package/src/cli/setup.js +209 -12
- package/src/cli/source.js +110 -3
- package/src/config/paths.js +31 -0
- package/src/config/sources.js +103 -10
- package/src/merge/hook-merger.js +1 -0
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: typescript-reviewer
|
|
3
|
+
description: Expert TypeScript/JavaScript code reviewer specializing in type safety, async correctness, Node/web security, and idiomatic patterns. Use for all TypeScript and JavaScript code changes. MUST BE USED for TypeScript/JavaScript projects.
|
|
4
|
+
tools: ["Read", "Grep", "Glob", "Bash"]
|
|
5
|
+
model: sonnet
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
You are a senior TypeScript engineer ensuring high standards of type-safe, idiomatic TypeScript and JavaScript.
|
|
9
|
+
|
|
10
|
+
When invoked:
|
|
11
|
+
1. Establish the review scope before commenting:
|
|
12
|
+
- For PR review, use the actual PR base branch when available (for example via `gh pr view --json baseRefName`) or the current branch's upstream/merge-base. Do not hard-code `main`.
|
|
13
|
+
- For local review, prefer `git diff --staged` and `git diff` first.
|
|
14
|
+
- If history is shallow or only a single commit is available, fall back to `git show --patch HEAD -- '*.ts' '*.tsx' '*.js' '*.jsx'` so you still inspect code-level changes.
|
|
15
|
+
2. Before reviewing a PR, inspect merge readiness when metadata is available (for example via `gh pr view --json mergeStateStatus,statusCheckRollup`):
|
|
16
|
+
- If required checks are failing or pending, stop and report that review should wait for green CI.
|
|
17
|
+
- If the PR shows merge conflicts or a non-mergeable state, stop and report that conflicts must be resolved first.
|
|
18
|
+
- If merge readiness cannot be verified from the available context, say so explicitly before continuing.
|
|
19
|
+
3. Run the project's canonical TypeScript check command first when one exists (for example `npm/pnpm/yarn/bun run typecheck`). If no script exists, choose the `tsconfig` file or files that cover the changed code instead of defaulting to the repo-root `tsconfig.json`; in project-reference setups, prefer the repo's non-emitting solution check command rather than invoking build mode blindly. Otherwise use `tsc --noEmit -p <relevant-config>`. Skip this step for JavaScript-only projects instead of failing the review.
|
|
20
|
+
4. Run `eslint . --ext .ts,.tsx,.js,.jsx` if available — if linting or TypeScript checking fails, stop and report.
|
|
21
|
+
5. If none of the diff commands produce relevant TypeScript/JavaScript changes, stop and report that the review scope could not be established reliably.
|
|
22
|
+
6. Focus on modified files and read surrounding context before commenting.
|
|
23
|
+
7. Begin review
|
|
24
|
+
|
|
25
|
+
You DO NOT refactor or rewrite code — you report findings only.
|
|
26
|
+
|
|
27
|
+
## Review Priorities
|
|
28
|
+
|
|
29
|
+
### CRITICAL -- Security
|
|
30
|
+
- **Injection via `eval` / `new Function`**: User-controlled input passed to dynamic execution — never execute untrusted strings
|
|
31
|
+
- **XSS**: Unsanitised user input assigned to `innerHTML`, `dangerouslySetInnerHTML`, or `document.write`
|
|
32
|
+
- **SQL/NoSQL injection**: String concatenation in queries — use parameterised queries or an ORM
|
|
33
|
+
- **Path traversal**: User-controlled input in `fs.readFile`, `path.join` without `path.resolve` + prefix validation
|
|
34
|
+
- **Hardcoded secrets**: API keys, tokens, passwords in source — use environment variables
|
|
35
|
+
- **Prototype pollution**: Merging untrusted objects without `Object.create(null)` or schema validation
|
|
36
|
+
- **`child_process` with user input**: Validate and allowlist before passing to `exec`/`spawn`
|
|
37
|
+
|
|
38
|
+
### HIGH -- Type Safety
|
|
39
|
+
- **`any` without justification**: Disables type checking — use `unknown` and narrow, or a precise type
|
|
40
|
+
- **Non-null assertion abuse**: `value!` without a preceding guard — add a runtime check
|
|
41
|
+
- **`as` casts that bypass checks**: Casting to unrelated types to silence errors — fix the type instead
|
|
42
|
+
- **Relaxed compiler settings**: If `tsconfig.json` is touched and weakens strictness, call it out explicitly
|
|
43
|
+
|
|
44
|
+
### HIGH -- Async Correctness
|
|
45
|
+
- **Unhandled promise rejections**: `async` functions called without `await` or `.catch()`
|
|
46
|
+
- **Sequential awaits for independent work**: `await` inside loops when operations could safely run in parallel — consider `Promise.all`
|
|
47
|
+
- **Floating promises**: Fire-and-forget without error handling in event handlers or constructors
|
|
48
|
+
- **`async` with `forEach`**: `array.forEach(async fn)` does not await — use `for...of` or `Promise.all`
|
|
49
|
+
|
|
50
|
+
### HIGH -- Error Handling
|
|
51
|
+
- **Swallowed errors**: Empty `catch` blocks or `catch (e) {}` with no action
|
|
52
|
+
- **`JSON.parse` without try/catch**: Throws on invalid input — always wrap
|
|
53
|
+
- **Throwing non-Error objects**: `throw "message"` — always `throw new Error("message")`
|
|
54
|
+
- **Missing error boundaries**: React trees without `<ErrorBoundary>` around async/data-fetching subtrees
|
|
55
|
+
|
|
56
|
+
### HIGH -- Idiomatic Patterns
|
|
57
|
+
- **Mutable shared state**: Module-level mutable variables — prefer immutable data and pure functions
|
|
58
|
+
- **`var` usage**: Use `const` by default, `let` when reassignment is needed
|
|
59
|
+
- **Implicit `any` from missing return types**: Public functions should have explicit return types
|
|
60
|
+
- **Callback-style async**: Mixing callbacks with `async/await` — standardise on promises
|
|
61
|
+
- **`==` instead of `===`**: Use strict equality throughout
|
|
62
|
+
|
|
63
|
+
### HIGH -- Node.js Specifics
|
|
64
|
+
- **Synchronous fs in request handlers**: `fs.readFileSync` blocks the event loop — use async variants
|
|
65
|
+
- **Missing input validation at boundaries**: No schema validation (zod, joi, yup) on external data
|
|
66
|
+
- **Unvalidated `process.env` access**: Access without fallback or startup validation
|
|
67
|
+
- **`require()` in ESM context**: Mixing module systems without clear intent
|
|
68
|
+
|
|
69
|
+
### MEDIUM -- React / Next.js (when applicable)
|
|
70
|
+
- **Missing dependency arrays**: `useEffect`/`useCallback`/`useMemo` with incomplete deps — use exhaustive-deps lint rule
|
|
71
|
+
- **State mutation**: Mutating state directly instead of returning new objects
|
|
72
|
+
- **Key prop using index**: `key={index}` in dynamic lists — use stable unique IDs
|
|
73
|
+
- **`useEffect` for derived state**: Compute derived values during render, not in effects
|
|
74
|
+
- **Server/client boundary leaks**: Importing server-only modules into client components in Next.js
|
|
75
|
+
|
|
76
|
+
### MEDIUM -- Performance
|
|
77
|
+
- **Object/array creation in render**: Inline objects as props cause unnecessary re-renders — hoist or memoize
|
|
78
|
+
- **N+1 queries**: Database or API calls inside loops — batch or use `Promise.all`
|
|
79
|
+
- **Missing `React.memo` / `useMemo`**: Expensive computations or components re-running on every render
|
|
80
|
+
- **Large bundle imports**: `import _ from 'lodash'` — use named imports or tree-shakeable alternatives
|
|
81
|
+
|
|
82
|
+
### MEDIUM -- Best Practices
|
|
83
|
+
- **`console.log` left in production code**: Use a structured logger
|
|
84
|
+
- **Magic numbers/strings**: Use named constants or enums
|
|
85
|
+
- **Deep optional chaining without fallback**: `a?.b?.c?.d` with no default — add `?? fallback`
|
|
86
|
+
- **Inconsistent naming**: camelCase for variables/functions, PascalCase for types/classes/components
|
|
87
|
+
|
|
88
|
+
## Diagnostic Commands
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
npm run typecheck --if-present # Canonical TypeScript check when the project defines one
|
|
92
|
+
tsc --noEmit -p <relevant-config> # Fallback type check for the tsconfig that owns the changed files
|
|
93
|
+
eslint . --ext .ts,.tsx,.js,.jsx # Linting
|
|
94
|
+
prettier --check . # Format check
|
|
95
|
+
npm audit # Dependency vulnerabilities (or the equivalent yarn/pnpm/bun audit command)
|
|
96
|
+
vitest run # Tests (Vitest)
|
|
97
|
+
jest --ci # Tests (Jest)
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## Approval Criteria
|
|
101
|
+
|
|
102
|
+
- **Approve**: No CRITICAL or HIGH issues
|
|
103
|
+
- **Warning**: MEDIUM issues only (can merge with caution)
|
|
104
|
+
- **Block**: CRITICAL or HIGH issues found
|
|
105
|
+
|
|
106
|
+
## Reference
|
|
107
|
+
|
|
108
|
+
This repo does not yet ship a dedicated `typescript-patterns` skill. For detailed TypeScript and JavaScript patterns, use `coding-standards` plus `frontend-patterns` or `backend-patterns` based on the code being reviewed.
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
Review with the mindset: "Would this code pass review at a top TypeScript shop or well-maintained open-source project?"
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Legacy slash-entry shim for the agent-sort skill. Prefer the skill directly.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Agent Sort (Legacy Shim)
|
|
6
|
+
|
|
7
|
+
Use this only if you still invoke `/agent-sort`. The maintained workflow lives in `skills/agent-sort/SKILL.md`.
|
|
8
|
+
|
|
9
|
+
## Canonical Surface
|
|
10
|
+
|
|
11
|
+
- Prefer the `agent-sort` skill directly.
|
|
12
|
+
- Keep this file only as a compatibility entry point.
|
|
13
|
+
|
|
14
|
+
## Arguments
|
|
15
|
+
|
|
16
|
+
`$ARGUMENTS`
|
|
17
|
+
|
|
18
|
+
## Delegation
|
|
19
|
+
|
|
20
|
+
Apply the `agent-sort` skill.
|
|
21
|
+
- Classify ECC surfaces with concrete repo evidence.
|
|
22
|
+
- Keep the result to DAILY vs LIBRARY.
|
|
23
|
+
- If an install change is needed afterward, hand off to `configure-ecc` instead of re-implementing install logic here.
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Answer a quick side question without interrupting or losing context from the current task. Resume work automatically after answering.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Aside Command
|
|
6
|
+
|
|
7
|
+
Ask a question mid-task and get an immediate, focused answer — then continue right where you left off. The current task, files, and context are never modified.
|
|
8
|
+
|
|
9
|
+
## When to Use
|
|
10
|
+
|
|
11
|
+
- You're curious about something while Claude is working and don't want to lose momentum
|
|
12
|
+
- You need a quick explanation of code Claude is currently editing
|
|
13
|
+
- You want a second opinion or clarification on a decision without derailing the task
|
|
14
|
+
- You need to understand an error, concept, or pattern before Claude proceeds
|
|
15
|
+
- You want to ask something unrelated to the current task without starting a new session
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
```
|
|
20
|
+
/aside <your question>
|
|
21
|
+
/aside what does this function actually return?
|
|
22
|
+
/aside is this pattern thread-safe?
|
|
23
|
+
/aside why are we using X instead of Y here?
|
|
24
|
+
/aside what's the difference between foo() and bar()?
|
|
25
|
+
/aside should we be worried about the N+1 query we just added?
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Process
|
|
29
|
+
|
|
30
|
+
### Step 1: Freeze the current task state
|
|
31
|
+
|
|
32
|
+
Before answering anything, mentally note:
|
|
33
|
+
- What is the active task? (what file, feature, or problem was being worked on)
|
|
34
|
+
- What step was in progress at the moment `/aside` was invoked?
|
|
35
|
+
- What was about to happen next?
|
|
36
|
+
|
|
37
|
+
Do NOT touch, edit, create, or delete any files during the aside.
|
|
38
|
+
|
|
39
|
+
### Step 2: Answer the question directly
|
|
40
|
+
|
|
41
|
+
Answer the question in the most concise form that is still complete and useful.
|
|
42
|
+
|
|
43
|
+
- Lead with the answer, not the reasoning
|
|
44
|
+
- Keep it short — if a full explanation is needed, offer to go deeper after the task
|
|
45
|
+
- If the question is about the current file or code being worked on, reference it precisely (file path and line number if relevant)
|
|
46
|
+
- If answering requires reading a file, read it — but read only, never write
|
|
47
|
+
|
|
48
|
+
Format the response as:
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
ASIDE: [restate the question briefly]
|
|
52
|
+
|
|
53
|
+
[Your answer here]
|
|
54
|
+
|
|
55
|
+
— Back to task: [one-line description of what was being done]
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### Step 3: Resume the main task
|
|
59
|
+
|
|
60
|
+
After delivering the answer, immediately continue the active task from the exact point it was paused. Do not ask for permission to resume unless the aside answer revealed a blocker or a reason to reconsider the current approach (see Edge Cases).
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## Edge Cases
|
|
65
|
+
|
|
66
|
+
**No question provided (`/aside` with nothing after it):**
|
|
67
|
+
Respond:
|
|
68
|
+
```
|
|
69
|
+
ASIDE: no question provided
|
|
70
|
+
|
|
71
|
+
What would you like to know? (ask your question and I'll answer without losing the current task context)
|
|
72
|
+
|
|
73
|
+
— Back to task: [one-line description of what was being done]
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
**Question reveals a potential problem with the current task:**
|
|
77
|
+
Flag it clearly before resuming:
|
|
78
|
+
```
|
|
79
|
+
ASIDE: [answer]
|
|
80
|
+
|
|
81
|
+
WARNING: Note: This answer suggests [issue] with the current approach. Want to address this before continuing, or proceed as planned?
|
|
82
|
+
```
|
|
83
|
+
Wait for the user's decision before resuming.
|
|
84
|
+
|
|
85
|
+
**Question is actually a task redirect (not a side question):**
|
|
86
|
+
If the question implies changing what is being built (e.g., `/aside actually, let's use Redis instead`), clarify:
|
|
87
|
+
```
|
|
88
|
+
ASIDE: That sounds like a direction change, not just a side question.
|
|
89
|
+
Do you want to:
|
|
90
|
+
(a) Answer this as information only and keep the current plan
|
|
91
|
+
(b) Pause the current task and change approach
|
|
92
|
+
```
|
|
93
|
+
Wait for the user's answer — do not make assumptions.
|
|
94
|
+
|
|
95
|
+
**Question is about the currently open file or code:**
|
|
96
|
+
Answer from the live context. If the file was read earlier in the session, reference it directly. If not, read it now (read-only) and answer with a file:line reference.
|
|
97
|
+
|
|
98
|
+
**No active task (nothing in progress when `/aside` is invoked):**
|
|
99
|
+
Still use the standard wrapper so the response shape stays consistent:
|
|
100
|
+
```
|
|
101
|
+
ASIDE: [restate the question briefly]
|
|
102
|
+
|
|
103
|
+
[Your answer here]
|
|
104
|
+
|
|
105
|
+
— Back to task: no active task to resume
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
**Question requires a long answer:**
|
|
109
|
+
Give the essential answer concisely, then offer:
|
|
110
|
+
```
|
|
111
|
+
That's the short version. Want a deeper explanation after we finish [current task]?
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
**Multiple `/aside` questions in a row:**
|
|
115
|
+
Answer each one in sequence. After the last answer, resume the main task. Do not lose task state across a chain of asides.
|
|
116
|
+
|
|
117
|
+
**Aside answer implies a code change is needed:**
|
|
118
|
+
Note the change needed but do not make it during the aside:
|
|
119
|
+
```
|
|
120
|
+
ASIDE: [answer]
|
|
121
|
+
|
|
122
|
+
Worth fixing: [what should be changed]. I'll flag this after the current task unless you want to address it now.
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
**Question is ambiguous or too vague:**
|
|
126
|
+
Ask one clarifying question — the shortest question that gets the information needed to answer. Do not ask multiple questions.
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## Example Output
|
|
131
|
+
|
|
132
|
+
```
|
|
133
|
+
User: /aside what does fetchWithRetry() actually do?
|
|
134
|
+
|
|
135
|
+
ASIDE: what does fetchWithRetry() do?
|
|
136
|
+
|
|
137
|
+
fetchWithRetry() (src/api/retry.ts:12) attempts the request up to 3 times with
|
|
138
|
+
exponential backoff (250ms → 500ms → 1s). It only retries on 5xx responses and
|
|
139
|
+
network errors — 4xx errors are treated as final and not retried.
|
|
140
|
+
|
|
141
|
+
— Back to task: refactoring the auth middleware in src/middleware/auth.ts
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
```
|
|
145
|
+
User: /aside is the approach we're taking thread-safe?
|
|
146
|
+
|
|
147
|
+
ASIDE: is the current approach thread-safe?
|
|
148
|
+
|
|
149
|
+
No — the shared cache object in src/cache/store.ts:34 is mutated without locking.
|
|
150
|
+
Under concurrent requests this is a race condition. It's low risk in a single-process
|
|
151
|
+
Node.js server but would be a real problem with worker threads or clustering.
|
|
152
|
+
|
|
153
|
+
WARNING: Note: This could affect the feature we're building. Want to address this now or continue and fix it in a follow-up?
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
## Notes
|
|
159
|
+
|
|
160
|
+
- Never modify files during an aside — read-only access only
|
|
161
|
+
- The aside is a conversation pause, not a new task — the original task must always resume
|
|
162
|
+
- Keep answers focused: the goal is to unblock the user quickly, not to deliver a lecture
|
|
163
|
+
- If an aside sparks a larger discussion, finish the current task first unless the aside reveals a blocker
|
|
164
|
+
- Asides are not saved to session files unless explicitly relevant to the task outcome
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Build and Fix
|
|
2
|
+
|
|
3
|
+
Incrementally fix build and type errors with minimal, safe changes.
|
|
4
|
+
|
|
5
|
+
## Step 1: Detect Build System
|
|
6
|
+
|
|
7
|
+
Identify the project's build tool and run the build:
|
|
8
|
+
|
|
9
|
+
| Indicator | Build Command |
|
|
10
|
+
|-----------|---------------|
|
|
11
|
+
| `package.json` with `build` script | `npm run build` or `pnpm build` |
|
|
12
|
+
| `tsconfig.json` (TypeScript only) | `npx tsc --noEmit` |
|
|
13
|
+
| `Cargo.toml` | `cargo build 2>&1` |
|
|
14
|
+
| `pom.xml` | `mvn compile` |
|
|
15
|
+
| `build.gradle` | `./gradlew compileJava` |
|
|
16
|
+
| `go.mod` | `go build ./...` |
|
|
17
|
+
| `pyproject.toml` | `python -m compileall -q .` or `mypy .` |
|
|
18
|
+
|
|
19
|
+
## Step 2: Parse and Group Errors
|
|
20
|
+
|
|
21
|
+
1. Run the build command and capture stderr
|
|
22
|
+
2. Group errors by file path
|
|
23
|
+
3. Sort by dependency order (fix imports/types before logic errors)
|
|
24
|
+
4. Count total errors for progress tracking
|
|
25
|
+
|
|
26
|
+
## Step 3: Fix Loop (One Error at a Time)
|
|
27
|
+
|
|
28
|
+
For each error:
|
|
29
|
+
|
|
30
|
+
1. **Read the file** — Use Read tool to see error context (10 lines around the error)
|
|
31
|
+
2. **Diagnose** — Identify root cause (missing import, wrong type, syntax error)
|
|
32
|
+
3. **Fix minimally** — Use Edit tool for the smallest change that resolves the error
|
|
33
|
+
4. **Re-run build** — Verify the error is gone and no new errors introduced
|
|
34
|
+
5. **Move to next** — Continue with remaining errors
|
|
35
|
+
|
|
36
|
+
## Step 4: Guardrails
|
|
37
|
+
|
|
38
|
+
Stop and ask the user if:
|
|
39
|
+
- A fix introduces **more errors than it resolves**
|
|
40
|
+
- The **same error persists after 3 attempts** (likely a deeper issue)
|
|
41
|
+
- The fix requires **architectural changes** (not just a build fix)
|
|
42
|
+
- Build errors stem from **missing dependencies** (need `npm install`, `cargo add`, etc.)
|
|
43
|
+
|
|
44
|
+
## Step 5: Summary
|
|
45
|
+
|
|
46
|
+
Show results:
|
|
47
|
+
- Errors fixed (with file paths)
|
|
48
|
+
- Errors remaining (if any)
|
|
49
|
+
- New errors introduced (should be zero)
|
|
50
|
+
- Suggested next steps for unresolved issues
|
|
51
|
+
|
|
52
|
+
## Recovery Strategies
|
|
53
|
+
|
|
54
|
+
| Situation | Action |
|
|
55
|
+
|-----------|--------|
|
|
56
|
+
| Missing module/import | Check if package is installed; suggest install command |
|
|
57
|
+
| Type mismatch | Read both type definitions; fix the narrower type |
|
|
58
|
+
| Circular dependency | Identify cycle with import graph; suggest extraction |
|
|
59
|
+
| Version conflict | Check `package.json` / `Cargo.toml` for version constraints |
|
|
60
|
+
| Build tool misconfiguration | Read config file; compare with working defaults |
|
|
61
|
+
|
|
62
|
+
Fix one error at a time for safety. Prefer minimal diffs over refactoring.
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Checkpoint Command
|
|
2
|
+
|
|
3
|
+
Create or verify a checkpoint in your workflow.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
`/checkpoint [create|verify|list] [name]`
|
|
8
|
+
|
|
9
|
+
## Create Checkpoint
|
|
10
|
+
|
|
11
|
+
When creating a checkpoint:
|
|
12
|
+
|
|
13
|
+
1. Run `/verify quick` to ensure current state is clean
|
|
14
|
+
2. Create a git stash or commit with checkpoint name
|
|
15
|
+
3. Log checkpoint to `.claude/checkpoints.log`:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
echo "$(date +%Y-%m-%d-%H:%M) | $CHECKPOINT_NAME | $(git rev-parse --short HEAD)" >> .claude/checkpoints.log
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
4. Report checkpoint created
|
|
22
|
+
|
|
23
|
+
## Verify Checkpoint
|
|
24
|
+
|
|
25
|
+
When verifying against a checkpoint:
|
|
26
|
+
|
|
27
|
+
1. Read checkpoint from log
|
|
28
|
+
2. Compare current state to checkpoint:
|
|
29
|
+
- Files added since checkpoint
|
|
30
|
+
- Files modified since checkpoint
|
|
31
|
+
- Test pass rate now vs then
|
|
32
|
+
- Coverage now vs then
|
|
33
|
+
|
|
34
|
+
3. Report:
|
|
35
|
+
```
|
|
36
|
+
CHECKPOINT COMPARISON: $NAME
|
|
37
|
+
============================
|
|
38
|
+
Files changed: X
|
|
39
|
+
Tests: +Y passed / -Z failed
|
|
40
|
+
Coverage: +X% / -Y%
|
|
41
|
+
Build: [PASS/FAIL]
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## List Checkpoints
|
|
45
|
+
|
|
46
|
+
Show all checkpoints with:
|
|
47
|
+
- Name
|
|
48
|
+
- Timestamp
|
|
49
|
+
- Git SHA
|
|
50
|
+
- Status (current, behind, ahead)
|
|
51
|
+
|
|
52
|
+
## Workflow
|
|
53
|
+
|
|
54
|
+
Typical checkpoint flow:
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
[Start] --> /checkpoint create "feature-start"
|
|
58
|
+
|
|
|
59
|
+
[Implement] --> /checkpoint create "core-done"
|
|
60
|
+
|
|
|
61
|
+
[Test] --> /checkpoint verify "core-done"
|
|
62
|
+
|
|
|
63
|
+
[Refactor] --> /checkpoint create "refactor-done"
|
|
64
|
+
|
|
|
65
|
+
[PR] --> /checkpoint verify "feature-start"
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Arguments
|
|
69
|
+
|
|
70
|
+
$ARGUMENTS:
|
|
71
|
+
- `create <name>` - Create named checkpoint
|
|
72
|
+
- `verify <name>` - Verify against named checkpoint
|
|
73
|
+
- `list` - Show all checkpoints
|
|
74
|
+
- `clear` - Remove old checkpoints (keeps last 5)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Legacy slash-entry shim for the nanoclaw-repl skill. Prefer the skill directly.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Claw Command (Legacy Shim)
|
|
6
|
+
|
|
7
|
+
Use this only if you still reach for `/claw` from muscle memory. The maintained implementation lives in `skills/nanoclaw-repl/SKILL.md`.
|
|
8
|
+
|
|
9
|
+
## Canonical Surface
|
|
10
|
+
|
|
11
|
+
- Prefer the `nanoclaw-repl` skill directly.
|
|
12
|
+
- Keep this file only as a compatibility entry point while command-first usage is retired.
|
|
13
|
+
|
|
14
|
+
## Arguments
|
|
15
|
+
|
|
16
|
+
`$ARGUMENTS`
|
|
17
|
+
|
|
18
|
+
## Delegation
|
|
19
|
+
|
|
20
|
+
Apply the `nanoclaw-repl` skill and keep the response focused on operating or extending `scripts/claw.js`.
|
|
21
|
+
- If the user wants to run it, use `node scripts/claw.js` or `npm run claw`.
|
|
22
|
+
- If the user wants to extend it, preserve the zero-dependency and markdown-backed session model.
|
|
23
|
+
- If the request is really about long-running orchestration rather than NanoClaw itself, redirect to `dmux-workflows` or `autonomous-agent-harness`.
|