CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

rust-testing

Rust testing patterns including unit tests, integration tests, async testing, property-based testing, mocking, and coverage. Follows TDD methodology.

Quality

76%

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 ./.kiro/skills/rust-testing/SKILL.md

The canonical home for this skill is rust-testing in affaan-m/ECC

SKILL.md
Quality
Evals
Security

Quality

Content

77%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 highly actionable, comprehensive Rust testing reference with an exemplary TDD workflow containing explicit validation loops. Its weaknesses are token efficiency (duplicated TDD explanation and basic Rust testing knowledge restated) and total absence of progressive disclosure — everything lives in one large inline file.

Suggestions

Split advanced topics (async testing, proptest strategies, mockall, CI integration) into reference files (e.g., references/async.md, references/mockall.md) and keep SKILL.md as a tight overview with one-level-deep links.

Remove the duplicated TDD explanation — merge 'How It Works' steps 4-6 with the 'RED-GREEN-REFACTOR Cycle' section, and drop the basic assertion-macro and doc-test examples Claude already knows.

Trim the repeated `add` example (appears in both the TDD section and doc tests) to a single canonical illustration.

DimensionReasoningScore

Conciseness

The body is mostly tight code with little prose padding, but it restates things Claude already knows — the assertion-macro basics, doc-test basics, and the TDD cycle explained twice ('How It Works' steps 4-6 and 'The RED-GREEN-REFACTOR Cycle' section, with the `add` example repeated in the doc-tests section). This fits anchor 3 ('mostly efficient but includes some unnecessary explanation or could be tightened') rather than 4, where only minor trimming would be needed.

3 / 5

Actionability

Every section gives fully executable, copy-paste-ready code: cargo test command flags, Cargo.toml criterion config, rstest/proptest/mockall usage, cargo-llvm-cov invocations, and a complete GitHub Actions workflow. This matches anchor 5 and is clearly above anchor 4 ('minor gaps').

5 / 5

Workflow Clarity

The TDD workflow is clearly sequenced with explicit validation feedback loops — 'cargo test → panics at not yet implemented' (RED), 'cargo test → PASS, then REFACTOR while keeping tests green' (GREEN), plus a coverage gate ('--fail-under-lines 80'). This matches anchor 5's explicit validation steps and error-recovery loops; nothing significant is missing.

5 / 5

Progressive Disclosure

Section headers are well-organized, but this is a ~490-line monolith with no bundle files at all — async testing, mocking, proptest, and CI content that clearly belongs in separate reference files is inlined. This matches anchor 3 ('content that should be separate is inline'); not 2 because structure and navigation within the file are good, and not 4 because there are no references to any external files.

3 / 5

Total

16

/

20

Passed

Description

66%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 well-scoped description with specific domain enumeration and natural trigger keywords, undermined by the complete absence of a 'when to use' clause. Adding explicit trigger guidance would lift both completeness and distinctiveness.

Suggestions

Add a 'Use when...' clause, e.g., 'Use when writing or running Rust tests, adding test coverage, or following a TDD workflow in Rust projects.'

Include natural trigger variations users actually say, such as 'cargo test', 'benchmark', or 'test coverage', to broaden keyword coverage.

Mention benchmarks/doc tests explicitly (already covered in the body) to close the coverage gap in the description.

DimensionReasoningScore

Specificity

The description lists several specific testing domains — 'unit tests, integration tests, async testing, property-based testing, mocking, and coverage' — giving minor gaps in coverage rather than comprehensive concrete actions, matching anchor 4. It falls short of anchor 5 because these are topic categories rather than stated concrete actions, and benchmarks/doc tests are absent.

4 / 5

Completeness

The 'what' is clear ('Rust testing patterns including...'), but there is no 'Use when...' clause or equivalent trigger guidance, which caps completeness at 3 per the judging guidelines. Not 4 because the 'when' is entirely absent rather than merely improvable.

3 / 5

Trigger Term Quality

Natural keywords like 'unit tests', 'integration tests', 'async testing', 'mocking', 'coverage', and 'TDD' give good coverage, matching anchor 4. Not anchor 5 because common variations users would say are missing (e.g., 'cargo test', 'benchmark', 'test suite').

4 / 5

Distinctiveness Conflict Risk

'Rust testing patterns' carves out a clear niche with mostly distinct triggers, matching anchor 4. Not 5 because the lack of explicit trigger phrases leaves minor overlap risk with generic testing or Rust development skills.

4 / 5

Total

15

/

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

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

14

/

16

Passed

Repository

affaan-m/ECC

Path

.kiro/skills/rust-testing/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.