Pr Description banner
yuji0809 yuji0809

Pr Description

Git community

Description

--- name: pr-description-ja description: "baseブランチからの変更差分を元にPR descriptionを日本語で自動生成" tags: ["git", "pr", "automation", "github", "japanese"] --- # 実行指示 現在のブランチの変更内容を分析し、**日本語**で包括的なPull Request descriptionを生成してください。 ## 実行手順 ### 1. ベースブランチの判定 以下のコマンドでベースブランチを検出: ```bash BASE_BRANCH=$(gh repo view --json defaultBranchRef --jq .defaultBranchRef.name 2>/dev/null || echo "main") echo "Base branch: ${BASE_BRANCH}" ``` ### 2. 変更内容の分析 コミット履歴とファイル変更を取得: ```bash # コミットメッセージを取得 git log ${BASE_BRAN

Installation

Installs to ~/.claude/commands/yuji0809-cc-recommender-pr-description.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/yuji0809/cc-recommender/HEAD/.claude/commands/pr-description.md -o ~/.claude/commands/yuji0809-cc-recommender-pr-description.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository