Agent skill

create-pr

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

Stars 11
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/getty104/claude-code-marketplace/tree/main/base-tools/skills/create-pr

SKILL.md

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のベースブランチはデフォルトブランチにすること

Command Examples

PR作成の基本コマンド

bash

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

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

bash
gh api user --jq '.login'

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

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results