
github-pull-request
by masa-codehub
SKILL.md
name: github-pull-request description: Replaces the entire process from creating and managing pull requests to final verification before merging. Typical use cases: (1) Synchronizing with the base branch, checking for conflicts, and automatic rebasing, (2) Creating titles based on conventions and detailed bodies including purpose, change summary, and verification methods, (3) Managing PRs through review feedback cycles and phase promotions based on dependencies.
プルリクエストの管理 (PR Protocol)
-
変更のコミット (Commit): PR作成前に、未コミットの変更がある場合は
github-commitスキルを呼び出して変更をコミットする。activate_skill{name: "github-commit"} -
既存PRの確認: 重複を防ぐため、
list_pull_requestsで関連する既存PRがないか確認する。 -
Baseブランチとの同期と競合チェック (Sync & Conflict Check): PRを作成する前に、マージ先となる
baseブランチの最新状態を取り込み、コンフリクトがないか確認する。run_shell_command{command: "git pull --rebase origin <base>"}- コンフリクトが発生した場合: 手動で解消し、コミット(またはrebase continue)を行ってから次の手順へ進む。
-
新規作成 (Creation):
create_pull_requestを実行する際は、以下のテンプレートを参照してtitleとbodyを指定する。head(作業ブランチ) とbase(マージ先) を必ず明示的に指定すること。 PR作成前に必ず思考プロセス内でテンプレートを埋め、独自の要約や省略をせずにbodyパラメータへ指定すること。create_pull_request --title "<以下のテンプレートを参照>" --body "<以下のテンプレートを参照>" --head "<head>" --base "<base>"
PR Title テンプレート:
<type>(<scope>): <subject>
PR Body テンプレート:
## 目的 (Goal)
<!-- なぜこの変更が必要か(背景とアウトカム) -->
## 変更の概要 (Summary)
<!-- 何をどのように変更したか -->
## 関連Issue (References)
Closes #<Issue番号>
## 検証方法 (Verification)
<!-- 実施したテストや動作確認の手順と結果(ログ等) -->
- [ ] Unit Test:
- [ ] Manual Check:
Score
Total Score
Based on repository quality metrics
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
Reviews
Reviews coming soon