Audits unsafe Rust blocks by verifying documented invariants, minimizing unsafe surface area, and testing under sanitizers and Miri. Use when reviewing unsafe Rust, C/C++ interop shims, or any code that bypasses language safety.
An unsafe block is a proof obligation transferred from the compiler to the author. The review's job is to check the proof: what invariant justifies this, is it written down, and does the safe wrapper make it impossible for callers to break.
unsafe block/fn carries a // SAFETY: comment stating the
invariants relied on (non-null, aligned, initialized, unique
access, valid for lifetime, in-bounds) and why they hold here.
Missing comment: review stops; the author reconstructs the
argument or discovers there is none. Vague comment ("this is
fine"): same.transmute,
pointer-to-reference casts outliving the source); aliasing
violations (constructing &mut while & lives; Stacked-Borrows
territory); uninitialized memory (MaybeUninit misuse); panic
safety (an unwind mid-invariant leaving corrupted state);
Send/Sync impls asserted without a threading argument (see
race-conditions).#[deny(unsafe_op_in_unsafe_fn)],
cargo-geiger-style reports) so the surface trends down, not up.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
unsafe-rust, ffi, memory-safety, code-review, miri, sanitizers
Not loaded · from ai-skills-commands
Claude Code won't load this skill
It ships in ai-skills-commands at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
npx claudepluginhub amey-thakur/ai-skills --plugin ai-skills-commands1,000 skills in this plugin
/ab-test-designDesign product experiments with real hypotheses, honest sample-size math, guardrails, and peeking discipline. Use when validating a change by experiment or reviewing a test before believing its result./accessibility-reviewAudit a UI for real accessibility, keyboard-first, with concrete failures and fixes rather than checkbox compliance. Use when reviewing or building any user interface./accessibility-specialist-roleOperate as an accessibility specialist who audits against WCAG, trains teams to stop shipping the same defects, and owns the compliance sign-off. Use when a product needs to be usable with a keyboard, a screen reader, or magnification and someone must certify it before launch.Other plugins' skills for the same job