name: github-helper description: Local GitHub repository helper for search, clone, sync, and issue/PR inspection workflows. Use when users mention github/repo/repository, ask to download or track repositories, or need structured local knowledge at /Users/liuchen/Documents/github with gh CLI and GitHub MCP integration.
管理本地 GitHub 仓库目录,维护可检索知识库,并为仓库检索、克隆、Issue/PR 跟踪提供统一流程。
Default path: /Users/liuchen/Documents/github
This path is referenced in the knowledge base file: @/Users/liuchen/Documents/github/CLAUDE.md
When first using this skill or when user requests an update:
scripts/scan_repos.py.scripts/update_kb.py.Example:
# Scan repositories
python3 scripts/scan_repos.py /Users/liuchen/Documents/github
# Update knowledge base (pass repos as JSON)
python3 scripts/update_kb.py /Users/liuchen/Documents/github '[{"name":"repo1","path":"/path","summary":"desc"}]'
When user mentions a repository name:
@/Users/liuchen/Documents/github/CLAUDE.md.gh or GitHub MCP tools.When user requests to download/clone:
bash
cd /Users/liuchen/Documents/github
git clone <repo-url>scripts/scan_repos.py to get repo info.scripts/update_kb.py to update CLAUDE.md.Use gh CLI first, then fall back to GitHub MCP:
Search repositories
gh search repos <query> --limit 10
Search issues
gh issue list --repo <owner/repo> --state all --limit 20
Search PRs
gh pr list --repo <owner/repo> --state all --limit 20
If /Users/liuchen/Documents/github does not exist:
scan_repos.py: Scan local repositories and extract summaries.update_kb.py: Update CLAUDE.md with repository metadata.这个 Skill 质量不错,功能设计比较完整,能帮你整理本地 GitHub 项目、快速搜索、追踪 Issues 和 PR,使用流程清晰顺手。主要不足是路径写死了,换个文件夹位置可能不太方便;另外一些复杂情况下的处理可能不够细致。总体来说,这是一个实用的工具,适合需要管理多个本地仓库的开发者。质量良好,入手简单,能解决日常需求。