Pre-action boundary checking — validates agent tool calls against declared capabilities and task contracts
中文简介正在准备中。当前显示原文说明。
Routes development tasks to the correct language or framework expert agent. Use when user requests code review, implementation, refactoring, or debugging.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
When this skill spawns a subagent via the Agent tool, the spawned prompt MUST include this directive verbatim (or equivalent):
ALL tool calls targeting
.claude/paths MUST go through/tmp/*.shscript via Bash. This includes read-only measurement (sed/cat/wc/ls/grep), Write, Edit. Read tool is exempt. Direct Write/Edit/Bash on .claude/ triggers user approval prompts that block unattended automation. See R010 for the full pattern.
This directive is preserved inline because Agent-tool prompt synthesis can drop SKILL.md notes; inline mandatory directives survive (#1046 lesson).
| Type | Agents |
|---|---|
| Language | lang-golang-expert, lang-python-expert, lang-rust-expert, lang-kotlin-expert, lang-typescript-expert, lang-java-expert |
| Frontend | fe-vercel-agent, fe-vuejs-agent, fe-svelte-agent, fe-flutter-agent, fe-design-expert |
| Backend | be-fastapi-expert, be-springboot-expert, be-go-backend-expert, be-nestjs-expert, be-express-expert, be-django-expert |
| Tooling | tool-npm-expert, tool-optimizer, tool-bun-expert |
| Database | db-supabase-expert, db-postgres-expert, db-redis-expert, db-alembic-expert, db-neo4j-expert |
| Architect | arch-documenter, arch-speckit-agent |
| Security | sec-codeql-expert |
| Infra | infra-docker-expert, infra-aws-expert |
| Slack | slack-cli-expert |
| Extension | Agent |
|---|---|
.go | lang-golang-expert |
.py | lang-python-expert |
.rs | lang-rust-expert |
.kt, .kts | lang-kotlin-expert |
.ts, .tsx | lang-typescript-expert |
.java | lang-java-expert |
.js/.jsx (React) | fe-vercel-agent |
.vue | fe-vuejs-agent |
.svelte | fe-svelte-agent |
.dart, pubspec.yaml | fe-flutter-agent |
.sql (PG) | db-postgres-expert |
.sql (Supabase) | db-supabase-expert |
alembic.ini, alembic/versions/*.py | db-alembic-expert |
.cypher | db-neo4j-expert |
Dockerfile, *.dockerfile | infra-docker-expert |
*.tf, *.tfvars | infra-aws-expert |
*.yaml, *.yml (CloudFormation) | infra-aws-expert |
| Keywords | Agent |
|---|---|
| go, golang | lang-golang-expert |
| python, py | lang-python-expert |
| rust | lang-rust-expert |
| kotlin | lang-kotlin-expert |
| typescript, ts | lang-typescript-expert |
| java | lang-java-expert |
| react, next.js, vercel | fe-vercel-agent |
| vue | fe-vuejs-agent |
| svelte | fe-svelte-agent |
| flutter, dart, riverpod, bloc, widget | fe-flutter-agent |
| design, typography, color, motion, ux writing, ui design, "design system", "design review", impeccable | fe-design-expert |
| fastapi | be-fastapi-expert |
| django | be-django-expert |
| spring, springboot | be-springboot-expert |
| nestjs | be-nestjs-expert |
| express | be-express-expert |
| npm | tool-npm-expert |
| optimize, bundle | tool-optimizer |
| bun | tool-bun-expert |
| postgres, postgresql, psql, pg_stat | db-postgres-expert |
| redis, cache, pub/sub, sorted set | db-redis-expert |
| supabase, rls, edge function | db-supabase-expert |
| alembic, migration, db revision, db upgrade, db downgrade | db-alembic-expert |
| neo4j, cypher, graph database, knowledge graph, text2cypher | db-neo4j-expert |
| docker, dockerfile, container, compose | infra-docker-expert |
| aws, cloudformation, vpc, iam, s3, lambda, cdk, terraform | infra-aws-expert |
| security, codeql, cve, vulnerability, sarif, sast, security audit | sec-codeql-expert |
| architecture, adr, openapi, swagger, diagram | arch-documenter |
| spec, specification, tdd, requirements | arch-speckit-agent |
| slack, slack-cli, slack app, slack deploy, slack trigger, slack datastore | slack-cli-expert |
| Task | Model |
|---|---|
| Architecture analysis | opus |
| Code review/implementation | sonnet |
| Quick validation/search | haiku |
Before selecting an expert agent, evaluate in this order:
Check if Agent Teams is available (CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 or TeamCreate/SendMessage tools present).
| Scenario | Preferred |
|---|---|
| Single-language review | Task Tool |
| Multi-language code review (3+) | Agent Teams |
| Code review + fix cycle | Agent Teams |
| Cross-layer debugging (FE + BE + DB) | Agent Teams |
| Simple file search/validation | Task Tool |
For new file creation, boilerplate, or test code generation:
/tmp/.claude-env-status-* for codex, gemini, and rtk availability/codex-exec for scaffolding:
[Codex Hybrid] Delegating to codex-exec.../gemini-exec for scaffolding:
[Gemini Hybrid] Delegating to gemini-exec...RTK=available in env status) → optionally wrap Claude expert output through RTK to reduce token consumption by 60-90%:
[RTK Proxy] Token optimization active via rtk-exec[External CLI] Unavailable — proceeding with {expert} directly and use Claude expert directlySuitable: New file creation, boilerplate, scaffolding, test code Unsuitable: Existing code modification, architecture decisions, bug fixes
Route to appropriate language/framework expert based on file extension and keyword mapping.
Permission Mode: When spawning agents via Agent tool, always pass
mode: "bypassPermissions". The Agent tool default (acceptEdits) overrides agent frontmatterpermissionMode, causing permission prompts during unattended execution.
If get_agent_for_task MCP tool is available, call it with the original query and inject suggested_skills into the agent prompt. Skip silently on failure.
For ambiguous routing (confidence < 90%), query the wiki for context:
wiki/index.yaml for agent/skill pages matching detected keywordssuggested_context in the agent promptwiki-rag query: "{user_request}" → wiki agent/skill pages → suggested_context injection
Advisory only — skip silently if wiki unavailable.
If the selected agent has soul: true in frontmatter, read and prepend .claude/agents/souls/{agent-name}.soul.md content to the prompt. Skip silently if file doesn't exist.
Multi-language: detect all languages, route to parallel experts (max 4). Single-language: route to matching expert. Cross-layer (frontend + backend): multiple experts in parallel.
When file extension or keyword doesn't match any existing agent:
User Input → No matching development agent
↓
Detect: File extension (.rb, .swift, .php, etc.) or language keyword
↓
Delegate to mgr-creator with context:
domain: detected language/framework
type: sw-engineer
keywords: extracted from user input
file_patterns: detected extensions
skills: auto-discover from .claude/skills/
guides: auto-discover from templates/guides/
Examples of dynamic creation triggers:
.rb → Ruby expert, .swift → Swift expert)Not user-invocable. Auto-triggered on development intent.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Pre-action boundary checking — validates agent tool calls against declared capabilities and task contracts
中文简介正在准备中。当前显示原文说明。
Auto-detect project context and optimize harness — deactivate unused agents/skills, suggest missing experts, generate project profile
中文简介正在准备中。当前显示原文说明。
Adversarial code review using attacker mindset — trust boundary, attack surface, business logic, and defense evaluation
中文简介正在准备中。当前显示原文说明。
Apache Airflow best practices for DAG authoring, testing, and production deployment
中文简介正在准备中。当前显示原文说明。
Alembic migration patterns for naming conventions, safety checks, expand-contract, env.py configuration, and CI integration
中文简介正在准备中。当前显示原文说明。
Pre-routing ambiguity analysis — scores request clarity and asks clarifying questions when needed (inspired by ouroboros)
中文简介正在准备中。当前显示原文说明。