flutter-common-widgets

flutter-common-widgets is a skill for Claude Code, Codex from yendangn/flutter-app-builder. It costs 79 tokens per session (725 once invoked), scanned A, original, MIT.

A set of rules for building shared Flutter interface components, such as buttons, fields, cards, lists, loading indicators, and error states. Flutter is a toolkit for creating app interfaces.

In plain words
What is it for?
Use it when creating or reusing common widgets across a Flutter app, following the app's replacement components.
Why use it?
It keeps feature code from using inconsistent versions of the same interface elements.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/yendangn/flutter-app-builder/flutter-common-widgets
Any agent
npx skills add yendangn/flutter-app-builder --skill flutter-common-widgets
Clone the repo
git clone --depth 1 https://github.com/yendangn/flutter-app-builder

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-common-widgets

README.md
[![agentmods](https://agentmods.dev/badge/skills/yendangn/flutter-app-builder/flutter-common-widgets.svg)](https://agentmods.dev/skills/yendangn/flutter-app-builder/flutter-common-widgets)
Your own site
<a href="https://agentmods.dev/skills/yendangn/flutter-app-builder/flutter-common-widgets"><img src="https://agentmods.dev/badge/skills/yendangn/flutter-app-builder/flutter-common-widgets.svg" alt="Measured on agentmods" 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 725 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00079 $0.00725
Opus 5 $0.00039 $0.00362
Sonnet 5 $0.00016 $0.00145
Haiku 4.5 $0.00008 $0.00072

Measured 4d ago against content hash b1afbdcf64aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

flutter-common-widgets 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 4d 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/flutter-common-widgets/SKILL.md · 64 lines

How it starts

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

Flutter Common Widgets

Full reference: template.md

Mandatory replacement table

Never use raw Material widgets in feature code — use the App equivalent:

Raw (banned in features) App replacement
AppBar(...) AppTopBar / AppSliverTopBar
ElevatedButton(...) AppPrimaryButton
OutlinedButton(...) AppSecondaryButton
TextButton(...) AppTextButton
FilledButton(...) AppPrimaryButton
TextFormField(...) AppTextField / AppPasswordField / AppSearchField
Card(...) in feature AppCard
ListTile(...) AppListTile
Divider(...) AppDivider
SizedBox(height: N) spacer AppSpacing.vXs etc. or VerticalSpace
CircleAvatar(...) AppAvatar
Chip(...) AppStatusChip / AppTag
Badge(...) AppBadge
CircularProgressIndicator(...) AppLoadingIndicator
LinearProgressIndicator(...) AppLoadingIndicator variant
SnackBar / ScaffoldMessenger AppDialog.showToast()
raw empty Column+Icon+Text AppEmptyState
raw error Column+Icon+Text AppErrorState
Image.network(...) AppCachedImage

Key rules

  • All app widgets read colors/sizes from AppTheme/AppColors/AppSpacing — never hardcode.
  • App widgets are in lib/src/core/widgets/. Feature-private widgets stay in features/<feature>/presentation/widgets/.
  • Before writing a new widget, check if an App equivalent already exists.

DI context

Most App widgets are pure — constructed inline with const or new, no DI needed:

const AppPrimaryButton(onPressed: _submit, child: Text('Save'))

Widgets that depend on a service (e.g., AppCachedImage wraps cached_network_image) are self-contained — the wrapper import is internal. Feature code just passes data:

AppCachedImage(url: user.avatarUrl, width: 48, height: 48)

Only AppDialog is DI-registered (as a singleton via flutter-di) because it needs BuildContext-free access for cubit-driven toasts/confirms.

Read the full file on GitHub · 64 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. 4d ago First seen · 64 lines · 79 tokens per session scan A b1afbdcf64aa

Subscribe to this mod's changes

flutter-common-widgets is a skill published in the GitHub repository yendangn/flutter-app-builder (5 stars, last pushed 2mo ago), licensed MIT. It adds 79 tokens to every session and 725 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

generate-token-map

Maps all Figma design tokens from figma-variables.md to their equivalent C++ (Views) identifiers, CSS (WebUI) variables, and Clank (Android) resource attributes/macros/methods in Chromium, and saves the formatted mapping table to the assets directory of the Chrome Design System project. Use this skill when asked to…

chromium/chromium · 81 tokens

muapi-ui-design

Generate high-fidelity UI/UX mockups for mobile and web apps using Atomic Design principles — creates wireframes and design systems via muapi.ai.

SamurAIGPT/Generative-Media-Skills · 34 tokens

shadcn-ui-flutter

A comprehensive Flutter UI library inspired by shadcn/ui. Provides high-quality, customizable, and accessible components including Buttons, Cards, Forms, and more. Use this skill when building Flutter UIs, implementing design systems, or needing specific component usage examples.

nank1ro/flutter-shadcn-ui · 58 tokens

mobile-automation

Control Android and iOS devices, emulators and simulators — launch apps, tap, swipe, type, take screenshots, read the accessibility tree. Use when a task involves a mobile device or app, mobile UI testing, or reproducing a bug on a phone.

mobile-next/mobile-mcp · 58 tokens

responsive-design

Responsive (mobile + desktop) layout workflow. Use whenever a UI change must work on both phones and desktops, when implementing Figma frames that have separate mobile and desktop variants, or when reviewing a change for mobile parity.

epam/ai-dial-chat · 47 tokens

material-3

Implement Google's Material Design 3 (Material You) UI system. Primary: Jetpack Compose Material3 (MaterialTheme, components, adaptive layout). Also Flutter and limited web (@material/web, maintenance mode). Covers tokens, 30+ components, layout, theming, M3 Expressive (platform matrix), and accessibility. Use when…

hamen/material-3-skill · 102 tokens