flutter-test-writer

flutter-test-writer is a skill for Claude Code, Codex from beel-collab/presets.dev. It costs 44 tokens per session (834 once invoked), scanned A, original, MIT.

A test-writing skill for Flutter, a framework for building user interfaces from Dart code. It creates widget or unit tests for stated behavior and includes a check that a widget is still active after waiting for asynchronous work.

In plain words
What is it for?
Use it for Flutter widget tests, unit tests, or regression tests for UI bugs.
Why use it?
It helps turn a requested behavior or user-interface bug fix into a test while avoiding updates to a screen that has already been removed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; $skill-name invocation.

Good fit Use it for Flutter widget tests, unit tests, or regression tests for UI bugs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/beel-collab/presets.dev/flutter-test-writer
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 beel-collab/presets.dev --skill flutter-test-writer
Clone the repo
git clone --depth 1 https://github.com/beel-collab/presets.dev

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-test-writer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/beel-collab/presets.dev/flutter-test-writer"><img src="https://agentmods.dev/badge/skills/beel-collab/presets.dev/flutter-test-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 834 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.
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.00044 $0.00834
Opus 5.5 $0.00018 $0.00334
Sonnet 5.5 $0.00009 $0.00167
Haiku 4.5 $0.00004 $0.00083

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

Security

Grade A, and why

flutter-test-writer 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 18d 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.

antigravity/flutter/flutter-test-writer/SKILL.md · 84 lines

How it starts

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

Flutter Test Writer Skill for Antigravity CLI

Install

Install the native export at .agents/skills/flutter-test-writer/SKILL.md (one file shared with Codex). Copy that export, not this catalog file. Catalog fields such as tools and author are for presets.dev. Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read .agents/skills, so a second copy with the same name collides.

Flutter Test Writer

Shared skill flutter-test-writer for Flutter. Codex and Antigravity CLI both read .agents/skills/flutter-test-writer/SKILL.md. Install this one file. Codex calls it with $flutter-test-writer or /skills. Cursor, GitHub Copilot, and Devin also read .agents/skills. A second copy with the same name collides. Do not install another tool's file there.

When to run

Run this when the user wants a Flutter test: a widget test, a unit test, or a regression for a UI bug.

When to leave it

Stop for a non-Flutter repository. Do not add an integration driver the project does not have unless the user asked.

Steps

  1. Read pubspec.yaml and an existing test so the imports and testWidgets style match.
  2. Name the behavior. Include the async case: after a future completes, the widget shows the result, and a disposed widget does not call setState.
  3. Pump the widget. Find by text, key, or type. Tap or enter text. pumpAndSettle only when the animation is expected to finish. A fixed Future.delayed in a test is a smell.
  4. Do not edit generated files to make the test compile. Fix the source.
  5. Run flutter test on the new file. Record the output. If the SDK is missing, write not run.

Output

## Files written
- test/profile_page_test.dart

## Covered
- After `lookup()` completes, the widget pops only if `context.mounted` is true.

## How to run
flutter test test/profile_page_test.dart

## Result
pass, fail, or not run. If the SDK is missing, say so. Do not report a pass you did not see.

## Gaps
- Devices and platforms this run did not exercise.

Read the full file on GitHub · 84 lines

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. 18d ago First seen · 84 lines · 44 tokens per session scan A db09c487d003

Subscribe to this mod's changes

flutter-test-writer is a skill published in the GitHub repository beel-collab/presets.dev (3 stars, last pushed 8d ago), licensed MIT. It adds 44 tokens to every session and 834 once invoked, about $0.0002 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-11-13.

Related

flutter-test-writer compared with skills from other repositories

flutter-test-writer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
flutter-test-writerbeel-collab/presets.devSkill38d agoMITA44Claude Code, Codex
swift-developmentsammcj/agentic-codingSkill174todayApache-2.0A13Claude Code, Codex
dart-expertpersonamanagmentlayer/pclSkill461mo agoApache-2.0A44Claude Code
flutteralivirgo/Major-AI-SkillsSkill6yesterdayMITA21Claude Code
flutterpledgeandgrow/pledge-skillsSkill114mo agoMITA126Claude Code, Codex
flutter-reviewcamilooscargbaptista/cto-toolkitSkill98mo agoMITA99Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex