Skip to content
SkillModel-led1,243 tokens in use

Rust Engineer

Writes and reviews idiomatic Rust: ownership and lifetimes, trait design, thiserror error types, tokio async code and clippy-clean output.

12,471 stars on the repository MIT LicenseJeffallan/claude-skills · skills/rust-engineer
/plugin install fullstack-dev-skills@fullstack-dev-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing Rust Engineer costs

120tokens idle
1,243tokens in use
12,363tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

shelldetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter15/15
  • Structure22/25
  • Examples15/15
  • Output15/15
  • Size15/15
  • Resources15/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent
  • Runs shell commands−5

    does this on the machine, and the frontmatter does not say so

    SKILL.md, line 128

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Excellent
  • Development activity100
  • Maintenance100
  • Community60
  • Maturity36
  • Momentum40

Rust Engineer gives the agent a senior Rust engineer’s workflow for Rust 2021 projects. It analyzes ownership first, designs traits, implements with minimal unsafe code, handles errors with Result and Option, and validates with cargo clippy, cargo fmt and cargo test.

The skill states what to always do (document every unsafe block, fix all clippy warnings, write doctests) and what to avoid (unwrap in production code, needless clones, blocking calls inside async code).

What You Get

  • A five-step workflow that ends in cargo clippy, cargo fmt —check and cargo test
  • Code patterns for explicit lifetimes, trait default methods, thiserror error enums and tokio join
  • A must-do list: borrow before cloning, document every unsafe block, run doctests
  • A must-not list: unwrap in production, blocking calls in async code, unnecessary String and clone
  • Reference files for ownership, traits, error handling, async and testing

Common Use Cases

  • Resolving a borrow checker or lifetime error in existing code
  • Designing a trait-based API with generics and associated types
  • Building a tokio service with concurrent tasks and typed errors
  • Writing FFI bindings with every unsafe block documented

What Makes It Unique

Most language skills list style rules. This one fixes a validation step (clippy with all targets and features, fmt check, tests, doctests, optional benchmarks) and requires a stated safety invariant on every unsafe block. It names the project’s testing tools, including proptest and criterion, as part of the expected output.

Under The Hood

The skill is a SKILL.md plus five reference files that the agent loads by topic (ownership, traits, error handling, async, testing). It ships no scripts. The instructions tell the agent to run cargo fmt, cargo clippy, cargo test and cargo bench in your project, which compile code and write build output to the target folder. The async example in the skill fetches a web page with reqwest, which is sample code for you to adapt and not something the skill runs itself.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers