Flutter Testing
MADTeacher/mad-agents-skills
Write, fix, review, debug, and validate Flutter tests for apps, packages, and plugins.
Configures Flutter Driver for app interaction and converts MCP actions into permanent integration tests.
$ npx skills add abdulmominsakib/localmind --skill flutter-add-integration-test -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install abdulmominsakib/localmind flutter-add-integration-test --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/abdulmominsakib/localmind.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/flutter-add-integration-test .claude/skills/flutter-add-integration-test && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "flutter-add-integration-test" agent skill from https://github.com/abdulmominsakib/localmind/tree/main/.agents/skills/flutter-add-integration-test into .claude/skills/flutter-add-integration-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "flutter-add-integration-test", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/abdulmominsakib/localmind/tree/main/.agents/skills/flutter-add-integration-testType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add abdulmominsakib/localmind --skill flutter-add-integration-test -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install abdulmominsakib/localmind flutter-add-integration-test --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/abdulmominsakib/localmind.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/flutter-add-integration-test .agents/skills/flutter-add-integration-test && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "flutter-add-integration-test" agent skill from https://github.com/abdulmominsakib/localmind/tree/main/.agents/skills/flutter-add-integration-test into .agents/skills/flutter-add-integration-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "flutter-add-integration-test", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add abdulmominsakib/localmind --skill flutter-add-integration-test -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install abdulmominsakib/localmind flutter-add-integration-test --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/abdulmominsakib/localmind.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/flutter-add-integration-test .cursor/skills/flutter-add-integration-test && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "flutter-add-integration-test" agent skill from https://github.com/abdulmominsakib/localmind/tree/main/.agents/skills/flutter-add-integration-test into .cursor/skills/flutter-add-integration-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "flutter-add-integration-test", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/abdulmominsakib/localmind.git --path .agents/skills/flutter-add-integration-test--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add abdulmominsakib/localmind --skill flutter-add-integration-test -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install abdulmominsakib/localmind flutter-add-integration-test --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/abdulmominsakib/localmind.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/flutter-add-integration-test .gemini/skills/flutter-add-integration-test && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "flutter-add-integration-test" agent skill from https://github.com/abdulmominsakib/localmind/tree/main/.agents/skills/flutter-add-integration-test into .gemini/skills/flutter-add-integration-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "flutter-add-integration-test", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install abdulmominsakib/localmind flutter-add-integration-testInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add abdulmominsakib/localmind --skill flutter-add-integration-test -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/abdulmominsakib/localmind.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/flutter-add-integration-test .github/skills/flutter-add-integration-test && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "flutter-add-integration-test" agent skill from https://github.com/abdulmominsakib/localmind/tree/main/.agents/skills/flutter-add-integration-test into .github/skills/flutter-add-integration-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "flutter-add-integration-test", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add abdulmominsakib/localmind --skill flutter-add-integration-test -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install abdulmominsakib/localmind flutter-add-integration-test --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/abdulmominsakib/localmind.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/flutter-add-integration-test .opencode/skills/flutter-add-integration-test && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "flutter-add-integration-test" agent skill from https://github.com/abdulmominsakib/localmind/tree/main/.agents/skills/flutter-add-integration-test into .opencode/skills/flutter-add-integration-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "flutter-add-integration-test", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
flutter-add-integration-testConfigures Flutter Driver for app interaction and converts MCP actions into permanent integration tests.
Flutter Add Integration Test is an agent skill from abdulmominsakib/localmind. Configures Flutter Driver for app interaction and converts MCP actions into permanent integration tests. Use when adding integration testing to a project, exploring UI components via MCP, or automating user flows with the integrationtest package.
Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Integration testing and Cross-platform mobile apps. It works with Flutter, Model Context Protocol and Dart. The repository describes itself as: A mobile application designed to provide a beautiful, fast, and privacy-respecting interface for on device LLM and local LLM servers and cloud providers. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 9ff3f94. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
flutterFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Flutter Add Integration Test loads about 1.8k tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 526 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from abdulmominsakib/localmind at commit 9ff3f94, republished under its MIT licence (© abdulmominsakib). 526 words, ~1,836 tokens.
.claude/skills/flutter-add-integration-test/SKILL.md (or your agent's skills folder).Configure the project to support integration testing and Flutter Driver extensions.
pubspec.yaml:flutter pub add 'dev:integration_test:{"sdk":"flutter"}'
flutter pub add 'dev:flutter_test:{"sdk":"flutter"}'lib/main.dart or a dedicated lib/main_test.dart):package:flutter_driver/driver_extension.dart.enableFlutterDriverExtension(); before runApp().Key parameters (e.g., ValueKey('login_button')) to critical widgets in the application code to ensure reliable targeting during tests.Use the Dart/Flutter MCP server tools to interactively explore and manipulate the application state before writing static tests.
launch_app with target: "lib/main_test.dart" to start the application and acquire the DTD URI.get_widget_tree to discover available Keys, Text nodes, and widget Types.tap, enter_text, and scroll to simulate user flows.waitFor or verify state with get_health when navigating or triggering animations.SliverList or ListView. Execute scroll or scrollIntoView to force the widget to mount before interacting with it.Structure integration tests using the flutter_test API paradigm.
integration_test/ directory at the project root.<name>_test.dart convention.IntegrationTestWidgetsFlutterBinding.ensureInitialized(); at the start of main().await tester.pumpWidget(MyApp());.await tester.pumpAndSettle(); after interactions like tester.tap().expect(find.byKey(ValueKey('foo')), findsOneWidget); or findsNothing.await tester.scrollUntilVisible(itemFinder, 500.0, scrollable: listFinder);.Conditional Logic for Legacy flutter_driver:
flutter_driver tests, use driver.waitFor(), driver.waitForAbsent(), driver.tap(), and driver.scroll() instead of the WidgetTester APIs.Execute tests using the flutter drive command. Require a host driver script located in test_driver/integration_test.dart that calls integrationDriver().
Conditional Execution Targets:
chromedriver --port=4444 in a separate terminal, then run:
flutter drive --driver=test_driver/integration_test.dart --target=integration_test/app_test.dart -d chrome-d web-server.flutter drive --driver=test_driver/integration_test.dart --target=integration_test/app_test.dart.flutter build apk --debug./gradlew app:assembleAndroidTestCopy and follow this checklist to implement and verify integration tests.
integration_test and flutter_test to pubspec.yaml.enableFlutterDriverExtension() into the app entry point.ValueKeys to target widgets.launch_app via MCP.get_widget_tree.tap, enter_text).integration_test/app_test.dart.WidgetTester APIs.test_driver/integration_test.dart with integrationDriver().flutter drive --driver=test_driver/integration_test.dart --target=integration_test/app_test.dart.PumpAndSettleTimedOutException occurs, check for infinite animations -> If widget not found, add scrollUntilVisible -> Re-run test until passing.integration_test/app_test.dart)import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';
import 'package:my_app/main.dart';
void main() {
IntegrationTestWidgetsFlutterBinding.ensureInitialized();
group('End-to-end test', () {
testWidgets('tap on the floating action button, verify counter', (tester) async {
// Load app widget.
await tester.pumpWidget(const MyApp());
// Verify the counter starts at 0.
expect(find.text('0'), findsOneWidget);
// Find the floating action button to tap on.
final fab = find.byKey(const ValueKey('increment'));
// Emulate a tap on the floating action button.
await tester.tap(fab);
// Trigger a frame and wait for animations.
await tester.pumpAndSettle();
// Verify the counter increments by 1.
expect(find.text('1'), findsOneWidget);
});
});
}test_driver/integration_test.dart)import 'package:integration_test/integration_test_driver.dart';
Future<void> main() => integrationDriver();test_driver/perf_driver.dart)Use this driver script if you wrap your test actions in binding.traceAction() to capture performance metrics.
import 'package:flutter_driver/flutter_driver.dart' as driver;
import 'package:integration_test/integration_test_driver.dart';
Future<void> main() {
return integrationDriver(
responseDataCallback: (data) async {
if (data != null) {
final timeline = driver.Timeline.fromJson(
data['scrolling_timeline'] as Map<String, dynamic>,
);
final summary = driver.TimelineSummary.summarize(timeline);
await summary.writeTimelineToFile(
'scrolling_timeline',
pretty: true,
includeSummary: true,
);
}
},
);
}© abdulmominsakib, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/flutter-add-integration-test of abdulmominsakib/localmind.
Open the folder on GitHubat commit 9ff3f94
Flutter Add Integration Test next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Flutter Add Integration Test this skillabdulmominsakib/localmind | 268 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Flutter TestingMADTeacher/mad-agents-skills | 110 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Specialist Integration Test GeneratorHoangNguyen0403/agent-skills-standard | 572 | — | ~548 | Automated safety check: Pass | MIT | |
| Flutter MCP E2E HarnessArenukvern/mcp_flutter | 387 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Green GateVeryGoodOpenSource/vgv-ai-flutter-plugin | 170 | — | ~4.7k | Automated safety check: Notes | MIT | |
| Testing Strategybladeofgod/flutter-ai-harness | 116 | — | ~268 | Automated safety check: Pass | MIT |
MADTeacher/mad-agents-skills
Write, fix, review, debug, and validate Flutter tests for apps, packages, and plugins.
HoangNguyen0403/agent-skills-standard
Generates one integration/E2E test from an approved test case spec using existing project patterns.
Arenukvern/mcp_flutter
A skill your agent uses when writing or running repeatable E2E scenarios for Flutter apps as checked-in Dart with the fluttermcpharness package (packages/harness) — build/launch the app, attach to…
VeryGoodOpenSource/vgv-ai-flutter-plugin
Drives a Dart or Flutter package fully green through a verify-fix-rerun loop across four gates: analyze, format, test, coverage.
bladeofgod/flutter-ai-harness
适用:编写或审查 Dart 单测、Flutter Widget 测试、Route 测试、集成测试、Fake 或 Mocktail Mock。不适用:Kotlin/Swift 测试框架,也不替代生产实现。触发词:testWidgets、flutter test、Mocktail、Fake、Get.reset、integrationtest、coverage、flaky。
debugmcp/mcp-debugger
A skill your agent uses when investigating a bug, failing test, or unexpected runtime behavior and the mcp-debugger MCP server is available — drives real step-through debuggers (breakpoints, stack…
abdulmominsakib/localmind
Adds interactive widget previews to the project using the previews.dart system.
abdulmominsakib/localmind
Design, implement, refactor, and review Flutter apps that use feature-based vertical slices, handwritten Dart models/providers, componentized StatelessWidget UI, Riverpod state management, and a…
abdulmominsakib/localmind
Implement a component-level test using WidgetTester to verify UI rendering and user interactions (tapping, scrolling, entering text).
abdulmominsakib/localmind
Architects a Flutter application using the recommended layered approach (UI, Logic, Data).
abdulmominsakib/localmind
Use LayoutBuilder, MediaQuery, or Expanded/Flexible to create a layout that adapts to different screen sizes.
abdulmominsakib/localmind
Fixes Flutter layout errors (overflows, unbounded constraints) using Dart and Flutter MCP tools.
Works with
Categories
Configures Flutter Driver for app interaction and converts MCP actions into permanent integration tests. Flutter Add Integration Test is an agent skill from abdulmominsakib/localmind. Configures Flutter Driver for app interaction and converts MCP actions into permanent integration tests.
Flutter Add Integration Test fits situations like: adding integration testing to a project; exploring UI components via MCP; automating user flows with the integrationtest package.
Run `npx skills add abdulmominsakib/localmind --skill flutter-add-integration-test -a claude-code`. Or copy the skill folder (.agents/skills/flutter-add-integration-test in abdulmominsakib/localmind) into .claude/skills/flutter-add-integration-test in your project. Claude Code loads it when a task matches its description.
Run `npx skills add abdulmominsakib/localmind --skill flutter-add-integration-test -a codex`. Or copy the skill folder (.agents/skills/flutter-add-integration-test in abdulmominsakib/localmind) into .agents/skills/flutter-add-integration-test in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add abdulmominsakib/localmind --skill flutter-add-integration-test -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/flutter-add-integration-test, .gemini/skills/flutter-add-integration-test, .github/skills/flutter-add-integration-test and .opencode/skills/flutter-add-integration-test in your project.
Going by SKILL.md and its folder, Flutter Add Integration Test needs the command-line tools its instructions call (flutter).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Flutter Add Integration Test is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.8k tokens (SKILL.md is roughly 7.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Flutter Add Integration Test: Flutter Testing (MADTeacher/mad-agents-skills, 110 stars), Specialist Integration Test Generator (HoangNguyen0403/agent-skills-standard, 572 stars), Flutter MCP E2E Harness (Arenukvern/mcp_flutter, 387 stars) and Green Gate (VeryGoodOpenSource/vgv-ai-flutter-plugin, 170 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
abdulmominsakib (a GitHub user) maintains it in abdulmominsakib/localmind, which has 268 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on October 8, 2026.
Source: abdulmominsakib/localmind on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.