Mental-model reset for Rust. Use when writing or reviewing Rust code to shift from "it compiles" to "thinks in Rust." Triggers on Rust code review, "is this idiomatic", borrow-checker errors, API design, domain modeling, ownership, lifetimes, errors, traits, async/Tokio, unsafe, serde, FFI, tests, performance, Cargo structure, .rs files, Cargo.toml, rustc diagnostics, clippy findings, Result/Option, thiserror vs anyhow, newtype, typestate, enum vs trait, dyn Trait, Send/Sync, Pin, Miri, PyO3, napi-rs, cxx, UniFFI, wasm-bindgen, serde attributes, or feature unification.
87
80%
Does it follow best practices?
Impact
99%
1.05xAverage score across 3 eval scenarios
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./rust/SKILL.mdQuality
Discovery
89%Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.
The description excels at trigger term coverage and completeness, with an explicit 'Use when' clause and an extensive list of Rust-specific triggers that make it highly distinctive. Its main weakness is that the 'what it does' portion is somewhat abstract ('mental-model reset') rather than listing concrete actions like refactoring, fixing errors, or designing APIs. The capability description could be more specific about what concrete outputs or transformations the skill produces.
Suggestions
Replace the abstract 'mental-model reset' framing with concrete actions like 'Reviews Rust code for idiomatic patterns, fixes borrow-checker errors, designs trait-based APIs, models domains with enums and newtypes.'
| Dimension | Reasoning | Score |
|---|---|---|
Specificity | The description names the domain (Rust) and hints at actions like 'writing or reviewing Rust code' and shifting mental models, but it doesn't list multiple concrete actions (e.g., 'refactor ownership patterns, fix borrow-checker errors, design trait hierarchies'). The bulk of the text is trigger terms rather than specific capabilities. | 2 / 3 |
Completeness | It explicitly answers both 'what' (mental-model reset for Rust, shifting from 'it compiles' to 'thinks in Rust') and 'when' (with an explicit 'Use when' clause and a detailed 'Triggers on' list). Both dimensions are clearly addressed. | 3 / 3 |
Trigger Term Quality | Excellent coverage of natural terms a user would say: 'borrow-checker errors', 'is this idiomatic', 'Cargo.toml', '.rs files', 'clippy findings', 'Result/Option', 'async/Tokio', 'unsafe', 'serde', 'lifetimes', 'ownership', and many more specific Rust ecosystem terms. These are highly natural and comprehensive. | 3 / 3 |
Distinctiveness Conflict Risk | Highly distinctive with Rust-specific triggers like borrow-checker, Cargo.toml, rustc diagnostics, clippy, Send/Sync, Pin, Miri, PyO3, wasm-bindgen, etc. This is unlikely to conflict with any other language or general coding skill. | 3 / 3 |
Total | 11 / 12 Passed |
Implementation
70%Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
This is a well-structured mental-model skill with excellent progressive disclosure and clear review workflows. Its main weakness is the lack of inline code examples despite being a code-focused skill, and significant content repetition across four parallel sections (principles, mistakes, checklist, quick reference table) that cover the same patterns in different formats, consuming tokens without proportional benefit.
Suggestions
Add 2-3 inline code examples showing wrong vs. right patterns for the most common mistakes (e.g., bare String vs. newtype, bool parameter vs. enum) to improve actionability without relying entirely on reference files.
Consolidate the four overlapping sections (numbered principles, Common Mistakes, Review Checklist, Quick Reference table) into fewer sections — e.g., merge the checklist into the quick reference table or remove the Common Mistakes section since it largely restates the principles in negative form.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The content is well-organized and avoids explaining basic Rust syntax, but there is significant repetition across sections: the numbered principles, the 'Common Mistakes' list, the 'Review Checklist', and the 'Quick Reference' table all cover largely the same ground in different formats. This redundancy inflates token count substantially without proportional value. | 2 / 3 |
Actionability | The skill provides highly specific guidance on what patterns to use and avoid, with clear before/after mental models. However, it contains zero executable code examples — everything is described in prose. For a skill about writing and reviewing Rust code, concrete code snippets showing the wrong pattern vs. the right pattern inline would significantly improve actionability. The references presumably contain examples, but the main file lacks them. | 2 / 3 |
Workflow Clarity | The Review Checklist provides a clear, sequenced workflow for reviewing Rust code with 13 specific checkpoints. The numbered principles in 'How Rust Thinks' establish a clear priority order. For a mental-model/review skill (not a destructive batch operation), this level of workflow structure is appropriate and well-executed. | 3 / 3 |
Progressive Disclosure | The skill excels at progressive disclosure: the main file provides concise principles and anti-patterns, with every item linking to a specific reference file for deeper detail. References are one level deep, clearly signaled with descriptive filenames, and organized by topic. The Quick Reference table serves as an excellent navigation aid. Cross-references section cleanly groups related topics. | 3 / 3 |
Total | 10 / 12 Passed |
Validation
100%Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.
Validation — 11 / 11 Passed
Validation for skill structure
No warnings or errors.
40067f1
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.