fast-rust

Original🇺🇸 English
Translated

Practical guidance for writing, refactoring, and reviewing fast, reliable, and maintainable Rust code.

1installs
Added on

NPX Install

npx skill4agent add psiace/skills fast-rust

fast-rust

Concise guidance for high-quality Rust engineering, balancing correctness, maintainability, and performance.

Purpose and Triggers

  • Writing new code, refactoring, reviewing, or designing public APIs/CLIs.
  • Rust or files with
    .rs
    .
  • Prefer clear boundaries, error semantics, and evolvability.

Decision Order

  1. Correctness and clear boundaries
  2. Readability and maintainability
  3. Extensibility and evolution cost
  4. Performance and optimization

Workflow

  1. Locate the relevant topic below.
  2. Apply the guidance and examples.
  3. Read the reference if you need more detail.

Topics

TopicGuidanceReference
Error DesignDesign error boundaries and semantics before propagationreferences/error-design.md
CompilationOptimize build time and release performance with measured changesreferences/compilation-optimization.md
Type ExerciseType-level exercise for expression engines and dispatchreferences/type-exercise.md

References

  • Each topic file lists source URLs in frontmatter
    urls
    .