rust-developer
Comprehensive Rust development guidelines based on 6 months of code reviews. Use when writing Rust code, debugging Rust issues, or reviewing Rust PRs. Covers error handling, file I/O safety, type safety patterns, performance optimization, common footguns, and fundamental best practices. Perfect for both new and experienced Rust developers working on CLI tools, hooks, or production code.
Security Assessment
About rust-developer
The Rust Developer skill provides comprehensive guidance for writing, reviewing, and debugging Rust code, distilled from six months of code reviews on the Catalyst project. It addresses common pitfalls, enforces idiomatic Rust practices, and promotes safe, performant code. By following these guidelines, developers can avoid frequent errors, handle file I/O safely, maintain type safety, and optimize their Rust applications effectively. The skill is particularly valuable for teams seeking consistency across projects and for individuals aiming to deepen their understanding of Rust development patterns.
This skill includes a structured set of resources, from quick-reference checklists summarizing over 20 key rules to deep-dive guides on fundamentals, error handling, file I/O safety, and intermediate Rust patterns. Each resource provides actionable examples, recommended patterns, and best practices, covering topics such as ownership management, concurrent state handling, parameterized queries, CLI user feedback, and tracing/logging setup. The materials also highlight common footguns and provide explicit guidance for testing error paths and optimizing performance.
Rust Developer is suitable for both new and experienced developers working on CLI tools, hooks, or production code. It is useful when writing or modifying `.rs` files, debugging compiler errors, reviewing pull requests, or exploring idiomatic Rust patterns. Target users include developers implementing error handling, type safety, and performance optimizations, as well as those seeking structured learning paths and reference materials for consistent, high-quality Rust code.
FAQ
When should I use the Rust Developer skill?
Use it when writing or modifying Rust code, debugging compiler errors or warnings, reviewing Rust pull requests, implementing CLI tools, or working on error handling, file I/O, or performance optimizations.
Is this skill suitable for beginners?
Yes, it includes beginner-friendly guides such as fundamentals and error handling deep dives, while also providing intermediate patterns for more experienced developers.
Does this skill cover file I/O operations safely?
Yes, it provides guidance on atomic file writes, directory creation, temporary file handling, and testing file operations.
Can this skill help with Rust code reviews?
Absolutely, it offers a quick-reference checklist and highlights common footguns, making it easier to identify issues and ensure idiomatic Rust practices during code reviews.
Are there any limitations or prerequisites?
While no formal prerequisites are required, familiarity with basic Rust syntax and concepts will help users get the most out of the skill. It assumes usage within projects where standard Rust tools and crates are available.
Install rust-developer
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
Jackneill/spz