What problem does it solve?
This Skill helps you prevent Rust code review churn and production failures by ensuring your specification explicitly covers Rust conventions, safety constraints, ownership/borrowing rules, and verification expectations.
Core Features & Use Cases
- Rust formatting & lint gates: Requires
cargo fmt and cargo clippy -- -D warnings to keep code style consistent and warnings treated as errors.
- Ownership, borrowing, and immutability guidance: Forces specs to document when to borrow vs own, when
Cow applies, and when mutation is justified.
- Production-grade error handling & testing patterns: Mandates
Result + ?, context-aware errors, and appropriate unit/integration/property/async testing approaches.
- Security and review checklists: Requires explicit invariants for
unsafe, dependency/audit tooling expectations, and a targeted review rubric for high-severity issues.
Quick Start
Ask your AI to generate a Rust project spec that follows the required conventions for ownership, error handling, security (including unsafe safety comments), and the code-review checklist.