Skill / SKILL.md

Unsafe Rust

rewrite-rs/skills

Justify, document, and verify unsafe Rust — safety invariants on every unsafe block, sound safe wrappers, undefined behaviour hazards, and verification with Miri. Use when writing or reviewing unsafe code, when working across an FFI boundary, when raw pointers or transmute appear, when a safe API wraps an unsafe primitive, or when the user asks whether an unsafe block is justified.
2 views 29 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Justify, document, and verify unsafe Rust — safety invariants on every unsafe block, sound safe wrappers, undefined behaviour hazards, and verification with Miri. Use when writing or reviewing unsafe code, when working across an FFI boundary, when raw pointers or transmute appear, when a safe API wraps an unsafe primitive, or when the user asks whether an unsafe block is justified.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/rewrite-rs/skills' skill-source

Use the complete skill-source/skills/rust/unsafe-rust directory with your client’s skill installer.

  • skills/rust/unsafe-rust

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/rust/unsafe-rust

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
9fe82d0d149d71ae61639aa83bb55135c6d3cb533de7d392ad6aceb19f49c5d7
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills