Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add yendangn/flutter-app-builder --skill flutter-testsgit clone --depth 1 https://github.com/yendangn/flutter-app-builderWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/yendangn/flutter-app-builder/flutter-tests)<a href="https://agentmods.dev/skills/yendangn/flutter-app-builder/flutter-tests"><img src="https://agentmods.dev/badge/skills/yendangn/flutter-app-builder/flutter-tests/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/yendangn/flutter-app-builder/flutter-tests"><img src="https://agentmods.dev/badge/skills/yendangn/flutter-app-builder/flutter-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00070 | $0.00469 |
| Opus 5.5 | $0.00028 | $0.00188 |
| Sonnet 5.5 | $0.00014 | $0.00094 |
| Haiku 4.5 | $0.00007 | $0.00047 |
Grade A, and why
flutter-tests scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Flutter Tests
Full reference: template.md
Key rules
Cubit / BLoC tests
- Use
bloc_test(blocTest<C, S>(...)) for all cubit tests. Never test cubits withpump()in widget tests. - Mock dependencies with
mocktail. Register fallback values insetUpAllfor any custom type used withany(). - Use
InMemoryStorageforHydratedCubittests — never real disk. - Test state sequence exactly:
expect: () => [isA<Loading>(), isA<Loaded>()].
Use case / Repository tests
- Use cases are thin wrappers — verify delegation (correct method called, correct params, result passed through).
- Repository tests: mock data sources, test online/offline paths, error wrapping (
FailureExceptionrethrown, generic →UnknownFailure).
Widget tests
pumpApp(widget)helper sets upMaterialApp, theme, localization, and test DI.- Test user interactions with
tester.tap(find.byKey(...))+tester.pump(). BlocProviderwraps the widget with a pre-configured mock cubit.
Golden tests
- One golden per component state. Run
flutter test --update-goldensfor intentional visual changes. GoldenToolkit/MatchesGoldenFilefor multi-device golden comparison.
Coverage gate
scripts/check_coverage.sh <threshold>enforces coverage on presentation+core layers.- Exclude: generated files (
*.g.dart), data sources, DI modules, platform wrappers. - Target: ≥ 80% on cubit + state + core layers.
Co-load with
flutter-ci— coverage gate runs in CIflutter-base-classes—BaseCubit,safeEmitbehavior to test
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 40 lines · 70 tokens per session scan A b664fb0745b7
flutter-tests is a skill published in the GitHub repository yendangn/flutter-app-builder (6 stars, last pushed 3mo ago), licensed MIT. It adds 70 tokens to every session and 469 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
mobiai-android-testing
Use when writing or running tests in an Android project — unit tests, UI tests, choosing the right framework and patterns.
flutter-testing-skill
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", "fluttertest", "integrationtest". Triggers on: "Flutter", "widget test", "Dart test"…
ios-testing-patterns
XCTest and XCUITest execution workflows and flaky test detection patterns.
testing-setup
Analyze and create a testing strategy for Android apps - install testing libraries, set up test infrastructure, create harnesses for unit tests, UI tests, screenshot tests, and end-to-end tests.
cometchat-flutter-v6-testing
Test a Flutter app that uses the CometChat UI Kit — what is worth testing versus what belongs to the kit, mocking the SDK boundary, widget tests around chat screens, and integration/CI setup. Triggers: 'test my cometchat integration', 'mock cometchat in flutter tests', 'widget test chat screen', 'cometchat test setup'.
cometchat-ios-testing
Test an iOS app that embeds CometChat — what to mock vs exercise for real, keeping the CometChatSDK off the network in unit tests, waiting out the async init→login gate, and a lean XCUITest smoke. Triggers: 'test cometchat ios', 'unit test chat swift', 'mock cometchatsdk', 'xcuitest for chat', 'how do I test cometchat…