CtrlK
BlogDocsLog inGet started
Tessl Logo

dart-add-unit-test

Write and organize unit tests for functions, methods, and classes using `package:test`. Use when creating new logic or fixing bugs to ensure code remains correct and regression-free.

79

Quality

100%

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

100%

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

A concise, actionable body: executable examples, exact commands, a sequenced workflow with a feedback loop, and clean sectioned navigation. It assumes Claude's competence and adds only Dart/Flutter testing specifics Claude may not recall.

DimensionReasoningScore

Conciseness

The body is lean — concrete bullet-point guidance plus two compact code examples with no padding about what testing or libraries are; the only mild narration ("Demonstrates grouping..." lines) is minimal, keeping it at the level-3 lean/efficient anchor rather than the level-2 could-be-tightened one.

3 / 3

Actionability

It provides two complete, executable Dart examples (Calculator suite and Mockito mock with the build_runner command) plus exact CLI commands (`dart test`, `flutter test integration_test`) and concrete naming conventions — copy-paste ready, matching the level-3 executable-code anchor.

3 / 3

Workflow Clarity

The "Test Implementation Workflow" is a sequenced 7-step checklist with an explicit feedback loop (step 7: run -> review stack trace -> fix -> re-run until passing), meeting the level-3 anchor for clear sequence with validation/feedback checkpoints rather than the level-2 missing-checkpoint anchor.

3 / 3

Progressive Disclosure

No bundle files exist, so this is a single-file skill; it is well-organized into labeled sections with a Contents TOC for navigation, which per the simple-skills scoring note earns a 3 with well-organized sections and no need for external references.

3 / 3

Total

12

/

12

Passed

Description

100%

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-crafted description: specific actions and targets, an explicit Use-when trigger, natural keyword coverage, and a clear Dart-testing niche. It concisely answers both what the skill does and when to invoke it.

DimensionReasoningScore

Specificity

"Write and organize unit tests for functions, methods, and classes using `package:test`" names multiple concrete actions (write, organize), specific targets (functions, methods, classes), and the exact library — matching the anchor for multiple specific concrete actions rather than the level-2 single-domain example.

3 / 3

Completeness

It answers both halves with an explicit trigger clause: what ("Write and organize unit tests ... using `package:test`") and when ("Use when creating new logic or fixing bugs ..."), satisfying the level-3 requirement for an explicit "Use when..." trigger rather than capping at 2.

3 / 3

Trigger Term Quality

Natural terms users would say are well covered — "unit tests", "functions, methods, and classes", "creating new logic", "fixing bugs", "regression-free" — giving good coverage of the variations a user would actually invoke, beyond the level-2 partial-coverage anchor.

3 / 3

Distinctiveness Conflict Risk

The Dart/Flutter unit-testing niche tied to `package:test` is a clear, scoped domain with distinct triggers unlikely to collide with other skills, fitting the level-3 clear-niche anchor rather than the level-2 overlap-prone example.

3 / 3

Total

12

/

12

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.