Skip to content
Skill

Flutter testing skill

Generate Flutter widget, integration and golden tests in Dart

Flutter testing skill is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
392
Last commit
License
MIT
Listing updated

Similar skills

About Flutter testing skill

This skill has the agent write Flutter tests in Dart. It starts by choosing a test type from the request: unit, widget, integration or golden, and defaults to a widget test when the request is ambiguous.

It includes patterns for testWidgets with WidgetTester, finder strategies, user actions, integration tests in the integration_test folder, and golden tests using matchesGoldenFile with commands to generate and compare golden files. Sections on mocking dependencies and anti-patterns round it out, along with a quick reference and a pubspec.yaml snippet.

Tests can run locally or on TestMu AI cloud real devices, where the app is built, uploaded and driven through Appium with the Flutter driver.

When your agent uses it

Generates Flutter widget tests, integration tests, and golden tests in Dart. Supports local execution and TestMu AI cloud for real device testing. Use when user mentions "Flutter", "widget test", "WidgetTester", "testWidgets", "flutter_test", "integration_test". Triggers on: "Flutter", "widget test", "Dart test", "testWidgets", "WidgetTester", "golden test".

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 3 files (26 KB) on GitHub on 17 November 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/flutter-testing-skill to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LambdaTest/agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/flutter-testing-skill &&
cp -R "$tmp/flutter-testing-skill" ~/.claude/skills/flutter-testing-skill &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/flutter-testing-skill inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/flutter-testing-skill to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LambdaTest/agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/flutter-testing-skill &&
cp -R "$tmp/flutter-testing-skill" ~/.agents/skills/flutter-testing-skill &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/flutter-testing-skill inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/flutter-testing-skill to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LambdaTest/agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/flutter-testing-skill &&
cp -R "$tmp/flutter-testing-skill" ~/.cursor/skills/flutter-testing-skill &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/flutter-testing-skill inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/LambdaTest/agent-skills.git --path flutter-testing-skill

Or copy the folder to ~/.gemini/skills/flutter-testing-skill yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/flutter-testing-skill:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LambdaTest/agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/flutter-testing-skill &&
cp -R "$tmp/flutter-testing-skill" ~/.copilot/skills/flutter-testing-skill &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/flutter-testing-skill inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/LambdaTest/agent-skills.git

Then copy agent-skills/flutter-testing-skill into your agent's skills folder as flutter-testing-skill. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Test type routing
Picks unit, widget, integration or golden tests from the request.
Widget test patterns
Examples with testWidgets, finders and actions.
Integration tests
Guidance for the integration_test directory.
Golden tests
Visual regression with matchesGoldenFile and update commands.
Mocking guidance
Patterns for mocking dependencies and avoiding anti-patterns.
Cloud device runs
Steps for building, uploading and running on TestMu AI real devices.

Good for

  • Write widget tests for a login screen
  • Add golden tests for visual regression
  • Create integration tests for a full app flow
  • Run Flutter tests on real devices in the cloud

Flutter testing skill FAQ

Which test type does Flutter testing skill default to?

A widget test, when the request is ambiguous.

Which language is used?

Dart, with the flutter_test package.

Can I run on real devices?

Yes, through TestMu AI cloud with Appium.

How do golden tests work?

They use matchesGoldenFile, with commands to generate and then compare golden files.

How do I install Flutter testing skill in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/flutter-testing-skill to use it in all your projects, or to .claude/skills/flutter-testing-skill in one project.

Does Flutter testing skill run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Flutter testing skill?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Flutter testing skill?

The closest alternatives to Flutter testing skill are Dart migrate to checks package, Dart collect coverage, Developing genkit dart, Firebase test lab migration skill and JavaScript TypeScript jest.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from LambdaTest/agent-skills

  1. Adds WCAG accessibility scans to Selenium, Playwright and Cypress tests on TestMu AI

    • Open source
    • 392 GitHub stars
    • Browser automation
  2. Guides an agent in designing LLM tool definitions and MCP tool schemas for APIs

    • Open source
    • 392 GitHub stars
    • AI models and LLM tooling
  3. Checks an API request for method, URL, headers, body and auth errors

    • Open source
    • 392 GitHub stars
    • Developer tools