Claude-skill-registry flutter-test
Run Flutter tests and analyze results. Use when implementing game logic, fixing bugs, or validating changes. Triggers on "run tests", "test this", "verify", "check if it works".
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/flutter-test" ~/.claude/skills/majiayu000-claude-skill-registry-flutter-test && rm -rf "$T"
manifest:
skills/data/flutter-test/SKILL.mdsource content
Flutter Test Runner
Instructions
-
Identify which tests to run:
- If a specific file was modified, run tests for that file/module
- If unsure, run all tests with
flutter test - For a single test file:
flutter test test/path/to/test_file.dart
-
Run the tests:
flutter test --reporter=expanded -
Analyze failures:
- Read the error messages carefully
- Identify the root cause (logic error, missing mock, incorrect expectation)
- Suggest specific fixes
-
For coverage analysis:
flutter test --coverage
Examples
Run all tests:
flutter test
Run specific test file:
flutter test test/models/unit_test.dart
Run tests matching a pattern:
flutter test --name "combat"