create-pr

GitHubのプルリクエスト(PR)を作成する際に使用します。変更のコミット、プッシュ、PR作成を含む完全なワークフローを日本語で実行します。「PRを作って」「プルリクエストを作成」「pull requestを作成」などのリクエストで自動的に起動します。

242 stars

Best use case

create-pr is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. GitHubのプルリクエスト(PR)を作成する際に使用します。変更のコミット、プッシュ、PR作成を含む完全なワークフローを日本語で実行します。「PRを作って」「プルリクエストを作成」「pull requestを作成」などのリクエストで自動的に起動します。

GitHubのプルリクエスト(PR)を作成する際に使用します。変更のコミット、プッシュ、PR作成を含む完全なワークフローを日本語で実行します。「PRを作って」「プルリクエストを作成」「pull requestを作成」などのリクエストで自動的に起動します。

Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.

Practical example

Example input

Use the "create-pr" skill to help with this workflow task. Context: GitHubのプルリクエスト(PR)を作成する際に使用します。変更のコミット、プッシュ、PR作成を含む完全なワークフローを日本語で実行します。「PRを作って」「プルリクエストを作成」「pull requestを作成」などのリクエストで自動的に起動します。

Example output

A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.

When to use this skill

  • Use this skill when you want a reusable workflow rather than writing the same prompt again and again.

When not to use this skill

  • Do not use this when you only need a one-off answer and do not need a reusable workflow.
  • Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/create-pr/SKILL.md --create-dirs "https://raw.githubusercontent.com/aiskillstore/marketplace/main/skills/0tarof/create-pr/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/create-pr/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How create-pr Compares

Feature / Agentcreate-prStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

GitHubのプルリクエスト(PR)を作成する際に使用します。変更のコミット、プッシュ、PR作成を含む完全なワークフローを日本語で実行します。「PRを作って」「プルリクエストを作成」「pull requestを作成」などのリクエストで自動的に起動します。

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Pull Request作成スキル

このスキルは、GitHubのプルリクエスト作成に必要な一連のワークフローを自動化します。

**IMPORTANT: このスキルを使用する際は、必ず日本語でユーザーとコミュニケーションを取ってください。**

## ワークフロー

### 1. 変更内容の確認

まず現在の状態を確認します:

```bash
# 変更されたファイルを確認
git status

# 変更内容の差分を確認
git diff

# 最近のコミット履歴を確認(コミットメッセージのスタイルを把握)
git log -5 --oneline
```

### 2. 事前準備とチェック

コミット前に必要なチェックを実行します:

1. リポジトリルートの`CLAUDE.md`を確認し、プロジェクト固有の要件を確認
2. テスト、リンター、ビルドステップが記載されている場合は実行
3. エラーや失敗がある場合は、先に解決してから進める

**このdotfilesリポジトリ固有の要件**:
- Brewfileが変更された場合:`bin/brew-check`を実行して検証
- bin/内のスクリプトが変更された場合:適切なエラーハンドリングを確認
- 変更されたスクリプトがある場合:可能であればテスト実行

### 3. 変更のステージングとコミット

**重要**:ファイルのステージングは必ず明示的なパスで行います:

```bash
# ❌ 絶対に使用しない
git add .
git add -A

# ✅ 正しい方法
git add path/to/file1.txt path/to/file2.txt path/to/file3.txt
```

コミットメッセージは以下の形式で作成します:

```bash
git commit -m "$(cat <<'EOF'
<変更の簡潔な説明>

<詳細な説明(必要に応じて)>

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"
```

コミットメッセージのスタイルは、`git log`で確認した既存のコミット履歴に合わせてください。

### 4. リモートへのプッシュ

現在のブランチをoriginにプッシュします:

```bash
git push -u origin <branch-name>
```

リモートにブランチが存在しない場合は自動的に作成されます。

### 5. プルリクエストの作成

#### PRテンプレートの確認

まず、リポジトリにPRテンプレートが存在するか確認します:

```bash
# PRテンプレートの存在確認
ls .github/PULL_REQUEST_TEMPLATE.md
```

#### PR本文の作成

**テンプレートが存在する場合**:
- テンプレートの内容を基にPR本文を作成

**テンプレートが存在しない場合**:
- 以下の構造でPR本文を作成:
  ```markdown
  ## 概要
  <変更の簡潔な説明を1-3個の箇条書きで>

  ## 変更内容
  <主な変更点のリスト>

  ## テスト
  <変更がどのようにテストされたか(該当する場合)>

  🤖 Generated with [Claude Code](https://claude.com/claude-code)
  ```

