Create GitHub PR from pushed commits only, ignoring uncommitted changes
Creates GitHub PR from pushed commits only, ignoring uncommitted changes
/plugin marketplace add bigdra50/claude-plugins/plugin install git-workflow@bigdra50sonnet現在のブランチのプッシュ済み内容でPRを作成するコマンド。未コミット変更は無視し、既存のコミット履歴のみを対象とします。
Follow these rules:
Git状態の確認
git status で現在のブランチを確認git log main..HEAD --oneline でメインブランチからの差分コミットを表示git diff main...HEAD --name-only で変更ファイル一覧を確認プッシュ状況の確認
git status でリモートとの同期状況を確認PR作成の前提条件チェック
PR内容の生成
GitHub PR作成
gh pr create コマンドでPR作成Workflow:
git status, git log main..HEAD, git diff main...HEAD --name-only)gh pr create)If $ARGUMENTS is provided, use it as additional context for the PR title and description.
エラーハンドリング:
重要な制約:
/create-prCreate a new branch, commit changes, and submit a pull request with automatic commit splitting