Claude Code Plugins

Community-maintained marketplace

Feedback

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 Skill

1Download skill
2Enable skills in Claude

Open claude.ai/settings/capabilities and find the "Skills" section

3Upload to Claude

Click "Upload skill" and select the downloaded ZIP file

Note: Please verify skill by going through its instructions before using it.

SKILL.md

name flutter-test
description 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".
allowed-tools Bash, Read, Grep, Glob

Flutter Test Runner

Instructions

  1. 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
  2. Run the tests:

    flutter test --reporter=expanded
    
  3. Analyze failures:

    • Read the error messages carefully
    • Identify the root cause (logic error, missing mock, incorrect expectation)
    • Suggest specific fixes
  4. 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"