ワンクリックで
pr-review
Two-pass pull request review — triage by size/risk, then grounded file:line checklist. Use when reviewing PRs or before merge.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Two-pass pull request review — triage by size/risk, then grounded file:line checklist. Use when reviewing PRs or before merge.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Draft or refresh a Hugging Face model card (MODEL_CARD.md / README model section). Use when publishing BitNet/trit/HF checkpoints or training runs.
Run a minimal train/import smoke for ML crates (Rust or Python HF). Use before claiming a training path works.
Run the standard Rust local gate (fmt, clippy -D warnings, build, test). Use before commits/PRs on Rust crates.
Prepare code for git commit by running format checks, lints, tests, and generating a commit message. Use before committing changes.
Detect drift from tzervas fleet standards (workflows, badges, issue tiers, Copilot off). Use when auditing a repo or filing fleet-gap issues.
Review Rust unsafe blocks for SAFETY comments (what/why/invariants). Use when writing or reviewing unsafe Rust.
| name | pr-review |
| description | Two-pass pull request review — triage by size/risk, then grounded file:line checklist. Use when reviewing PRs or before merge. |
| metadata | {"author":"tz-forge","version":"1.0"} |
| allowed-tools | Bash(gh:*) Bash(git:*) Bash(cargo:*) Bash(uv:*) |
Structured review for feature and delivery PRs. Aligns with fleet branch tiers.
gh pr view / gh pr diff)gh pr view <n> --json title,body,baseRefName,headRefName,files,additions,deletions
gh pr diff <n>
Classify risk:
| Tier | Signal | Depth |
|---|---|---|
| T0 | Docs-only, typos | Skim |
| T1 | Small, isolated | Standard checklist |
| T2 | Multi-file, API, security, honesty surface | Full checklist + tests |
| T3 | Cross-repo / auth / secrets / data plane | Full + explicit threat notes |
Record: base branch (dev vs main), issue keywords (Refs vs Closes), size.
For each item, cite file:line (or note N/A):
./scripts/check.sh (or equiv) pass?dev/feature → must use Refs #n, not Closes/Fixesmain → Closes/Fixes appropriate for completed workexcept: pass); docs not overclaimingRust: clippy clean, unsafe has SAFETY comments, deny.toml if deps changed
Python: ruff clean, types/tests for public APIs
## PR review — #<n> (T<tier>)
**Base:** <branch> · **Keywords:** Refs|Closes · **Risk:** …
### Findings
- [blocker|major|nit] file:line — …
### Checklist
- Correctness: …
- Tests: …
- Secrets: …
- Branch tier: …
### Verdict
approve | request-changes | comment-only
Post with gh pr comment <n> --body-file … when appropriate.