dart-use-pattern-matchingby DartOfficialDevelopmentGitHub stars: 509
Dart Use Pattern Matching skill: what it does and how to install it
Applies Dart 3 pattern matching, switch expressions and destructuring to replace complex if-else chains.
Install
$ npx skills add dart-lang/skills --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
Applies Dart 3 pattern matching, switch expressions and destructuring to replace complex if-else chains.
Similar skills
- Debugging and Error RecoveryWalks the agent through root-cause debugging when tests fail, builds break or behaviour stops matching expectations.
- AntfuApplies Anthony Fu's tooling and conventions to JavaScript and TypeScript projects: linting, monorepos and library publishing.
- SuperpowersA full software development workflow for coding agents, built from composable skills for brainstorming, planning, TDD, debugging and review.