gh-grep
✓使用 grep.app 在数百万个 GitHub 存储库中搜索真实代码示例。在寻找实现模式、API 使用示例、库集成模式或生产代码参考时应使用此技能。支持文字代码搜索、正则表达式模式以及按语言/存储库/路径进行过滤。
SKILL.md
Base directory for this skill: /home/hazeruno/.config/opencode/skills/gh-grep
Search for real-world code examples across over a million public GitHub repositories via grep.app.
| --query | Literal code pattern (required) | | --match-case | Case-sensitive search | | --match-whole-words | Match whole words only | | --use-regexp | Interpret query as regex | | --repo | Filter by repository (e.g., facebook/react) | | --path | Filter by file path (e.g., src/components/) |
使用 grep.app 在数百万个 GitHub 存储库中搜索真实代码示例。在寻找实现模式、API 使用示例、库集成模式或生产代码参考时应使用此技能。支持文字代码搜索、正则表达式模式以及按语言/存储库/路径进行过滤。 来源:huynguyen03dev/opencode-setup。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/huynguyen03dev/opencode-setup --skill gh-grep- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 gh-grep?
使用 grep.app 在数百万个 GitHub 存储库中搜索真实代码示例。在寻找实现模式、API 使用示例、库集成模式或生产代码参考时应使用此技能。支持文字代码搜索、正则表达式模式以及按语言/存储库/路径进行过滤。 来源:huynguyen03dev/opencode-setup。
如何安装 gh-grep?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/huynguyen03dev/opencode-setup --skill gh-grep 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/huynguyen03dev/opencode-setup
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01