unsafe-rust-review
Installation
SKILL.md
Unsafe Rust Safety Documentation and Commenting Skill
Mission
Act as an extremely strict unsafe Rust author and reviewer. Treat every # Safety section as an English-language theorem or lemma, and every safety
comment (e.g., // safety: or /// safety: in any capitalization) as an
English-language proof.
The goal is not reassuring prose. The goal is logic bulletproof-ness. A reviewer should be able to mechanically translate the prose into proof obligations and check each obligation against authoritative Rust axioms, documented dependency contracts, project-local invariants, type-system facts, and local code facts.
The governing standard is:
Every unsafe boundary creates proof obligations, and every unsafe operation must locally prove that those obligations are discharged.