flutter

flutter is a skill for Claude Code from nimadorostkar/Claude-Skills-collection. It costs 79 tokens per session (1,176 once invoked), scanned A, original, MIT.

A guide to building Flutter apps, where screens are made from reusable widgets. It covers widget composition, shared app state, asynchronous screens, performance, and connections to native platform code.

In plain words
What is it for?
Use it to build or review Flutter apps, choose state management, diagnose visual stutter, limit widget rebuilds, and connect to native features.
Why use it?
It helps prevent unnecessary screen redraws and makes loading, error, and empty states explicit.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the mobile plugin — 4 skills shipped together

Good fit Use it to build or review Flutter apps, choose state management, diagnose visual stutter, limit widget rebuilds, and connect to native features.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nimadorostkar/claude-skills-collection/flutter
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 nimadorostkar/Claude-Skills-collection --skill flutter
Clone the repo
git clone --depth 1 https://github.com/nimadorostkar/Claude-Skills-collection

Made for: Claude Code.

Or install mobile, the plugin that ships this one along with the rest of its 4 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/flutter"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/flutter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,176 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
  • 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.00079 $0.01176
Opus 5.5 $0.00032 $0.00470
Sonnet 5.5 $0.00016 $0.00235
Haiku 4.5 $0.00008 $0.00118

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

Security

Grade A, and why

flutter 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 17d 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.

skills/mobile/flutter/SKILL.md · 116 lines

How it starts

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

Flutter

Purpose

Build Flutter applications whose widget tree rebuilds only where it must. Flutter's performance model is simple and unforgiving: a setState at the top of the tree rebuilds everything below it.

When to Use

  • Building or reviewing a Flutter application.
  • Choosing and applying a state-management approach.
  • Diagnosing jank or excessive rebuilds.
  • Integrating with platform-native code.

Capabilities

  • Widget composition and the StatelessWidget/StatefulWidget boundary.
  • State management with Riverpod, Bloc, or Provider — and when plain state suffices.
  • Build-method optimization: const constructors, selective rebuilds, keys.
  • Async: Future, Stream, FutureBuilder, and their failure states.
  • Platform channels for native functionality.

Inputs

  • The feature set and target platforms.
  • The current state-management approach, if any.
  • The jank or rebuild symptom, if debugging.

Outputs

  • A widget tree where rebuilds are scoped to what changed.
  • State that is testable without a widget tree.
  • Async UI that handles loading, error, and empty explicitly.

Workflow

  1. Compose small widgets — A 300-line build method rebuilds as one unit. Extracting subtrees into widgets is the primary performance tool in Flutter, not a style preference.
  2. Mark everything possible const — A const widget is never rebuilt. This is the cheapest optimization available and most codebases leave it on the table.
  3. Scope the rebuild — Consumer, Selector, or a Riverpod provider that watches one field. setState in a parent rebuilds every child that is not const.
  4. Handle all three async states — Loading, error, and data. FutureBuilder without an error branch shows a spinner forever when the request fails.
  5. Profile in profile mode — Debug mode is meaningfully slower and will mislead you in both directions. Use the DevTools timeline on a real device.

Best Practices

  • const constructors are the highest-leverage change in most Flutter codebases. Enable prefer_const_constructors in the linter and fix every warning.
  • Never build a widget inside a build method as a function call (Widget _buildHeader()). It defeats the element-tree diffing entirely. Extract a real widget class.
  • Keys matter when reordering or removing items from a list of stateful widgets. Without them, state attaches to the wrong item.
  • Business logic does not belong in a widget. If it cannot be tested without pumping a widget tree, it is in the wrong place.
  • ListView.builder, not ListView(children: [...]), for anything that could be long. The latter builds every child immediately.
  • An AnimationController without a dispose is a leak that ticks forever.

Read the full file on GitHub · 116 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. 17d ago Changed · +47 tokens per session 11454ac21377
  2. 1mo ago First seen · 116 lines · 32 tokens per session scan A b7c9a605da6c

Subscribe to this mod's changes

flutter is a skill published in the GitHub repository nimadorostkar/Claude-Skills-collection (33 stars, last pushed 3d ago), licensed MIT. It adds 79 tokens to every session and 1,176 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-09-03.

Related

Other skills, from other repositories

offensive-mobile

Mobile (Android + iOS) application penetration testing methodology. Covers static analysis (apktool/jadx for Android, class-dump/Hopper/IDA for iOS), dynamic instrumentation with Frida and Objection, SSL pinning bypass strategies, root/jailbreak detection bypass, deep-link / URL-scheme abuse, exported component…

SnailSploit/Claude-Red · 185 tokens

android-dev

Production-grade Android app development guide covering native (Kotlin/Java), cross-platform (Flutter, RN, KMM), and hybrid architectures.

lingxling/awesome-skills-cn · 31 tokens

ios-accessibility

Implements, reviews, or improves accessibility in iOS/macOS apps with SwiftUI, UIKit, and AppKit. Use when adding VoiceOver, Voice Control, Switch Control, or Full Keyboard Access support; when working with accessibility labels, hints, values, traits, accessibilityInputLabels, NSAccessibility, grouping, reading order…

The-Artificer-of-Ciphers-LLC/skills-from-the-artificer · 120 tokens

apple-on-device-ai

Integrate on-device AI using Foundation Models framework, Core ML, and open-source LLM runtimes on Apple Silicon. Covers Foundation Models (LanguageModelSession, @Generable, @Guide, SystemLanguageModel, structured output, tool calling), Core ML (coremltools, model conversion, quantization, palettization, pruning…

The-Artificer-of-Ciphers-LLC/skills-from-the-artificer · 127 tokens

swiftdata

Implement, review, or improve data persistence using SwiftData. Use when defining @Model classes with @Attribute, @Relationship, @Transient, @Unique, or @Index; when querying with @Query, #Predicate, FetchDescriptor, or SortDescriptor; when configuring ModelContainer and ModelContext for SwiftUI or background work…

The-Artificer-of-Ciphers-LLC/skills-from-the-artificer · 106 tokens

trace-fix

Evidence-gated debugging protocol for iOS/macOS and Swift apps: trace the execution path, locate the exact divergence, prove the root cause, and only then fix. Use for any bug where code compiles but behaves wrongly (hangs, freezes, wrong or missing data, silent failures, intermittent issues) and for crashes…

The-Artificer-of-Ciphers-LLC/skills-from-the-artificer · 137 tokens