
Gh
- Updated January 2, 2026
- 9en/dev-claude-code-plugins
gh is a Claude Code plugin that runs GitHub branch, commit, and pull-request workflows through the gh CLI from inside Claude Code.
About
gh is a Claude Code plugin that streamlines GitHub operations through the gh CLI. It exposes commands for creating branches (/gh:new-branch), committing and pushing (/gh:commit), opening pull requests (/gh:pr), cleaning up merged branches (/gh:cleanup), and running the whole branch-to-PR flow at once (/gh:submit). Each command runs interactively with user confirmation and follows conventional branch-naming and commit-message rules. The README is written in Japanese.
- Five commands: new-branch, commit, pr, cleanup, and submit
- Runs GitHub branch/commit/PR operations through the gh CLI
- Uses conventional branch-naming (feature/, fix/, docs/) and commit types
Gh by the numbers
- Data as of Jul 7, 2026 (Skillselion catalog sync)
gh capabilities & compatibility
Free; requires the gh CLI and a GitHub account.
- Capabilities
- pull request · git commit · branch management
- Works with
- github
- Use cases
- code review
- Pricing
- Free
/plugin marketplace add 9en/dev-claude-code-plugins/plugin install gh@dev-claude-code-pluginsAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Last updated | January 2, 2026 |
|---|---|
| Repository | 9en/dev-claude-code-plugins ↗ |
What it does
A developer uses this plugin when they want to run their GitHub branch, commit, and pull-request workflow from Claude Code with confirmation prompts.
Who is it for?
Running GitHub branch, commit, and pull-request steps from Claude Code with confirmations.
Skip if: Environments without the gh CLI installed or GitHub authentication configured.
When should I use this skill?
The user wants to create a branch, commit, or open a PR via GitHub from the agent.
What you get
A branch is created, changes are committed and pushed, and a pull request is opened in one guided flow.
By the numbers
- 5 commands (new-branch, commit, pr, cleanup, submit)
README.md
gh プラグイン
GitHub 操作を効率化するプラグインです。gh CLI を使用して、ブランチ作成、コミット、PR 作成などの操作を簡単に実行できます。
概要
このプラグインは、日常的な GitHub ワークフローを Claude Code から実行できるようにします。各コマンドはユーザーとの対話を通じて、適切なパラメータを設定しながら実行されます。
コマンド一覧
| コマンド | 説明 |
|---|---|
/gh:new-branch |
新規ブランチを作成 |
/gh:commit |
変更をコミット&プッシュ |
/gh:pr |
プルリクエストを作成 |
/gh:cleanup |
ブランチをクリーンアップ |
/gh:submit |
ブランチ作成からPR作成まで一括実行 |
各コマンドの詳細
/gh:new-branch
作業内容をヒアリングして適切なブランチを作成します。
実行フロー:
- 作業内容を確認
- 適切なブランチ名を提案
- ユーザーの承認を得てブランチを作成
ブランチ命名規則:
feature/- 新機能追加fix/- バグ修正docs/- ドキュメント更新refactor/- リファクタリングtest/- テスト追加・修正chore/- その他の変更
/gh:commit
アクティブなブランチの変更をコミット&プッシュします(確認付き)。
実行フロー:
- 変更内容を確認
- コミットメッセージを作成
- ユーザーの承認を得てコミット&プッシュ
コミットメッセージ形式:
<type>: <subject>
<body>
Type:
feat- 新機能fix- バグ修正docs- ドキュメントstyle- フォーマット変更refactor- リファクタリングtest- テストchore- その他
/gh:pr
main ブランチへのプルリクエストを作成します。
実行フロー:
- 現在のブランチの変更内容を確認
- PR のタイトルと説明を作成
- gh CLI を使用して PR を作成
PR には以下の内容が含まれます:
- 概要
- 変更内容
- テスト項目
- 関連 Issue へのリンク
/gh:cleanup
PR マージ後のブランチクリーンアップと main 更新を行います。
実行フロー:
- PR がマージされたことを確認
- ローカルブランチを削除
- main ブランチを最新に更新
注意事項:
- マージされていないブランチを誤って削除しないよう確認が行われます
- リモートブランチの削除も可能です
/gh:submit
ブランチ作成 → コミット → PR 作成を一括実行します。
実行フロー:
[作業内容確認] → [ブランチ作成] → [コミット] → [プッシュ] → [PR作成]
使用例:
- 作業内容: 「ログイン機能のバグ修正」
- ブランチ名:
fix/login-bug - コミット:
fix: ログイン機能のバグを修正 - PR 作成
このコマンドは、小規模な修正や機能追加を素早く提出したい場合に便利です。
前提条件
ghCLI がインストールされていること- GitHub への認証が完了していること (
gh auth login)
インストール
マーケットプレイスから gh プラグインをインストールしてください。
Related skills
FAQ
What commands does it provide?
It provides /gh:new-branch, /gh:commit, /gh:pr, /gh:cleanup, and /gh:submit.
What are the prerequisites?
The gh CLI must be installed and GitHub authentication completed via gh auth login.