Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

github-ops

БесплатноЗапускает вложенные скриптыНе проверен

Operates GitHub via gh CLI and REST/GraphQL — PRs, issues, Actions, self-hosted Runner inventory/capacity, repos, collaborators, org permissions, 2FA — with…

daymadeот daymade★ 1 556 звёзд на GitHub28 установок в других каталогах

Об этом скилле

GitHub Operations

Deliver the requested GitHub state, not a successful-looking command. A 200, 201, 202, or 204 response is evidence that GitHub accepted a request; it is not proof that every requested field changed, an invitation was accepted, an asynchronous job finished, or the user's business outcome was achieved.

Route by operation

Read only the reference required for the task:

Task Reference
Create, review, merge, close, compare, or converge PRs; clear approved PR body revisions; retire remote PR branches references/pr_operations.md
Create, edit, search, transfer, close, or bulk-manage issues references/issue_operations.md
Inspect, clone, create, edit, rename, archive, transfer, change visibility, or delete repositories references/repository_operations.md
Copy repositories accessible to another account while keeping the usual account active; configure private copies and upstream sync references/multi_account_repository_sync.md
Inspect or change collaborators, teams, base permissions, member privileges, or organization 2FA references/organization_access_and_settings.md
Protect a default branch while letting collaborators contribute through PRs; inventory protection gaps across an account, roll a baseline out to many repositories, and verify enforcement with a real push references/branch_protection.md
Trigger, inspect, approve a reviewed fork run, rerun, cancel, or purge Actions; diagnose missing checks or shared self-hosted runner contention/transport resets; manage secrets or variables references/workflow_operations.md
Reduce CI email overload, exhausted Actions allowance, unrelated checks or repeated runs; decide what a template or product actually needs references/ci-demand-and-notifications.md before changing runners or notifications
Build and publish a Docker/OCI image to GitHub Container Registry (GHCR) references/ghcr_publishing.md
Use raw REST/GraphQL endpoints, pagination, rate limits, webhooks, or Enterprise hosts references/api_reference.md
Build scripts, retries, bulk operations, or machine-readable output references/best_practices.md

For local Git recovery, dirty worktrees, bundles, or lost commits, use git-safety-net. This skill owns GitHub-hosted state. For repository copies, also handle per-remote authentication and sync setup.

Universal operating contract

1. Classify the request before touching GitHub

  • Answer, inspect, diagnose, or review: read-only. Do not create a PR, issue, comment, invitation, workflow run, or setting change.
  • Create, change, merge, close, grant, revoke, publish, or delete: the named state change is authorized. Keep the target and blast radius inside that request.
  • Destructive, public, credential-related, production-triggering, or externally communicative: require the exact target, consequence, and recovery path. If the user did not provide a material choice such as repository owner, visibility, or message content, stop before the write.

Do not turn a read-only investigation into a mutation because the fix looks obvious. Do not send a comment, review, issue, or invitation whose recipient or content was not authorized in the current task.

For an authorized contributor, assess repository access against their ongoing contribution role, not just today's read or sync command. Repository Write access and permission to update the default branch are separate decisions. Follow the user's chosen contribution scope; use branch protection and PR review to control integration rather than silently reducing a contributor to Read. A diagnosis alone still does not authorize a grant.

2. Bind identity, host, and target

Before the first write, verify the active account and resolve a fully qualified target:

gh auth status --hostname HOST
gh api --hostname HOST user --jq '.login'
gh repo view HOST/OWNER/REPO \
  --json nameWithOwner,visibility,isPrivate,viewerPermission,url

For github.com, OWNER/REPO is sufficient. Never use gh auth status --show-token for routine diagnosis, and never print, paste, or log a token.

Before the first push to a remote in the current session, read its live visibility:

gh repo view OWNER/REPO \
  --json nameWithOwner,visibility,isPrivate,stargazerCount,forkCount,url

Bind identity to the interface that will perform the write. CLI identity does not establish a connector, browser, REST client, or Git SSH identity. Resolve the expected actor from the user's a

Полный SKILL.md на GitHub

Установить github-ops в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/api_reference.mdreferences/best_practices.mdreferences/branch_protection.mdreferences/ci-demand-and-notifications.mdreferences/ghcr_publishing.mdreferences/issue_operations.mdreferences/multi_account_repository_sync.mdreferences/organization_access_and_settings.mdreferences/pr_operations.mdreferences/repository_operations.mdreferences/workflow_operations.mdscripts/checked_gh.py

FAQ

Что делает скилл github-ops?

Operates GitHub via gh CLI and REST/GraphQL — PRs, issues, Actions, self-hosted Runner inventory/capacity, repos, collaborators, org permissions, 2FA — with explicit target, authorization, and independent readback. Use when a write reports success but state didn't change, or choosing gh/REST/GraphQL/UI-only. Not for local Git recovery (use git-safety-net), maintainer PR review (use github-review-pr), or upstream contribution (use github-contributor).

Как установить скилл github-ops?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл github-ops запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить github-ops с