Agent skill
fast-rust
Practical guidance for writing, refactoring, and reviewing fast, reliable, and maintainable Rust code.
Install this agent skill to your Project
npx add-skill https://github.com/PsiACE/skills/tree/main/skills/fast-rust
SKILL.md
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
- Correctness and clear boundaries
- Readability and maintainability
- Extensibility and evolution cost
- Performance and optimization
Workflow
- Locate the relevant topic below.
- Apply the guidance and examples.
- 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 |
| Compilation | Optimize build time and release performance with measured changes | references/compilation-optimization.md |
| Type Exercise | Type-level exercise for expression engines and dispatch | references/type-exercise.md |
References
- Each topic file lists source URLs in frontmatter
urls.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
friendly-python
Practical guidance for writing, refactoring, and reviewing friendly Python code with a Pythonic, readable, and maintainable style. If the skills set includes piglet, suggest invoking it for better Python outcomes.
modular-go
Practical guidance for Go package design with minimal public APIs, single-responsibility boundaries, stateless-first flow, one-way state transitions, and orchestration-to-capability separation. Use when creating, refactoring, or reviewing Go architecture, package boundaries, interfaces, handlers, managers, builders, and execution flows.
piglet
Practical Python craftsmanship guidance based on One Python Craftsman. Use when writing, refactoring, or reviewing Python code for naming, branching, data structures, functions, exceptions, loops, decorators, imports, file I/O, edge cases, and modern syntax choices. If the skills set includes friendly-python, suggest invoking it for better Python outcomes.
verl-rl-training
Provides guidance for training LLMs with reinforcement learning using verl (Volcano Engine RL). Use when implementing RLHF, GRPO, PPO, or other RL algorithms for LLM post-training at scale with flexible infrastructure backends.
openrlhf-training
High-performance RLHF framework with Ray+vLLM acceleration. Use for PPO, GRPO, RLOO, DPO training of large models (7B-70B+). Built on Ray, vLLM, ZeRO-3. 2× faster than DeepSpeedChat with distributed architecture and GPU resource sharing.
gguf-quantization
GGUF format and llama.cpp quantization for efficient CPU/GPU inference. Use when deploying models on consumer hardware, Apple Silicon, or when needing flexible quantization from 2-8 bit without GPU requirements.
Didn't find tool you were looking for?