·exploring-codebases
</>

exploring-codebases

代码库的语义搜索。使用 ripgrep 查找匹配项,并使用树托管或预生成的 _MAP.md 文件将它们扩展为完整的 AST 节点(函数/类)。返回完整的、语法上有效的代码块,而不是零散的行。在查找需要完整上下文的特定实现、示例或参考时使用。

24安装·0热度·@oaustegard

安装

$npx skills add https://github.com/oaustegard/claude-skills --skill exploring-codebases

如何安装 exploring-codebases

通过命令行快速安装 exploring-codebases AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/oaustegard/claude-skills --skill exploring-codebases
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:oaustegard/claude-skills。

SKILL.md

查看原文

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
分类
</>开发工具
认证
收录时间
2026-02-22
更新时间
2026-03-10

Browse more skills from oaustegard/claude-skills

快速解答

什么是 exploring-codebases?

代码库的语义搜索。使用 ripgrep 查找匹配项,并使用树托管或预生成的 _MAP.md 文件将它们扩展为完整的 AST 节点(函数/类)。返回完整的、语法上有效的代码块,而不是零散的行。在查找需要完整上下文的特定实现、示例或参考时使用。 来源:oaustegard/claude-skills。

如何安装 exploring-codebases?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/oaustegard/claude-skills --skill exploring-codebases 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/oaustegard/claude-skills