oh-my-customcodex 0.1.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/LICENSE +21 -0
- package/README.md +327 -0
- package/dist/cli/index.js +32054 -0
- package/dist/index.js +5469 -0
- package/package.json +89 -0
- package/templates/.claude/agents/arch-documenter.md +38 -0
- package/templates/.claude/agents/arch-speckit-agent.md +66 -0
- package/templates/.claude/agents/be-django-expert.md +47 -0
- package/templates/.claude/agents/be-express-expert.md +31 -0
- package/templates/.claude/agents/be-fastapi-expert.md +45 -0
- package/templates/.claude/agents/be-go-backend-expert.md +45 -0
- package/templates/.claude/agents/be-nestjs-expert.md +29 -0
- package/templates/.claude/agents/be-springboot-expert.md +42 -0
- package/templates/.claude/agents/db-alembic-expert.md +73 -0
- package/templates/.claude/agents/db-postgres-expert.md +38 -0
- package/templates/.claude/agents/db-redis-expert.md +38 -0
- package/templates/.claude/agents/db-supabase-expert.md +37 -0
- package/templates/.claude/agents/de-airflow-expert.md +48 -0
- package/templates/.claude/agents/de-dbt-expert.md +36 -0
- package/templates/.claude/agents/de-kafka-expert.md +83 -0
- package/templates/.claude/agents/de-pipeline-expert.md +34 -0
- package/templates/.claude/agents/de-snowflake-expert.md +38 -0
- package/templates/.claude/agents/de-spark-expert.md +38 -0
- package/templates/.claude/agents/fe-design-expert.md +120 -0
- package/templates/.claude/agents/fe-flutter-agent.md +48 -0
- package/templates/.claude/agents/fe-svelte-agent.md +33 -0
- package/templates/.claude/agents/fe-vercel-agent.md +40 -0
- package/templates/.claude/agents/fe-vuejs-agent.md +34 -0
- package/templates/.claude/agents/infra-aws-expert.md +49 -0
- package/templates/.claude/agents/infra-docker-expert.md +49 -0
- package/templates/.claude/agents/lang-golang-expert.md +46 -0
- package/templates/.claude/agents/lang-java21-expert.md +42 -0
- package/templates/.claude/agents/lang-kotlin-expert.md +45 -0
- package/templates/.claude/agents/lang-python-expert.md +45 -0
- package/templates/.claude/agents/lang-rust-expert.md +45 -0
- package/templates/.claude/agents/lang-typescript-expert.md +45 -0
- package/templates/.claude/agents/mgr-claude-code-bible.md +62 -0
- package/templates/.claude/agents/mgr-creator.md +57 -0
- package/templates/.claude/agents/mgr-gitnerd.md +50 -0
- package/templates/.claude/agents/mgr-sauron.md +163 -0
- package/templates/.claude/agents/mgr-supplier.md +39 -0
- package/templates/.claude/agents/mgr-updater.md +40 -0
- package/templates/.claude/agents/qa-engineer.md +36 -0
- package/templates/.claude/agents/qa-planner.md +78 -0
- package/templates/.claude/agents/qa-writer.md +32 -0
- package/templates/.claude/agents/sec-codeql-expert.md +56 -0
- package/templates/.claude/agents/slack-cli-expert.md +98 -0
- package/templates/.claude/agents/souls/lang-golang-expert.soul.md +21 -0
- package/templates/.claude/agents/sys-memory-keeper.md +123 -0
- package/templates/.claude/agents/sys-naggy.md +76 -0
- package/templates/.claude/agents/tool-bun-expert.md +26 -0
- package/templates/.claude/agents/tool-npm-expert.md +31 -0
- package/templates/.claude/agents/tool-optimizer.md +37 -0
- package/templates/.claude/agents/wiki-curator.md +72 -0
- package/templates/.claude/config/required-plugins.json +30 -0
- package/templates/.claude/contexts/dev.md +20 -0
- package/templates/.claude/contexts/ecomode.md +110 -0
- package/templates/.claude/contexts/index.yaml +41 -0
- package/templates/.claude/contexts/research.md +28 -0
- package/templates/.claude/contexts/review.md +23 -0
- package/templates/.claude/hooks/hooks.json +533 -0
- package/templates/.claude/hooks/scripts/adaptive-harness-scan.sh +45 -0
- package/templates/.claude/hooks/scripts/agent-start-recorder.sh +40 -0
- package/templates/.claude/hooks/scripts/agent-teams-advisor.sh +76 -0
- package/templates/.claude/hooks/scripts/audit-log.sh +64 -0
- package/templates/.claude/hooks/scripts/auto-continue-guard.sh +33 -0
- package/templates/.claude/hooks/scripts/content-hash-validator.sh +75 -0
- package/templates/.claude/hooks/scripts/context-budget-advisor.sh +107 -0
- package/templates/.claude/hooks/scripts/cost-cap-advisor.sh +71 -0
- package/templates/.claude/hooks/scripts/cwd-change-detector.sh +36 -0
- package/templates/.claude/hooks/scripts/eval-core-batch-save.sh +46 -0
- package/templates/.claude/hooks/scripts/feedback-collector.sh +92 -0
- package/templates/.claude/hooks/scripts/file-change-validator.sh +26 -0
- package/templates/.claude/hooks/scripts/git-delegation-guard.sh +57 -0
- package/templates/.claude/hooks/scripts/model-escalation-advisor.sh +106 -0
- package/templates/.claude/hooks/scripts/omcodex-auto-update.sh +4 -0
- package/templates/.claude/hooks/scripts/omcustom-auto-update.sh +177 -0
- package/templates/.claude/hooks/scripts/rtk-intercept.sh +77 -0
- package/templates/.claude/hooks/scripts/rule-deletion-guard.sh +60 -0
- package/templates/.claude/hooks/scripts/schema-validator.sh +106 -0
- package/templates/.claude/hooks/scripts/secret-filter.sh +100 -0
- package/templates/.claude/hooks/scripts/session-autofix-prompt.sh +34 -0
- package/templates/.claude/hooks/scripts/session-autofix.sh +146 -0
- package/templates/.claude/hooks/scripts/session-env-check.sh +254 -0
- package/templates/.claude/hooks/scripts/skill-extractor-analyzer.sh +49 -0
- package/templates/.claude/hooks/scripts/stage-blocker.sh +16 -0
- package/templates/.claude/hooks/scripts/stale-todo-scanner.sh +91 -0
- package/templates/.claude/hooks/scripts/stall-detection-advisor.sh +112 -0
- package/templates/.claude/hooks/scripts/stop-console-audit.sh +46 -0
- package/templates/.claude/hooks/scripts/stuck-detector.sh +199 -0
- package/templates/.claude/hooks/scripts/task-outcome-recorder.sh +119 -0
- package/templates/.claude/hooks/scripts/task-state-precompact.sh +58 -0
- package/templates/.claude/hooks/scripts/user-prompt-preprocessor.sh +32 -0
- package/templates/.claude/hooks/skill-count-reminder.sh +34 -0
- package/templates/.claude/install-hooks.sh +100 -0
- package/templates/.claude/ontology/agents.yaml +546 -0
- package/templates/.claude/ontology/graphs/agent-skill.json +102 -0
- package/templates/.claude/ontology/graphs/full-graph.json +629 -0
- package/templates/.claude/ontology/graphs/routing.json +112 -0
- package/templates/.claude/ontology/graphs/skill-rule.json +78 -0
- package/templates/.claude/ontology/rules.yaml +251 -0
- package/templates/.claude/ontology/schema.yaml +144 -0
- package/templates/.claude/ontology/skills.yaml +575 -0
- package/templates/.claude/rules/MAY-optimization.md +42 -0
- package/templates/.claude/rules/MUST-agent-design.md +340 -0
- package/templates/.claude/rules/MUST-agent-identification.md +77 -0
- package/templates/.claude/rules/MUST-agent-teams.md +293 -0
- package/templates/.claude/rules/MUST-completion-verification.md +112 -0
- package/templates/.claude/rules/MUST-continuous-improvement.md +69 -0
- package/templates/.claude/rules/MUST-enforcement-policy.md +50 -0
- package/templates/.claude/rules/MUST-intent-transparency.md +74 -0
- package/templates/.claude/rules/MUST-language-policy.md +28 -0
- package/templates/.claude/rules/MUST-orchestrator-coordination.md +399 -0
- package/templates/.claude/rules/MUST-parallel-execution.md +184 -0
- package/templates/.claude/rules/MUST-permissions.md +32 -0
- package/templates/.claude/rules/MUST-safety.md +23 -0
- package/templates/.claude/rules/MUST-sync-verification.md +145 -0
- package/templates/.claude/rules/MUST-tool-identification.md +97 -0
- package/templates/.claude/rules/SHOULD-ecomode.md +123 -0
- package/templates/.claude/rules/SHOULD-error-handling.md +33 -0
- package/templates/.claude/rules/SHOULD-hud-statusline.md +51 -0
- package/templates/.claude/rules/SHOULD-interaction.md +77 -0
- package/templates/.claude/rules/SHOULD-memory-integration.md +371 -0
- package/templates/.claude/rules/SHOULD-ontology-rag-routing.md +49 -0
- package/templates/.claude/rules/SHOULD-wiki-sync.md +73 -0
- package/templates/.claude/rules/index.yaml +141 -0
- package/templates/.claude/schemas/tool-inputs.json +62 -0
- package/templates/.claude/skills/action-validator/SKILL.md +89 -0
- package/templates/.claude/skills/adaptive-harness/SKILL.md +335 -0
- package/templates/.claude/skills/adversarial-review/SKILL.md +80 -0
- package/templates/.claude/skills/agora/SKILL.md +194 -0
- package/templates/.claude/skills/airflow-best-practices/SKILL.md +94 -0
- package/templates/.claude/skills/alembic-best-practices/SKILL.md +295 -0
- package/templates/.claude/skills/ambiguity-gate/SKILL.md +94 -0
- package/templates/.claude/skills/analysis/SKILL.md +223 -0
- package/templates/.claude/skills/audit-agents/SKILL.md +118 -0
- package/templates/.claude/skills/aws-best-practices/SKILL.md +281 -0
- package/templates/.claude/skills/claude-code-bible/SKILL.md +93 -0
- package/templates/.claude/skills/claude-code-bible/scripts/fetch-docs.js +244 -0
- package/templates/.claude/skills/claude-native/SKILL.md +215 -0
- package/templates/.claude/skills/codex-exec/SKILL.md +206 -0
- package/templates/.claude/skills/codex-exec/scripts/codex-wrapper.cjs +430 -0
- package/templates/.claude/skills/create-agent/SKILL.md +94 -0
- package/templates/.claude/skills/cve-triage/SKILL.md +91 -0
- package/templates/.claude/skills/dag-orchestration/SKILL.md +201 -0
- package/templates/.claude/skills/dbt-best-practices/SKILL.md +55 -0
- package/templates/.claude/skills/de-lead-routing/SKILL.md +230 -0
- package/templates/.claude/skills/deep-plan/SKILL.md +344 -0
- package/templates/.claude/skills/deep-verify/SKILL.md +111 -0
- package/templates/.claude/skills/dev-lead-routing/SKILL.md +161 -0
- package/templates/.claude/skills/dev-refactor/SKILL.md +234 -0
- package/templates/.claude/skills/dev-review/SKILL.md +172 -0
- package/templates/.claude/skills/django-best-practices/SKILL.md +334 -0
- package/templates/.claude/skills/docker-best-practices/SKILL.md +276 -0
- package/templates/.claude/skills/evaluator-optimizer/SKILL.md +421 -0
- package/templates/.claude/skills/fastapi-best-practices/SKILL.md +271 -0
- package/templates/.claude/skills/fix-refs/SKILL.md +109 -0
- package/templates/.claude/skills/flutter-best-practices/SKILL.md +325 -0
- package/templates/.claude/skills/gemini-exec/SKILL.md +215 -0
- package/templates/.claude/skills/gemini-exec/scripts/gemini-wrapper.cjs +485 -0
- package/templates/.claude/skills/go-backend-best-practices/SKILL.md +135 -0
- package/templates/.claude/skills/go-best-practices/SKILL.md +204 -0
- package/templates/.claude/skills/hada-scout/SKILL.md +92 -0
- package/templates/.claude/skills/harness-eval/SKILL.md +95 -0
- package/templates/.claude/skills/harness-synthesizer/SKILL.md +145 -0
- package/templates/.claude/skills/help/SKILL.md +127 -0
- package/templates/.claude/skills/idea/SKILL.md +88 -0
- package/templates/.claude/skills/impeccable-design/SKILL.md +173 -0
- package/templates/.claude/skills/intent-detection/SKILL.md +293 -0
- package/templates/.claude/skills/intent-detection/patterns/agent-triggers.yaml +438 -0
- package/templates/.claude/skills/java21-best-practices/SKILL.md +190 -0
- package/templates/.claude/skills/jinja2-prompts/SKILL.md +86 -0
- package/templates/.claude/skills/kafka-best-practices/SKILL.md +53 -0
- package/templates/.claude/skills/kotlin-best-practices/SKILL.md +257 -0
- package/templates/.claude/skills/lists/SKILL.md +80 -0
- package/templates/.claude/skills/memory-management/SKILL.md +196 -0
- package/templates/.claude/skills/memory-recall/SKILL.md +172 -0
- package/templates/.claude/skills/memory-save/SKILL.md +128 -0
- package/templates/.claude/skills/model-escalation/SKILL.md +62 -0
- package/templates/.claude/skills/monitoring-setup/SKILL.md +215 -0
- package/templates/.claude/skills/multi-model-verification/SKILL.md +130 -0
- package/templates/.claude/skills/npm-audit/SKILL.md +74 -0
- package/templates/.claude/skills/npm-publish/SKILL.md +65 -0
- package/templates/.claude/skills/npm-version/SKILL.md +104 -0
- package/templates/.claude/skills/omcodex-auto-improve/SKILL.md +136 -0
- package/templates/.claude/skills/omcodex-feedback/SKILL.md +205 -0
- package/templates/.claude/skills/omcodex-improve-report/SKILL.md +65 -0
- package/templates/.claude/skills/omcodex-loop/SKILL.md +45 -0
- package/templates/.claude/skills/omcodex-release-notes/SKILL.md +117 -0
- package/templates/.claude/skills/omcodex-takeover/SKILL.md +115 -0
- package/templates/.claude/skills/omcodex-web/SKILL.md +95 -0
- package/templates/.claude/skills/optimize-analyze/SKILL.md +57 -0
- package/templates/.claude/skills/optimize-bundle/SKILL.md +69 -0
- package/templates/.claude/skills/optimize-report/SKILL.md +76 -0
- package/templates/.claude/skills/peer-messaging/SKILL.md +59 -0
- package/templates/.claude/skills/pipeline/SKILL.md +103 -0
- package/templates/.claude/skills/pipeline-architecture-patterns/SKILL.md +84 -0
- package/templates/.claude/skills/pipeline-guards/SKILL.md +173 -0
- package/templates/.claude/skills/post-release-followup/SKILL.md +134 -0
- package/templates/.claude/skills/postgres-best-practices/SKILL.md +67 -0
- package/templates/.claude/skills/pr-auto-improve/SKILL.md +129 -0
- package/templates/.claude/skills/professor-triage/SKILL.md +321 -0
- package/templates/.claude/skills/python-best-practices/SKILL.md +223 -0
- package/templates/.claude/skills/qa-lead-routing/SKILL.md +104 -0
- package/templates/.claude/skills/react-best-practices/SKILL.md +102 -0
- package/templates/.claude/skills/reasoning-sandwich/SKILL.md +64 -0
- package/templates/.claude/skills/redis-best-practices/SKILL.md +84 -0
- package/templates/.claude/skills/release-plan/SKILL.md +207 -0
- package/templates/.claude/skills/research/SKILL.md +493 -0
- package/templates/.claude/skills/result-aggregation/SKILL.md +165 -0
- package/templates/.claude/skills/rtk-exec/SKILL.md +199 -0
- package/templates/.claude/skills/rtk-exec/scripts/rtk-wrapper.cjs +377 -0
- package/templates/.claude/skills/rust-best-practices/SKILL.md +268 -0
- package/templates/.claude/skills/sauron-watch/SKILL.md +239 -0
- package/templates/.claude/skills/scout/SKILL.md +250 -0
- package/templates/.claude/skills/sdd/SKILL.md +24 -0
- package/templates/.claude/skills/sdd-dev/SKILL.md +257 -0
- package/templates/.claude/skills/sdd-development/SKILL.md +24 -0
- package/templates/.claude/skills/secretary-routing/SKILL.md +132 -0
- package/templates/.claude/skills/skill-extractor/SKILL.md +155 -0
- package/templates/.claude/skills/skills-sh-search/SKILL.md +210 -0
- package/templates/.claude/skills/snowflake-best-practices/SKILL.md +66 -0
- package/templates/.claude/skills/spark-best-practices/SKILL.md +53 -0
- package/templates/.claude/skills/springboot-best-practices/SKILL.md +74 -0
- package/templates/.claude/skills/springboot-best-practices/examples/config-properties-example.java +22 -0
- package/templates/.claude/skills/springboot-best-practices/examples/controller-example.java +28 -0
- package/templates/.claude/skills/springboot-best-practices/examples/controller-test-example.java +33 -0
- package/templates/.claude/skills/springboot-best-practices/examples/entity-example.java +22 -0
- package/templates/.claude/skills/springboot-best-practices/examples/exception-handler-example.java +30 -0
- package/templates/.claude/skills/springboot-best-practices/examples/repository-example.java +17 -0
- package/templates/.claude/skills/springboot-best-practices/examples/repository-test-example.java +23 -0
- package/templates/.claude/skills/springboot-best-practices/examples/security-config-example.java +27 -0
- package/templates/.claude/skills/springboot-best-practices/examples/service-example.java +33 -0
- package/templates/.claude/skills/status/SKILL.md +155 -0
- package/templates/.claude/skills/structured-dev-cycle/SKILL.md +200 -0
- package/templates/.claude/skills/stuck-recovery/SKILL.md +80 -0
- package/templates/.claude/skills/supabase-postgres-best-practices/SKILL.md +100 -0
- package/templates/.claude/skills/systematic-debugging/SKILL.md +288 -0
- package/templates/.claude/skills/systematic-debugging/condition-based-waiting-example.ts +278 -0
- package/templates/.claude/skills/systematic-debugging/condition-based-waiting.md +240 -0
- package/templates/.claude/skills/systematic-debugging/defense-in-depth.md +252 -0
- package/templates/.claude/skills/systematic-debugging/find-polluter.sh +147 -0
- package/templates/.claude/skills/systematic-debugging/root-cause-tracing.md +87 -0
- package/templates/.claude/skills/task-decomposition/SKILL.md +197 -0
- package/templates/.claude/skills/typescript-best-practices/SKILL.md +322 -0
- package/templates/.claude/skills/update-docs/SKILL.md +142 -0
- package/templates/.claude/skills/update-external/SKILL.md +169 -0
- package/templates/.claude/skills/vercel-deploy/SKILL.md +75 -0
- package/templates/.claude/skills/web-design-guidelines/SKILL.md +119 -0
- package/templates/.claude/skills/wiki/SKILL.md +426 -0
- package/templates/.claude/skills/wiki-rag/SKILL.md +154 -0
- package/templates/.claude/skills/worker-reviewer-pipeline/SKILL.md +165 -0
- package/templates/.claude/skills/writing-clearly-and-concisely/SKILL.md +66 -0
- package/templates/.claude/statusline.sh +380 -0
- package/templates/.claude/uninstall-hooks.sh +52 -0
- package/templates/.github/workflows/wiki-sync.yml +132 -0
- package/templates/AGENTS.md.en +255 -0
- package/templates/AGENTS.md.ko +255 -0
- package/templates/CLAUDE.md +263 -0
- package/templates/CLAUDE.md.en +256 -0
- package/templates/CLAUDE.md.ko +256 -0
- package/templates/deprecated-files.json +10 -0
- package/templates/guides/agents-md-quality/README.md +110 -0
- package/templates/guides/airflow/README.md +47 -0
- package/templates/guides/alembic/README.md +438 -0
- package/templates/guides/aws/common-patterns.md +169 -0
- package/templates/guides/aws/index.yaml +26 -0
- package/templates/guides/aws/well-architected.md +143 -0
- package/templates/guides/cc-token-saver/README.md +97 -0
- package/templates/guides/claude-code/01-overview.md +42 -0
- package/templates/guides/claude-code/03-tools.md +107 -0
- package/templates/guides/claude-code/04-agent-skills.md +90 -0
- package/templates/guides/claude-code/05-agent-sdk.md +129 -0
- package/templates/guides/claude-code/06-mcp.md +165 -0
- package/templates/guides/claude-code/07-prompt-engineering.md +100 -0
- package/templates/guides/claude-code/08-testing.md +56 -0
- package/templates/guides/claude-code/09-guardrails.md +78 -0
- package/templates/guides/claude-code/10-monitoring.md +87 -0
- package/templates/guides/claude-code/11-sub-agents.md +159 -0
- package/templates/guides/claude-code/12-workflow-patterns.md +182 -0
- package/templates/guides/claude-code/13-cli-flags.md +151 -0
- package/templates/guides/claude-code/index.yaml +61 -0
- package/templates/guides/dbt/README.md +32 -0
- package/templates/guides/django-best-practices/README.md +476 -0
- package/templates/guides/docker/compose-best-practices.md +284 -0
- package/templates/guides/docker/dockerfile-best-practices.md +262 -0
- package/templates/guides/docker/index.yaml +26 -0
- package/templates/guides/drizzle-orm/README.md +69 -0
- package/templates/guides/elements-of-style/elements-of-style.html +2609 -0
- package/templates/guides/fastapi/best-practices.md +232 -0
- package/templates/guides/fastapi/index.yaml +21 -0
- package/templates/guides/flutter/architecture.md +141 -0
- package/templates/guides/flutter/fundamentals.md +119 -0
- package/templates/guides/flutter/index.yaml +44 -0
- package/templates/guides/flutter/performance.md +119 -0
- package/templates/guides/flutter/security.md +120 -0
- package/templates/guides/flutter/state-management.md +144 -0
- package/templates/guides/flutter/testing.md +155 -0
- package/templates/guides/git-worktree-workflow/README.md +138 -0
- package/templates/guides/go-backend/index.yaml +26 -0
- package/templates/guides/go-backend/project-layout.md +243 -0
- package/templates/guides/go-backend/uber-style.md +212 -0
- package/templates/guides/golang/concurrency.md +282 -0
- package/templates/guides/golang/effective-go.md +309 -0
- package/templates/guides/golang/error-handling.md +250 -0
- package/templates/guides/golang/index.yaml +27 -0
- package/templates/guides/hook-data-flow/README.md +135 -0
- package/templates/guides/iceberg/README.md +49 -0
- package/templates/guides/impeccable-design/color-and-contrast.md +278 -0
- package/templates/guides/impeccable-design/index.yaml +12 -0
- package/templates/guides/impeccable-design/motion-design.md +390 -0
- package/templates/guides/impeccable-design/typography.md +386 -0
- package/templates/guides/impeccable-design/ux-writing.md +400 -0
- package/templates/guides/index.yaml +265 -0
- package/templates/guides/java21/index.yaml +29 -0
- package/templates/guides/java21/java-style-guide.md +248 -0
- package/templates/guides/java21/modern-java21.md +303 -0
- package/templates/guides/kafka/README.md +32 -0
- package/templates/guides/kotlin/coding-conventions.md +247 -0
- package/templates/guides/kotlin/idioms.md +234 -0
- package/templates/guides/kotlin/index.yaml +26 -0
- package/templates/guides/multi-model-routing/README.md +101 -0
- package/templates/guides/multi-provider-exec/README.md +83 -0
- package/templates/guides/postgres/README.md +58 -0
- package/templates/guides/python/index.yaml +26 -0
- package/templates/guides/python/pep8-style-guide.md +202 -0
- package/templates/guides/python/zen-of-python.md +79 -0
- package/templates/guides/redis/README.md +50 -0
- package/templates/guides/rust/error-handling.md +262 -0
- package/templates/guides/rust/index.yaml +26 -0
- package/templates/guides/rust/ownership.md +180 -0
- package/templates/guides/skill-bundle-design/README.md +106 -0
- package/templates/guides/slack-cli/README.md +145 -0
- package/templates/guides/snowflake/README.md +32 -0
- package/templates/guides/spark/README.md +32 -0
- package/templates/guides/springboot/best-practices.md +361 -0
- package/templates/guides/springboot/index.yaml +22 -0
- package/templates/guides/supabase-postgres/README.md +32 -0
- package/templates/guides/supabase-postgres/index.yaml +19 -0
- package/templates/guides/typescript/advanced-types.md +225 -0
- package/templates/guides/typescript/index.yaml +26 -0
- package/templates/guides/typescript/type-system.md +219 -0
- package/templates/guides/web-design/accessibility.md +66 -0
- package/templates/guides/web-design/index.yaml +20 -0
- package/templates/guides/web-design/performance.md +102 -0
- package/templates/guides/web-scraping/README.md +926 -0
- package/templates/guides/web-scraping/index.yaml +19 -0
- package/templates/guides/worktree-lifecycle/README.md +104 -0
- package/templates/index.yaml +18 -0
- package/templates/manifest.json +49 -0
- package/templates/workflows/auto-dev.yaml +46 -0
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: dag-orchestration
|
|
3
|
+
description: YAML-based DAG workflow engine with topological execution and failure strategies
|
|
4
|
+
scope: core
|
|
5
|
+
context: fork
|
|
6
|
+
user-invocable: false
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# DAG Orchestration Skill
|
|
10
|
+
|
|
11
|
+
Defines and executes directed acyclic graph (DAG) workflows. The orchestrator uses this skill to plan multi-step tasks with dependencies, execute them in topologically-sorted order, and handle failures.
|
|
12
|
+
|
|
13
|
+
**Orchestrator-only** — only the main conversation uses this skill (R010). Subagents execute individual nodes.
|
|
14
|
+
|
|
15
|
+
## Workflow Spec Format
|
|
16
|
+
|
|
17
|
+
```yaml
|
|
18
|
+
# .codex/workflows/<name>.yaml or inline in conversation
|
|
19
|
+
workflow:
|
|
20
|
+
name: feature-implementation
|
|
21
|
+
description: Implement a new feature with tests and docs
|
|
22
|
+
|
|
23
|
+
nodes:
|
|
24
|
+
- id: analyze
|
|
25
|
+
agent: Explore
|
|
26
|
+
model: haiku
|
|
27
|
+
prompt: "Analyze codebase for integration points"
|
|
28
|
+
|
|
29
|
+
- id: implement
|
|
30
|
+
agent: lang-typescript-expert
|
|
31
|
+
model: sonnet
|
|
32
|
+
prompt: "Implement the feature"
|
|
33
|
+
depends_on: [analyze]
|
|
34
|
+
|
|
35
|
+
- id: test
|
|
36
|
+
agent: qa-engineer
|
|
37
|
+
model: sonnet
|
|
38
|
+
prompt: "Write and run tests"
|
|
39
|
+
depends_on: [implement]
|
|
40
|
+
|
|
41
|
+
- id: review
|
|
42
|
+
agent: lang-typescript-expert
|
|
43
|
+
model: opus
|
|
44
|
+
prompt: "Code review"
|
|
45
|
+
depends_on: [implement]
|
|
46
|
+
|
|
47
|
+
- id: docs
|
|
48
|
+
agent: arch-documenter
|
|
49
|
+
model: sonnet
|
|
50
|
+
prompt: "Update documentation"
|
|
51
|
+
depends_on: [implement]
|
|
52
|
+
|
|
53
|
+
- id: commit
|
|
54
|
+
agent: mgr-gitnerd
|
|
55
|
+
model: sonnet
|
|
56
|
+
prompt: "Commit changes"
|
|
57
|
+
depends_on: [test, review, docs]
|
|
58
|
+
|
|
59
|
+
config:
|
|
60
|
+
max_parallel: 4 # R009 limit
|
|
61
|
+
failure_strategy: stop # stop | skip | retry
|
|
62
|
+
retry_count: 2 # Max retries per node (if strategy=retry)
|
|
63
|
+
timeout_per_node: 300 # Seconds per node (0 = no limit)
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Execution Algorithm — Kahn's Topological Sort
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
1. Parse workflow YAML
|
|
70
|
+
2. Build adjacency list and in-degree map
|
|
71
|
+
3. Validate: detect cycles (error if found)
|
|
72
|
+
4. Initialize queue with nodes where in-degree = 0
|
|
73
|
+
5. While queue is not empty:
|
|
74
|
+
a. Dequeue up to max_parallel nodes
|
|
75
|
+
b. Execute nodes in parallel via Task tool (R009)
|
|
76
|
+
c. On completion:
|
|
77
|
+
- Success → decrement in-degree of dependents
|
|
78
|
+
- Failure → apply failure_strategy
|
|
79
|
+
d. Enqueue newly-ready nodes (in-degree = 0)
|
|
80
|
+
6. Verify all nodes executed (detect unreachable nodes)
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Execution Rules
|
|
84
|
+
|
|
85
|
+
| Rule | Detail |
|
|
86
|
+
|------|--------|
|
|
87
|
+
| Max parallel | 4 concurrent nodes (R009) |
|
|
88
|
+
| Agent Teams gate | 3+ parallel nodes → check R018 eligibility |
|
|
89
|
+
| Orchestrator only | DAG scheduling runs in main conversation (R010) |
|
|
90
|
+
| Node execution | Each node = one Task tool call to specified agent |
|
|
91
|
+
| State tracking | `/tmp/.codex-dag-$PPID.json` |
|
|
92
|
+
|
|
93
|
+
## Failure Strategies
|
|
94
|
+
|
|
95
|
+
| Strategy | Behavior |
|
|
96
|
+
|----------|----------|
|
|
97
|
+
| `stop` | Halt entire DAG on first failure (default) |
|
|
98
|
+
| `skip` | Mark failed node as skipped, continue dependents with warning |
|
|
99
|
+
| `retry` | Retry failed node up to `retry_count` times, then stop |
|
|
100
|
+
|
|
101
|
+
## State File Format
|
|
102
|
+
|
|
103
|
+
```json
|
|
104
|
+
{
|
|
105
|
+
"workflow": "feature-implementation",
|
|
106
|
+
"started_at": "2026-03-07T10:00:00Z",
|
|
107
|
+
"status": "running",
|
|
108
|
+
"nodes": {
|
|
109
|
+
"analyze": {"status": "completed", "started": "...", "completed": "..."},
|
|
110
|
+
"implement": {"status": "running", "started": "..."},
|
|
111
|
+
"test": {"status": "pending"},
|
|
112
|
+
"review": {"status": "pending"},
|
|
113
|
+
"docs": {"status": "pending"},
|
|
114
|
+
"commit": {"status": "blocked", "blocked_by": ["test", "review", "docs"]}
|
|
115
|
+
},
|
|
116
|
+
"execution_order": [["analyze"], ["implement"], ["test", "review", "docs"], ["commit"]]
|
|
117
|
+
}
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
## Display Format
|
|
121
|
+
|
|
122
|
+
```
|
|
123
|
+
[DAG] feature-implementation — 6 nodes
|
|
124
|
+
[Layer 0] analyze ← running
|
|
125
|
+
[Layer 1] implement ← pending (depends: analyze)
|
|
126
|
+
[Layer 2] test, review, docs ← pending (parallel, depends: implement)
|
|
127
|
+
[Layer 3] commit ← blocked (depends: test, review, docs)
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
Progress:
|
|
131
|
+
```
|
|
132
|
+
[DAG Progress] 3/6 nodes completed
|
|
133
|
+
✓ analyze (12s)
|
|
134
|
+
✓ implement (45s)
|
|
135
|
+
→ test (running)
|
|
136
|
+
→ review (running)
|
|
137
|
+
→ docs (running)
|
|
138
|
+
○ commit (blocked)
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
## Common Workflow Templates
|
|
142
|
+
|
|
143
|
+
### Feature Implementation
|
|
144
|
+
```yaml
|
|
145
|
+
nodes: [analyze → implement → [test, review, docs] → commit]
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
### Code Review + Fix
|
|
149
|
+
```yaml
|
|
150
|
+
nodes: [review → fix → re-review → commit]
|
|
151
|
+
failure_strategy: retry
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
### Multi-Language Project
|
|
155
|
+
```yaml
|
|
156
|
+
nodes: [
|
|
157
|
+
analyze → [impl-frontend, impl-backend, impl-db] → integration-test → commit
|
|
158
|
+
]
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
### Refactoring
|
|
162
|
+
```yaml
|
|
163
|
+
nodes: [
|
|
164
|
+
analyze → plan → [refactor-1, refactor-2, refactor-3] → test → review → commit
|
|
165
|
+
]
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
## Integration
|
|
169
|
+
|
|
170
|
+
| Rule | Integration |
|
|
171
|
+
|------|-------------|
|
|
172
|
+
| R009 | Max 4 parallel nodes; independent nodes MUST parallelize |
|
|
173
|
+
| R010 | DAG scheduler runs only in orchestrator |
|
|
174
|
+
| R015 | Display DAG plan before execution |
|
|
175
|
+
| R018 | 3+ parallel nodes → check Agent Teams eligibility |
|
|
176
|
+
| model-escalation | Node failures feed into task-outcome-recorder |
|
|
177
|
+
| stuck-recovery | Repeated node failures trigger stuck detection |
|
|
178
|
+
|
|
179
|
+
## Inline DAG
|
|
180
|
+
|
|
181
|
+
For ad-hoc workflows without a YAML file:
|
|
182
|
+
|
|
183
|
+
```
|
|
184
|
+
[DAG Plan]
|
|
185
|
+
1. analyze (Explore:haiku)
|
|
186
|
+
2. implement (lang-typescript-expert:sonnet) ← depends: 1
|
|
187
|
+
3. test (qa-engineer:sonnet) ← depends: 2
|
|
188
|
+
4. review (lang-typescript-expert:opus) ← depends: 2
|
|
189
|
+
5. commit (mgr-gitnerd:sonnet) ← depends: 3, 4
|
|
190
|
+
|
|
191
|
+
Execute? [Y/n]
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
The orchestrator builds the DAG from this inline format and executes using the same algorithm.
|
|
195
|
+
|
|
196
|
+
## Limitations
|
|
197
|
+
|
|
198
|
+
- No cycles allowed (DAG = acyclic)
|
|
199
|
+
- Max 20 nodes per workflow (complexity guard)
|
|
200
|
+
- Nested DAGs not supported (flatten instead)
|
|
201
|
+
- Cross-workflow dependencies not supported
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: dbt-best-practices
|
|
3
|
+
description: dbt best practices for SQL modeling, testing, and analytics engineering workflows
|
|
4
|
+
scope: core
|
|
5
|
+
user-invocable: false
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# dbt Best Practices
|
|
9
|
+
|
|
10
|
+
## Project Structure
|
|
11
|
+
|
|
12
|
+
### Layer Organization (CRITICAL)
|
|
13
|
+
- **Staging**: 1:1 with source tables (`stg_{source}__{entity}`)
|
|
14
|
+
- **Intermediate**: Business logic composition (`int_{entity}_{verb}`)
|
|
15
|
+
- **Marts**: Final consumption models (`fct_{entity}`, `dim_{entity}`)
|
|
16
|
+
|
|
17
|
+
### Materialization Strategy
|
|
18
|
+
- Staging: `view` (lightweight, always fresh)
|
|
19
|
+
- Intermediate: `ephemeral` or `view`
|
|
20
|
+
- Marts: `table` or `incremental`
|
|
21
|
+
|
|
22
|
+
## Modeling Patterns
|
|
23
|
+
|
|
24
|
+
### Naming Conventions
|
|
25
|
+
- Staging: `stg_source__table`
|
|
26
|
+
- Intermediate: `int_entity_verb`
|
|
27
|
+
- Facts: `fct_entity`
|
|
28
|
+
- Dimensions: `dim_entity`
|
|
29
|
+
|
|
30
|
+
### Incremental Models
|
|
31
|
+
- Use `is_incremental()` macro
|
|
32
|
+
- Define `unique_key` for merge strategy
|
|
33
|
+
- Choose strategy: append, merge, delete+insert
|
|
34
|
+
|
|
35
|
+
## Testing
|
|
36
|
+
|
|
37
|
+
### Schema Tests
|
|
38
|
+
- `unique`, `not_null` for primary keys
|
|
39
|
+
- `relationships` for foreign keys
|
|
40
|
+
- `accepted_values` for enums
|
|
41
|
+
- Custom data tests
|
|
42
|
+
|
|
43
|
+
### Source Freshness
|
|
44
|
+
- Configure `loaded_at_field`
|
|
45
|
+
- Set freshness thresholds
|
|
46
|
+
|
|
47
|
+
## Documentation
|
|
48
|
+
|
|
49
|
+
- Add descriptions to models
|
|
50
|
+
- Document column definitions
|
|
51
|
+
- Use `doc` blocks for reusable text
|
|
52
|
+
- Generate and host dbt docs
|
|
53
|
+
|
|
54
|
+
## References
|
|
55
|
+
- [dbt Best Practices](https://docs.getdbt.com/guides/best-practices)
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: de-lead-routing
|
|
3
|
+
description: Routes data engineering tasks to the correct DE expert agent. Use when user requests data pipeline design, DAG authoring, SQL modeling, stream processing, or warehouse optimization.
|
|
4
|
+
scope: core
|
|
5
|
+
user-invocable: false
|
|
6
|
+
context: fork
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# DE Lead Routing Skill
|
|
10
|
+
|
|
11
|
+
## Purpose
|
|
12
|
+
|
|
13
|
+
Routes data engineering tasks to appropriate DE expert agents. This skill contains the coordination logic for orchestrating data engineering agents across orchestration, modeling, processing, streaming, and warehouse specializations.
|
|
14
|
+
|
|
15
|
+
## Engineers Under Management
|
|
16
|
+
|
|
17
|
+
| Type | Agents | Purpose |
|
|
18
|
+
|------|--------|---------|
|
|
19
|
+
| de/orchestration | de-airflow-expert | DAG authoring, scheduling, testing |
|
|
20
|
+
| de/modeling | de-dbt-expert | SQL modeling, testing, documentation |
|
|
21
|
+
| de/processing | de-spark-expert | Distributed data processing |
|
|
22
|
+
| de/streaming | de-kafka-expert | Event streaming, topic design |
|
|
23
|
+
| de/warehouse | de-snowflake-expert | Cloud DWH, query optimization |
|
|
24
|
+
| de/architecture | de-pipeline-expert | Pipeline design, cross-tool patterns |
|
|
25
|
+
|
|
26
|
+
## Tool/Framework Detection
|
|
27
|
+
|
|
28
|
+
### Keyword Mapping
|
|
29
|
+
|
|
30
|
+
| Keyword | Agent |
|
|
31
|
+
|---------|-------|
|
|
32
|
+
| "airflow", "dag", "scheduling", "orchestration" | de-airflow-expert |
|
|
33
|
+
| "dbt", "modeling", "sql model", "analytics engineering" | de-dbt-expert |
|
|
34
|
+
| "spark", "pyspark", "distributed processing", "distributed" | de-spark-expert |
|
|
35
|
+
| "kafka", "streaming", "event", "consumer", "producer" | de-kafka-expert |
|
|
36
|
+
| "snowflake", "warehouse", "clustering key" | de-snowflake-expert |
|
|
37
|
+
| "pipeline", "ETL", "ELT", "data quality", "lineage" | de-pipeline-expert |
|
|
38
|
+
| "iceberg", "table format" | de-snowflake-expert or de-pipeline-expert |
|
|
39
|
+
|
|
40
|
+
### File Pattern Mapping
|
|
41
|
+
|
|
42
|
+
| Pattern | Agent |
|
|
43
|
+
|---------|-------|
|
|
44
|
+
| `dags/*.py`, `airflow.cfg`, `airflow_settings.yaml` | de-airflow-expert |
|
|
45
|
+
| `models/**/*.sql`, `dbt_project.yml`, `schema.yml` | de-dbt-expert |
|
|
46
|
+
| Spark job files, `spark-submit` configs | de-spark-expert |
|
|
47
|
+
| Kafka configs, `*.properties` (Kafka), `streams/*.java` | de-kafka-expert |
|
|
48
|
+
| Snowflake SQL, warehouse DDL | de-snowflake-expert |
|
|
49
|
+
|
|
50
|
+
## Routing Decision (Priority Order)
|
|
51
|
+
|
|
52
|
+
Before routing via Agent tool, evaluate in this order:
|
|
53
|
+
|
|
54
|
+
### Step 1: Agent Teams Eligibility (R018)
|
|
55
|
+
Check if Agent Teams is available (`OMCODEX_AGENT_TEAMS=1` or TeamCreate/SendMessage tools present).
|
|
56
|
+
|
|
57
|
+
| Scenario | Preferred |
|
|
58
|
+
|----------|-----------|
|
|
59
|
+
| Single-tool DE task | Agent Tool |
|
|
60
|
+
| Multi-tool pipeline design (3+ tools) | Agent Teams |
|
|
61
|
+
| Cross-tool data quality analysis | Agent Teams |
|
|
62
|
+
| Quick DAG/model validation | Agent Tool |
|
|
63
|
+
|
|
64
|
+
### Step 2: Codex-Exec Hybrid (Code Generation)
|
|
65
|
+
For **new pipeline code**, **DAG scaffolding**, or **SQL model generation**:
|
|
66
|
+
|
|
67
|
+
1. Check `/tmp/.codex-env-status-*` for codex, gemini, and rtk availability
|
|
68
|
+
2. If codex available AND task involves new file creation → automatically delegate to `/codex-exec` for scaffolding:
|
|
69
|
+
- Display: `[Codex Hybrid] Delegating to codex-exec...`
|
|
70
|
+
- codex-exec generates initial code (strength: fast generation)
|
|
71
|
+
- Selected DE expert reviews and refines codex output (strength: reasoning, quality)
|
|
72
|
+
3. If codex unavailable but gemini available → delegate to `/gemini-exec` for scaffolding:
|
|
73
|
+
- Display: `[Gemini Hybrid] Delegating to gemini-exec...`
|
|
74
|
+
- gemini-exec generates initial code
|
|
75
|
+
- Selected DE expert reviews and refines output
|
|
76
|
+
4. If RTK available (`RTK=available` in env status) → optionally wrap DE expert output through RTK to reduce token consumption by 60-90%:
|
|
77
|
+
- Display: `[RTK Proxy] Token optimization active via rtk-exec`
|
|
78
|
+
- RTK acts as a transparent proxy — no change to expert selection
|
|
79
|
+
5. If none available → display `[External CLI] Unavailable — proceeding with {expert} directly` and use DE expert directly
|
|
80
|
+
|
|
81
|
+
**Suitable**: New DAG files, dbt model scaffolding, SQL template generation
|
|
82
|
+
**Unsuitable**: Existing pipeline modification, architecture decisions, data quality analysis
|
|
83
|
+
|
|
84
|
+
### Step 3: Expert Selection
|
|
85
|
+
Route to appropriate DE expert based on tool/framework detection.
|
|
86
|
+
|
|
87
|
+
> **Permission Mode**: When spawning agents, pass `mode: "bypassPermissions"` in the Agent tool call if the session uses bypassPermissions. Without explicit mode, CC defaults to `acceptEdits`.
|
|
88
|
+
|
|
89
|
+
### Step 4: Ontology-RAG Enrichment (R019)
|
|
90
|
+
|
|
91
|
+
If `get_agent_for_task` MCP tool is available, call it with the original query and inject `suggested_skills` into the agent prompt. Skip silently on failure.
|
|
92
|
+
|
|
93
|
+
### Step 5: Soul Injection (R006)
|
|
94
|
+
|
|
95
|
+
If the selected agent has `soul: true` in frontmatter, read and prepend `.codex/agents/souls/{agent-name}.soul.md` content to the prompt. Skip silently if file doesn't exist.
|
|
96
|
+
|
|
97
|
+
## Command Routing
|
|
98
|
+
|
|
99
|
+
```
|
|
100
|
+
DE Request → Detection → Expert Agent
|
|
101
|
+
|
|
102
|
+
Airflow DAG → de-airflow-expert
|
|
103
|
+
dbt model → de-dbt-expert
|
|
104
|
+
Spark job → de-spark-expert
|
|
105
|
+
Kafka topic → de-kafka-expert
|
|
106
|
+
Snowflake → de-snowflake-expert
|
|
107
|
+
Pipeline → de-pipeline-expert
|
|
108
|
+
Multi-tool → Multiple experts (parallel)
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
## Routing Rules
|
|
112
|
+
|
|
113
|
+
### 1. Pipeline Development Workflow
|
|
114
|
+
|
|
115
|
+
```
|
|
116
|
+
1. Receive pipeline task request
|
|
117
|
+
2. Identify tools and components:
|
|
118
|
+
- DAG orchestration → de-airflow-expert
|
|
119
|
+
- SQL transformations → de-dbt-expert
|
|
120
|
+
- Distributed processing → de-spark-expert
|
|
121
|
+
- Event streaming → de-kafka-expert
|
|
122
|
+
- Warehouse operations → de-snowflake-expert
|
|
123
|
+
- Architecture decisions → de-pipeline-expert
|
|
124
|
+
3. Select appropriate experts
|
|
125
|
+
4. Distribute tasks (parallel if 2+ tools)
|
|
126
|
+
5. Aggregate results
|
|
127
|
+
6. Present unified report
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
Example:
|
|
131
|
+
```
|
|
132
|
+
User: "Design a pipeline that runs dbt models from Airflow and loads into Snowflake"
|
|
133
|
+
|
|
134
|
+
Detection:
|
|
135
|
+
- Airflow DAG → de-airflow-expert
|
|
136
|
+
- dbt model → de-dbt-expert
|
|
137
|
+
- Snowflake loading → de-snowflake-expert
|
|
138
|
+
- Pipeline architecture → de-pipeline-expert
|
|
139
|
+
|
|
140
|
+
Route (parallel where independent):
|
|
141
|
+
Agent(de-pipeline-expert → overall architecture design)
|
|
142
|
+
Agent(de-airflow-expert → DAG structure)
|
|
143
|
+
Agent(de-dbt-expert → model design)
|
|
144
|
+
Agent(de-snowflake-expert → warehouse setup)
|
|
145
|
+
|
|
146
|
+
Aggregate:
|
|
147
|
+
Pipeline architecture defined
|
|
148
|
+
Airflow DAG: 5 tasks designed
|
|
149
|
+
dbt: 12 models structured
|
|
150
|
+
Snowflake: warehouse + schema configured
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### 2. Data Quality Workflow
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
1. Analyze data quality requirements
|
|
157
|
+
2. Route to appropriate experts:
|
|
158
|
+
- dbt tests → de-dbt-expert
|
|
159
|
+
- Pipeline validation → de-pipeline-expert
|
|
160
|
+
- Source freshness → de-airflow-expert
|
|
161
|
+
3. Coordinate cross-tool quality strategy
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### 3. Multi-Tool Projects
|
|
165
|
+
|
|
166
|
+
For projects spanning multiple DE tools:
|
|
167
|
+
|
|
168
|
+
```
|
|
169
|
+
1. Detect all DE tools in project
|
|
170
|
+
2. Identify primary tool (most files/configs)
|
|
171
|
+
3. Route to appropriate experts:
|
|
172
|
+
- If task spans multiple tools → parallel experts
|
|
173
|
+
- If task is tool-specific → single expert
|
|
174
|
+
4. Coordinate cross-tool consistency
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
## Sub-agent Model Selection
|
|
178
|
+
|
|
179
|
+
### Model Mapping by Task Type
|
|
180
|
+
|
|
181
|
+
| Task Type | Recommended Model | Reason |
|
|
182
|
+
|-----------|-------------------|--------|
|
|
183
|
+
| Pipeline architecture | `opus` | Deep reasoning required |
|
|
184
|
+
| DAG/model review | `sonnet` | Balanced quality judgment |
|
|
185
|
+
| Implementation | `sonnet` | Standard code generation |
|
|
186
|
+
| Quick validation | `haiku` | Fast response |
|
|
187
|
+
|
|
188
|
+
### Model Mapping by Agent
|
|
189
|
+
|
|
190
|
+
| Agent | Default Model | Alternative |
|
|
191
|
+
|-------|---------------|-------------|
|
|
192
|
+
| de-pipeline-expert | `sonnet` | `opus` for architecture |
|
|
193
|
+
| de-airflow-expert | `sonnet` | `haiku` for DAG validation |
|
|
194
|
+
| de-dbt-expert | `sonnet` | `haiku` for test checks |
|
|
195
|
+
| de-spark-expert | `sonnet` | `opus` for optimization |
|
|
196
|
+
| de-kafka-expert | `sonnet` | `opus` for topology design |
|
|
197
|
+
| de-snowflake-expert | `sonnet` | `opus` for warehouse design |
|
|
198
|
+
|
|
199
|
+
## No Match Fallback
|
|
200
|
+
|
|
201
|
+
When a data engineering tool is detected but no matching agent exists:
|
|
202
|
+
|
|
203
|
+
```
|
|
204
|
+
User Input → No matching DE agent
|
|
205
|
+
↓
|
|
206
|
+
Detect: DE tool keyword or config file pattern
|
|
207
|
+
↓
|
|
208
|
+
Delegate to mgr-creator with context:
|
|
209
|
+
domain: detected DE tool
|
|
210
|
+
type: de-engineer
|
|
211
|
+
keywords: extracted tool names
|
|
212
|
+
file_patterns: detected config patterns
|
|
213
|
+
skills: auto-discover from .codex/skills/
|
|
214
|
+
guides: auto-discover from templates/guides/
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
**Examples of dynamic creation triggers:**
|
|
218
|
+
- New data tools (e.g., "Dagster DAG 만들어줘", "Flink 스트리밍 설정해줘")
|
|
219
|
+
- Unfamiliar data formats or connectors
|
|
220
|
+
- Data tool detected in project but no specialist agent
|
|
221
|
+
|
|
222
|
+
## Usage
|
|
223
|
+
|
|
224
|
+
This skill is NOT user-invocable. It should be automatically triggered when the main conversation detects data engineering intent.
|
|
225
|
+
|
|
226
|
+
Detection criteria:
|
|
227
|
+
- User requests pipeline design or data engineering
|
|
228
|
+
- User mentions DE tool names (Airflow, dbt, Spark, Kafka, Snowflake)
|
|
229
|
+
- User provides DE-related file paths (dags/, models/, etc.)
|
|
230
|
+
- User requests data quality or lineage work
|