·gh-grep

使用 grep.app 在數百萬個 GitHub 存儲庫中搜索真實代碼示例。在尋找實現模式、API 使用示例、庫集成模式或生產代碼參考時應使用此技能。支持文字代碼搜索、正則表達式模式以及按語言/存儲庫/路徑進行過濾。

7安裝·0熱度·@huynguyen03dev

安裝

$npx skills add https://github.com/huynguyen03dev/opencode-setup --skill gh-grep

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