一键导入
review
Review local changes or a pull request (authoritative review criteria)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review local changes or a pull request (authoritative review criteria)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
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)
基于 SOC 职业分类
| 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.