code-pull-request skill
CLIツールを介して、GitHubのプルリクエストやGitLabのマージリクエストの作成、コメント、マージを管理します。
- GitHubスター
- 51
- ファイル
- 8
- 最終コミット
- 2026年11月7日
- ライセンス
- MIT
- 許可されたツール
- —
code-pull-request skillは何をしますか
code-pull-requestはAgent Skillsです。 CLIツールを介して、GitHubのプルリクエストやGitLabのマージリクエストの作成、コメント、マージを管理します。.
skillのSKILL.mdから生成された要約。
code-pull-request skill について
このSKILLは、ターミナルベースの環境で作業する開発者が、GitHubおよびGitLabのバージョン管理ワークフローを管理できるようにします。プルリクエストやマージリクエストの作成から最終的なマージまで、ライフサイクル全体をエージェントが処理できます。エージェントがフィーチャーブランチのレビュー準備が整ったことを検知すると、このSKILLを使用してコードを提出したり、既存のフィードバックを読み取ったり、レビュアーの懸念に対応するために新しいコメントを投稿したりできます。
このSKILLは、ローカルシステムにインストールされ認証されているghまたはglab CLIツールを通じてコマンドを実行することで動作します。安全性を確保するため、このSKILLは書き込みゲートモデルを採用しています。プルリクエストの作成、コメントの投稿、コードのマージなど、リポジトリを変更するすべての操作は、コマンドが実行される前に人間による明示的な確認が必要です。これにより、開発者の監視を維持しながら、繰り返しのgit操作を制御された方法で自動化できます。
エージェントができること
- 1レビューのためのコード提出フィーチャーブランチが完了した際、エージェントが新しいプルリクエストまたはマージリクエストを自動的に作成できます。
- 2レビュアーのフィードバック管理開発者はエージェントを使用して、プルリクエスト内の既存のコメントを読み取り、必要な変更内容を把握できます。
- 3ディスカッションへの対応エージェントはプルリクエスト内の特定のコメントに返信し、コミュニケーションを円滑にできます。
skill の SKILL.md から作成されています。すべてのユースケースは、その引用と照合されています。
code-pull-request skillのインストール方法
各コマンドはskillフォルダをクライアントのskillsディレクトリにコピーします。読み込むには、クライアントを再起動するか新しいセッションを開始してください。プラグインにcode-pull-request skillをインストールする
/plugin marketplace add martinffx/atelier /plugin install atelier@atelier
Claude Codeにcode-pull-request skillをインストールする
~/.claude/skills/code-pull-request/SKILL.md
$ npx degit martinffx/atelier/skills/code-pull-request ~/.claude/skills/code-pull-requestClaude Code (project)にcode-pull-request skillをインストールする
.claude/skills/code-pull-request/SKILL.md
$ npx degit martinffx/atelier/skills/code-pull-request .claude/skills/code-pull-requestCodexにcode-pull-request skillをインストールする
~/.agents/skills/code-pull-request/SKILL.md
$ npx degit martinffx/atelier/skills/code-pull-request ~/.agents/skills/code-pull-requestGemini CLIにcode-pull-request skillをインストールする
~/.gemini/skills/code-pull-request/SKILL.md
$ npx degit martinffx/atelier/skills/code-pull-request ~/.gemini/skills/code-pull-requestClaude.aiにcode-pull-request skillをインストールする
npx degit martinffx/atelier/skills/code-pull-request code-pull-request && zip -r code-pull-request.zip code-pull-request # claude.ai → Customize → Skills → + → Create skill → Upload a skill → code-pull-request.zip
SKILL.md
GitHubで表示Pull Request / Merge Request Skill
Create, comment on, and merge GitHub pull requests or GitLab merge requests for the
current branch. Assumes the relevant CLI (gh or glab) is installed and authenticated.
This skill is create/read + write-gated. Every write action (create PR, leave comment, respond to comment, merge) requires explicit human confirmation before running.
Start Here
- Detect the platform and find the current branch's open PR/MR — see references/common.md.
- Pick a workflow:
| Workflow | Reference | Trigger phrases |
|---|---|---|
| Create PR/MR | create-pr.md | "open a PR", "make a PR", "submit for review" |
| Read comments | read-comments.md | "read PR comments", "show MR comments" |
| Leave a comment | leave-comment.md | "leave a comment", "comment on the PR" |
| Respond to a comment | respond-to-comment.md | "respond to a comment", "reply on the PR" |
| Merge PR/MR | merge-pr.md | "merge this PR", "ship it", "merge the MR" |
Both GitHub (gh) and GitLab (glab) are first-class. Every write step pauses for
human approval before running the CLI command.
このスキルのファイル
8code-pull-request skillに関する質問
Claude Codeにcode-pull-request skillをインストールするには
npx degit martinffx/atelier/skills/code-pull-request ~/.claude/skills/code-pull-requestを実行してください。Claude Codeは~/.claude/skills(すべてのプロジェクト)または.claude/skills(単一プロジェクト)からskillsを読み込み、説明がタスクに一致する場合にskillを使用します。
code-pull-request skillはどのクライアントで使用できますか
Agent Skills形式を読み込むすべてのクライアントで使用できます: Claude Code、Codex、Gemini CLI、claude.ai(ZIPとしてアップロード)。skill内のスクリプトは、クライアントがコード実行を許可した場合にのみ実行されます。
どのプラットフォームに対応していますか?
GitHubとGitLabの両方に対応しており、それぞれのCLIを使用します。
エージェントは書き込み操作を自動的に行いますか?
いいえ、プルリクエストの作成やマージなどのすべての書き込み操作には、人間による明示的な確認が必要です。
このSKILLを使用するために必要なツールは何ですか?
GitHub用のghまたはGitLab用のglabといった、関連するCLIツールがインストールされ、認証されている必要があります。