Loading...
Loading...
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.
npx skill4agent add wispbit-ai/skills rust-expert-best-practices-code-review| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Type Safety | CRITICAL | |
| 2 | Error Handling | CRITICAL-HIGH | |
| 3 | API Design | HIGH | |
| 4 | Code Quality | MEDIUM-HIGH | |
| 5 | Readability | MEDIUM | |
| 6 | Performance | MEDIUM | |
use-borrowed-argument-typesuse-enum-deserializationuse-typesafe-index-wrappersresult-error-returnsavoid-panicuse-iterator-transformsuse-copiedprefer-formatprefer-builder-pattern-for-complexuse-named-placeholdersdecimal-comparisoncalculated-field-as-methodavoid-rcavoid-boxavoid-boolean-paramsmatch-statements-handle-all-casesrules/use-borrowed-argument-types.md
rules/use-enum-deserialization.md
rules/use-typesafe-index-wrappers.md
rules/result-error-returns.md
rules/avoid-panic.md
rules/use-iterator-transforms.md
rules/use-copied.md
rules/prefer-format.md
rules/prefer-builder-pattern-for-complex.md
rules/use-named-placeholders.md
rules/decimal-comparison.md
rules/calculated-field-as-method.md
rules/avoid-rc.md
rules/avoid-box.md
rules/avoid-boolean-params.md
rules/match-statements-handle-all-cases.md