Skip to content
R

rust-patterns

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

by affaan-mFree

#399in 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

R

rust-engineer

Writes, reviews, and debugs idiomatic Rust code

AI Skills
Get
R

rust-skills

Comprehensive Rust coding guidelines with 265 rules across 26 categories

AI Skills
Get
C

code-simplifier

Review RTK Rust code for idiomatic simplification

AI Skills
Get
R

rust-review

Performs comprehensive Rust security review for safe/unsafe boundary issues

AI Skills
Get
R

rust-skill-creator

Creating skills for Rust crates or std library documentation

AI Skills
Get
R

rust-testing

Rust testing patterns including unit tests, integration tests, async testing

AI Skills
Get

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 rust-engineer, rust-skills and code-simplifier. See all rust-patterns alternatives

Developer Stuff

Badges