dart-use-pattern-matching
100 / 100 · Low risk
Fine to try.
Applies Dart 3 pattern matching, switch expressions, and destructuring idiomatically to validate data schemas, handle algebraic data types, and decompose control flow. Use when refactoring complex if-else chains, parsing polymorphic JSON or API responses, destructuring Lists, URI/path segments, String.split() tokens, Records, or Maps, or enforcing exhaustiveness on sealed classes. Don't use for simple boolean conditions, single-variable type promotion (use `is`), or basic collection filtering.
What this skill can do
We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'dart-use-pattern-matching' ] || [ -L ~/.agents/skills/'dart-use-pattern-matching' ]; then echo 'A skill folder named dart-use-pattern-matching already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/siesdart/jaspr-portfolio' "$d" && git -C "$d" checkout --quiet '628e1cbb781c3f70563de90adf3d9f76473f06dd' -- '.agents/skills/dart-use-pattern-matching' && mkdir -p ~/.agents/skills && cp -R "$d"/'.agents/skills/dart-use-pattern-matching' ~/.agents/skills/'dart-use-pattern-matching' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'dart-use-pattern-matching' ~/.claude/skills/'dart-use-pattern-matching' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/siesdart/jaspr-portfolio/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-10 | 628e1cb | 100 |