flutter-tester

flutter-tester is a skill for Claude Code, Codex from Harishwarrior/flutter-claude-skills. It costs 65 tokens per session (1,416 once invoked), scanned A, original, MIT.

A testing guide for Flutter, Google's toolkit for building apps, covering unit tests, screen tests, integration tests, and tests for app state and dependencies.

In plain words
What is it for?
Use it to write or review tests for Flutter data layers, widgets, navigation, dialogs, Riverpod state, and mocked or simulated services.
Why use it?
It provides patterns for checking both successful and failing behavior while keeping each part of the app testable in isolation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

not rated 66repo 1mo ago A scan Socket: passSnyk: passSkillSpector: pass 65 tokens original MIT

Good fit Use it to write or review tests for Flutter data layers, widgets, navigation, dialogs, Riverpod state, and mocked or simulated services.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/harishwarrior/flutter-claude-skills/flutter-tester
Install

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.

Any agent
npx skills add Harishwarrior/flutter-claude-skills --skill flutter-tester
Clone the repo
git clone --depth 1 https://github.com/Harishwarrior/flutter-claude-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for flutter-tester

README.md
[![agentmods](https://agentmods.dev/badge/skills/harishwarrior/flutter-claude-skills/flutter-tester/github.svg)](https://agentmods.dev/skills/harishwarrior/flutter-claude-skills/flutter-tester)
Your own site
<a href="https://agentmods.dev/skills/harishwarrior/flutter-claude-skills/flutter-tester"><img src="https://agentmods.dev/badge/skills/harishwarrior/flutter-claude-skills/flutter-tester/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.

agentmods 80×15 button for flutter-tester

Your own site · 80×15
<a href="https://agentmods.dev/skills/harishwarrior/flutter-claude-skills/flutter-tester"><img src="https://agentmods.dev/badge/skills/harishwarrior/flutter-claude-skills/flutter-tester.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,416 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 29 Apr 2026
  • Snyk pass 29 Apr 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00065 $0.01416
Opus 5 $0.00032 $0.00708
Sonnet 5 $0.00013 $0.00283
Haiku 4.5 $0.00006 $0.00142

Measured 10d ago against content hash c857fefd1fb3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

flutter-tester 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 10d 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.

flutter-tester/SKILL.md · 169 lines

How it starts

The opening of the file, as written. The whole thing — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Flutter Tester

Requirements

  • Flutter project with flutter_test dependency
  • Works with Riverpod, Mockito, and GetIt
  • Run dart run build_runner build to generate mocks after adding @GenerateMocks annotations
  • Compatible with FVM (fvm flutter test instead of flutter test)

Overview

Test each architectural layer in isolation using Given-When-Then structure. Always test both success and error paths. Never mock providers — override their dependencies instead.

Reference Files

Load the relevant file based on what you're testing:

What you're testing Reference file
Repository, DAO, Service logic references/layer_testing_patterns.md
Widget UI, interactions, dialogs, navigation references/widget_testing_guide.md
Riverpod provider state, mutations, lifecycle references/riverpod_testing_guide.md

Core Principles

1. Layer Isolation

Test each layer against its own mocked dependencies:

Layer What to test What to mock
Repository Data coordination between sources DAOs, APIs, Logger
DAO Database CRUD operations Use real in-memory DB, mock Logger
Provider State management and transitions Services, Repositories
Service Business logic and workflows Repositories, Network clients
Widget UI behaviour and interactions Provider dependencies (via overrides)

2. Given-When-Then Structure

test('Given valid data, When fetchUsers called, Then returns user list', () async {
  // Arrange (Given)
  when(mockDAO.fetchAll()).thenAnswer((_) async => expectedUsers);

  // Act (When)
  final result = await repository.fetchUsers();

  // Assert (Then)
  expect(result, equals(expectedUsers));
  verify(mockDAO.fetchAll()).called(1);
});

3. Test Organisation

group('UserRepository', () {
  group('fetchUsers', () {
    setUp(() { /* init mocks, register with GetIt */ });
    tearDown(() => GetIt.I.reset()); // Always reset GetIt

    test('Given success ... When ... Then ...', () { });
    test('Given error  ... When ... Then ...', () { });
  });
});

Read the full file on GitHub · 169 lines

Files

What ships with it

3 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.

Changes

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.

  1. 10d ago First seen · 169 lines · 65 tokens per session scan A c857fefd1fb3

Subscribe to this mod's changes

flutter-tester is a skill published in the GitHub repository Harishwarrior/flutter-claude-skills (66 stars, last pushed 1mo ago), licensed MIT. It adds 65 tokens to every session and 1,416 once invoked, about $0.0003 per session on Opus 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-30.

Related

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.

ArisGuimera/MobiAI-Core · 30 tokens

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"…

LambdaTest/agent-skills · 89 tokens

rn-testing

Testing React Native: Jest with jest-expo / react-native preset, React Testing Library Native, native module mocking, hook testing. Optional sections for Detox (native automation) and Maestro (declarative YAML e2e). Use this skill to: Configure Jest preset based on workflow. Write component tests with…

AratKruglik/claude-sdlc · 163 tokens

testing-reactnative

Testing React Native 0.85+. Use when writing tests, reviewing test coverage, or setting up testing.

TheBeardedBearSAS/claude-craft · 26 tokens

setting-up-host-vs-device-tests

Use this skill to choose between host (Robolectric/JVM) and device (instrumentation) tests for Jetpack Compose, and to configure each correctly. Covers the androidHostTest (a.k.a. src/test/) vs androidDeviceTest (a.k.a. src/androidTest/) source set split, what each flavor can and cannot drive (RenderThread…

skydoves/android-testing-skills · 185 tokens

ios-testing

Testing patterns for Swift and SwiftUI apps.

TalissonVitorino/kmp-ios-skills · 69 tokens