gh
GitHub REST API client — repositories, issues, pull requests, changed files, reviews, comments and GitHub search. Use for GitHub repos, code/issues/PR search…
от hyper-code-harness★ 22 звезды на GitHub
Установить gh в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
GitHub
Live GitHub REST API through the locally authenticated gh CLI keyring, with GH_TOKEN/GITHUB_TOKEN as environment overrides. The token is never exposed by a plugin function.
Read functions
gh.me({})gh.repo({ owner, repo })gh.search({ q, kind?, sort?, order?, max? })—kind:issues | code | repositories | commits | users.gh.issues({ owner, repo, state?, labels?, max? })gh.issue({ owner, repo, n, comments? })gh.prs({ owner, repo, state?, max? })gh.pr({ owner, repo, n, files?, reviews? })gh.api({ route, path?, params?, headers?, per_page?, page? })— low-level REST escape hatch; GET/HEAD are read operations.
Write functions
Only after an explicit user request; all require confirm: true:
gh.createIssue({ owner, repo, title, body?, labels?, assignees?, confirm: true })gh.updateIssue({ owner, repo, n, title?, body?, state?, stateReason?, labels?, assignees?, milestone?, confirm: true })gh.comment({ owner, repo, n, body, confirm: true })gh.createPr({ owner, repo, title, head, base, body?, draft?, confirm: true })gh.updatePr({ owner, repo, n, title?, body?, state?, base?, confirm: true })gh.requestReviewers({ owner, repo, n, reviewers?, teamReviewers?, confirm: true })gh.review({ owner, repo, n, event, body?, comments?, confirm: true })—APPROVE | REQUEST_CHANGES | COMMENT.gh.merge({ owner, repo, n, method?, title?, message?, sha?, confirm: true })— destructive;method:merge | squash | rebase.gh.api({ route, ..., confirm: true })for any non-GET request.
await ctx.fns.gh.repo({ owner: "HealthSamurai", repo: "aidbox" });
await ctx.fns.gh.search({ q: "repo:HL7/fhir is:issue SQL on FHIR", max: 5 });
await ctx.fns.gh.pr({ owner: "HealthSamurai", repo: "aidbox", n: 1, files: true, reviews: true });
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- package.json
- src/gh/api.ts
- src/gh/comment.ts
- src/gh/createIssue.ts
- src/gh/createPr.ts
- src/gh/issue.ts
- src/gh/issues.ts
- src/gh/me.ts
- src/gh/merge.ts
- src/gh/pr.ts
- src/gh/prs.ts
- src/gh/repo.ts
- src/gh/requestReviewers.ts
- src/gh/review.ts
- src/gh/search.ts
- src/gh/updateIssue.ts
- src/gh/updatePr.ts
- src/gh/writeGuard.test.ts
FAQ
Что делает скилл gh?
GitHub REST API client — repositories, issues, pull requests, changed files, reviews, comments and GitHub search. Use for GitHub repos, code/issues/PR search, issue discussions and PR review context. Writes are guarded by explicit confirmation.
Как установить скилл gh?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл gh запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…