复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-explore-codebase-fe440d718aea ,按照其中的说明把「explore-codebase」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Use the code-review-graph MCP tools to find your way around the codebase.
get_architecture_overview_tool for the community structure. Call list_communities_tool, then get_community_tool, only for the modules you need.semantic_search_nodes_tool to find a function or class by name or keyword.query_graph_tool with callers_of, callees_of or imports_of to trace relationships. children_of on a file lists its functions and classes.list_flows_tool, then get_flow_tool for one flow, to follow an execution path.find_large_functions_tool to find oversized functions.list_graph_stats_tool only when you need node, edge and language counts.get_minimal_context_tool(task="<your task>") before any other graph tool.detail_level="minimal" wherever a tool accepts it. Use "standard" only when minimal is not enough.query_graph_tool call over a broad listing call.