with one click
review
Review local changes or a pull request (authoritative review criteria)
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
Review local changes or a pull request (authoritative review criteria)
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
Guide runtime release process for Bulletin Chain networks
Update the SDK book documentation to reflect changes in the SDK source code
Run all formatting, linting and cleaning checks before committing code
Build the console UI (same as CI)
| name | review |
| description | Review local changes or a pull request (authoritative review criteria) |
This skill is the single source of truth for code review criteria in this repository.
If no arguments are passed, review the local changes by looking at the diff between the base branch - main by default - and the current branch.
If arguments are passed, review pull request #$ARGUMENTS by fetching it and seeing its details with gh pr view and gh pr diff.
When reviewing, analyze for:
Code Quality
Result types with meaningful error enums; avoid unwrap() and expect() in production code (acceptable in tests)checked_*, saturating_*, or wrapping_* arithmetic to prevent overflow; never use raw arithmetic operators on user-provided valuesFRAME Pallet Standards
StorageValue, StorageMap, StorageDoubleMap, CountedStorageMap)Error enumon_initialize and on_finalize: they affect block production time in solochains and can brick parachains; never panic or do unbounded iteration in them; always benchmark them properlySecurity
BoundedVec, BoundedBTreeMap etc. to prevent unbounded storage growthPerformance
Testing
sp-io::TestExternalitiesPR Standards
cargo test, cargo clippy, cargo fmt)Breaking Changes
Provide specific feedback with file paths and line numbers.