CtrlK
BlogDocsLog inGet started
Tessl Logo

dart-generate-test-mocks

Define and generate mock objects for external dependencies using `package:mockito` and `build_runner`. Use when unit testing classes that depend on complex external services like APIs or databases.

72

Quality

90%

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

92%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 well-structured, highly actionable skill with executable examples, a sequenced checklist, and an explicit error-recovery feedback loop. Minor conciseness trimming would push it to fully lean.

DimensionReasoningScore

Conciseness

Mostly lean bullet points and code, but a few lines over-explain concepts Claude already knows (e.g., 'Utilize Dart's object-oriented features (classes, mixins) to define clear interfaces'), keeping it just short of fully efficient.

4 / 5

Actionability

Provides concrete commands (`dart pub add dev:mockito`, `dart run build_runner build`, `dart test`) and a complete, copy-paste-ready Dart SUT + test example covering the common success and error cases.

5 / 5

Workflow Clarity

A 10-step numbered checklist pairs with an explicit feedback loop (run validator → review errors → targeted fixes for missing stubs/async ArgumentError/build_runner mismatches → repeat), including validation checkpoints.

5 / 5

Progressive Disclosure

Self-contained single-purpose skill with a contents TOC and well-organized sections; no external references are needed, fitting the simple-skill exception for a clean, navigable structure.

5 / 5

Total

19

/

20

Passed

Description

87%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, specific description that clearly states both capability and trigger conditions, well-scoped to a distinct niche. The main gap is modest trigger-term synonym coverage (e.g., 'mocking', 'test doubles').

DimensionReasoningScore

Specificity

Names the domain and two concrete actions — 'Define and generate mock objects for external dependencies' — plus the tooling (`package:mockito`, `build_runner`), with only minor coverage gaps (no mention of stubbing/verification specifics).

4 / 5

Completeness

Explicitly answers both what ('Define and generate mock objects...') and when ('Use when unit testing classes that depend on complex external services like APIs or databases') with concrete trigger phrasing.

5 / 5

Trigger Term Quality

Includes natural terms users would say — 'mock objects', 'unit testing', 'external services like APIs or databases' — but misses common synonyms like 'test doubles', 'mocking', and any file/extension cues.

4 / 5

Distinctiveness Conflict Risk

Scoped to Dart/Flutter mocking with mockito and build_runner, a clear niche with distinct triggers and minimal overlap with other skills.

5 / 5

Total

18

/

20

Passed

Validation

93%

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

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository
flutter/agent-plugins
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.