flutter

flutter is a skill for Claude Code, Codex from ndisisnd/cook. It costs 33 tokens per session (2,288 once invoked), scanned A, original, MIT.

A set of standards for writing and reviewing Flutter and Dart interface code. Flutter is a toolkit for building app interfaces.

In plain words
What is it for?
Use it to apply theme or token-based colors, spacing, typography, borders, and components, and to keep infrastructure errors from reaching the interface or state-management code.
Why use it?
It prevents inconsistent styling, unsafe error handling, and other implementation choices that conflict with the project's design system.

Skill for Claude CodeCodex

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

Good fit Use it to apply theme or token-based colors, spacing, typography, borders, and components, and to keep infrastructure errors from reaching the interface or state-management code.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ndisisnd/cook/flutter/github.svg)](https://agentmods.dev/skills/ndisisnd/cook/flutter)
Your own site
<a href="https://agentmods.dev/skills/ndisisnd/cook/flutter"><img src="https://agentmods.dev/badge/skills/ndisisnd/cook/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/ndisisnd/cook/flutter"><img src="https://agentmods.dev/badge/skills/ndisisnd/cook/flutter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,288 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.00033 $0.02288
Opus 5.5 $0.00013 $0.00915
Sonnet 5.5 $0.00007 $0.00458
Haiku 4.5 $0.00003 $0.00229

Measured 1mo ago against content hash 15cdd9de4df2, 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 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.

standards/flutter/SKILL.md · 143 lines

How it starts

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

Flutter Standards

P0 — Design System Enforcement (CRITICAL)

Zero tolerance for hardcoded design values.

Before any UI work, identify the project's Theme Archetype by checking main.dart:

  • Theme-Driven: VThemeData(...).toThemeData() → use Theme.of(context).textTheme
  • Token-Driven: Use static tokens (VTypography.*) only when no global theme bridge exists or when defining the theme itself

Rules:

  • Colors: Use tokens (VColors.*, AppColors.*). Never Color(0xFF...) or Colors.red.
  • Spacing: Use tokens (VSpacing.*). Never magic numbers like 16 or 24.
  • Typography: Prefer Theme.of(context).textTheme.* for adaptive UI. Use VTypography.* only for theme definitions. Never inline TextStyle.
  • Borders: Use tokens (VBorders.*). Never raw BorderRadius.circular(n).
  • Components: Use DLS widgets (VButton) over raw Material widgets (ElevatedButton) when available.

Detail → refs/design-system.md

P0 — Error Handling (CRITICAL)

  • Repositories return Either<Failure, T> — no exceptions propagate to UI or BLoC.
  • Catch in Infrastructure only — convert DioException / external errors to typed Left(Failure).
  • Fold in BLoC — .fold(failure, success) to emit states. No try/catch in BLoC.
  • Typed failures — @freezed union failures (e.g., UnauthorizedFailure). Never Left('string').
  • Crashlytics routing — all catch blocks route via AppLogger.error(...) for observability.
  • on Type catch — never bare catch without on.

Detail → refs/error-handling.md

P1 — Widgets (OPERATIONAL)

  • State: Use StatelessWidget by default. StatefulWidget only for local state/controllers.
  • Composition: Extract UI into small, atomic const widgets.
  • Theming: Use Theme.of(context). No hardcoded colors.
  • Layout: Use Flex + Gap/SizedBox.
  • Widget Keys: All interactive elements must use keys from widget_keys.dart.
  • File Size: If a UI file exceeds ~80 lines, extract sub-widgets into private classes.
  • Specialized:
    • SelectionArea: For multi-widget text selection.
    • InteractiveViewer: For zoom/pan.
    • ListWheelScrollView: For pickers.
    • IntrinsicWidth/Height: Avoid unless strictly required; for overlays prefer Stack + FractionallySizedBox.
  • Large Lists: Always use ListView.builder.

Read the full file on GitHub · 143 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. 1mo ago First seen · 143 lines · 33 tokens per session scan A 15cdd9de4df2

Subscribe to this mod's changes

flutter is a skill published in the GitHub repository ndisisnd/cook (2 stars, last pushed 2mo ago), licensed MIT. It adds 33 tokens to every session and 2,288 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

ios-accessibility-validator

Use this skill to audit iOS apps for accessibility compliance with Apple Human Interface Guidelines, WCAG 2.2 standards, and iOS accessibility best practices.

gygantskiyMatilyock/ios-developer-agents · 0 tokens

ios-app-store-validator

Use this skill when preparing an iOS app for App Store submission. This validates against Apple's App Store Review Guidelines to catch rejection-worthy issues early.

gygantskiyMatilyock/ios-developer-agents · 0 tokens

ios-security-auditor

Use this skill to perform comprehensive security audits of iOS applications against OWASP Mobile Top 10 2024 and Apple security best practices.

gygantskiyMatilyock/ios-developer-agents · 0 tokens

add-signal

Add Signal channel integration via signal-cli device-link. Native adapter — no Chat SDK bridge.

nanocoai/nanoclaw · 22 tokens

kotlin-specialist

Provides idiomatic Kotlin implementation patterns including coroutine concurrency, Flow stream handling, multiplatform architecture, Compose UI construction, Ktor server setup, and type-safe DSL design. Use when building Kotlin applications requiring coroutines, multiplatform development, or Android with Compose.…

Jeffallan/claude-skills · 86 tokens

swift-expert

Builds iOS/macOS/watchOS/tvOS applications, implements SwiftUI views and state management, designs protocol-oriented architectures, handles async/await concurrency, implements actors for thread safety, and debugs Swift-specific issues. Use when building iOS/macOS applications with Swift 5.9+, SwiftUI, or async/await…

Jeffallan/claude-skills · 98 tokens