Skill
Community

create-pr

Install
1
Install the plugin
$
npx claudepluginhub getty104/claude-code-marketplace --plugin base-tools

Want just this skill?

Then install: npx claudepluginhub u/[userId]/[slug]

Description

GitHubでPull Request(PR)を作成します。PRのdescriptionには指定されたテンプレートを使用し、必要な情報を記載します。PR作成後、PRのURLを報告します。

Tool Access

This skill uses the workspace's default tool permissions.

Skill Content

Create Pull Request

このスキルは、GitHubでPull Request(PR)を作成するためのスキルです。 このスキルが呼び出された際には、Instructionsに従って、PRの作成を行ってください。

Instructions

PRは以下のルールで作成します。

  • PRのdescriptionのテンプレートは.github/PULL_REQUEST_TEMPLATE.mdを参照し、それに従うこと
  • PRのdescriptionのテンプレート内でコメントアウトされている箇所は必ず削除すること
  • PRのdescriptionにはCloses [Issue番号]と記載すること
  • gh api user --jq '.login'で取得したユーザーをAssigneesに追加すること
  • PRのベースブランチはデフォルトブランチにすること
  • $ARGUMENTS--triage-scopeが含まれている場合は、PRにcc-triage-scopeラベルを付与すること

Command Examples

PR作成の基本コマンド


gh pr create --title "PRタイトル" --body "PRの本文" --base main --assignee "$(gh api user --jq '.login')"

triage-scopeラベルを付与する場合

gh api user --jq '.login'

gh pr create --title "PRタイトル" --body "PRの本文" --base main --assignee "$(gh api user --jq '.login')" --label "cc-triage-scope"
Stats
Stars11
Forks0
Last CommitMar 20, 2026

Similar Skills