Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

flutter-testing

Skill by midudev

Guides an AI assistant to write, fix, review, and debug Flutter tests for apps, packages, and plugins. It is for Flutter developers who need unit, widget, or integration tests and help with test failures.

  • Score 87
  • 7k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install flutter-testing

Built from the published package, never by AI.

git clone --depth 1 https://github.com/midudev/autoskills /tmp/autoskills && mkdir -p ~/.claude/skills && cp -r /tmp/autoskills/packages/autoskills/skills-registry/flutter-testing ~/.claude/skills/flutter-testing

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install flutter-testing in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

flutter-testing is an agent skill, defined in a SKILL.md file, for writing and fixing Flutter tests. It tells the assistant to inspect the project first, including pubspec.yaml, existing test folders, generated mocks, and CI commands. It then picks the test layer (unit, widget, integration, or plugin and mocking) and reads a matching reference file before editing.

The skill covers MethodChannel and plugin mocks, Mockito and mocktail doubles, golden and accessibility checks, and build_runner mock generation. It also includes an error-to-fix guide for issues such as MissingPluginException and pump or pumpAndSettle problems. The skill is aimed at Flutter developers who maintain app, package, or plugin test suites.

Written from the project's SKILL.md and checked against it.

What it can do

  • Unit testsWrites or fixes pure Dart tests for functions, repositories, services, and async code.
  • Widget testsWrites or fixes widget tests covering finders, gestures, forms, navigation, and semantics.
  • Integration testsAdds or fixes integration tests for device and browser runs, screenshots, and CI.
  • Mocks and test doublesSets up fakes, MethodChannel handlers, and generated Mockito mocks.
  • Plugin testingGuides tests for Flutter plugin packages and native Android and iOS code.
  • Failure diagnosisMaps common errors such as MissingPluginException and finder failures to fixes.
  • Flaky test fixesHelps remove fixed delays and repeat tests to check for flakiness.

What you need

  • Flutter SDK
  • Dart SDK
  • Chrome for browser integration tests
  • A connected device or emulator for device integration tests

Try asking

  • Write a widget test for my login form using fakes instead of real network calls.
  • Fix this MissingPluginException in my Flutter plugin test.
  • Why does my test hang on pumpAndSettle, and how do I make it deterministic?

Good to know

  • Validation may be blocked by missing devices, browsers, native tooling, network access, or code generation.
  • If the repository lacks enough context, the skill asks for the target behavior and preferred test level.
  • The skill tells the assistant not to use obsolete commands such as flutter pub run build_runner build.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: packages/autoskills/skills-registry/flutter-testing/SKILL.md, packages/autoskills/skills-registry/flutter-testing/scripts/verify-examples.sh. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB
  • references/common-errors.md12 KB
  • references/integration-testing.md13 KB
  • references/mocking.md12 KB
  • references/plugin-testing.md11 KB
Show all 8 files
  • references/unit-testing.md8 KB
  • references/widget-testing.md14 KB
  • scripts/verify-examples.sh3 KB

Alternatives to flutter-testing

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

flutter-testing: common questions

Which test types does flutter-testing cover?

It covers unit tests, widget tests, integration tests, and plugin and mocking guidance. Each scenario routes to a separate reference file.

Does it use Mockito or mocktail?

The skill covers both Mockito and mocktail test doubles, plus manual fakes and MethodChannel handlers.

Does the skill run tests on its own?

It asks the assistant to run the narrowest validation command after changes. If validation cannot run, the assistant must report the blocker instead of claiming the change is verified.

How do I install flutter-testing?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is flutter-testing free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is flutter-testing safe to use?

It scores 87 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to flutter-testing?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

flutter-testing Install

Add to stack

Loading.