code-tool-router
Choose the right code intelligence tool before searching, navigating, refactoring, or analyzing a codebase. Use for exact search, semantic discovery, symbol references, call graphs, and architecture work.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-15
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- code-tool-router
- license
- Apache-2.0
- description
- Choose the right code intelligence tool before searching, navigating, refactoring, or analyzing a codebase. Use for exact search, semantic discovery, symbol references, call graphs, and architecture work.
- compatibility
- Requires a local code workspace. Uses rg first; Semble, Serena, and CodeGraphContext are optional.
03 SKILL.md 正文
Code Tool Router
Classify the question before searching, then use the cheapest reliable tool.
| Intent | First tool | Verification |
|---|---|---|
| Exact string, config key, error text, filename, or symbol spelling | rg |
Open matching files |
| Broad semantic discovery or similar implementations | Semble | Confirm with rg and source reads |
| Definitions, references, rename, or type-aware navigation | Serena or another LSP tool | Check generated and dynamic call sites with rg |
| Callers, callees, complexity, or dependency graph | CodeGraphContext (CGC) | Confirm important edges in source |
| Current library or API behavior | Official documentation | Compare with local pinned usage |
Exact search examples:
rg -n "reset_session\\(" .
rg --files | rg "memory|context"
Semantic discovery examples:
uvx --from semble==0.5.4 semble search "where session context is assembled" .
uvx --from semble==0.5.4 semble find-related src/path/file.ts 42 .
Graph examples:
cgc stats . --context "$(basename "$PWD")"
cgc find name reset_session --context "$(basename "$PWD")"
cgc analyze callers reset_session --context "$(basename "$PWD")"
cgc analyze complexity --limit 20 --context "$(basename "$PWD")"
If a specialized tool is unavailable, continue with rg, direct source reads,
and the language's own analysis tools. Do not claim a rename or impact set is
complete without type-aware or source-level verification.
Use semantic and graph results as shortlists, not proof. Source code and reproducible tests remain authoritative.
04 同仓库更多 Skills
cloudflare-one-migrations
Plans migrations from Zscaler ZIA/ZPA, Palo Alto, legacy VPN, SWG, or SASE stacks to Cloudflare One. Use for migration assessments, policy mapping, rollout plans, and parity/gap analysis.
cloudflare-email-service
Send and receive transactional emails with Cloudflare Email Service (Email Sending + Email Routing). Use when building email sending (Workers binding or REST API), email routing, Agents SDK email handling, or integrating email into any app — Workers, Node.js, Python, Go, etc. Also use for email deliverability, SPF/DKIM/DMARC, wrangler email setup, MCP email tools, or when a coding agent needs to send emails. Even for simple requests like "add email to my Worker" — this skill has critical config details.
fixture-skill
Exercises the deterministic pinned-copy bridge fixture.
fixture-skill
Exercises the deterministic pinned-copy bridge fixture.
fixture
Exercise a valid direct-source Agent Plugins package without Directory submission.
campaign-planning
Plan a marketing campaign, content calendar or landing-page launch using an audience brief, existing Notion content, HubSpot CRM insights and Playwright checks.