本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)48k · #4747

github-automation

できること

このツールは、GitHubでIssue、Pull Request、ブランチ、ワークフローなどのタスクを管理するのに役立ちます。リポジトリのルールに従って、自動的かつ安全に作業を行います。

使う場面

  • ✓GitHubで繰り返し行う作業を自動化したいとき。
  • ✓1つのリポジトリで複数のプロジェクトや共同作業者を管理するとき。
  • ✓リポジトリのセキュリティルールやポリシーを必ず守りたいとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/github-automation/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/github-automation/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“'my-project'リポジトリに、タイトルが'Login Error'、説明文が'Users cannot access the platform.'の新しいIssueを作成して。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このツールは、Rube MCPというシステムを使ってGitHubに接続します。リポジトリのルールを確認したうえで、Issueの作成やPull Requestの更新などの依頼された操作を実行します。すべての作業が決められたポリシーに沿って行われるようにします。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

GitHub Automation via Rube MCP

Use Composio's GitHub toolkit through Rube MCP while preserving repository policy, exact revision identity, and branch protection.

When to Use

Use for programmatic GitHub issue, pull-request, branch, Actions, deployment, collaborator, or protection tasks when Rube MCP is available. Prefer the native gh workflow or a repository-specific maintainer command when local repository policy requires it.

Setup

  1. Confirm RUBE_SEARCH_TOOLS is available.
  2. Search for the current GitHub tool schemas before composing calls.
  3. Use RUBE_MANAGE_CONNECTIONS with toolkit github and complete OAuth only if the connection is not active.
  4. Resolve the exact owner/repo; do not rely on a similarly named repository.

Never request, print, or persist GitHub credentials in prompts or artifacts.

Repository Policy Gate

Before mutation, read AGENTS.md, contribution and maintainer docs, then inspect the default branch and effective protection. Repository-native commands and required checks take precedence over generic Rube operations.

If a repository provides a guarded merge or release command, use it instead of the generic merge tool. In agentic-awesome-skills, use antigravity-maintainer-batch-release and npm run merge:batch so exact-SHA review, fresh check-suite binding, and protected main are enforced.

Workflows

Issues

  1. List or search existing issues before creating a duplicate.
  2. Distinguish issues from pull requests in mixed results.
  3. Read the current item, comments, labels, and linked PRs before changing state.
  4. Create, comment, label, assign, or close only within the user's requested scope.
  5. Re-read the item and verify the resulting state.

Paginate until the requested result set is complete. Treat silent omission of labels or assignees as a permissions failure, not success.

Pull requests

  1. Resolve the PR and capture its number, base, full head SHA, draft state, author, fork identity, and mergeability.
  2. Inspect changed files, reviews, conversations, and required check runs.
  3. Bind every review or approval decision to the current full head SHA.
  4. Create or update the PR body truthfully; never mark pending tests or reviews as completed.
  5. Immediately before merge, re-read base/head identity, branch protection, mergeability, required checks, and repository policy.
  6. Use the repository's guarded merge path. Call a generic merge tool only when policy permits it and the user authorized the merge.
  7. Verify the PR reports MERGED and confirm the target branch contains the intended commit.

Do not treat a successful API call that enables auto-merge or queues work as an immediate merge.

Branches and references

  1. Resolve the source commit SHA and target ref explicitly.
  2. Create topic branches rather than updating protected/default branches directly.
  3. Reject non-fast-forward or force updates unless the user explicitly authorizes them and repository policy permits them.
  4. Confirm the remote ref after mutation.

Deletion, force-push, default-branch changes, and protection changes are destructive or high-impact actions requiring explicit authorization.

Actions and deployments

  1. Resolve the workflow by trusted ID or path and confirm workflow_dispatch support before dispatch.
  2. Bind run inspection to the intended event, ref, and head SHA.
  3. Distinguish queued, in_progress, action_required, completed, and skipped states.
  4. Read failed job logs before proposing source changes.
  5. Wait for terminal success and verify the deployed or published surface separately.

Do not approve fork workflow runs by raw run ID when the repository provides a guarded approval command.

Permissions and protection

  1. Read collaborators, role, branch protection, and applicable rulesets before proposing changes.
  2. Treat a 404 protection response as “not configured” only after confirming repository and branch identity.
  3. Show the exact before/after policy and impact before any protection or permission mutation.
  4. Re-read effective state after the change.

Failure Rules

  • Re-resolve tool schemas when Rube reports missing or changed parameters.
  • Stop on repository ambiguity, stale head/base SHA, missing permissions, incomplete pagination, or inconclusive protection state.
  • Never bypass required checks, reviews, merge queues, maintainer commands, or server-side branch protection.

…

よくある質問

Rube MCPとは何ですか?

AIツールがGitHubなどの外部サービスと、安全かつ管理された方法でやり取りできるようにするシステムです。

ブランチ保護ルールを変更できますか?

このツールでは、ブランチ保護ルールを直接変更することはできません。安全性を保つため、既存のルールの範囲内で動作します。

作業が失敗した場合はどうなりますか?

作業が失敗すると、ツールは処理を止めて、権限不足やルールによる制限など、その理由を報告します。失敗や セキュリティルールを無視することはありません。

詳細

作者による元の説明

Operate GitHub issues, pull requests, branches, checks, workflows, and permissions through Rube MCP. Use when GitHub work must be queried or changed programmatically with repository-policy safeguards.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#4747
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル