npx claudepluginhub takemi-ohama/ai-plugins --plugin ndfThis skill is limited to using the following tools:
このプロジェクトのコードをcommit, pushし、GitHubでPull Requestを作成する。
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
このプロジェクトのコードをcommit, pushし、GitHubでPull Requestを作成する。
制約: デフォルトブランチ(main, masterなど)で直接コミット禁止
PR確認
git branch --show-currentで現在ブランチ確認git add → git commit → git pushして終了(日本語メッセージ)
ブランチ確認・切り替え
変更コミット
git status→git add→git commit(日本語メッセージ)プッシュ
git push -u origin <branch-name>PR作成
<!-- I want to review in Japanese. --> を入れる\nリテラル混入防止):
gh pr create --title "タイトル" --body "$(cat <<'EOF'
## Summary
- 変更内容
## Test plan
- [ ] テスト項目
<!-- I want to review in Japanese. -->
EOF
)"
重要: featureブランチから直接検証ブランチへPRを作成してはいけません。
feature/xxx ──PR──→ qa/epsilon ← ❌ qa/epsilonをmergeするとmainが汚染される
qa/epsilonをfeature/xxxにmergeしてconflictを解消すると、feature/xxx → mainのPRにqa/epsilon固有のコードが混入します。
# 1. 検証ブランチの最新を取得
git fetch origin qa/epsilon
# 2. 検証ブランチから短命ブランチを作成
git checkout -b feature/xxx-for-epsilon origin/qa/epsilon
# 3. featureブランチから必要なコミットをcherry-pick
git log --oneline main..feature/xxx # コミット一覧を確認
git cherry-pick <commit-hash-1> <commit-hash-2> ...
# 4. conflictがあれば解決してcontinue
git cherry-pick --continue
# 5. pushしてPR作成
git push -u origin feature/xxx-for-epsilon
gh pr create --base qa/epsilon --title "feat: ○○機能(epsilon検証用)" --body "$(cat <<'EOF'
## Summary
- feature/xxxからcherry-pickした検証用PR
## Test plan
- [ ] 検証環境で動作確認
<!-- I want to review in Japanese. -->
EOF
)"
# featureブランチの全コミットを確認(mainから分岐後)
git log --oneline main..feature/xxx
# 特定ファイルに関するコミットだけ確認
git log --oneline main..feature/xxx -- path/to/file
| ケース | 方法 |
|---|---|
feature/xxx → main | 通常通りPR作成 |
feature/xxx → qa/epsilon | 短命ブランチ + cherry-pickでPR作成 |
| conflict解消でqa/epsilonをmerge | ❌ 禁止(main汚染の原因) |
PR作成完了後、以下を報告: