Fast Rust
Rapidly identifies and remediates Rust code vulnerabilities using automated analysis and suggested fixes.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add fast-rust npx -- -y @trustedskills/fast-rust
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"fast-rust": {
"command": "npx",
"args": [
"-y",
"@trustedskills/fast-rust"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill provides concise guidance for writing high-quality Rust code, focusing on correctness, maintainability, and performance. It offers advice and examples to help developers write better Rust code during tasks like new development, refactoring, or designing public APIs/CLIs. The skill prioritizes clear boundaries, robust error semantics, and the ability to evolve codebases over time.
When to use it
- When writing new Rust code and wanting to ensure correctness and maintainability.
- During refactoring efforts to improve existing Rust code quality.
- When designing public APIs or CLIs in Rust, focusing on evolvability.
- For reviewing Rust code and identifying areas for improvement.
Key capabilities
- Guidance on error design, emphasizing boundary definition and semantics.
- Advice on optimizing build time and release performance through measured changes.
- Explanations of type-level exercises for expression engines and dispatch mechanisms.
- Provides references (in
.mdfiles) with more detailed information and source URLs.
Example prompts
- "How should I design error boundaries in my Rust code?"
- "What are some strategies to optimize the build time of my Rust project?"
- "Can you explain type-level exercises for expression engines in Rust?"
Tips & gotchas
- The skill is designed for use with
.rsfiles and other Rust source code. - Refer to the "References" section within each topic for more detailed information and external resources.
- The guidance prioritizes correctness, readability, maintainability, extensibility, and performance in that order.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.