首页/ AI 技能 / @skilllib/skill-2014279416992444417
Skill站外收录 @skilllib/skill-2014279416992444417

github-search

支持在 GitHub 上检索代码、仓库、问题和拉取请求,能够根据关键词、语言、标签等条件进行精确过滤,适用于快速定位开源项目中的技术实现或跟踪特定议题。

0.0 (0) 229 次安装 原作者 编程导航
收录于 2026-01-22
开发运维 AI 技能

Skills.MD

# GitHub Search Skill ## When to Use - Search code across repositories - Find issues or PRs - Look up repository information ## Instructions ```bash uv run python -m runtime.harness scripts/mcp/github_search.py \ --type "code" \ --query "your search query" ``` ### Parameters - `--type`: Search type - `code`, `repos`, `issues`, `prs` - `--query`: Search query (supports GitHub search syntax) - `--owner`: (optional) Filter by repo owner - `--repo`: (optional) Filter by repo name ### Examples ```bash # Search code uv run python -m runtime.harness scripts/mcp/github_search.py \ --type "code" \ --query "authentication language:python" # Search issues uv run python -m runtime.harness scripts/mcp/github_search.py \ --type "issues" \ --query "bug label:critical" \ --owner "anthropics" ``` ## MCP Server Required Requires `github` server in mcp_config.json with GITHUB_PERSONAL_ACCESS_TOKEN.

评论 0

还没有评论,来抢沙发。