flutter-architecture-decisions

flutter-architecture-decisions is a skill for Claude Code, Codex from jggomez/expert-ai-developer-skills. It costs 71 tokens per session (1,173 once invoked), scanned A, original, Apache-2.0.

Use when choosing state management for a Flutter app (Riverpod vs Bloc vs signals vs setState), drawing package/module boundaries, deciding what belongs in the UI/logic/data layers, or recording a concise MADR Flutter ADR (<= 55 lines). Complements the official flutter-apply-architecture-best-practices skill.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; mentions AGENTS.md.

Install with agentmods
npx agentmods add skills/jggomez/expert-ai-developer-skills/flutter-architecture-decisions
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 jggomez/expert-ai-developer-skills --skill flutter-architecture-decisions
Clone the repo
git clone --depth 1 https://github.com/jggomez/expert-ai-developer-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-architecture-decisions

README.md
[![agentmods](https://agentmods.dev/badge/skills/jggomez/expert-ai-developer-skills/flutter-architecture-decisions/github.svg)](https://agentmods.dev/skills/jggomez/expert-ai-developer-skills/flutter-architecture-decisions)
Your own site
<a href="https://agentmods.dev/skills/jggomez/expert-ai-developer-skills/flutter-architecture-decisions"><img src="https://agentmods.dev/badge/skills/jggomez/expert-ai-developer-skills/flutter-architecture-decisions/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-architecture-decisions

Your own site · 80×15
<a href="https://agentmods.dev/skills/jggomez/expert-ai-developer-skills/flutter-architecture-decisions"><img src="https://agentmods.dev/badge/skills/jggomez/expert-ai-developer-skills/flutter-architecture-decisions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,173 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.00071 $0.01173
Opus 5.5 $0.00028 $0.00469
Sonnet 5.5 $0.00014 $0.00235
Haiku 4.5 $0.00007 $0.00117

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

Security

Grade A, and why

flutter-architecture-decisions 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 today.

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.

plugins/antigravity/senior-dev-flutter/skills/flutter-architecture-decisions/SKILL.md · 60 lines

How it starts

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

Flutter Architecture Decisions

Overview

Flutter Architecture Decisions provides a pragmatic framework for selecting one primary state management solution (Riverpod, Bloc/Cubit, Signals, or setState), drawing high-bar package boundaries, and recording concise MADR records (docs/<feature-name>/adr-NNN-*.md <= 55 lines) and conditional blueprints (the ## Architecture section of docs/<feature-name>/spec.md, <= 50 lines) across Claude Code and Google Antigravity.

When to Use

Trigger Scenarios

  • Scaffolding a Flutter app, choosing/migrating state management, or introducing GoRouter/FFI/platform-channel topology shifts.
  • Evaluating whether a domain boundary warrants a standalone Dart package vs. folder namespace.
  • Resolving PR disputes on dependency direction across UI, Domain, and Data layers.

When NOT to Use

  • Routine feature or single-widget work: When changes fit established repository architecture, skip creating redundant ADRs or ## Architecture content.
  • Backend / non-Dart services: Use senior-architect-engineering or design-spec-expert.

Process

flowchart LR
    A["Inspect AGENTS.md & DESIGN.md"] --> B["State Matrix & Package Gate"]
    B --> C["Draft Concise MADR (<=55 lines)"]
    C --> D{"Multi-Layer / Package?"}
    D -->|"Yes"| E["Author spec.md ## Architecture (<=50 lines)"]
    D -->|"No"| F["Skip Redundant Blueprint"]

1. Align Layered Split & Root Contracts

Inspect root AGENTS.md (<= 90 lines wired to context/memory/MEMORY.md) and official Google root DESIGN.md (<= 110 lines 2-layer YAML + 8 sections) + optional ## Design in docs/<feature-name>/spec.md (<= 30 lines screen delta). Enforce clean UI (widgets/themes) -> Domain (use cases/entities) -> Data (repositories/DTOs/clients) separation.

2. State Management & High-Bar Package Gate

Evaluate state complexity via references/state-management-decision-matrix.md: pick one primary solution per app (setState for local ephemeral state). Extract a separate package only if >= 2 hold: reused across apps, decoupled release cadence, 1-sentence public API, and standalone test suite.

Read the full file on GitHub · 60 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today First seen · 60 lines · 71 tokens per session scan A e148b47aacd9

Subscribe to this mod's changes

flutter-architecture-decisions is a skill published in the GitHub repository jggomez/expert-ai-developer-skills (30 stars, last pushed yesterday), licensed Apache-2.0. It adds 71 tokens to every session and 1,173 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-11-06.

Related

flutter-architecture-decisions compared with skills from other repositories

flutter-architecture-decisions next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
flutter-architecture-decisionsjggomez/expert-ai-developer-skillsSkill30yesterdayApache-2.0A71Claude Code, Codex
orca-emulator-androidstablyai/orcaSkill117kyesterdayMITA102Claude Code, Codex
glance-canonical-layoutsandroid/skillsSkill10kyesterdayApache-2.0A56Claude Code
android-tombstone-symbolicationdotnet/skillsSkill5.8kyesterdayMITA176Claude Code
dogfoodcallstack/agent-deviceSkill5.3kyesterdayMITA55Claude Code
winapp-mauimicrosoft/winappCliSkill1.4kyesterdayMITA68Claude Code
app_remixrome-os/romeSkill889yesterdayMITA50Claude Code, Codex