Creates PRs via gh CLI with automated base branch detection and behavior-focused descriptions.

Install

mkdir -p .claude/skills/create-pr-luna-rab && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16506" && unzip -o skill.zip -d .claude/skills/create-pr-luna-rab && rm skill.zip

Installs to .claude/skills/create-pr-luna-rab

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

gh コマンドで GitHub の Pull Request を作成する。未コミット変更のコミット、release/* または master 上での新規ブランチ作成(命名規則つき)、過去のコミット履歴を辿ったマージ先の自動判定、リポジトリの PR テンプレート追従、挙動の変化を中心にした PR description 生成を行う。「PRを作って」「プルリクを出して」等の依頼で利用する。
194 charsno explicit “when” trigger
Intermediate

Key capabilities

  • →Commit uncommitted changes to a new branch
  • →Create new branches following naming conventions
  • →Determine the correct base branch from commit history
  • →Generate PR descriptions focused on behavior changes

How it works

The skill first checks the current git status for uncommitted changes. If found, it commits them, potentially on a new branch following naming rules. It then determines the base branch from commit history, checks for PR templates, and generates a PR description focused on behavior changes before creating or updating th

Inputs & outputs

You give it
Uncommitted changes or a branch with changes
You get back
A new or updated GitHub Pull Request with a generated title and description

When to use create-pr

  • →Create a PR for a new feature
  • →Submit a bug fix with automated branch naming
  • →Generate descriptive PR bodies for GitHub

About create-pr

Automates the Pull Request lifecycle using the GitHub CLI. It checks git status, creates feature branches from main or release branches, detects the correct base branch based on history, and generates PR descriptions based on behavior changes.

gh コマンドで GitHub の Pull Request を作成する。未コミット変更のコミット、release/* または master 上での新規ブランチ作成(命名規則つき)、過去のコミット履歴を辿ったマージ先の自動判定、リポジトリの PR テンプレート追従、挙動の変化を中心にした PR description 生成を行う。「PRを作って」「プルリクを出して」等の依頼で利用する。

When not to use it

  • →When the user wants to manually specify the base branch without historical context
  • →When the user wants to guess ticket numbers or merge destinations
  • →When the user wants to describe code differences instead of behavior changes

Prerequisites

gh CLI installed and authenticatedCurrent directory is a git repository

Limitations

  • →Does not guess ticket numbers or merge destinations
  • →Does not describe code differences in the PR body
  • →Requires `gh` CLI to be installed and authenticated

How it compares

This skill automates the PR creation process by handling branch naming, base branch detection, and generating behavior-focused descriptions, ensuring consistency and reducing manual effort compared to creating PRs manually.

Compared to similar skills

create-pr side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
create-pr (this skill)03moReviewIntermediate
fix-pr16moReviewIntermediate
resolve-checks18moReviewIntermediate
agent-github-pr-manager17moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry