直近のコードレビュー結果を対象ブランチのPRに承認として投稿し、「QUEUED FOR MERGE」ラベルを付けるスキルです。
- レビュー済みPRを承認したいとき
- マージ待ちラベルを追加したいとき
- レビュー報告をPRに投稿したいとき
現在のブランチに紐づくPRへ、直前のレビュー内容を変更要求として投稿し、作成者へのメンションとREADYラベルの解除を行うスキルです。
Reject the pull request for the currently checked-out branch. Posts the review from this conversation as a change-request review that tags the PR author, sets the PR to "changes requested", and clears the READY label. Use after review-pr when you decide to reject.
実行スコア 未検証
インストール方法を見るreject-pr は、現在チェックアウトしているブランチのプルリクエストに、同じ会話内で直前に作成されたreview-prのレポートを変更要求として投稿します。レポート本文はそのまま使い、先頭にPR作成者へのメンションを加えます。続けてPRを「changes requested」の状態にし、READYラベルが付いていれば解除します。PRの再レビューやレポートの書き直しは行いません。
レビューで修正が必要と判断した後、指摘内容をPRの正式な変更要求として反映したいときに使えます。直前のレビュー結果をそのまま作成者へ届け、PRの状態とラベルを更新できます。
GitHub CLIのghを使います。同じ会話内にreview-prのレポートが必要です。自分が作成したPRでは変更要求を設定できないため、その場合はコメント投稿に切り替わります。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Reject the pull request for the branch that is currently checked out. This skill
is meant to be run right after review-pr in the same conversation: it takes
the review you just produced and turns it into a blocking change-request on the
PR. Do not re-review here — post the existing review.
Actions performed, in order:
READY label.The body you post is the most recent review-pr report in this conversation
(its Critical / Moderate / Minor / Coverage map / Summary output).
/skill:review-pr first — do not fabricate a review.Auto-detect the PR from the checked-out branch. An explicit PR number/URL in the arguments overrides detection.
PR='<explicit PR number/URL from arguments, else empty>'
[ -z "$PR" ] && PR=$(gh pr view --json number -q .number 2>/dev/null)
if [ -z "$PR" ]; then
echo "No PR found for the current branch. Run 'gh pr checkout <n>' or pass a PR number."; exit 1
fi
gh pr view "$PR" --json number,title,author,headRefName,url,state,labels
AUTHOR=$(gh pr view "$PR" --json author -q .author.login)
echo "Rejecting PR #$PR by @$AUTHOR"
State one line to the user: which PR (#number — title) and author you are about
to reject, then proceed.
Write the review body to /tmp/reject-pr-$PR.md using the write tool (never
inline it into a shell command — reviews contain backticks, quotes, and $ that
break shell quoting). The first line must mention the author:
@<AUTHOR>
<the full verbatim review-pr report>
gh pr review "$PR" --request-changes --body-file /tmp/reject-pr-$PR.md
# Clear the READY label only if present (avoids a spurious error).
if gh pr view "$PR" --json labels -q '.labels[].name' | grep -qx "READY"; then
gh pr edit "$PR" --remove-label "READY"
fi
Notes:
gh pr review --request-changes fails for that reason, fall back to
gh pr comment "$PR" --body-file /tmp/reject-pr-$PR.md, tell the user the PR
could not be moved to "changes requested" because it is self-authored, and
still clear the READY label.Report back in one or two lines:
READY label was removed or was already absent.まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
直近のコードレビュー結果を対象ブランチのPRに承認として投稿し、「QUEUED FOR MERGE」ラベルを付けるスキルです。
WALファジーテストの失敗を、固定シードから再現し、列型変換やParquet・ネイティブ形式間の変換履歴とパーティション状態を追って原因を絞り込むスキルです。
QuestDBのWAL/O3テスト失敗を調べ、複合パーティションの形状や行配置を手掛かりに原因を絞り込むスキルです。
PRのCI状況を確認し、失敗したテストやビルドの内容を調べて原因を分類します。機械的に直せる期待値のずれは修正し、判断が必要な問題は利用者に相談します。
QuestDBのPR指摘を原因や呼び出し元への影響まで調べ、設計レビューと回帰テストを経て適切な修正を進めるスキルです。
QuestDBのPRレビューで指摘された項目を一件ずつ検証し、必要に応じて再現テスト、修正、テスト実行、独立レビューまで進めるスキルです。