flutter-coding-conventions

flutter-coding-conventions is a skill for Claude Code, Codex from lh17708357536-gif/flutter-cn-overseas-app-skills. It costs 86 tokens per session (4,270 once invoked), scanned A, original, MIT.

A set of shared engineering rules for Flutter apps, including folder layout, app state, navigation, data models, languages, and version tracking. It is intended as a starting standard for Flutter and NestJS projects.

In plain words
What is it for?
Use it when starting or extending a Flutter app that uses Riverpod, go_router, Freezed, multiple languages, or the listed user-interface patterns. It helps decide where code belongs and how specific app behaviors should be implemented.
Why use it?
It reduces inconsistent code structure and repeated decisions across a team. It also records rules for handling app state, saved data, language translations, and failed AI charges.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions CLAUDE.md.

Good fit Use it when starting or extending a Flutter app that uses Riverpod, go_router, Freezed, multiple languages, or the listed user-interface patterns. It helps decide where code belongs and how specific app behaviors should be implemented.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lh17708357536-gif/flutter-cn-overseas-app-skills/flutter-coding-conventions
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 lh17708357536-gif/flutter-cn-overseas-app-skills --skill flutter-coding-conventions
Clone the repo
git clone --depth 1 https://github.com/lh17708357536-gif/flutter-cn-overseas-app-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-coding-conventions

