本文へ移動
cccskills
無料GitHub で公開

create-pr

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

インストール方法を見る

含まれるファイル(2)

  • SKILL.md4.4 KB
  • skill-report.json32.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Pull Request作成スキル

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

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

ワークフロー

1. 変更内容の確認

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

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

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

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

2. 事前準備とチェック

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

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

このdotfilesリポジトリ固有の要件:

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

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

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

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

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

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

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にプッシュします:

git push -u origin <branch-name>

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

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

PRテンプレートの確認

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

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

PR本文の作成

テンプレートが存在する場合:

  • テンプレートの内容を基にPR本文を作成

テンプレートが存在しない場合:

  • 以下の構造でPR本文を作成:
    ## 概要
    <変更の簡潔な説明を1-3個の箇条書きで>
    
    ## 変更内容
    <主な変更点のリスト>
    
    ## テスト
    <変更がどのようにテストされたか(該当する場合)>
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    

PRの作成実行

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

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

重要な注意事項

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

エラーハンドリング

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

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Trigger for: explaining current FAR, DFARS, or agency-supplement text; determining documented acquisition-policy status for an agency and FAR part; comparing codified text, RFO model text, and agency deviations; tracing acquisition rulemaking; finding procurement comment periods; analyzing public comments; refreshing prior policy analysis; or producing an Acquisition Policy Impact Brief. Use published federal sources and supplied policy documents without making legal or procurement-specific applicability determinations. Do not use for clause selection, market research execution, opportunities, pricing, grants, or cooperative agreements.

日本語の概要は準備中です。原文の説明を表示しています。

aiskillstore/marketplace4322026年10月12日 更新

Systematic framework for extracting actionable items from documents and organizing them into prioritized, trackable checklists. Use when converting reports, meeting notes, audits, or any document with embedded action items into structured TODO lists.

日本語の概要は準備中です。原文の説明を表示しています。

aiskillstore/marketplace4322026年10月12日 更新

Browser automation for AI agents via inference.sh. Navigate web pages, interact with elements using @e refs, take screenshots, record video. Capabilities: web scraping, form filling, clicking, typing, drag-drop, file upload, JavaScript execution. Use for: web automation, data extraction, testing, agent browsing, research. Triggers: browser, web automation, scrape, navigate, click, fill form, screenshot, browse web, playwright, headless browser, web agent, surf internet, record video

日本語の概要は準備中です。原文の説明を表示しています。

aiskillstore/marketplace4322026年10月12日 更新

This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.

日本語の概要は準備中です。原文の説明を表示しています。

aiskillstore/marketplace4322026年10月12日 更新

Run AI apps via inference.sh CLI - image generation, video creation, LLMs, search, 3D, Twitter automation. Models: FLUX, Veo, Gemini, Grok, Claude, Seedance, OmniHuman, Tavily, Exa, OpenRouter, and many more. Use when running AI apps, generating images/videos, calling LLMs, web search, or automating Twitter. Triggers: inference.sh, infsh, ai model, run ai, serverless ai, ai api, flux, veo, claude api, image generation, video generation, openrouter, tavily, exa search, twitter api, grok

日本語の概要は準備中です。原文の説明を表示しています。

aiskillstore/marketplace4322026年10月12日 更新

Agile ceremonies and sprint management specialist. Use when running standups, retrospectives, sprint planning, or tracking sprint progress.

日本語の概要は準備中です。原文の説明を表示しています。

aiskillstore/marketplace4322026年10月12日 更新

aiskillstore のスキルをすべて見る

このスキルの問題を報告する