CtrlK
BlogDocsLog inGet started
Tessl Logo

rust-patterns

Idiomatic Rust patterns, ownership, error handling, traits, concurrency, and best practices for building safe, performant applications. Use when writing or reviewing Rust code and ownership, error handling, traits, or concurrency is in question.

59

Quality

70%

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

Fix and improve this skill with Tessl

tessl review fix ./skills/rust-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

57%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.

The body is well-organized and code-forward with concrete good/bad contrasts, but it is a monolithic catalog that re-teaches standard Rust knowledge Claude already has, with no file-level split and no integrated verification workflow. Splitting topic areas into reference files and framing a write→clippy→test loop would raise the weakest dimensions.

Suggestions

Split topic areas (async/tokio, concurrency, module structure, tooling) into separate reference files under references/ and keep SKILL.md as a concise overview with well-signaled one-level-deep links.

Add an explicit application workflow, e.g., apply patterns → run 'cargo clippy' and 'cargo fmt --check' → run 'cargo test', so verification commands act as checkpoints rather than a flat list.

Trim sections that restate what Claude already knows (basic Option combinators, collect() type annotation, builder pattern) and remove redundancy between 'How It Works' and section headings, keeping only team-specific conventions like thiserror-vs-anyhow.

DimensionReasoningScore

Conciseness

Entries are individually tight with good/bad code contrast and no prose padding, but the ~490-line catalog largely covers standard Rust knowledge ('Result'/'?', 'Arc<Mutex<T>>', iterator chains, builder pattern), and the 'How It Works' paragraph and 'Anti-Patterns' section repeat other content.

3 / 5

Actionability

Concrete, mostly executable code with a useful cargo command reference, but several snippets reference undefined symbols ('connect()', 'User', 'Command') and one example body is 'todo!()', keeping them illustrative rather than copy-paste runnable.

4 / 5

Workflow Clarity

This is a pattern catalog with no sequenced application workflow; verification commands (cargo clippy, cargo test) appear as a flat list but are never framed as checkpoints in a write-then-verify loop, and no validation guidance accompanies the refactoring use cases.

3 / 5

Progressive Disclosure

Sections are well-organized with clear headers inside a single file, but no bundle files exist at all — content that belongs in separate references (async/tokio, module layout, tooling) is inlined in one ~490-line monolith.

3 / 5

Total

13

/

20

Passed

Description

82%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 strong description with an explicit 'Use when...' clause, natural trigger terms, and a clear Rust-specific niche. The main gap is that it enumerates topic areas rather than stating the concrete actions the skill performs.

DimensionReasoningScore

Specificity

Names the domain ('Idiomatic Rust patterns') plus concrete topic areas ('ownership, error handling, traits, concurrency'), but lists subjects rather than concrete actions, so it sits between the generic-actions anchor and the concrete-actions anchor.

3 / 5

Completeness

Explicitly answers both 'what' (patterns for ownership, error handling, traits, concurrency, best practices) and 'when' ('Use when writing or reviewing Rust code and ownership, error handling, traits, or concurrency is in question') with concrete trigger phrases, matching the top anchor.

5 / 5

Trigger Term Quality

Includes natural phrases users would say ('writing or reviewing Rust code', 'ownership', 'error handling', 'traits', 'concurrency'), but misses common synonyms like 'borrow checker', 'lifetimes', 'async', or 'Cargo'.

4 / 5

Distinctiveness Conflict Risk

'Rust' plus named topic areas carves a clear niche with distinct triggers and minimal conflict risk; only slight adjacency to a generic code-review skill via 'reviewing Rust code'.

5 / 5

Total

17

/

20

Passed

Validation

87%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (501 lines); consider splitting into references/ and linking

Warning

metadata_version

'metadata.version' is missing

Warning

Total

14

/

16

Passed

Repository
affaan-m/ECC
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.