什么是 exploring-codebases?
代码库的语义搜索。使用 ripgrep 查找匹配项,并使用树托管或预生成的 _MAP.md 文件将它们扩展为完整的 AST 节点(函数/类)。返回完整的、语法上有效的代码块,而不是零散的行。在查找需要完整上下文的特定实现、示例或参考时使用。 来源:oaustegard/claude-skills。
代码库的语义搜索。使用 ripgrep 查找匹配项,并使用树托管或预生成的 _MAP.md 文件将它们扩展为完整的 AST 节点(函数/类)。返回完整的、语法上有效的代码块,而不是零散的行。在查找需要完整上下文的特定实现、示例或参考时使用。
通过命令行快速安装 exploring-codebases AI 技能到你的开发环境
来源:oaustegard/claude-skills。
Hybrid search tool that combines the speed of ripgrep with structural awareness from tree-sitter or pre-generated MAP.md files. It finds matches and returns the entire function or class containing the match, de-duplicating results semantically.
By default, returns signatures only (docstrings + declarations without function bodies), reducing token usage by 10-20x. Use --expand-full to get complete implementations when needed.
When MAP.md files exist (generated by mapping-codebases), use --use-maps to skip tree-sitter entirely:
代码库的语义搜索。使用 ripgrep 查找匹配项,并使用树托管或预生成的 _MAP.md 文件将它们扩展为完整的 AST 节点(函数/类)。返回完整的、语法上有效的代码块,而不是零散的行。在查找需要完整上下文的特定实现、示例或参考时使用。 来源:oaustegard/claude-skills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/oaustegard/claude-skills --skill exploring-codebases代码库的语义搜索。使用 ripgrep 查找匹配项,并使用树托管或预生成的 _MAP.md 文件将它们扩展为完整的 AST 节点(函数/类)。返回完整的、语法上有效的代码块,而不是零散的行。在查找需要完整上下文的特定实现、示例或参考时使用。 来源:oaustegard/claude-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/oaustegard/claude-skills --skill exploring-codebases 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/oaustegard/claude-skills