rust-patterns

rust patterns

affaan-m 232k ↓ 5.1k MIT updated 25d ago
Claude Code
View source ↗

What it does

  • Writing new Rust code
  • Reviewing Rust code
  • Refactoring existing Rust code
  • Designing crate structure and module layout

Requirements & configuration

  • // Good: Pass references when you don't need ownership
  • // Good: Take ownership only when you need to store or consume
  • // Use when you need heterogeneous collections or plugin systems
  • // Use generics when you need performance (monomorphization)
  • │ │ ├── token.rs

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

rust patterns

Source

Repository: https://github.com/affaan-m/everything-claude-code

rust-patterns FAQ

What does the rust-patterns skill do?

Idiomatic Rust patterns, ownership, error handling, traits, concurrency, and best practices for building safe, performant applications. Writing new Rust code Reviewing Rust code

What does rust-patterns require?

// Good: Pass references when you don't need ownership // Good: Take ownership only when you need to store or consume // Use when you need heterogeneous collections or plugin systems // Use generics when you need performance (monomorphization) │ │ ├── token.rs

How do I install rust-patterns?

Run: npx -y skills add https://github.com/affaan-m/everything-claude-code --skill rust-patterns --agent claude-code — the source lives at github.com/affaan-m/everything-claude-code.

Maintain rust-patterns?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

rust-patterns on getagentictools
[![rust-patterns on getagentictools](https://getagentictools.com/badge/skills/affaan-m-everything-claude-code-rust-patterns.svg)](https://getagentictools.com/skills/affaan-m-everything-claude-code-rust-patterns?ref=badge)
npx agentictools info skills/affaan-m-everything-claude-code-rust-patterns

The second line is the CLI lookup for this page — handy in READMEs and docs.