Agent skill
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 this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/flutter-test
SKILL.md
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:
bashflutter 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:
bashflutter 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"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?