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,88 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: idea
|
|
3
|
+
description: Analyze a natural language idea against the project codebase and return structured issue specs
|
|
4
|
+
scope: core
|
|
5
|
+
version: 1.0.0
|
|
6
|
+
user-invocable: true
|
|
7
|
+
argument-hint: "<idea text>"
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# /idea — Natural Language Idea Analysis
|
|
11
|
+
|
|
12
|
+
Analyze a natural language idea against the current project's codebase, assess feasibility and scope, and return structured JSON that can be turned into one or more GitHub issues.
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
/idea Add OAuth login with Google and GitHub providers
|
|
18
|
+
/idea Add a monitoring dashboard to the Discord bot
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Output Contract
|
|
22
|
+
|
|
23
|
+
Return structured JSON only:
|
|
24
|
+
|
|
25
|
+
```json
|
|
26
|
+
{
|
|
27
|
+
"title": "Short feature title",
|
|
28
|
+
"scope": "S|M|L",
|
|
29
|
+
"estimatedIssues": 1,
|
|
30
|
+
"summary": "One-paragraph summary",
|
|
31
|
+
"details": {
|
|
32
|
+
"problem": "What user or system problem this addresses",
|
|
33
|
+
"approach": "Recommended technical approach",
|
|
34
|
+
"touchedAreas": ["src/module-a", "docs/guide-x"],
|
|
35
|
+
"risks": ["migration risk", "auth edge cases"],
|
|
36
|
+
"dependencies": ["issue-123", "external-api"]
|
|
37
|
+
},
|
|
38
|
+
"issueSpecs": [
|
|
39
|
+
{
|
|
40
|
+
"title": "Implement core feature slice",
|
|
41
|
+
"priority": "P1|P2|P3",
|
|
42
|
+
"body": "Markdown issue body"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Workflow
|
|
49
|
+
|
|
50
|
+
### Phase 1: Parse Input
|
|
51
|
+
|
|
52
|
+
1. Extract the core intent from the natural language idea
|
|
53
|
+
2. Normalize it into a concrete product or engineering change
|
|
54
|
+
3. If the request is too vague, state assumptions explicitly in the JSON summary
|
|
55
|
+
|
|
56
|
+
### Phase 2: Codebase Analysis
|
|
57
|
+
|
|
58
|
+
1. `Read(AGENTS.md)` to understand the project contract
|
|
59
|
+
2. `Read(README.md)` and relevant docs for product/system context
|
|
60
|
+
3. Use `Glob` and `Grep` to find likely touched files, modules, and patterns
|
|
61
|
+
4. Identify overlap with existing features to avoid duplicate issue creation
|
|
62
|
+
|
|
63
|
+
### Phase 3: Feasibility Assessment
|
|
64
|
+
|
|
65
|
+
Assess:
|
|
66
|
+
- implementation scope (`S`, `M`, `L`)
|
|
67
|
+
- likely modules to change
|
|
68
|
+
- architectural or migration risk
|
|
69
|
+
- whether the idea should be one issue or decomposed into multiple issues
|
|
70
|
+
|
|
71
|
+
### Phase 4: Issue Spec Generation
|
|
72
|
+
|
|
73
|
+
Generate:
|
|
74
|
+
- one concise top-level title
|
|
75
|
+
- a short summary
|
|
76
|
+
- one or more issue specs with priority and actionable markdown bodies
|
|
77
|
+
|
|
78
|
+
## Heuristics
|
|
79
|
+
|
|
80
|
+
- Prefer decomposition when the idea spans UI + API + infra
|
|
81
|
+
- Prefer a single issue when the change is local and independently shippable
|
|
82
|
+
- Reuse project terminology found in AGENTS.md/README/docs
|
|
83
|
+
- Keep issue bodies implementation-oriented, not marketing-oriented
|
|
84
|
+
|
|
85
|
+
## Notes
|
|
86
|
+
|
|
87
|
+
- This skill is analysis-first: it produces issue-ready output, but it does not create GitHub issues by itself
|
|
88
|
+
- Downstream tooling such as builder-factory or a human operator can take the JSON and create the actual issues
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: impeccable-design
|
|
3
|
+
description: AI design language for production-grade UI — 10 commands covering typography, color, motion, layout, and UX writing quality
|
|
4
|
+
scope: core
|
|
5
|
+
user-invocable: false
|
|
6
|
+
version: 1.0.0
|
|
7
|
+
source:
|
|
8
|
+
type: external
|
|
9
|
+
origin: github
|
|
10
|
+
url: https://github.com/pbakaus/impeccable
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Purpose
|
|
14
|
+
|
|
15
|
+
Impeccable is a design language for producing intentional, production-grade UI. It defines a vocabulary of steering commands that guide an AI toward specific design dimensions — typography, color, motion, layout, and UX writing — while actively avoiding the generic patterns associated with AI-generated interfaces.
|
|
16
|
+
|
|
17
|
+
## Commands
|
|
18
|
+
|
|
19
|
+
### 10 Selected Commands
|
|
20
|
+
|
|
21
|
+
| Command | Trigger phrases | Description |
|
|
22
|
+
|---------|----------------|-------------|
|
|
23
|
+
| **critique** | "review design", "UX feedback" | UX design review: hierarchy, clarity, emotional resonance, and intentionality across the interface |
|
|
24
|
+
| **audit** | "design audit", "quality check" | Systematic quality checks across all design dimensions simultaneously |
|
|
25
|
+
| **typeset** | "fix fonts", "typography" | Fix font choices, weight contrast, scale, line-height, tracking, and type pairing |
|
|
26
|
+
| **colorize** | "add color", "color palette" | Introduce strategic color using OKLCH; construct tinted neutral palettes, avoid pure black/white |
|
|
27
|
+
| **animate** | "add motion", "animation" | Add purposeful motion using the 100ms/300ms/500ms rule; eliminate decorative or distracting animation |
|
|
28
|
+
| **normalize** | "align design system" | Align output with design system standards: spacing scales, token usage, component consistency |
|
|
29
|
+
| **polish** | "final pass", "ship ready" | Pre-ship quality sweep across all design dimensions, including AI slop test |
|
|
30
|
+
| **clarify** | "improve copy", "UX writing" | Improve UX copy: labels, microcopy, empty states, error messages, button specificity |
|
|
31
|
+
| **arrange** | "fix layout", "spacing" | Fix layout structure, whitespace, alignment, and visual rhythm |
|
|
32
|
+
| **adapt** | "responsive", "mobile" | Adapt design decisions for different devices, screen sizes, and input modes |
|
|
33
|
+
|
|
34
|
+
### Command Detail
|
|
35
|
+
|
|
36
|
+
#### critique
|
|
37
|
+
Holistic UX review. Evaluates information hierarchy, interaction clarity, emotional resonance, and whether design decisions feel intentional. Surfaces both friction points and missed opportunities. Output: prioritized list of issues with impact level (critical / moderate / minor).
|
|
38
|
+
|
|
39
|
+
#### audit
|
|
40
|
+
Systematic multi-dimension check. Runs all other command lenses in sequence and produces a structured report. Use when you need a full picture before starting work. Output: dimension-by-dimension audit with specific findings.
|
|
41
|
+
|
|
42
|
+
#### typeset
|
|
43
|
+
Typography repair. Evaluates and fixes:
|
|
44
|
+
- Font family selection (avoid default Inter/Roboto/Arial without rationale)
|
|
45
|
+
- Type scale (use modular scale, not arbitrary pixel sizes)
|
|
46
|
+
- Weight contrast (body vs. heading vs. label differentiation)
|
|
47
|
+
- Line-height and measure (optimal reading width 60-75 chars)
|
|
48
|
+
- Letter-spacing for display vs. body contexts
|
|
49
|
+
- Font pairing coherence
|
|
50
|
+
|
|
51
|
+
#### colorize
|
|
52
|
+
Color strategy and implementation using OKLCH. Key principles:
|
|
53
|
+
- Build tinted neutrals (never pure gray — always a 5-10% hue push)
|
|
54
|
+
- Use OKLCH for perceptually uniform lightness steps
|
|
55
|
+
- Establish semantic color roles (primary, surface, on-surface, accent, destructive)
|
|
56
|
+
- Avoid pure black backgrounds; tint with brand hue at low chroma
|
|
57
|
+
- Check color relationships for harmony, not just individual values
|
|
58
|
+
|
|
59
|
+
#### animate
|
|
60
|
+
Motion design with purpose. Core rule — 100/300/500ms:
|
|
61
|
+
- 100ms: micro-interactions, state transitions (hover, focus, active)
|
|
62
|
+
- 300ms: element entrances, panel transitions, drawer opens
|
|
63
|
+
- 500ms: page transitions, complex sequence animations
|
|
64
|
+
Avoid: bounce/elastic easing as decoration, animation on load without user trigger, looping animations in primary content areas.
|
|
65
|
+
Use: ease-out for entrances, ease-in for exits, linear for progress/loading.
|
|
66
|
+
|
|
67
|
+
#### normalize
|
|
68
|
+
Design system alignment. Enforces:
|
|
69
|
+
- Spacing scale usage (4/8/12/16/24/32/48/64 or 4pt grid)
|
|
70
|
+
- Border radius consistency (choose a base radius, derive multiples)
|
|
71
|
+
- Shadow scale (0-3 elevation levels, not arbitrary per-component)
|
|
72
|
+
- Color token usage vs. hardcoded values
|
|
73
|
+
- Component variant consistency
|
|
74
|
+
|
|
75
|
+
#### polish
|
|
76
|
+
Pre-ship quality sweep. Runs: typeset + colorize + arrange + AI slop test + final coherence check. Output includes a ship-readiness verdict (ship / ship with minor fixes / needs work).
|
|
77
|
+
|
|
78
|
+
#### clarify
|
|
79
|
+
UX writing improvement. Targets:
|
|
80
|
+
- Button labels: specific verbs over generic ("Save changes" not "Submit")
|
|
81
|
+
- Empty states: explain what goes here + clear action to fill it
|
|
82
|
+
- Error messages: say what happened + what to do (not "An error occurred")
|
|
83
|
+
- Tooltips and help text: answer the user's actual question
|
|
84
|
+
- Confirmation dialogs: describe the consequence, not the action
|
|
85
|
+
|
|
86
|
+
#### arrange
|
|
87
|
+
Layout and spatial design. Fixes:
|
|
88
|
+
- Visual hierarchy via size, weight, and position
|
|
89
|
+
- Negative space: increase breathing room between unrelated groups
|
|
90
|
+
- Alignment: establish a clear grid baseline
|
|
91
|
+
- Proximity: group related elements, separate unrelated ones
|
|
92
|
+
- Visual rhythm: consistent incremental spacing within components
|
|
93
|
+
|
|
94
|
+
#### adapt
|
|
95
|
+
Responsive and cross-device adaptation:
|
|
96
|
+
- Mobile-first breakpoint strategy
|
|
97
|
+
- Touch target sizing (minimum 44x44px)
|
|
98
|
+
- Content reflow for narrow viewports
|
|
99
|
+
- Progressive disclosure for complex interfaces on mobile
|
|
100
|
+
- Pointer vs. touch interaction mode awareness
|
|
101
|
+
|
|
102
|
+
## AI Slop Test
|
|
103
|
+
|
|
104
|
+
The AI Slop Test is a critical checkpoint embedded in every `audit` and `polish` command. It must also be run manually on any design output before declaring it complete.
|
|
105
|
+
|
|
106
|
+
**The question**: Would someone immediately identify this as AI-generated?
|
|
107
|
+
|
|
108
|
+
### Patterns to Flag as AI Slop
|
|
109
|
+
|
|
110
|
+
**Typography slop**
|
|
111
|
+
- Inter, Roboto, or Arial as the default font with no intentional reason stated
|
|
112
|
+
- All text the same weight except headings
|
|
113
|
+
- Line-height exactly 1.5 applied universally regardless of font size
|
|
114
|
+
|
|
115
|
+
**Color slop**
|
|
116
|
+
- Pure black (`#000000` or `#0d0d0d`) or pure gray (`#f5f5f5`, `#e5e5e5`) backgrounds without tinting
|
|
117
|
+
- One brand color on an otherwise completely neutral palette
|
|
118
|
+
- Blue-purple or coral-orange gradients with no contextual rationale
|
|
119
|
+
|
|
120
|
+
**Layout slop**
|
|
121
|
+
- Centered-everything layout that avoids making spatial decisions
|
|
122
|
+
- Identical card components with same border-radius, same shadow, and same padding stacked vertically
|
|
123
|
+
- Hero section: gradient blob behind centered heading + subheading + two buttons
|
|
124
|
+
|
|
125
|
+
**Motion slop**
|
|
126
|
+
- Bounce or elastic easing used as "delight" with no functional purpose
|
|
127
|
+
- Every element animates on page load with staggered delays
|
|
128
|
+
- Hover states that scale to 1.05 on every interactive element
|
|
129
|
+
|
|
130
|
+
**Copy slop**
|
|
131
|
+
- Empty states: "[Icon] No [items] yet. [Create button]"
|
|
132
|
+
- Error messages: "Something went wrong. Please try again."
|
|
133
|
+
- Buttons: "Submit", "Confirm", "OK"
|
|
134
|
+
- Tooltips: restate the label they're attached to
|
|
135
|
+
|
|
136
|
+
### Slop Test Verdict
|
|
137
|
+
|
|
138
|
+
After running the test, assign one of:
|
|
139
|
+
- **Clean**: No slop patterns detected
|
|
140
|
+
- **Mild slop**: 1-2 patterns present, easy to fix
|
|
141
|
+
- **Heavy slop**: 3+ patterns, requires deliberate design work before ship
|
|
142
|
+
|
|
143
|
+
## Role Separation
|
|
144
|
+
|
|
145
|
+
This skill operates in the aesthetic/creative layer. It does not replace technical compliance tooling.
|
|
146
|
+
|
|
147
|
+
| Design Aspect | impeccable-design (this skill) | web-design-guidelines |
|
|
148
|
+
|---------------|-------------------------------|----------------------|
|
|
149
|
+
| Typography | Font selection, pairing, type scale, expressive hierarchy | Minimum font sizes (16px body), contrast ratios |
|
|
150
|
+
| Color | Palette building, OKLCH, tinted neutrals, emotional resonance | WCAG 2.1 AA/AAA contrast compliance |
|
|
151
|
+
| Motion | Purposeful animation, easing curves, timing strategy, felt quality | prefers-reduced-motion compliance, no-animation-on-load |
|
|
152
|
+
| Layout | Visual rhythm, spatial design, negative space, hierarchy | Accessibility, semantic HTML structure, ARIA landmarks |
|
|
153
|
+
| Copy | Tone, clarity, specificity, label quality | (no overlap) |
|
|
154
|
+
|
|
155
|
+
**When both apply**: Run `impeccable-design` for aesthetic quality, then `web-design-guidelines` for compliance. They are complementary, not competing.
|
|
156
|
+
|
|
157
|
+
## Reference Guides
|
|
158
|
+
|
|
159
|
+
- `guides/impeccable-design/typography.md` — type scale construction, font pairing strategy, hierarchy patterns
|
|
160
|
+
- `guides/impeccable-design/color-and-contrast.md` — OKLCH primer, tinted neutral construction, palette strategy
|
|
161
|
+
- `guides/impeccable-design/motion-design.md` — 100/300/500ms rule, easing reference, purposeful vs. decorative motion
|
|
162
|
+
- `guides/impeccable-design/ux-writing.md` — microcopy patterns, empty state templates, error message formulas
|
|
163
|
+
|
|
164
|
+
## Execution Flow
|
|
165
|
+
|
|
166
|
+
```
|
|
167
|
+
1. Identify active command(s) from trigger phrase or explicit instruction
|
|
168
|
+
2. Read target component/page files
|
|
169
|
+
3. Consult relevant reference guides for the active command
|
|
170
|
+
4. Apply changes with explicit rationale for each decision
|
|
171
|
+
5. Run AI Slop Test on output
|
|
172
|
+
6. Report: changes made + slop test verdict + any deferred items
|
|
173
|
+
```
|
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: intent-detection
|
|
3
|
+
description: Automatically detect user intent and route to appropriate agent
|
|
4
|
+
scope: core
|
|
5
|
+
user-invocable: false
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Purpose
|
|
9
|
+
|
|
10
|
+
Automatically detect user intent and route to the appropriate agent with full transparency.
|
|
11
|
+
|
|
12
|
+
## Detection Algorithm
|
|
13
|
+
|
|
14
|
+
### 1. Input Analysis
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
User Input: "Go 코드 리뷰해줘"
|
|
18
|
+
│
|
|
19
|
+
▼
|
|
20
|
+
┌─────────────────────────────┐
|
|
21
|
+
│ Tokenize & Extract │
|
|
22
|
+
├─────────────────────────────┤
|
|
23
|
+
│ Keywords: ["Go"] │
|
|
24
|
+
│ Actions: ["리뷰"] │
|
|
25
|
+
│ File refs: [] │
|
|
26
|
+
│ Context: [] │
|
|
27
|
+
└─────────────────────────────┘
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### 2. Pattern Matching
|
|
31
|
+
|
|
32
|
+
Match extracted tokens against agent triggers:
|
|
33
|
+
|
|
34
|
+
```yaml
|
|
35
|
+
# For each agent in agent-triggers.yaml
|
|
36
|
+
match_score = 0
|
|
37
|
+
|
|
38
|
+
# Keyword match
|
|
39
|
+
for keyword in user_keywords:
|
|
40
|
+
if keyword in agent.keywords:
|
|
41
|
+
match_score += agent.keyword_weight (default: 40)
|
|
42
|
+
|
|
43
|
+
# Action match
|
|
44
|
+
for action in user_actions:
|
|
45
|
+
if action in agent.actions:
|
|
46
|
+
match_score += agent.action_weight (default: 40)
|
|
47
|
+
|
|
48
|
+
# File pattern match
|
|
49
|
+
for pattern in user_file_refs:
|
|
50
|
+
if matches(pattern, agent.file_patterns):
|
|
51
|
+
match_score += agent.file_weight (default: 30)
|
|
52
|
+
|
|
53
|
+
# Context bonus
|
|
54
|
+
if agent == recent_agent:
|
|
55
|
+
match_score += context_bonus (default: 10)
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### 3. Confidence Calculation
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
confidence = min(100, match_score)
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### 4. Decision
|
|
65
|
+
|
|
66
|
+
```
|
|
67
|
+
if confidence >= 90:
|
|
68
|
+
auto_execute()
|
|
69
|
+
elif confidence >= 70:
|
|
70
|
+
request_confirmation()
|
|
71
|
+
else:
|
|
72
|
+
list_options()
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## Detection Patterns
|
|
76
|
+
|
|
77
|
+
### Keyword Patterns
|
|
78
|
+
|
|
79
|
+
```yaml
|
|
80
|
+
# Korean keywords
|
|
81
|
+
korean:
|
|
82
|
+
- "고" → go
|
|
83
|
+
- "파이썬" → python
|
|
84
|
+
- "러스트" → rust
|
|
85
|
+
- "타입스크립트" → typescript
|
|
86
|
+
|
|
87
|
+
# Action verbs (Korean)
|
|
88
|
+
actions_kr:
|
|
89
|
+
- "리뷰" → review
|
|
90
|
+
- "분석" → analyze
|
|
91
|
+
- "수정" → fix
|
|
92
|
+
- "생성" → create
|
|
93
|
+
- "만들어" → create
|
|
94
|
+
- "확인" → check
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### File Pattern Matching
|
|
98
|
+
|
|
99
|
+
```yaml
|
|
100
|
+
patterns:
|
|
101
|
+
go: ["*.go", "go.mod", "go.sum"]
|
|
102
|
+
python: ["*.py", "requirements.txt", "pyproject.toml", "setup.py"]
|
|
103
|
+
rust: ["*.rs", "Cargo.toml"]
|
|
104
|
+
typescript: ["*.ts", "*.tsx", "tsconfig.json"]
|
|
105
|
+
kotlin: ["*.kt", "*.kts", "build.gradle.kts"]
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
## Output Format
|
|
109
|
+
|
|
110
|
+
### High Confidence
|
|
111
|
+
|
|
112
|
+
```
|
|
113
|
+
[Intent Detected]
|
|
114
|
+
├── Input: "Go 코드 리뷰해줘"
|
|
115
|
+
├── Agent: lang-golang-expert
|
|
116
|
+
├── Confidence: 95%
|
|
117
|
+
└── Reason: "Go" keyword + "리뷰" action
|
|
118
|
+
|
|
119
|
+
┌─ Agent: lang-golang-expert (sw-engineer)
|
|
120
|
+
└─ Task: Code review
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### Medium Confidence
|
|
124
|
+
|
|
125
|
+
```
|
|
126
|
+
[Intent Detected]
|
|
127
|
+
├── Input: "백엔드 API 확인해줘"
|
|
128
|
+
├── Detected: be-go-backend-expert (?)
|
|
129
|
+
├── Confidence: 78%
|
|
130
|
+
└── Alternatives available
|
|
131
|
+
|
|
132
|
+
Select agent:
|
|
133
|
+
1. be-go-backend-expert (78%)
|
|
134
|
+
2. be-fastapi-expert (72%)
|
|
135
|
+
3. be-springboot-expert (68%)
|
|
136
|
+
|
|
137
|
+
Choice [1-3, or agent name]:
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### Override
|
|
141
|
+
|
|
142
|
+
```
|
|
143
|
+
[Override Detected]
|
|
144
|
+
├── Input: "@lang-python-expert review api.py"
|
|
145
|
+
├── Agent: lang-python-expert (explicit)
|
|
146
|
+
└── Bypassing intent detection
|
|
147
|
+
|
|
148
|
+
┌─ Agent: lang-python-expert (sw-engineer)
|
|
149
|
+
└─ Task: Review api.py
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
## Integration
|
|
153
|
+
|
|
154
|
+
### With Secretary
|
|
155
|
+
|
|
156
|
+
```
|
|
157
|
+
Secretary uses this skill to:
|
|
158
|
+
1. Parse incoming user requests
|
|
159
|
+
2. Detect intent and select agent
|
|
160
|
+
3. Display reasoning
|
|
161
|
+
4. Handle confirmations
|
|
162
|
+
5. Route to selected agent
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
### With Agent Triggers
|
|
166
|
+
|
|
167
|
+
```
|
|
168
|
+
Load triggers from:
|
|
169
|
+
.codex/skills/intent-detection/patterns/agent-triggers.yaml
|
|
170
|
+
|
|
171
|
+
Each agent defines:
|
|
172
|
+
- keywords (language names, tech terms)
|
|
173
|
+
- file_patterns (extensions, config files)
|
|
174
|
+
- actions (supported actions)
|
|
175
|
+
- weights (scoring factors)
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
## Error Handling
|
|
179
|
+
|
|
180
|
+
### No Match (< 30% confidence)
|
|
181
|
+
|
|
182
|
+
**Generic task** (no identifiable domain):
|
|
183
|
+
```
|
|
184
|
+
[Intent Unclear]
|
|
185
|
+
├── Input: "도와줘"
|
|
186
|
+
├── Confidence: < 30%
|
|
187
|
+
└── Too generic to detect intent
|
|
188
|
+
|
|
189
|
+
How can I help? Please be more specific:
|
|
190
|
+
- What type of task? (review, create, fix, ...)
|
|
191
|
+
- What language/technology? (Go, Python, ...)
|
|
192
|
+
- What file or project?
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
**Specialized task with identifiable domain** (keywords/files detected but no matching agent):
|
|
196
|
+
```
|
|
197
|
+
[No Matching Agent]
|
|
198
|
+
├── Input: "Terraform 모듈 리뷰해줘"
|
|
199
|
+
├── Domain: terraform (detected from keywords)
|
|
200
|
+
├── Matching Agent: none
|
|
201
|
+
└── Action: Trigger dynamic agent creation
|
|
202
|
+
|
|
203
|
+
→ Delegating to mgr-creator with context:
|
|
204
|
+
domain: terraform
|
|
205
|
+
keywords: ["terraform", "모듈"]
|
|
206
|
+
file_patterns: ["*.tf"]
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
### Ambiguous Match
|
|
210
|
+
|
|
211
|
+
```
|
|
212
|
+
[Intent Ambiguous]
|
|
213
|
+
├── Input: "코드 리뷰"
|
|
214
|
+
├── Top matches:
|
|
215
|
+
│ └── All experts: ~50% each
|
|
216
|
+
└── Need file context or language hint
|
|
217
|
+
|
|
218
|
+
Specify the language or provide a file path.
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
## Configuration
|
|
222
|
+
|
|
223
|
+
```yaml
|
|
224
|
+
intent_detection:
|
|
225
|
+
enabled: true
|
|
226
|
+
auto_execute_threshold: 90
|
|
227
|
+
confirm_threshold: 70
|
|
228
|
+
show_reasoning: true
|
|
229
|
+
max_alternatives: 3
|
|
230
|
+
korean_support: true
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
## Research Intent Routing
|
|
234
|
+
|
|
235
|
+
When a research/information gathering intent is detected:
|
|
236
|
+
|
|
237
|
+
### Detection Keywords
|
|
238
|
+
|
|
239
|
+
```yaml
|
|
240
|
+
# Korean
|
|
241
|
+
korean:
|
|
242
|
+
- "조사" → research
|
|
243
|
+
- "검색" → search
|
|
244
|
+
- "리서치" → research
|
|
245
|
+
- "탐색" → explore
|
|
246
|
+
- "찾아" → look up
|
|
247
|
+
- "알아봐" → find out
|
|
248
|
+
- "자료" → gather materials
|
|
249
|
+
- "정보 수집" → gather information
|
|
250
|
+
|
|
251
|
+
# English
|
|
252
|
+
english:
|
|
253
|
+
- "research"
|
|
254
|
+
- "investigate"
|
|
255
|
+
- "search for"
|
|
256
|
+
- "look up"
|
|
257
|
+
- "gather information"
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
### Routing Logic
|
|
261
|
+
|
|
262
|
+
```
|
|
263
|
+
Research intent detected (confidence >= 70%)
|
|
264
|
+
↓
|
|
265
|
+
Check Codex CLI availability
|
|
266
|
+
├─ Available (codex binary + OPENAI_API_KEY)
|
|
267
|
+
│ → Use codex-exec skill with --effort xhigh
|
|
268
|
+
│ → Prompt: "Research and analyze: {user_request}"
|
|
269
|
+
│ → Returns: structured findings for orchestrator
|
|
270
|
+
└─ Unavailable
|
|
271
|
+
→ Fall back to Claude's WebFetch/WebSearch
|
|
272
|
+
→ Orchestrator handles directly or via general-purpose agent
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
### Confidence Scoring
|
|
276
|
+
|
|
277
|
+
| Factor | Weight | Example |
|
|
278
|
+
|--------|--------|---------|
|
|
279
|
+
| Research keyword match | +40 | "조사해줘", "research" |
|
|
280
|
+
| Action verb match | +30 | "찾아", "investigate" |
|
|
281
|
+
| URL/topic present | +20 | specific URL or topic mentioned |
|
|
282
|
+
| Context (previous research) | +10 | follow-up research request |
|
|
283
|
+
|
|
284
|
+
### Output Format
|
|
285
|
+
|
|
286
|
+
```
|
|
287
|
+
[Intent Detected]
|
|
288
|
+
├── Input: "{user input}"
|
|
289
|
+
├── Workflow: research-workflow
|
|
290
|
+
├── Confidence: {percentage}%
|
|
291
|
+
├── Method: codex-exec (xhigh) | WebFetch fallback
|
|
292
|
+
└── Reason: {explanation}
|
|
293
|
+
```
|