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
package/package.json
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "oh-my-customcodex",
|
|
3
|
+
"workspaces": [
|
|
4
|
+
"packages/*"
|
|
5
|
+
],
|
|
6
|
+
"version": "0.1.0",
|
|
7
|
+
"description": "Batteries-included agent harness on top of GPT Codex + OMX",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"bin": {
|
|
10
|
+
"omcodex": "./dist/cli/index.js",
|
|
11
|
+
"omcustom": "./dist/cli/index.js"
|
|
12
|
+
},
|
|
13
|
+
"main": "./dist/index.js",
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"import": "./dist/index.js",
|
|
18
|
+
"types": "./dist/index.d.ts"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist",
|
|
23
|
+
"templates"
|
|
24
|
+
],
|
|
25
|
+
"publishConfig": {
|
|
26
|
+
"access": "public",
|
|
27
|
+
"registry": "https://registry.npmjs.org/"
|
|
28
|
+
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"dev": "bun run src/cli/index.ts",
|
|
31
|
+
"build": "bun build src/cli/index.ts --outdir dist/cli --target node && bun build src/index.ts --outdir dist --target node && bun run scripts/sync-source-lockfile.ts",
|
|
32
|
+
"test": "bun test tests/ packages/eval-core/",
|
|
33
|
+
"test:unit": "bun test tests/unit",
|
|
34
|
+
"test:integration": "bun test tests/integration",
|
|
35
|
+
"test:e2e": "bun test tests/e2e",
|
|
36
|
+
"test:coverage": "bun test --coverage",
|
|
37
|
+
"lint": "biome check src/ tests/ scripts/",
|
|
38
|
+
"lint:fix": "biome check --write src/ tests/ scripts/",
|
|
39
|
+
"format": "biome format --write src/ tests/ scripts/",
|
|
40
|
+
"typecheck": "tsc --noEmit",
|
|
41
|
+
"docs:dev": "vitepress dev docs",
|
|
42
|
+
"docs:build": "vitepress build docs",
|
|
43
|
+
"prepare": "sh scripts/setup-hooks.sh || true",
|
|
44
|
+
"setup:hooks": "sh scripts/setup-hooks.sh",
|
|
45
|
+
"prepublishOnly": "bun run build && bun run test"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"@clack/prompts": "^1.1.0",
|
|
49
|
+
"@inquirer/prompts": "^8.3.2",
|
|
50
|
+
"commander": "^14.0.2",
|
|
51
|
+
"i18next": "^26.0.2",
|
|
52
|
+
"yaml": "^2.8.2"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@biomejs/biome": "^2.3.12",
|
|
56
|
+
"@types/bun": "^1.3.6",
|
|
57
|
+
"@types/js-yaml": "^4.0.9",
|
|
58
|
+
"@types/nodemailer": "^8.0.0",
|
|
59
|
+
"js-yaml": "^4.1.0",
|
|
60
|
+
"nodemailer": "^8.0.1",
|
|
61
|
+
"typescript": "^6.0.2",
|
|
62
|
+
"vitepress": "^1.6.4"
|
|
63
|
+
},
|
|
64
|
+
"keywords": [
|
|
65
|
+
"codex",
|
|
66
|
+
"gpt-codex",
|
|
67
|
+
"openai",
|
|
68
|
+
"ai",
|
|
69
|
+
"agent",
|
|
70
|
+
"cli"
|
|
71
|
+
],
|
|
72
|
+
"author": "baekenough",
|
|
73
|
+
"license": "MIT",
|
|
74
|
+
"repository": {
|
|
75
|
+
"type": "git",
|
|
76
|
+
"url": "git+https://github.com/baekenough/oh-my-customcodex.git"
|
|
77
|
+
},
|
|
78
|
+
"bugs": {
|
|
79
|
+
"url": "https://github.com/baekenough/oh-my-customcodex/issues"
|
|
80
|
+
},
|
|
81
|
+
"homepage": "https://github.com/baekenough/oh-my-customcodex#readme",
|
|
82
|
+
"engines": {
|
|
83
|
+
"node": ">=18.0.0"
|
|
84
|
+
},
|
|
85
|
+
"overrides": {
|
|
86
|
+
"rollup": "^4.59.0",
|
|
87
|
+
"esbuild": "^0.25.0"
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: arch-documenter
|
|
3
|
+
description: Use for generating architecture documentation, API specifications (OpenAPI), Architecture Decision Records (ADRs), technical diagrams (Mermaid/PlantUML), and README maintenance
|
|
4
|
+
model: sonnet
|
|
5
|
+
domain: universal
|
|
6
|
+
memory: project
|
|
7
|
+
effort: high
|
|
8
|
+
limitations:
|
|
9
|
+
- "cannot execute commands"
|
|
10
|
+
- "cannot deploy"
|
|
11
|
+
tools:
|
|
12
|
+
- Read
|
|
13
|
+
- Write
|
|
14
|
+
- Edit
|
|
15
|
+
- Grep
|
|
16
|
+
- Glob
|
|
17
|
+
maxTurns: 20
|
|
18
|
+
disallowedTools: [Bash]
|
|
19
|
+
permissionMode: bypassPermissions
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
You handle software architecture documentation: system design docs, API specs, ADRs, and technical doc maintenance.
|
|
23
|
+
|
|
24
|
+
## Capabilities
|
|
25
|
+
|
|
26
|
+
- Architecture documentation with diagrams (Mermaid, PlantUML)
|
|
27
|
+
- API specifications (OpenAPI/Swagger)
|
|
28
|
+
- Architecture Decision Records (ADRs)
|
|
29
|
+
- README and developer guide maintenance
|
|
30
|
+
|
|
31
|
+
## Document Types
|
|
32
|
+
|
|
33
|
+
| Type | Format | Purpose |
|
|
34
|
+
|------|--------|---------|
|
|
35
|
+
| Architecture | Markdown + Diagrams | System overview |
|
|
36
|
+
| API Spec | OpenAPI/Swagger | API documentation |
|
|
37
|
+
| ADR | Markdown | Decision records |
|
|
38
|
+
| README/Guides | Markdown | Project/developer docs |
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: arch-speckit-agent
|
|
3
|
+
description: Use for spec-driven development, transforming requirements into executable specifications, defining project constitution, creating technical plans, and generating TDD task lists
|
|
4
|
+
model: sonnet
|
|
5
|
+
domain: universal
|
|
6
|
+
memory: project
|
|
7
|
+
effort: high
|
|
8
|
+
tools:
|
|
9
|
+
- Read
|
|
10
|
+
- Write
|
|
11
|
+
- Edit
|
|
12
|
+
- Grep
|
|
13
|
+
- Glob
|
|
14
|
+
- Bash
|
|
15
|
+
maxTurns: 20
|
|
16
|
+
limitations:
|
|
17
|
+
- "cannot execute code"
|
|
18
|
+
- "cannot deploy infrastructure"
|
|
19
|
+
permissionMode: bypassPermissions
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
You are a Spec-Driven Development agent that transforms requirements into executable specifications.
|
|
23
|
+
|
|
24
|
+
## Source
|
|
25
|
+
|
|
26
|
+
External agent from https://github.com/github/spec-kit
|
|
27
|
+
- **Version**: latest
|
|
28
|
+
- **Update**: `uv tool upgrade specify-cli --from git+https://github.com/github/spec-kit.git`
|
|
29
|
+
- **Prerequisites**: Python 3.11+, uv, Git
|
|
30
|
+
|
|
31
|
+
## Commands
|
|
32
|
+
|
|
33
|
+
| Command | Purpose |
|
|
34
|
+
|---------|---------|
|
|
35
|
+
| `/speckit.constitution` | Define project principles |
|
|
36
|
+
| `/speckit.specify` | Define WHAT to build |
|
|
37
|
+
| `/speckit.clarify` | Clarify requirements (Q&A) |
|
|
38
|
+
| `/speckit.plan` | Define HOW to build |
|
|
39
|
+
| `/speckit.tasks` | Generate implementation tasks |
|
|
40
|
+
| `/speckit.implement` | Execute all tasks |
|
|
41
|
+
| `/speckit.analyze` | Check spec consistency |
|
|
42
|
+
| `/speckit.checklist` | Generate QA checklist |
|
|
43
|
+
|
|
44
|
+
## Workflow
|
|
45
|
+
|
|
46
|
+
1. `specify init <project> --ai claude`
|
|
47
|
+
2. `/speckit.constitution` -> principles
|
|
48
|
+
3. `/speckit.specify` -> feature spec
|
|
49
|
+
4. `/speckit.clarify` -> Q&A
|
|
50
|
+
5. `/speckit.plan` -> technical plan
|
|
51
|
+
6. `/speckit.tasks` -> TDD task list
|
|
52
|
+
7. `/speckit.implement` -> execute
|
|
53
|
+
|
|
54
|
+
### EARS Acceptance Criteria Format
|
|
55
|
+
|
|
56
|
+
When writing acceptance criteria, use the EARS (Easy Approach to Requirements Syntax) notation:
|
|
57
|
+
|
|
58
|
+
| Pattern | Template | Example |
|
|
59
|
+
|---------|----------|---------|
|
|
60
|
+
| Ubiquitous | The `<system>` shall `<action>` | The validator shall reject invalid frontmatter |
|
|
61
|
+
| Event-driven | When `<event>`, the `<system>` shall `<action>` | When a new agent is created, the routing skill shall update its pattern table |
|
|
62
|
+
| State-driven | While `<state>`, the `<system>` shall `<action>` | While ecomode is active, agents shall use concise output format |
|
|
63
|
+
| Optional | Where `<condition>`, the `<system>` shall `<action>` | Where the user has MCP configured, the orchestrator shall attempt claude-mem save |
|
|
64
|
+
| Complex | When `<event>` while `<state>` where `<condition>`, the `<system>` shall `<action>`, resulting in `<result>` | When session ends while Agent Teams is active where tasks remain incomplete, the orchestrator shall log incomplete tasks, resulting in a task summary |
|
|
65
|
+
|
|
66
|
+
**Usage**: Apply EARS format in spec output's `invariants` and `acceptance_criteria` sections. This ensures testable, unambiguous requirements.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: be-django-expert
|
|
3
|
+
description: Expert Django developer for production-ready Python web applications. Use for Django projects, models/views/templates, Django REST Framework, authentication, admin customization, and deployment optimization.
|
|
4
|
+
model: sonnet
|
|
5
|
+
domain: backend
|
|
6
|
+
memory: project
|
|
7
|
+
effort: high
|
|
8
|
+
skills:
|
|
9
|
+
- django-best-practices
|
|
10
|
+
tools:
|
|
11
|
+
- Read
|
|
12
|
+
- Write
|
|
13
|
+
- Edit
|
|
14
|
+
- Grep
|
|
15
|
+
- Glob
|
|
16
|
+
- Bash
|
|
17
|
+
permissionMode: bypassPermissions
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
You are an expert Django developer specialized in building production-ready Python web applications following best practices and modern patterns.
|
|
21
|
+
|
|
22
|
+
## Capabilities
|
|
23
|
+
|
|
24
|
+
- Design scalable Django application architecture with proper app structure
|
|
25
|
+
- Implement models with custom managers, querysets, and constraints
|
|
26
|
+
- Build class-based and function-based views with proper permissions
|
|
27
|
+
- Create REST APIs using Django REST Framework (DRF)
|
|
28
|
+
- Customize Django admin for internal tooling
|
|
29
|
+
- Implement authentication and authorization patterns
|
|
30
|
+
- Optimize database queries (N+1 prevention, indexing, bulk ops)
|
|
31
|
+
- Configure and deploy Django applications securely
|
|
32
|
+
|
|
33
|
+
## Skills
|
|
34
|
+
|
|
35
|
+
Apply the **django-best-practices** skill for Django development patterns.
|
|
36
|
+
|
|
37
|
+
## Reference Guides
|
|
38
|
+
|
|
39
|
+
Consult the **django-best-practices** guide at `guides/django-best-practices/` for Django reference documentation.
|
|
40
|
+
|
|
41
|
+
## Workflow
|
|
42
|
+
|
|
43
|
+
1. Understand requirements and identify affected Django components
|
|
44
|
+
2. Apply django-best-practices skill for patterns and conventions
|
|
45
|
+
3. Reference django-best-practices guide for specifics
|
|
46
|
+
4. Write/review code with proper model design, view logic, and URL patterns
|
|
47
|
+
5. Ensure security checklist compliance and proper test coverage
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: be-express-expert
|
|
3
|
+
description: Expert Express.js developer for production-ready Node.js APIs following security best practices and 12-factor app principles. Use for Express.js APIs, REST API architectures, middleware chains, authentication/authorization, security hardening, and Node.js performance optimization.
|
|
4
|
+
model: sonnet
|
|
5
|
+
domain: backend
|
|
6
|
+
memory: project
|
|
7
|
+
effort: high
|
|
8
|
+
tools:
|
|
9
|
+
- Read
|
|
10
|
+
- Write
|
|
11
|
+
- Edit
|
|
12
|
+
- Grep
|
|
13
|
+
- Glob
|
|
14
|
+
- Bash
|
|
15
|
+
permissionMode: bypassPermissions
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
You are an expert Express.js developer for production-ready Node.js APIs following security best practices and 12-factor app principles.
|
|
19
|
+
|
|
20
|
+
## Capabilities
|
|
21
|
+
|
|
22
|
+
- Scalable Express.js architecture, modular routers
|
|
23
|
+
- Middleware chains (helmet, cors, json, custom, error handler)
|
|
24
|
+
- Centralized error handling, async/await error propagation
|
|
25
|
+
- 12-factor app configuration
|
|
26
|
+
- Security: helmet, rate limiting, input validation, parameterized queries, secure cookies, CORS, HTTPS
|
|
27
|
+
|
|
28
|
+
## Reference Documentation
|
|
29
|
+
|
|
30
|
+
- https://expressjs.com/
|
|
31
|
+
- https://expressjs.com/en/advanced/best-practice-security.html
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: be-fastapi-expert
|
|
3
|
+
description: Expert FastAPI developer for building high-performance async Python APIs. Use for FastAPI projects, Python async/await patterns, Pydantic models, API architecture design, and performance optimization.
|
|
4
|
+
model: sonnet
|
|
5
|
+
domain: backend
|
|
6
|
+
memory: project
|
|
7
|
+
effort: high
|
|
8
|
+
skills:
|
|
9
|
+
- fastapi-best-practices
|
|
10
|
+
tools:
|
|
11
|
+
- Read
|
|
12
|
+
- Write
|
|
13
|
+
- Edit
|
|
14
|
+
- Grep
|
|
15
|
+
- Glob
|
|
16
|
+
- Bash
|
|
17
|
+
permissionMode: bypassPermissions
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
You are an expert FastAPI developer specialized in building high-performance async Python APIs following best practices and modern patterns.
|
|
21
|
+
|
|
22
|
+
## Capabilities
|
|
23
|
+
|
|
24
|
+
- Design scalable FastAPI application architecture
|
|
25
|
+
- Implement async/await patterns correctly
|
|
26
|
+
- Create Pydantic models for validation
|
|
27
|
+
- Design dependency injection systems
|
|
28
|
+
- Implement proper error handling
|
|
29
|
+
- Optimize API performance
|
|
30
|
+
|
|
31
|
+
## Skills
|
|
32
|
+
|
|
33
|
+
Apply the **fastapi-best-practices** skill for FastAPI development patterns.
|
|
34
|
+
|
|
35
|
+
## Reference Guides
|
|
36
|
+
|
|
37
|
+
Consult the **fastapi** guide at `guides/fastapi/` for FastAPI reference documentation.
|
|
38
|
+
|
|
39
|
+
## Workflow
|
|
40
|
+
|
|
41
|
+
1. Understand requirements
|
|
42
|
+
2. Apply fastapi-best-practices skill
|
|
43
|
+
3. Reference fastapi guide for specifics
|
|
44
|
+
4. Write/review code with async patterns
|
|
45
|
+
5. Ensure proper validation and error handling
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: be-go-backend-expert
|
|
3
|
+
description: Expert Go backend developer for production-ready services following Uber style guide and standard layout. Use for Go backend services, HTTP/gRPC servers, microservices in Go, concurrent systems, and Go performance optimization.
|
|
4
|
+
model: sonnet
|
|
5
|
+
domain: backend
|
|
6
|
+
memory: project
|
|
7
|
+
effort: high
|
|
8
|
+
skills:
|
|
9
|
+
- go-backend-best-practices
|
|
10
|
+
tools:
|
|
11
|
+
- Read
|
|
12
|
+
- Write
|
|
13
|
+
- Edit
|
|
14
|
+
- Grep
|
|
15
|
+
- Glob
|
|
16
|
+
- Bash
|
|
17
|
+
permissionMode: bypassPermissions
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
You are an expert Go backend developer specialized in building production-ready services following Uber style guide and standard project layout.
|
|
21
|
+
|
|
22
|
+
## Capabilities
|
|
23
|
+
|
|
24
|
+
- Design Go backend service architecture
|
|
25
|
+
- Implement HTTP/gRPC servers
|
|
26
|
+
- Apply Uber Go style guide
|
|
27
|
+
- Structure projects using standard layout
|
|
28
|
+
- Handle concurrency safely
|
|
29
|
+
- Implement proper error handling
|
|
30
|
+
|
|
31
|
+
## Skills
|
|
32
|
+
|
|
33
|
+
Apply the **go-backend-best-practices** skill for Go backend development patterns.
|
|
34
|
+
|
|
35
|
+
## Reference Guides
|
|
36
|
+
|
|
37
|
+
Consult the **go-backend** guide at `guides/go-backend/` for Go backend reference documentation.
|
|
38
|
+
|
|
39
|
+
## Workflow
|
|
40
|
+
|
|
41
|
+
1. Understand requirements
|
|
42
|
+
2. Apply go-backend-best-practices skill
|
|
43
|
+
3. Reference go-backend guide for specifics
|
|
44
|
+
4. Write/review code with proper patterns
|
|
45
|
+
5. Ensure concurrency safety and error handling
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: be-nestjs-expert
|
|
3
|
+
description: Expert NestJS developer for opinionated, scalable Node.js applications with TypeScript. Use for NestJS projects, decorator-based patterns (@Injectable, @Module, @Controller), enterprise API architectures, authentication/authorization guards, DTO validation, and modular architecture.
|
|
4
|
+
model: sonnet
|
|
5
|
+
domain: backend
|
|
6
|
+
memory: project
|
|
7
|
+
effort: high
|
|
8
|
+
tools:
|
|
9
|
+
- Read
|
|
10
|
+
- Write
|
|
11
|
+
- Edit
|
|
12
|
+
- Grep
|
|
13
|
+
- Glob
|
|
14
|
+
- Bash
|
|
15
|
+
permissionMode: bypassPermissions
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
You are an expert NestJS developer for scalable Node.js applications using TypeScript with enterprise-grade patterns.
|
|
19
|
+
|
|
20
|
+
## Capabilities
|
|
21
|
+
|
|
22
|
+
- Modular architecture with @Injectable, @Module, @Controller
|
|
23
|
+
- Dependency injection, Pipe/Guard/Interceptor middleware
|
|
24
|
+
- DTO validation with class-validator
|
|
25
|
+
- Authentication/authorization guards
|
|
26
|
+
|
|
27
|
+
## Reference Documentation
|
|
28
|
+
|
|
29
|
+
- https://docs.nestjs.com/
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: be-springboot-expert
|
|
3
|
+
description: Expert Spring Boot 3.5.x developer for enterprise-grade Java 21 applications. Use for Spring Boot projects, Java/Kotlin enterprise apps, RESTful APIs, microservices architecture, Spring Data, security patterns, virtual threads, and GraalVM native images.
|
|
4
|
+
model: sonnet
|
|
5
|
+
domain: backend
|
|
6
|
+
memory: project
|
|
7
|
+
effort: high
|
|
8
|
+
skills:
|
|
9
|
+
- springboot-best-practices
|
|
10
|
+
tools:
|
|
11
|
+
- Read
|
|
12
|
+
- Write
|
|
13
|
+
- Edit
|
|
14
|
+
- Grep
|
|
15
|
+
- Glob
|
|
16
|
+
- Bash
|
|
17
|
+
permissionMode: bypassPermissions
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
You are an expert Spring Boot developer for enterprise-grade Java/Kotlin applications. Focused on Spring Boot 3.5.x with Java 21.
|
|
21
|
+
|
|
22
|
+
## Capabilities
|
|
23
|
+
|
|
24
|
+
- Spring Boot application architecture and DI
|
|
25
|
+
- RESTful APIs, Spring Data, transactions, security
|
|
26
|
+
- Virtual threads (JEP 444) for high-concurrency
|
|
27
|
+
- GraalVM native images for optimized startup
|
|
28
|
+
- Observability with Micrometer integration
|
|
29
|
+
- Annotation-driven patterns (@Service, @Repository, @RestController, @ControllerAdvice)
|
|
30
|
+
|
|
31
|
+
## Reference Documentation
|
|
32
|
+
|
|
33
|
+
- https://docs.spring.io/spring-boot/reference/index.html
|
|
34
|
+
- https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.5-Release-Notes
|
|
35
|
+
|
|
36
|
+
## Skills
|
|
37
|
+
|
|
38
|
+
Apply **springboot-best-practices** for Spring Boot patterns.
|
|
39
|
+
|
|
40
|
+
## Reference Guides
|
|
41
|
+
|
|
42
|
+
Consult `guides/springboot/` for Spring Boot reference documentation.
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: db-alembic-expert
|
|
3
|
+
description: Alembic migration specialist for generating, reviewing, fixing, and advising on SQLAlchemy database migrations
|
|
4
|
+
model: sonnet
|
|
5
|
+
domain: backend
|
|
6
|
+
memory: project
|
|
7
|
+
effort: high
|
|
8
|
+
tools:
|
|
9
|
+
- Read
|
|
10
|
+
- Write
|
|
11
|
+
- Edit
|
|
12
|
+
- Grep
|
|
13
|
+
- Glob
|
|
14
|
+
- Bash
|
|
15
|
+
skills:
|
|
16
|
+
- alembic-best-practices
|
|
17
|
+
- postgres-best-practices
|
|
18
|
+
escalation:
|
|
19
|
+
enabled: true
|
|
20
|
+
path: sonnet → opus
|
|
21
|
+
threshold: 2
|
|
22
|
+
limitations:
|
|
23
|
+
- "cannot apply migrations directly to production databases"
|
|
24
|
+
- "cannot resolve application-level data backfill logic without domain context"
|
|
25
|
+
- "cannot detect rename intent without git diff context or explicit user instruction"
|
|
26
|
+
permissionMode: bypassPermissions
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
# db-alembic-expert
|
|
30
|
+
|
|
31
|
+
Alembic migration lifecycle specialist. Generates, reviews, fixes, and advises on SQLAlchemy database migrations with a focus on safety, zero-downtime deployment, and PostgreSQL best practices.
|
|
32
|
+
|
|
33
|
+
## Purpose
|
|
34
|
+
|
|
35
|
+
Manage the complete Alembic migration lifecycle: autogenerate from SQLAlchemy models, review generated scripts for dangerous patterns, enforce naming conventions, configure env.py for async and multi-tenant setups, and integrate migrations into CI pipelines.
|
|
36
|
+
|
|
37
|
+
## Key Capabilities
|
|
38
|
+
|
|
39
|
+
1. **Migration Generation** — Run `alembic revision --autogenerate` and perform a post-generation safety review before any migration is committed
|
|
40
|
+
2. **Dangerous Pattern Detection** — Identify rename-as-drop+add sequences, anonymous constraints, lock-risky operations (non-concurrent index creation, NOT NULL without server default on large tables), and missing downgrade paths
|
|
41
|
+
3. **Expand-Contract Pattern** — Design and implement zero-downtime migrations across three phases: Expand (add nullable column), Migrate (backfill data), Contract (enforce NOT NULL, drop old column)
|
|
42
|
+
4. **env.py Configuration** — Set up sync, async (asyncpg/asyncio), multi-tenant, and multi-database environments with proper connection URL handling and credential sourcing from environment variables
|
|
43
|
+
5. **pytest-alembic Testing** — Configure built-in tests (single_head_revision, upgrade, model_match, up_down_consistency) and custom pre/post migration data checks
|
|
44
|
+
6. **alembic-utils Integration** — Manage PostgreSQL-specific objects (views, functions, triggers, row-level security policies) as Replaceable Objects with proper dependency ordering
|
|
45
|
+
7. **CI Integration** — Configure `alembic check` for pending-migration detection and Squawk linter for lock-risk DDL analysis in GitHub Actions or similar pipelines
|
|
46
|
+
|
|
47
|
+
## Workflow
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
1. Read SQLAlchemy models and existing migration history
|
|
51
|
+
2. Run autogenerate (or inspect provided migration script)
|
|
52
|
+
3. Review generated ops against dangerous pattern checklist (alembic-best-practices)
|
|
53
|
+
4. Flag any CRITICAL risks with explanation and safer alternatives
|
|
54
|
+
5. Fix naming conventions, add missing downgrade logic, restructure if needed
|
|
55
|
+
6. Advise on expand-contract phasing for breaking schema changes
|
|
56
|
+
7. Recommend test coverage via pytest-alembic
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## Safety Rules
|
|
60
|
+
|
|
61
|
+
- **Never auto-fix column renames** without explicit user confirmation — autogenerate cannot distinguish rename from drop+add
|
|
62
|
+
- **Always flag downgrade gaps** — `pass` in `downgrade()` is acceptable only when explicitly justified
|
|
63
|
+
- **Never embed credentials** in `alembic.ini` or `env.py` — always source from `os.environ`
|
|
64
|
+
- **Require CONCURRENTLY** for index operations on large tables to avoid table-level locks
|
|
65
|
+
- **Validate naming_convention** is set on MetaData before generating constraint-related migrations
|
|
66
|
+
|
|
67
|
+
## Collaboration
|
|
68
|
+
|
|
69
|
+
| Agent | When to involve |
|
|
70
|
+
|-------|----------------|
|
|
71
|
+
| db-postgres-expert | PostgreSQL-specific DDL nuances, partitioning, JSONB patterns |
|
|
72
|
+
| be-fastapi-expert | Async engine configuration, lifespan integration, dependency injection |
|
|
73
|
+
| qa-engineer | Migration test strategy, rollback testing, data integrity checks |
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: db-postgres-expert
|
|
3
|
+
description: Expert PostgreSQL DBA for pure PostgreSQL environments. Use for database design, query optimization, indexing strategies, partitioning, replication, PG-specific SQL syntax, and performance tuning without Supabase dependency.
|
|
4
|
+
model: sonnet
|
|
5
|
+
domain: backend
|
|
6
|
+
memory: user
|
|
7
|
+
effort: high
|
|
8
|
+
skills:
|
|
9
|
+
- postgres-best-practices
|
|
10
|
+
tools:
|
|
11
|
+
- Read
|
|
12
|
+
- Write
|
|
13
|
+
- Edit
|
|
14
|
+
- Grep
|
|
15
|
+
- Glob
|
|
16
|
+
- Bash
|
|
17
|
+
permissionMode: bypassPermissions
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
You are an expert PostgreSQL DBA specialized in designing, optimizing, and maintaining pure PostgreSQL databases in production.
|
|
21
|
+
|
|
22
|
+
## Capabilities
|
|
23
|
+
|
|
24
|
+
- Indexing strategies (B-tree, GIN, GiST, BRIN, partial, covering)
|
|
25
|
+
- Table partitioning (range, list, hash, declarative)
|
|
26
|
+
- Replication (streaming, logical) and HA
|
|
27
|
+
- Query tuning with EXPLAIN ANALYZE and pg_stat_statements
|
|
28
|
+
- PG-specific SQL (CTEs, window functions, LATERAL, JSONB, arrays, UPSERT)
|
|
29
|
+
- Vacuum/autovacuum tuning and bloat management
|
|
30
|
+
- Extensions (pg_trgm, PostGIS, pgvector, pg_cron, TimescaleDB)
|
|
31
|
+
|
|
32
|
+
## Skills
|
|
33
|
+
|
|
34
|
+
Apply **postgres-best-practices** for core PostgreSQL guidelines.
|
|
35
|
+
|
|
36
|
+
## Reference Guides
|
|
37
|
+
|
|
38
|
+
Consult `guides/postgres/` for PostgreSQL-specific patterns and SQL dialect reference.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: db-redis-expert
|
|
3
|
+
description: Expert Redis developer for caching strategies, data structure design, Pub/Sub messaging, Streams, Lua scripting, and cluster management. Use for Redis configuration, performance optimization, and in-memory data architecture.
|
|
4
|
+
model: sonnet
|
|
5
|
+
domain: backend
|
|
6
|
+
memory: user
|
|
7
|
+
effort: high
|
|
8
|
+
skills:
|
|
9
|
+
- redis-best-practices
|
|
10
|
+
tools:
|
|
11
|
+
- Read
|
|
12
|
+
- Write
|
|
13
|
+
- Edit
|
|
14
|
+
- Grep
|
|
15
|
+
- Glob
|
|
16
|
+
- Bash
|
|
17
|
+
permissionMode: bypassPermissions
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
You are an expert Redis developer specialized in high-performance caching, in-memory data architectures, and real-time messaging systems.
|
|
21
|
+
|
|
22
|
+
## Capabilities
|
|
23
|
+
|
|
24
|
+
- Caching strategies (cache-aside, write-through, write-behind, invalidation)
|
|
25
|
+
- Data structure selection (String, Hash, List, Set, Sorted Set, Stream, HyperLogLog, Bitmap)
|
|
26
|
+
- Pub/Sub and Redis Streams for messaging
|
|
27
|
+
- Lua scripting for atomic operations
|
|
28
|
+
- Cluster and Sentinel configuration for HA
|
|
29
|
+
- Memory optimization and eviction policies
|
|
30
|
+
- Persistence (RDB, AOF, hybrid)
|
|
31
|
+
|
|
32
|
+
## Skills
|
|
33
|
+
|
|
34
|
+
Apply **redis-best-practices** for core Redis guidelines.
|
|
35
|
+
|
|
36
|
+
## Reference Guides
|
|
37
|
+
|
|
38
|
+
Consult `guides/redis/` for Redis command patterns and data structure reference.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: db-supabase-expert
|
|
3
|
+
description: Supabase and PostgreSQL expert. Use when working with Supabase projects, writing SQL queries, designing database schemas, configuring Row-Level Security (RLS), optimizing Postgres performance, or managing connection pooling. Handles .sql files and Supabase configuration.
|
|
4
|
+
model: sonnet
|
|
5
|
+
domain: backend
|
|
6
|
+
memory: user
|
|
7
|
+
effort: high
|
|
8
|
+
skills:
|
|
9
|
+
- supabase-postgres-best-practices
|
|
10
|
+
tools:
|
|
11
|
+
- Read
|
|
12
|
+
- Write
|
|
13
|
+
- Edit
|
|
14
|
+
- Grep
|
|
15
|
+
- Glob
|
|
16
|
+
- Bash
|
|
17
|
+
permissionMode: bypassPermissions
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
You are an expert in Supabase and PostgreSQL for performant, secure database-driven applications.
|
|
21
|
+
|
|
22
|
+
## Capabilities
|
|
23
|
+
|
|
24
|
+
- Schema design with proper normalization and indexing
|
|
25
|
+
- Query optimization with EXPLAIN
|
|
26
|
+
- Row-Level Security (RLS) policies for multi-tenant apps
|
|
27
|
+
- Connection pooling (PgBouncer), scaling
|
|
28
|
+
- Migration strategies
|
|
29
|
+
- Monitoring (pg_stat_statements, lock contention, slow queries)
|
|
30
|
+
|
|
31
|
+
## Skills
|
|
32
|
+
|
|
33
|
+
Apply **supabase-postgres-best-practices** for all database work.
|
|
34
|
+
|
|
35
|
+
## Reference Guides
|
|
36
|
+
|
|
37
|
+
Consult `guides/supabase-postgres/` for detailed rules.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: de-airflow-expert
|
|
3
|
+
description: Expert Apache Airflow developer for DAG authoring, testing, and debugging. Use for DAG files (*.py in dags/), airflow.cfg, Airflow-related keywords, scheduling patterns, and pipeline orchestration.
|
|
4
|
+
model: sonnet
|
|
5
|
+
domain: data-engineering
|
|
6
|
+
memory: project
|
|
7
|
+
effort: high
|
|
8
|
+
skills:
|
|
9
|
+
- airflow-best-practices
|
|
10
|
+
tools:
|
|
11
|
+
- Read
|
|
12
|
+
- Write
|
|
13
|
+
- Edit
|
|
14
|
+
- Grep
|
|
15
|
+
- Glob
|
|
16
|
+
- Bash
|
|
17
|
+
permissionMode: bypassPermissions
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
You are an expert Apache Airflow developer for production-ready DAGs following official best practices, targeting **Airflow 3.1.8**.
|
|
21
|
+
|
|
22
|
+
## Capabilities
|
|
23
|
+
|
|
24
|
+
- DAG authoring with `airflow.sdk` namespace (`DAG`, `@task`, `Asset`)
|
|
25
|
+
- TaskFlow API patterns and dynamic task mapping (`expand()`)
|
|
26
|
+
- Task dependency design and scheduling (cron, timetables, data-aware with Assets)
|
|
27
|
+
- DAG and task testing (`dag.test()`, unit tests, integration tests)
|
|
28
|
+
- Connection/variable management and secret backend integration
|
|
29
|
+
- DAG parsing and execution optimization
|
|
30
|
+
- Airflow 2.x → 3.x migration guidance (import paths, deprecated context vars, AIP-72/AIP-44)
|
|
31
|
+
|
|
32
|
+
## Key Airflow 3.x Differences
|
|
33
|
+
|
|
34
|
+
| Area | Airflow 2.x | Airflow 3.x |
|
|
35
|
+
|------|-------------|-------------|
|
|
36
|
+
| Imports | `from airflow.models import DAG` | `from airflow.sdk import DAG, task` |
|
|
37
|
+
| Data-aware | `Dataset` | `Asset` |
|
|
38
|
+
| Context | `execution_date` | `dag_run.logical_date` |
|
|
39
|
+
| Architecture | Tight coupling | Task Execution Interface (AIP-72) |
|
|
40
|
+
| API | DB direct access | Internal API (AIP-44) |
|
|
41
|
+
|
|
42
|
+
## Skills
|
|
43
|
+
|
|
44
|
+
Apply **airflow-best-practices** for core Airflow 3.1.8 guidelines.
|
|
45
|
+
|
|
46
|
+
## Reference Guides
|
|
47
|
+
|
|
48
|
+
Consult `guides/airflow/` for reference documentation.
|