Automated summary
This skill routes a codebase question to the most suitable tool: structural graph for architecture and call traces, semantic search to locate code, or risk analysis before changing it.
Strengths
- Explicit keyword routing (architecture/flow, find/search, impact/risk) that replaces manual file exploration
- Relies on specialised MCP tools (trace_path, search, detect_changes_tool) instead of grep and file reads
- States expected token savings (120× less than manual exploration) and prescribes a structured answer format
- Falls back to reading files directly when no tool fits
Limitations
- Assumes the three MCP servers (codebase-memory, cocoindex-code, code-review-graph) are already installed and indexed
- Routing is simple keyword matching, so an ambiguous question can be sent to the wrong tool
- Little value on a tiny repo or a single isolated file where reading directly is enough
Use it when you need to find or understand code without knowing exact file names, or before editing code to gauge the blast radius.
Avoid it when the related MCP servers are not configured, or when the question targets a specific file you already know.
Security analysis
SafeThis is a pure routing/instruction document. It references MCP tool names (codebase-memory, cocoindex-code, code-review-graph) but contains no shell commands, no file deletion, no network exfiltration, no credential handling, and no attempt to disable safety controls. The only actions it asks for are read-only graph searches and, as a fallback, reading files directly. No declared tools amplify risk.
No concerns found
How this analysis is madeExamples
How does an incoming HTTP request end up writing to the audit log? Trace the path through the codebase.Where is the retry/backoff logic for failed webhook deliveries implemented?I want to change the signature of the PaymentService.charge method — what breaks and what's the blast radius against main?name: ask description: Route a codebase question to the right tool — structural graph, semantic search, or risk analysis. Use when you need to find or understand code without knowing exact file names.
Ask Skill — Codebase Question Router
Answer a question about the codebase by routing to the most effective tool.
Don't search files manually when a smarter tool exists.
Routing Rules
Architecture / flow / how does X work / trace a call
Use mcp__codebase-memory__trace_path or mcp__codebase-memory__get_architecture.
Zero file reads. 120× fewer tokens than manual exploration.
Find / search / locate / what file / which function
Use mcp__cocoindex-code__search with a semantic query.
Finds code by meaning, not exact text — useful when you don't know the exact name.
Safe to change / impact / blast radius / what breaks / risk score
Use mcp__code-review-graph__detect_changes_tool with base_branch="main".
Reports: risk score 0–100, blast radius, breaking changes, dependent modules.
General code question (narrow, specific file, no plugin fits)
Read the file directly. Grep for the symbol.
Decision Logic
- Contains architecture/flow/trace/how/explain → codebase-memory-mcp
- Contains find/search/locate/where/what file → cocoindex-code
- Contains safe/impact/blast/breaks/risk/change → code-review-graph
- None of the above → read directly
Answer Format
- Tool used and why
- Finding (file path + line if applicable)
- Surprising cross-module connections revealed by the graph (if any)
If no tool gives a clear answer, fall back to reading relevant files.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/codebase-question-router-mrx3xw9j/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/codebase-question-router-mrx3xw9j' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/codebase-question-router-mrx3xw9j/download' --output '.skill-downloads/codebase-question-router-mrx3xw9j/SKILL.md.part' && mv '.skill-downloads/codebase-question-router-mrx3xw9j/SKILL.md.part' '.skill-downloads/codebase-question-router-mrx3xw9j/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/codebase-question-router-mrx3xw9j/SKILL.md' && test -s '.skill-downloads/codebase-question-router-mrx3xw9j/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/ask' && cp -R '.skill-downloads/codebase-question-router-mrx3xw9j' '.claude/skills/ask'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/codebase-question-router-mrx3xw9j'openskills read 'codebase-question-router-mrx3xw9j'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/codebase-question-router-mrx3xw9j/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.