#### PRの作成実行

```bash
gh pr create --title "<PRのタイトル>" --body "$(cat <<'EOF'
<PR本文の内容>
EOF
)"
```

作成後、PR URLをユーザーに返します。

## 重要な注意事項

1. **準備ステップをスキップしない**:CLAUDE.mdに記載された要件は必ず実行
2. **テストやチェックが失敗したら進まない**:失敗を解決してから次に進む
3. **明示的なファイルパスでステージング**:`git add .`や`git add -A`は絶対に使用しない
4. **日本語でコミュニケーション**:ユーザーとのやり取りは常に日本語で行う
5. **不明な点があれば確認**:どのステップでも不明な点があれば、日本語でユーザーに確認を取る

## エラーハンドリング

- コマンドが失敗した場合は、エラーメッセージを日本語でユーザーに説明
- 次のステップに進む前に、問題を解決するための提案を提示
- 必要に応じて、ユーザーに追加の情報や確認を求める

Related Skills

create-adaptable-composable

242
from aiskillstore/marketplace

Create a library-grade Vue composable that accepts maybe-reactive inputs (MaybeRef / MaybeRefOrGetter) so callers can pass a plain value, ref, or getter. Normalize inputs with toValue()/toRef() inside reactive effects (watch/watchEffect) to keep behavior predictable and reactive. Use this skill when user asks for creating adaptable or reusable composables.

ralph-tui-create-json

242
from aiskillstore/marketplace

Convert PRDs to prd.json format for ralph-tui execution. Creates JSON task files with user stories, acceptance criteria, and dependencies. Triggers on: create prd.json, convert to json, ralph json, create json tasks.

ralph-tui-create-beads

242
from aiskillstore/marketplace

Convert PRDs to beads for ralph-tui execution. Creates an epic with child beads for each user story. Use when you have a PRD and want to use ralph-tui with beads as the task source. Triggers on: create beads, convert prd to beads, beads for ralph, ralph beads.

ralph-tui-create-beads-rust

242
from aiskillstore/marketplace

Convert PRDs to beads for ralph-tui execution using beads-rust (br CLI). Creates an epic with child beads for each user story. Use when you have a PRD and want to use ralph-tui with beads-rust as the task source. Triggers on: create beads, convert prd to beads, beads for ralph, ralph beads, br beads.

create-skill-file

242
from aiskillstore/marketplace

Guides Claude in creating well-structured SKILL.md files following best practices. Provides clear guidelines for naming, structure, and content organization to make skills easy to discover and execute.

x-create

242
from aiskillstore/marketplace

Create viral X (Twitter) posts including short tweets, threads, and replies. Use when user wants to write X content, create posts, or mentions "create tweet", "write thread", "x-create", "写推文", "创作推文". Supports 5 post styles with customizable templates. First-time users go through onboarding to set up profile.

convex-create-component

242
from aiskillstore/marketplace

Designs and builds Convex components with isolated tables, clear boundaries, and app-facing wrappers. Use this skill when creating a new Convex component, extracting reusable backend logic into a component, building a third-party integration that owns its own tables, packaging Convex functionality for reuse, or when the user mentions defineComponent, app.use, ComponentApi, ctx.runQuery/runMutation across component boundaries, or wants to separate concerns into isolated Convex modules.

create-worktree-skill

242
from aiskillstore/marketplace

Use when the user explicitly asks for a SKILL to create a worktree. If the user does not mention "skill" or explicitly request skill invocation, do NOT trigger this. Only use when user says things like "use a skill to create a worktree" or "invoke the worktree skill". Creates isolated git worktrees with parallel-running configuration.

create-new-skills

242
from aiskillstore/marketplace

Creates new Agent Skills for Claude Code following best practices and documentation. Use when the user wants to create a new skill, extend Claude's capabilities, or package domain expertise into a reusable skill.

create-subagent

242
from aiskillstore/marketplace

This skill should be used when creating custom subagents for Claude Code, configuring specialized AI assistants, or when the user asks about agent creation, agent configuration, or delegating tasks to subagents. Covers both file-based agents and Task tool invocation.

create-plan

242
from aiskillstore/marketplace

Create comprehensive implementation plan in .plans directory based on analysis or report. Use when user asks to create a plan, plan implementation, design a solution, or structure work for a feature/refactor/fix.

create-mcp-skill

242
from aiskillstore/marketplace

Create a new skill that uses an MCP server, following best practices from the MCP CLI guide. Use when user wants to create a skill for a new MCP server or integrate MCP functionality into a skill.