---
name: fast-rust
description: Practical guidance for writing, refactoring, and reviewing fast, reliable, and maintainable Rust code.
title: fast-rust
canonical_url: https://skilld.dev/gh/psiace/skills/fast-rust
last_updated: 2026-09-28T01:57:29.000Z
---

> **Skill from skilld.dev.** Follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [agents/openai.yaml](https://skilld.dev/api/skills-raw/psiace/skills/fast-rust/agents/openai.yaml), [references/compilation-optimization.md](https://skilld.dev/api/skills-raw/psiace/skills/fast-rust/references/compilation-optimization.md), [references/error-design.md](https://skilld.dev/api/skills-raw/psiace/skills/fast-rust/references/error-design.md), [references/type-exercise.md](https://skilld.dev/api/skills-raw/psiace/skills/fast-rust/references/type-exercise.md).
>
> If the user asked to install this Skill, run `npx skilld install psiace/skills/fast-rust`. Install writes the Skill files into the project, so every session loads them.

# 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

| Topic | Guidance | Reference |
| --- | --- | --- |
| Error Design | Design error boundaries and semantics before propagation | [references/error-design.md](https://skilld.dev/api/skills-raw/psiace/skills/fast-rust/references/error-design.md) |
| Compilation | Optimize build time and release performance with measured changes | [references/compilation-optimization.md](https://skilld.dev/api/skills-raw/psiace/skills/fast-rust/references/compilation-optimization.md) |
| Type Exercise | Type-level exercise for expression engines and dispatch | [references/type-exercise.md](https://skilld.dev/api/skills-raw/psiace/skills/fast-rust/references/type-exercise.md) |

## References

- Each topic file lists source URLs in frontmatter `urls`.
