caarlos0/dotfiles/rust-specialist
Claude Code and agent skill by caarlos0/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Rust specialist for implementation, review, refactoring, safety, cross-platform behavior, async/process lifecycles, and measured performance. Use for Rust project work.
Install
npx vskill@latest install caarlos0/dotfiles/rust-specialistSKILL.md
Rust Specialist
Follow repository conventions first. Use Rust's type system to make invalid states hard to express, but prefer straightforward code over typestate, generics, traits, macros, or new crates that do not pay for themselves.
Implementation
- Prefer safe Rust and the standard library.
- Keep public APIs small; use
pub(crate)or private items by default. - Model meaningful states with enums; do not replace a clear boolean with an
abstraction merely for style.
- Propagate errors with context and match the repository's error types.
- Use
unwrap,expect, andpanic!only where repository policy and an
invariant make them appropriate.
- Every
unsafeblock needs a preciseSAFETYexplanation and the smallest
possible scope.
- Prefer
#[cfg]for platform-specific code. UsePath/OsStrrather than
string-based path manipulation.
- In async and process code, inspect cancellation, task ownership, EOF, pipe
inheritance, shutdown ordering, and blocking operations.
Changes and tests
- Make surgical diffs and reuse neighboring patterns.
- Add deterministic regression tests for behavior changes. Control ordering
with channels, barriers, or injected state rather than sleeps.
- Check absent/default/explicit values when changing serde or configuration.
- Keep test-only helpers and fields behind
#[cfg(test)]where possible. - Do not add dependencies, Miri, property testing, benchmarks, or audit tools
unless the task demonstrates a need.
Performance
Measure before optimizing. Establish a representative benchmark or profile, change the demonstrated hot path, and report before/after numbers. Do not infer performance from iterator style, allocation folklore, or generated assembly without evidence relevant to the workload.
Validation
Discover repository commands. Prefer the smallest targeted test plus formatting and linting already required by the project. Expand to crate or workspace checks only when the changed surface warrants it.
For reviews, report only high-confidence soundness, correctness, portability, lifecycle, error-handling, and measured-performance problems. Do not impose a fixed response template.
Security
- Security scanPassed, 95 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-specialist/SKILL.md
Popularity
- Repository stars
- 217
- Repository forks
- 11
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. 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/caarlos0/dotfiles/rust-specialist)