Rust Expert Best Practices Code Review

Rust best practices and code quality guidelines for writing idiomatic, safe, and performant Rust code. This skill should be used when writing, reviewing, or refactoring Rust code. Triggers on tasks involving Rust programming, code review, error handling, type safety, or performance optimization.

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add wispbit-ai/skills --skill rust-expert-best-practices-code-review
Manual install
git clone --depth 1 https://github.com/wispbit-ai/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/skills/rust-expert-best-practices-code-review ~/.claude/skills/rust-expert-best-practices-code-review

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Rust Expert Best Practices

Simple, pragmatic, opinionated. Only what matters for writing production-grade Rust code.

## When to Apply

Reference these guidelines when:
- Writing Rust code (structs, functions, enums, traits)
- Implementing error handling and Result types
- Reviewing Rust code for safety or performance issues
- Refactoring existing Rust codebases
- Designing APIs and public interfaces
- Optimizing Rust code for performance or clarity

## Rule Categories by Priority

| Priority | Category | Impact | Prefix |
|----------|----------|--------|--------|
| 1 | Type Safety | CRITICAL | `use-typesafe-`, `use-enum-` |
| 2 | Error Handling | CRITICAL-HIGH | `result-`, `avoid-panic` |
| 3 | API Design | HIGH | `use-borrowed-`, `prefer-builder-` |
| 4 | Code Quality | MEDIUM-HIGH | `use-iterator-`, `prefer-format` |
| 5 | Readability | MEDIUM | `use-named-`, `avoid-boolean-` |
| 6 | Performance | MEDIUM | `avoid-rc`, `avoid-box` |

## Quick Reference

- `use-borrowed-argument-types` - Use &str, &[T], &Path instead of &String, &Vec<T>, &PathBuf
- `use-enum-deserialization` - Use exhaustive enum matching for safe deserialization
- `use-typesafe-index-wrappers` - Wrap index types to prevent mixing different indices
- `result-error-returns` - Use ? operator instead of unwrap/expect in Result functions
- `avoid-panic` - Use assert!, Result, or expect based on context instead of panic!
- `use-iterator-transforms` - Use iterator methods instead of explicit push loops
Read the full skill on GitHub

Details

Skill name
rust-expert-best-practices-code-review
Path
skills/rust-expert-best-practices-code-review/SKILL.md
Repo updated
11 February 2026

FAQ

What does the Rust Expert Best Practices Code Review skill do?

Rust best practices and code quality guidelines for writing idiomatic, safe, and performant Rust code. This skill should be used when writing, reviewing, or refactoring Rust code. Triggers on tasks involving Rust programming, code review, error handling, type safety, or performance optimization.

How do I install the Rust Expert Best Practices Code Review skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add wispbit-ai/skills --skill rust-expert-best-practices-code-review. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Rust Expert Best Practices Code Review popular?

It lives in wispbit-ai/skills, which has 9 GitHub stars and 0 forks.

Related skills

Graphql Expert Best Practices

9

wispbit-ai/skills

GraphQL performance optimization and best practices for building scalable APIs. This skill should be used when writing, reviewing, or refactoring GraphQL schemas, resolvers, or query execution code. Triggers on tasks involving GraphQL APIs, resolver optimization, query performance, or data fetching patterns.

Software Development

Postgresql Expert Best Practices Code Review

9

wispbit-ai/skills

PostgreSQL database design, migration, and performance optimization best practices. This skill should be used when writing, reviewing, or refactoring database schemas, migrations, or query patterns. Triggers on tasks involving PostgreSQL databases, schema design, migration optimization, or data modeling.

Software Development

Python Expert Best Practices Code Review

9

wispbit-ai/skills

Python best practices for writing production-grade code. This skill should be used when writing, reviewing, or refactoring Python code. Triggers on tasks involving Python development, error handling patterns, dictionary operations, and code quality improvements.

Software Development

Sqlalchemy Alembic Expert Best Practices Code Review

9

wispbit-ai/skills

SQLAlchemy ORM and Alembic migration best practices for building safe, performant database schemas. This skill should be used when writing, reviewing, or refactoring SQLAlchemy models, Alembic migrations, or database query patterns. Triggers on tasks involving SQLAlchemy ORM, Alembic migrations, database schema changes, or query optimization.

Software Development

Rev Frida

10

iceman1001/awesome_rfid_claude_skills

Generate Frida hook scripts using modern Frida API. Activate when the user wants to write Frida scripts, hook functions at runtime, trace calls or arguments or return values, intercept native or ObjC or Java methods, dump memory or exports, or handle native module load timing for Android and other targets.

Software Development

Super Bill Software

9

Magical-Bear/BillUserManualSkills

super-bill 软件领域 Skill。用于产品场景、Web、API、异步 Python、数据库、报表、ECharts、前端和软件测试设计;必须由 super-bill 主 Skill 的需求、架构、分支和验收门禁编排。

Software Development

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.