Skip to content
R

rust-patterns

Idiomatic Rust patterns, ownership, error handling, traits, concurrency

by affaan-mFree

Launch
#398in AI Skills
0In stores

Description

rust-patterns is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It enforces idiomatic Rust conventions across six…

Highlights

  • Ownership and borrowing rules
  • Result, ? and thiserror or anyhow for errors
  • Enums and exhaustive matching
  • Arc, Mutex, channels and async

Ratings & Reviews

No ratings yet

Be the first to rate rust-patterns.

People also visit

C

coding-standards

Baseline cross-project coding conventions for naming, readability, immutability

AI Skills
Launch
C

cpp-coding-standards

C++ coding standards based on the C++ Core Guidelines (isocpp.github.io)

AI Skills
Launch
D

dotnet-patterns

Idiomatic C# and .NET patterns, conventions, dependency injection, async/await

AI Skills
Launch
E

error-handling

Patterns for robust error handling across TypeScript, Python, and Go

AI Skills
Launch
G

golang-patterns

Idiomatic Go patterns, best practices, and conventions for building robust

AI Skills
Launch
I

inherit-legacy-style

Prevent AI style drift on legacy projects by scanning the codebase

AI Skills
Launch

rust-patterns FAQ

What does the rust-patterns skill do?

It guides an agent in writing, reviewing and refactoring idiomatic Rust, covering ownership, errors, enums, traits, concurrency and crate layout.

Which error crates does it recommend?

thiserror for libraries and anyhow for applications.

Does it cover async?

Yes. Concurrency covers channels and async and await alongside Arc and Mutex.

How do I install it?

Run: npx skills add https://github.com/affaan-m/ecc --skill rust-patterns

Is it free?

Yes. It is free and open source.

Are there security findings?

The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passing.

What are the best rust-patterns alternatives?

Popular alternatives to rust-patterns include coding-standards, cpp-coding-standards and dotnet-patterns. See all rust-patterns alternatives

Developer Stuff

Badges