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.
npx skills add m3taz-ahmed/ai-globals --skill flutter-architectgit clone --depth 1 https://github.com/m3taz-ahmed/ai-globalsWrote 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.
[](https://agentmods.dev/skills/m3taz-ahmed/ai-globals/flutter-architect)<a href="https://agentmods.dev/skills/m3taz-ahmed/ai-globals/flutter-architect"><img src="https://agentmods.dev/badge/skills/m3taz-ahmed/ai-globals/flutter-architect/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.
<a href="https://agentmods.dev/skills/m3taz-ahmed/ai-globals/flutter-architect"><img src="https://agentmods.dev/badge/skills/m3taz-ahmed/ai-globals/flutter-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00059 | $0.02383 |
| Opus 5 | $0.00030 | $0.01192 |
| Sonnet 5 | $0.00012 | $0.00477 |
| Haiku 4.5 | $0.00006 | $0.00238 |
Grade A, and why
flutter-architect 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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.
[SKILL] flutter-architect
[OBJ] Architect, design, build, profile, and ship production-grade Flutter apps across iOS, Android, web, and desktop from a single Dart codebase — owning both the visual layer (design system, theming, motion, accessibility) and the engineering layer (state, architecture, networking, persistence, testing, CI/CD).
[PERSONAS] MOBILE (primary), UX (primary), ARCH (secondary), DEV (secondary).
[SUB-SKILLS] flutter-design (UX/visual layer), flutter-developer (engineering layer).
[RULES]
- [CMD] Context7 IDs: Flutter
/flutter/website; Flutter API/websites/api_flutter_dev; Flutter Packages/flutter/packages; Dart/dart-lang/site-www; Riverpod/riverpod/riverpod; go_router/flutter/packages(go_router subpath); BLoC/felangel/bloc; Freezed/rrousselGit/freezed; Drift/simolus3/drift. - [REQ]
[VER-01]Pin to lockfile exact versions. Readpubspec.lock-> grepflutter:sdk:dart:-> loadtech-stack/flutter-<ver>.md. NEVER assume Flutter version; default reference is Flutter 3.47 / Dart 3.13 (Aug 2026). Material 3 is default ON since Flutter 3.16 — never setuseMaterial3: falsewithout justification. - [REQ] Project anatomy (feature-first):
lib/{core,features,config,l10n,routing}; one feature = one folder withdata/(models, datasources, repos),domain/(entities, repo interfaces, usecases),presentation/(widgets, pages, controllers). Keepmain.dart< 30 lines; app entry only. - [REQ] Architecture: clean-ish layering (presentation -> domain -> data). Dependency rule: presentation depends on domain, data depends on domain, domain depends on nothing. No
BuildContextin domain/data. No business logic inbuild(). - [REQ] State management decision tree: local ephemeral UI state ->
setState/ValueNotifier; scoped shared state -> Riverpod (preferNotifier/AsyncNotifier+ref.watch/ref.read, avoid legacyStateProviderfor complex state); event-driven / strict separation / large teams -> BLoC (Cubit for simple). NEVER use InheritedWidget manually for app state. NEVER mixsetStatewith a global store. - [REQ] Immutability: models via
freezed+json_serializable;constconstructors everywhere possible;@immutableon widgets holding mutable fields flagged. Use Dart 3.13 primary constructors for concise immutable data classes when language version >= 3.1. - [REQ] Routing:
go_router+go_router_builderfor all non-trivial apps. Declarative routes withTypedGoRoute/TypedStatefulShellRoute(compile-time safe viago_router_builder);ShellRoute/StatefulShellRoute.indexedStackfor nested nav with state preservation;redirectfor auth guards;extrafor typed args (define route-arg classes, never rawMap). UsePopScope(NOT deprecatedWillPopScope) for Android predictive back (Android 14+). Router Refresh Pattern: use_RouterRefreshNotifier(ChangeNotifier) +ref.listento trigger redirects on auth state change WITHOUT rebuilding the router (preserves bottom nav state). - [REQ] Theming & design system: single
ThemeDataviaColorScheme.fromSeed()+TextTheme(GoogleFonts or bundled fonts); expose viaTheme.of(context)ONLY — no hardcodedColor(0x...)in widgets. Support light + dark + system. Define spacing/radius/elevation tokens as constants orThemeExtension. Seeflutter-designfor full design-system rules. - [REQ] Networking:
dio(interceptors: auth, logging, retry, error-mapping) orhttpfor simple; optionalretrofitfor type-safe API definitions (@RestApi()annotations +retrofit_generator). Deserialize viafreezed+json_serializable; repository pattern wraps datasources; never call HTTP from widgets. Backend isolation: backend SDK (Firebase, Supabase) imports forbidden outsidedata/layers and entrypoints — domain/presentation remain backend-agnostic. Handle loading/error/empty states explicitly in every async view. Freezed Failure union:@freezed class Failure { network/cache/auth/server/permission/unknown }with exhaustive pattern matching. - [REQ] Persistence:
drift(typed SQLite),hive/isarfor KV,shared_preferencesfor primitives only. Local-first with conflict resolution for offline apps; encrypt sensitive stores (flutter_secure_storage). - [REQ] Performance budget: 60 FPS (16.6 ms/frame); profile with Flutter DevTools (Performance + CPU/Memory tabs). Use
constwidgets,RepaintBoundaryaround animations,ListView.builder(neverListView(children:)for >20 items),itemExtentwhen known,AutomaticKeepAliveClientMixinsparingly. Avoid rebuilds: scopeConsumer/Selectorto the smallest subtree; preferref.watchin leaf widgets. - [REQ] Accessibility:
Semanticson custom gesture widgets; respectMediaQuery.textScaler(never fixed font sizes); large-tap-targets >= 48x48 dp; test with TalkBack + VoiceOver;ExcludeSemanticsonly when overriding. WCAG AA contrast viaColorScheme. - [REQ] Testing two-tier
[TEST-07]: FAST ->flutter test test/path/to/touched_test.dart(~5s); FULL ->flutter test --coverage(target >= 80% logic, >= 70% total) +flutter test integration_test/. Widget tests viatestWidgets+WidgetTester; mock withmocktail(Dart-friendly, no annotation boilerplate). One behavior per test (AAA). No hardcoded IDs/dates — use factories. - [REQ] CI/CD: GitHub Actions / Codemagic / Fastlane. Lanes:
analyze(flutter analyze --fatal-infos),format(dart format --set-exit-if-changed),test,build(per platform),deploy. Build AAB (Android) + IPA/XCArchive (iOS); sign via Play App Signing + App Store Connect API key. Pin action SHAs[GIT-05]; OIDC keyless where supported. - [REQ] L10n:
flutter_localizations+intl+ ARB files;gen-l10nfor typedAppLocalizations; OR Slang (^4.12.0) for compile-time safe translations with zero runtime lookup. Never hardcode user-facing strings; RTL-aware layouts (testDirectionality(textDirection: TextDirection.rtl)); mirror directional icons. - [REQ] Security
[SEC-01..10]: zero-trust input validation (Form + validators); no secrets in code (use.env+--dart-define/flutter_dotenv); HTTPS only + certificate pinning for sensitive APIs;flutter_secure_storagefor tokens; obfuscate release builds (--obfuscate --split-debug-info); Play Integrity / DeviceCheck for anti-tamper. - [REQ] Code quality
[CODE-01..05]: widget files < 300 lines,build()< 30 lines; extract widgets to classes (not methods) for perf + reuse; enums/constants over magic strings; strict typing — avoiddynamic, prefer sealed classes / pattern matching (Dart 3). NoTODO/FIXMEwithout ticket tag. - [REQ] Cross-platform: feature-detect with
Platform.isIOS/Platform.isAndroid/kIsWeb;MediaQuery.padding/SafeAreafor notches; adaptive widgets (Platform.isIOS ? CupertinoActionSheet : BottomSheet); responsive viaLayoutBuilder+ breakpoints (compact < 600, medium 600-840, expanded > 840). - [REQ] Animations: implicit (
AnimatedContainer/AnimatedOpacity) for simple;AnimationController+CurvedAnimationfor sequenced;Herofor shared-element transitions;Rive/Lottiefor designer-authored;CustomPainter+RepaintBoundaryfor canvas. Dispose controllers. - [REQ] Query Context7 for ANY Flutter/Dart/package API before implementation. Test on physical devices (iOS + Android) before declaring done. Run
flutter analyze+dart format+ targeted tests during iteration; FULL suite + coverage before done. - [REQ] UseCase pattern:
abstract class UseCase<R, P> { Future<Result<R>> call(P params); }— encapsulates single business operations, testable, reusable. Each feature's domain layer exposes usecases that controllers call. - [REQ] Multi-flavor:
main_dev.dart,main_staging.dart,main_production.dartentry points with separate Firebase/env configs.--flavor+--dart-define-from-filefor environment injection. - [REQ] Observability:
sentry_flutterfor crash reporting +posthog_flutterfor product analytics + feature flags + session replay. Wire observers into router for automatic screen tracking. Reset analytics identity on logout. - [REQ] E2E testing:
integration_test(floor) + Patrol (ceiling — handles native permission dialogs, system sheets). Maestro (YAML, cross-platform) for black-box E2E if team prefers non-Dart authoring. - [REQ] IAP/Monetization:
in_app_purchaseplugin for Flutter IAP; RevenueCat for subscription lifecycle management (cross-platform, server-side receipt validation).
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.
- 12d ago First seen · 48 lines · 59 tokens per session scan A da097d127e44
flutter-architect is a skill published in the GitHub repository m3taz-ahmed/ai-globals (5 stars, last pushed yesterday), licensed MIT. It adds 59 tokens to every session and 2,383 once invoked, about $0.0003 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.
Other skills, from other repositories
orca-emulator-android
Android device and emulator control from inside Orca over adb, with the live device view in Orca's emulator pane. Use when driving an adb-connected emulator or phone on Windows, Linux, or macOS: booting AVDs, taps, swipes, typing, hardware buttons, rotation, app install and launch, runtime permissions, the…
android-tombstone-symbolication
Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app…
dogfood
Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.
winapp-maui
Package and sign .NET MAUI Windows apps with winapp, resolving the resizetizer manifest dependency. Use when packaging or signing a .NET MAUI Windows app, building a MAUI MSIX or signed unpackaged build in CI, or fixing 'manifest contains unresolved placeholders ($placeholder$)' errors from winapp package.
react-native-ease-refactor
Scan for Animated/Reanimated code and migrate to EaseView.
apple-search-ads
When the user wants to set up, optimize, or scale Apple Search Ads (ASA) campaigns — including keyword bidding, match types, campaign structure, Creative Product Sets, CPP routing, and ROAS optimization. Use when the user mentions "Apple Search Ads", "ASA", "Search Ads", "Search tab ads", "Today tab ads", "CPT"…