CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

rust-review

Review existing Rust code for idiom, API design, error handling, safety, and maintainability, and produce a prioritized report where every finding cites the rule it breaks and gives a concrete fix. Use this whenever the user asks to review, audit, critique, grade, or "check" Rust code, a crate, a module, a .rs file, a diff, or a pull request, or asks what is wrong with their Rust or how to make it more idiomatic, even if they don't say "review". Pairs with the rust-best-practices skill, which covers writing new code.

Quality

98%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

96%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A dense, expert-level review procedure: concrete tool commands, a copy-paste report template, an explicit tool-unavailable fallback, and a prioritized findings checklist with essentially no wasted tokens. The only structural weakness is that all detailed rules are inlined and deep detail is delegated to an external skill's references rather than a local bundle.

Suggestions

Move the full findings checklist (section 3) into a local references/ file (e.g. references/findings.md), keeping a short prioritized summary in SKILL.md so the overview stays lean while the skill remains usable without the pair skill.

Bundle the Bevy ECS checks into a local reference (e.g. references/bevy.md) so framework reviews don't depend on the rust-best-practices skill being installed.

DimensionReasoningScore

Conciseness

The body assumes Rust competence throughout — e.g. "an `unsafe` block without a `// SAFETY:` comment", "a `MutexGuard` held across `.await`" — and never explains concepts Claude already knows; every bullet is a detection pattern, a consequence, or a report rule. Not 4: no trimmable over-explanation was found; the ~170 lines are all substance.

5 / 5

Actionability

Copy-paste-ready commands ("cargo clippy --all-targets --all-features -- -W clippy::pedantic"), a complete markdown report template with placeholders, explicit severity-sorting criteria, and citation rules with real rule codes ("C-GETTER", "M-PANIC-ON-BUG"). Not 4: the guidance is fully executable with no gaps for the common cases.

5 / 5

Workflow Clarity

Five clearly numbered stages with an explicit error-recovery fallback ("If the tools aren't available, say so in the report and review by reading"), a validation step up front (run fmt/clippy/test before manual analysis), and checklists (priority-ordered section 3 and "Rules for each finding"). Not 4: checkpoints and recovery are explicit rather than implicit; the destructive/batch cap does not apply since the workflow is read-only.

5 / 5

Progressive Disclosure

Sections are well organized and external detail is deferred one level deep with clear when-to-read signals ("read the Bevy digest (`bevy.md`) in the `rust-best-practices` skill's references first"; "If it is installed, read the relevant reference when a finding needs a rule you're unsure of. Otherwise, rely on the summary above"). Not 5: the ~70-line findings checklist is fully inlined in SKILL.md and the skill ships no bundle files of its own — all deep detail lives in a separate skill that may not be installed; not 3: the inlining is deliberate with a stated standalone fallback and navigation is easy.

4 / 5

Total

19

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A model what-and-when description: concrete capabilities with a specified output format, an exhaustive set of trigger verbs, objects, and indirect phrasings, and an explicit boundary against the paired writing skill. It is dense rather than padded — every clause is functional.

DimensionReasoningScore

Specificity

Names multiple concrete capabilities — "Review existing Rust code for idiom, API design, error handling, safety, and maintainability" and "produce a prioritized report where every finding cites the rule it breaks and gives a concrete fix" — covering both what is checked and the exact output shape. Not 4: coverage of the review domain is comprehensive, with no minor gaps in what a Rust review skill does.

5 / 5

Completeness

Explicitly answers both what (five review dimensions plus the report format) and when ("Use this whenever the user asks to review, audit, critique, grade, or \"check\" Rust code...") with concrete trigger phrases. Matches the anchor-5 example's structure exactly.

5 / 5

Trigger Term Quality

Trigger coverage is comprehensive with synonyms, file extensions, and objects: "review, audit, critique, grade, or \"check\"", "a crate, a module, a .rs file, a diff, or a pull request", plus indirect phrasings "what is wrong with their Rust or how to make it more idiomatic, even if they don't say \"review\"". Not 4: no natural term a user would say is missing.

5 / 5

Distinctiveness Conflict Risk

Triggers are consistently Rust-scoped (.rs, crate, Rust code), giving a clear niche with minimal conflict against generic code-review skills, and it explicitly boundaries the closest neighbor: "Pairs with the rust-best-practices skill, which covers writing new code."

5 / 5

Total

20

/

20

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 — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

dwojtaszek/droid-usage

Path

.factory/skills/rust-review/SKILL.md

Reviewed

Table of Contents

Is this your skill?

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.