README.md
[![agentmods](https://agentmods.dev/badge/skills/lh17708357536-gif/flutter-cn-overseas-app-skills/flutter-coding-conventions/github.svg)](https://agentmods.dev/skills/lh17708357536-gif/flutter-cn-overseas-app-skills/flutter-coding-conventions)
Your own site
<a href="https://agentmods.dev/skills/lh17708357536-gif/flutter-cn-overseas-app-skills/flutter-coding-conventions"><img src="https://agentmods.dev/badge/skills/lh17708357536-gif/flutter-cn-overseas-app-skills/flutter-coding-conventions/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-coding-conventions

Your own site · 80×15
<a href="https://agentmods.dev/skills/lh17708357536-gif/flutter-cn-overseas-app-skills/flutter-coding-conventions"><img src="https://agentmods.dev/badge/skills/lh17708357536-gif/flutter-cn-overseas-app-skills/flutter-coding-conventions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,270 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00086 $0.04270
Opus 5 $0.00043 $0.02135
Sonnet 5 $0.00017 $0.00854
Haiku 4.5 $0.00009 $0.00427

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

Security

Grade A, and why

flutter-coding-conventions scanned grade A with 1 finding 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 12d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

验证命令:(curl 或 dart analyze 或 flutter test,无则 N/A)
skills/flutter-coding-conventions/SKILL.md · 381 lines

How it starts

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

Flutter 工程规范 Skill

适用于新建 Flutter + NestJS 项目时的前端工程基线。涵盖目录布局、状态管理、UI 原语、i18n、版本纪律。所有 <PLACEHOLDER> 替换为项目实际值。

1. 目录约定

lib/
├── core/                # 跨业务的通用基础
│   ├── config/          # 环境配置(API base URL / flavor / feature flag)
│   ├── constants/       # 常量(颜色 / 字体 / 语言列表)
│   ├── network/         # Dio interceptors / API client
│   ├── router/          # go_router 配置
│   ├── theme/           # ThemeData
│   ├── utils/           # 工具函数(日期 / 字符串 / locale 归一)
│   └── mixins/          # 共享 mixin(如 CoachMarkMixin / WizardDraftMixin)
├── data/                # 数据层
│   ├── models/          # Freezed model(DTO / VO / 业务实体)
│   ├── repositories/    # Repository 模式(封装多源数据)
│   └── services/        # API service / 本地存储 / 推送 SDK 包装
├── domain/              # 领域层
│   ├── modules/         # 工具模块注册表(业务功能定义)
│   ├── providers/       # Riverpod Provider
│   └── usecases/        # (可选)UseCase 层
├── presentation/        # UI 层
│   ├── screens/         # 页面(按模块分子目录)
│   ├── widgets/         # 共享 widget(如 ContraXxx 原语)
│   └── common/          # 通用 layout
├── l10n/                # 多语言 ARB
│   ├── app_zh.arb
│   ├── app_zh_HK.arb
│   ├── app_en.arb
│   └── ...
├── app.dart             # MaterialApp 入口
└── main.dart            # main() — 初始化、错误处理、Riverpod ProviderScope

assets/
├── fonts/
├── images/
├── icons/
├── lottie/
├── animations/
├── videos/
└── templates/           # 各模块 HTML 模板(用于 webview / 截图导出)

2. 技术栈

dependencies:
  # 状态管理 & 路由
  flutter_riverpod: ^2.5.0
  riverpod_annotation: ^2.3.0
  go_router: ^14.0.0

  # 数据类
  freezed_annotation: ^2.4.1
  json_annotation: ^4.8.1

  # 网络
  dio: ^5.4.0
  socket_io_client: ^2.0.3+1

  # i18n
  flutter_localizations:
    sdk: flutter
  intl: ^0.20.0

  # UI
  flutter_animate: ^4.5.0
  shimmer: ^3.0.0
  cached_network_image: ^3.3.0

  # 本地存储
  shared_preferences: ^2.2.0

  # 工具
  uuid: ^4.3.0
  package_info_plus: ^8.0.0
  device_info_plus: ^10.1.2

dev_dependencies:
  build_runner: ^2.4.0
  freezed: ^2.4.5
  json_serializable: ^6.7.1
  riverpod_generator: ^2.3.0

Read the full file on GitHub · 381 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. 12d ago First seen · 381 lines · 86 tokens per session scan A 976188b3b4a7

Subscribe to this mod's changes

flutter-coding-conventions is a skill published in the GitHub repository lh17708357536-gif/flutter-cn-overseas-app-skills (20 stars, last pushed 2mo ago), licensed MIT. It adds 86 tokens to every session and 4,270 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

automobileapp

Automates the full mobile app release pipeline — version management, localized metadata, multi-device screenshot generation, i18n translations, and store submission for iOS and Android. Use when the user asks to "release my app", "bump the version", "generate store screenshots", "update metadata in all languages"…

ofcskn/mobile-automation-plugin · 118 tokens

managing-app-localizations

Manages i18n translation files and store metadata localization across iOS, Android, and Google Play. Use when the user says "add a language", "fix missing translations", "translate strings", "audit i18n", "missing locale keys", or any task involving language support. Source of truth for translation keys is…

ofcskn/mobile-automation-plugin · 83 tokens

selecting-app-locales

Enforces locale selection before any localisation, metadata, screenshot, or i18n task begins. Use when starting a new app, adding languages, preparing for store submission, or any time the locale set is unknown or unconfirmed. Presents both the Android BCP 47 locale list (localeconfig.xml) and the Apple App Store…

ofcskn/mobile-automation-plugin · 116 tokens

app-store-preflight-compliance

Pre-submission compliance scanner workflow for Apple App Store apps. Use when reviewing iOS, macOS, tvOS, watchOS, or visionOS projects (Swift, Objective-C, React Native, Expo) for App Store rejection risks, submission readiness, privacy compliance, or guideline violations.

RevylAI/greenlight · 65 tokens

ios-marketing-capture

Use when the user wants to automate capture of marketing screenshots for a SwiftUI iOS app across multiple locales, devices, or appearances. Covers full-screen shots, isolated element renders (carousel cards, widgets), and reproducible output naming. Triggers on marketing screenshots, locale screenshots, widget…

ParthJadhav/ios-marketing-capture · 78 tokens

maui-localization-theming

Implement MAUI localization and theming. USE FOR: RESX/AppResources, runtime culture switching, RTL/FlowDirection, platform language metadata, AppThemeBinding, DynamicResource, light/dark/system themes, UserAppTheme. DO NOT USE FOR: general layout, accessibility audits, icon/splash assets.

dotnet/maui-labs · 73 tokens