·explore-codebase
{}

explore-codebase

vinta/hal-9000

在导航不熟悉的代码或理解体系结构、跟踪调用流或符号定义、回答此定义在何处或此工作原理的问题、按名称或模式查找文件或在更改代码之前进行预重构分析以找到所有引用时使用

10安装·2热度·@vinta

安装

$npx skills add https://github.com/vinta/hal-9000 --skill explore-codebase

SKILL.md

| Structural patterns (functions, classes) | sg (ast-grep) | | Text/regex patterns (strings, names) | rg (ripgrep) | | File discovery by name/extension | fd |

Decision flow: Find files first? fd → pipe to rg/sg. Syntax-aware match needed? sg. Fast text search? rg. Uncertain? Start with rg, escalate to sg if structure matters.

ast-grep is the least familiar tool -- key syntax summarized here. See references/ast-grep.md for language-specific patterns and YAML rule files.

在导航不熟悉的代码或理解体系结构、跟踪调用流或符号定义、回答此定义在何处或此工作原理的问题、按名称或模式查找文件或在更改代码之前进行预重构分析以找到所有引用时使用 来源:vinta/hal-9000。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/vinta/hal-9000 --skill explore-codebase
分类
{}数据分析
认证
收录时间
2026-02-15
更新时间
2026-02-18

快速解答

什么是 explore-codebase?

在导航不熟悉的代码或理解体系结构、跟踪调用流或符号定义、回答此定义在何处或此工作原理的问题、按名称或模式查找文件或在更改代码之前进行预重构分析以找到所有引用时使用 来源:vinta/hal-9000。

如何安装 explore-codebase?

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

这个 Skill 的源码在哪?

https://github.com/vinta/hal-9000

详情

分类
{}数据分析
来源
skills.sh
收录时间
2026-02-15