thrashr888/thrashr888-agent-kit/rust-development
Claude Code and agent skill by thrashr888/thrashr888-agent-kit
- community
Checking that the SKILL.md file is still in the repository.
Rust development workflow with quality gates, testing, and iteration patterns. Use when developing Rust code, running tests, or iterating on Rust projects.
Install
npx vskill@latest install thrashr888/thrashr888-agent-kit/rust-developmentSKILL.md
Rust Development Workflow
Development patterns for Rust CLI tools and libraries, based on AllBeads and QDOS workflows.
Quality Gates
ALL THREE must pass before commits:
Run frequently during development, not just before commits.
Development Loop
1. Check and Build
2. Run Tests
3. Format and Lint
4. Run the Binary
Project Structure
Standard Rust project layout:
Error Handling Patterns
Application Errors (use anyhow)
Library Errors (use thiserror)
Dependency Management
Workspace Setup
For multi-crate projects:
Performance Profiling
Build Performance
Use mold linker (Linux)
Faster linking times:
Install: sudo apt install mold or brew install mold
Use sccache for caching
Cache compiler artifacts across builds:
Auto-derive macro
Reduce boilerplate for common derives:
Add Serialize, Deserialize to the macro if using serde.
Common Patterns
Builder Pattern
Newtype Pattern
IDE Integration
For VS Code with rust-analyzer:
Anti-Patterns
DON'T:
- Use
.unwrap()in library code (use?instead) - Ignore clippy warnings
- Skip
cargo fmtbefore commits - Write tests after the fact
DO:
- Write code that passes fmt/clippy on first write
- Use
Result<T, E>for fallible operations - Run tests frequently during development
- Use
#[must_use]for important return values
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/rust-development/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/thrashr888/thrashr888-agent-kit/rust-development)