This guides Claude through writing unit tests for Dart and Flutter projects using package:test. It covers the essentials: mirroring your lib directory structure in test, using group() and test() functions, handling async tests, and working with mockito for dependency injection. The workflow checklist is solid, walking you through file creation to the feedback loop of running tests and fixing failures. The examples are practical, showing both basic assertion patterns and mock setup with build_runner. If you're adding tests to new features or bug fixes, this keeps Claude consistent with Dart testing conventions and saves you from explaining the basics every time.
npx -y skills add dart-lang/skills --skill dart-add-unit-test --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
wshobson/agents
github/awesome-copilot