CtrlK
BlogDocsLog inGet started
Tessl Logo

dart-use-pattern-matching

Use switch expressions and pattern matching where appropriate

63

Quality

75%

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/dart-use-pattern-matching/SKILL.md
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.

The body is a tight, actionable reference: executable Dart examples, concrete syntax rules, and an explicit validation feedback loop, all in a well-organized single file. It earns the top of the scale on every content dimension.

DimensionReasoningScore

Conciseness

The body is lean reference material — bullet-listed syntax rules and short code blocks with no padding of concepts Claude already knows, fitting the 'lean and efficient; every token earns its place' anchor.

3 / 3

Actionability

It provides complete, executable Dart code (JSON case-destructuring, sealed-class switch expressions, record swapping, guarded || cases) plus concrete syntax rules, matching the 'fully executable code; copy-paste ready' anchor.

3 / 3

Workflow Clarity

A 'Task Progress' checklist sequences the work and the 'Exhaustiveness Checking' section gives an explicit feedback loop (run dart analyze → review errors → fix), matching the 'clear sequence with explicit validation steps and feedback loops' anchor.

3 / 3

Progressive Disclosure

No bundle files exist and none are needed; the single SKILL.md is well-organized with a contents list and clearly delineated sections, so the well-organized-sections criterion is satisfied.

3 / 3

Total

12

/

12

Passed

Description

50%

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

The description is short and on-topic but generic: it states a single action with an implied rather than explicit trigger and omits the language (Dart) that would distinguish it. It sits at the midpoint of the scale across all dimensions.

Suggestions

Add an explicit trigger clause, e.g. 'Use when writing Dart code that branches on data shape, sealed classes, records, or JSON, or when the user asks about Dart switch expressions or pattern matching.'

Name the language explicitly ('Dart') so the skill is distinguishable from pattern-matching skills for other languages.

List concrete actions (e.g. 'destructure records and JSON, match sealed class hierarchies exhaustively, apply guards with when') to raise specificity above a single 'Use' verb.

DimensionReasoningScore

Specificity

Quotes 'Use switch expressions and pattern matching' — it names the domain and a single action, but does not list multiple concrete actions as the score-3 anchor requires.

2 / 3

Completeness

It states what to do but the only 'when' guidance is the vague 'where appropriate' rather than an explicit 'Use when...' trigger clause, which caps completeness at 2 per the guidelines.

2 / 3

Trigger Term Quality

'switch expressions and pattern matching' are terms a Dart user might say, but the description offers no common variations or synonyms, matching the 'some relevant keywords but missing common variations' anchor.

2 / 3

Distinctiveness Conflict Risk

The description never mentions Dart, so 'switch expressions and pattern matching where appropriate' could plausibly trigger for other languages' pattern-matching skills, fitting the 'somewhat specific but could still overlap' anchor.

2 / 3

Total

8

/

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.