preview
PR への AI スクリーニングレビュー。人間レビュー前の予備チェック。深い multi-reviewer コード品質監査には使わない (/audit を使う)。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
PR への AI スクリーニングレビュー。人間レビュー前の予備チェック。深い multi-reviewer コード品質監査には使わない (/audit を使う)。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
issue が build に投入できる形かを検分し、verdict (build-ready / needs-plan / needs-fix) と指摘を返す。起票には使わない (/issue)。PR のスクリーニングには使わない (/preview)。
Inspect whether an issue is in shape to hand to build, returning a verdict (build-ready / needs-plan / needs-fix) and the findings. Do NOT use to file an issue (use /issue) or to screen a PR (use /preview).
critic-design による敵対的批判を伴う設計探索。生き残った案を構造化 plan にまとめ、自己点検して呼び出し元に返す。plan の永続先は issue の Plan 節が唯一。計画意図のないコードベース調査には使わない (代わりに /research)。
Design exploration with adversarial critique by critic-design. Assembles the surviving approach into a structured plan, self-checks it, and returns it to the caller. The issue's Plan section is the plan's only persistent home. Do NOT use for codebase investigation without planning intent (use /research instead).
構造化されたタイトルと本文で GitHub Issue を生成する。単独で成立し、前段を要求しない。challenge / research の成果物が会話にあれば本文の根拠に使い、/think の plan 下書きがあれば `## Plan` 節へ移設する。issue 番号を渡すと、起票済みで Plan 節を持たない issue へ plan を転記する。
Generate GitHub Issue with structured title and body. Standalone; requires no upstream stage. When challenge / research artifacts exist in the conversation, they feed the body's evidence; when a /think plan draft exists, it is transferred into the `## Plan` section. Given an issue number, it transfers a plan into a filed issue that has no Plan section.
| name | preview |
| description | PR への AI スクリーニングレビュー。人間レビュー前の予備チェック。深い multi-reviewer コード品質監査には使わない (/audit を使う)。 |
| when_to_use | スクリーニング, PRレビュー, プレビュー, preview PR, pre-review |
| allowed-tools | Bash(git:*) Bash(gh:*) Read AskUserQuestion Bash(ugrep:*) Bash(bfs:*) |
| model | opus |
| argument-hint | [PR URL or number] |
$ARGUMENTS は URL、番号、または空。空なら現在ブランチから検出する。
gh pr view $ARGUMENTS --json number,title,body,labels,files,url。失敗したら $ARGUMENTS なしで再実行するgit status --porcelaingh pr checkout $PRgh の出力フィールドに author を含めない。
# Diff
gh pr diff $PR
# 既存コメント
gh pr view --comments $PR
# inline コメント
gh api repos/{owner}/{repo}/pulls/{number}/comments \
--jq '.[] | {file: .path, user: .user.login, comment: .body}'
| ラベル | 意味 | 重大度 |
|---|---|---|
[must] | merge 前に修正必須 | High |
[want] | 修正すべき、ブロックしない | Medium |
[imo] | 個人意見、採用は任意 | Low |
[ask] | 明確化のための質問 | - |
[nits] | 軽微なスタイル/フォーマット問題 | Low |
[info] | コンテキスト共有、アクション不要 | - |
| ルール | 詳細 |
|---|---|
| 形式 | [label] <observed behavior or risk>. <suggestion>. (file:line) |
| 簡潔 | [imo]/[nits]/[info] は 3 行、[must]/[want] は根拠付きで最大 5 行 |
| 敬意 | 努力を認める、命令を避ける |
| 提案的 | "Consider..." を使い、"This is wrong" は避ける |
| 著者向け | コメントはそのまま投稿されうるため、PR 著者向けに詳細度を調整 |
${CLAUDE_SKILL_DIR}/templates/screening-report.md の骨格でレポートを生成し、会話に出力する。
| ルール | 詳細 |
|---|---|
| 自動投稿しない | コメントを PR に自動投稿しない |
| dirty で中止 | uncommitted changes があれば警告して中止 |
| 深さより速さ | これはスクリーニング、フル監査ではない |
| flag 前に検証 | [ask]/[want]+ 前に、問題を到達可能なランタイム呼び出し箇所まで追跡する |
| トピック | ファイル |
|---|---|
| Review Checklist | ${CLAUDE_SKILL_DIR}/references/review-checklist.md |