SKILL.md
Explore Codebase
Use the code-review-graph MCP tools to explore and understand the codebase.
Steps
- Run
listgraphstats_toolto see overall codebase metrics. - Run
getarchitectureoverview_toolfor high-level community structure. - Use
listcommunitiestoolto find major modules, thengetcommunitytoolfor details. - Use
semanticsearchnodes_toolto find specific functions or classes. - Use
querygraphtoolwith patterns likecallersof,calleesof,imports_ofto trace relationships. - Use
listflowstoolandgetflowtoolto understand execution paths.
Tips
- Start broad (stats, architecture) then narrow down to specific areas.
- Use
children_ofon a file to see all its functions and classes. - Use
findlargefunctions_toolto identify complex code.
Token Efficiency Rules
- Start with
getminimalcontext_tool(task="<your task>")before other graph tools. - Use
detail_level="minimal"on all calls. Only escalate to "standard" when minimal is insufficient. - Target: complete any review/debug/refactor task in ≤5 tool calls and ≤800 total output tokens.
- Read the implementation and its tests before changing code. The graph narrows scope; it does not replace the source.