Dart Use Pattern Matching skill: what it does and how to install it
Applies Dart 3 pattern matching to validate data, destructure collections and records, parse responses and handle sealed types exhaustively.
Summary generated from the skill's documentation.
Install
$ npx skills add flutter/agent-plugins --skill dart-use-pattern-matchingRun it in a terminal. If your agent is already running, start a new session so it picks the skill up.
About this skill
What it does. Guides Dart 3 refactoring with map, list, record and object patterns, switch expressions and statements, guards, and sealed classes. It covers JSON validation, polymorphic response parsing, path segments, records and exhaustive type handling, with analyser checks and runtime verification for map keys.
When to use it. For complex conditionals, structured data, API responses, collection destructuring and algebraic data types. It advises against patterns for simple boolean conditions, single-variable type promotion, basic filtering and gratuitous destructuring.
History
Repo stars
3kAbout +2.8k since 16 Jul 2026
Before 1 Oct 2026 the curve is estimated from public event data.
Stars are counted for the whole repository, which holds 25 skills.
Show as a table
| Date | Repo stars |
|---|---|
| 1 Oct 2026 | 3,016 |
| 24 Sept 2026 (estimated) | 2,828 |
| 17 Sept 2026 (estimated) | 2,262 |
| 10 Sept 2026 (estimated) | 1,131 |
| 3 Sept 2026 (estimated) | 189 |
| 27 Aug 2026 (estimated) | 189 |
| 20 Aug 2026 (estimated) | 189 |
| 13 Aug 2026 (estimated) | 189 |
| 6 Aug 2026 (estimated) | 189 |
| 30 Jul 2026 (estimated) | 189 |
| 23 Jul 2026 (estimated) | 189 |
| 16 Jul 2026 (estimated) | 189 |
Installs
10.8k
Tracking since . A chart appears once there are 7 days of data.
Installs via skills.sh
Similar skills
- Caveman MigrationImplements schema, data, API or dependency migrations that are reversible, with rollback and preservation proof.
- Debugging and Error RecoveryWalks the agent through root-cause debugging when tests fail, builds break or behaviour stops matching expectations.
- Documentation and ADRsRecords architecture decisions as ADRs and keeps documentation current when public APIs change or features ship.