dart-lang/dart-use-pattern-matching
Use switch expressions and pattern matching where appropriate
Use switch expressions and pattern matching where appropriate
npx skills add https://github.com/dart-lang/skills/tree/main/skills/dart-use-pattern-matchingUse switch expressions and pattern matching where appropriate
This repo contains 8 individual skills — each has its own dedicated page.
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.
Entrypoint structure, exit codes, cross-platform scripts. Use when building command line utilities, scripts, or applications.
Collect coverage using the coverage packge and create an LCOV report
Uses get_runtime_errors and lsp to fetch an active stack trace, locate the failing line, apply a fix, and verify resolution via hot_reload.
Define and generate mock objects for external dependencies using `package:mockito` and `build_runner`. Use when unit testing classes that depend on complex external services like APIs or databases.
Replace the usage of `expect` and similar functions from `package:matcher` to `package:checks` equivalents.
Workflow for fixing package version conflicts. Use this when `pub get` fails due to incompatible package versions.
Execute `dart analyze` to identify warnings and errors, and use `dart fix --apply` to automatically resolve mechanical lint issues. Use during development to ensure code quality and before committing changes.
Schema migration strategies for evolving applications including adding new fields, backfilling data, removing deprecated fields, index migrations, and zero-downtime migration patterns
AI orchestration template system for Claude Code and Gemini CLI — 21 agents, 40 skills, 13 slash commands
Self-evolving agent: grows skill tree from 3.3K-line seed, achieving full system control with 6x less token consumption
跨裝置同步 Claude Code / Codex 設定、agents、skills 與 rules 的 Git 工具
A curated list of awesome resources, skills, MCP servers, tips, and tools for Claude Code by Anthropic
Create a Google Classroom course and invite students.