zhiweiofli

Search GitHub — Git skill for Claude Code

Git community

Search GitHub for repositories, issues, or pull requests using gh CLI.

How to install Search GitHub

Installs to ~/.claude/commands/zhiweiofli-github-kb-search-github.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/zhiweiofli/github-kb/HEAD/.claude/commands/search-github.md -o ~/.claude/commands/zhiweiofli-github-kb-search-github.md

Restart Claude Code, or start a new session, for it to be picked up.

What Search GitHub does


description: Search GitHub for repositories, issues, or pull requests using gh CLI

/search-github

搜索 GitHub 仓库、Issues 或 Pull Requests。

Usage

/search-github 

Examples

/search-github chatbot framework python
/search-github topic:mcp stars:>100
/search-github "memory leak" repo:anthropics/claude-code

Workflow

  1. 解析用户查询,识别搜索类型(repos/issues/prs)
  2. 构建 gh CLI 命令
  3. 执行搜索并格式化结果
  4. 询问用户是否需要克隆感兴趣的仓库

Output

返回格式化的搜索结果列表,包含:

  • 仓库名称和链接
  • 描述
  • Stars / For

Alternatives in Git

  • Claude Code GitHub Issues — by anthropics - 问题反馈和功能请求 81.1k ★
  • Yeet — Stage, commit, push code, and open a GitHub pull request via CLI 14.6k ★
  • PR Review Toolkit — Specialized agents for reviewing pull requests 14k ★

Full documentation available on GitHub

View Source Repository