pr-create-skill

明示的に呼び出されたときにのみ読み込みます。エージェントが自律的に呼び出す必要はありません。

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 5, 2026

When & Why to Use This Skill

The pr-create-skill is a specialized automation tool designed to streamline the GitHub Pull Request workflow. It automates the transition from local development to code review by identifying Jira project keys from branch names, analyzing code changes via git diff, and utilizing the GitHub CLI (gh) to generate descriptive, template-compliant Pull Requests. This skill ensures consistency in documentation and improves traceability between version control and project management systems.

Use Cases

  • Automated PR Creation: Quickly generate standardized GitHub Pull Requests by automatically comparing the current branch with the remote target, reducing manual CLI input.
  • Jira-Linked Workflows: Automatically extract and link Jira project keys from branch naming conventions to ensure every Pull Request is associated with the correct task.
  • Standardized Documentation: Enforce team-wide documentation standards by automatically applying Pull Request templates and following specific document guidelines for every submission.
  • Change Analysis: Use automated git diffing to provide a clear summary of changes, ensuring the PR description accurately reflects the technical modifications made.
namepr-create-skill
description明示的に呼び出されたときにのみ読み込みます。エージェントが自律的に呼び出す必要はありません。

事前確認

  • ユーザからマージ先のブランチを受け取ります。
  • 現在開いているブランチ名に含まれる {大文字の英字列-数字}を Jira に紐つく {PROJECT-KEY} と認識します。

実行内容

  • git diff で、現在のブランチとリモートのマージ先ブランチを比較し、変更の詳細を確認(例: this_branch と origin/main を比較)
  • gh pr create でプルリクエストを作成
    • プルリクエストの内容に記載する文章は、すべて説明的にして、想定ターゲットの存在しない内容にしてください。

Pull Request 作成には以下を参照してください。