- Home
- Skills
- Mobile Development
- Flutter Stacked MVVM App Architecture
Flutter Stacked MVVM App Architecture
Writes Flutter code in a proven Stacked MVVM style: Dio/Retrofit, dartz Either repositories, encrypted Hive CE, envied, VelocityX, @FormView.
$5
Flutter Stacked MVVM App Architecture
Example session with this skill installed
Adds a login screen (phone number + password) that calls POST /auth/login and redirects to the home page.
- Read your context and instructions
- Compiled the flutter stacked mvvm
Asks whether to use @FormView (recommends it for the 2 fields), then creates login_view.dart with @FormView, LoginViewModel extends FormViewModel with a loginBusyKey, AuthService Retrofit method, AuthRepository returning Either<Failure, Unit>, registers the route in app.dart and lists the build_runner command to run.
Connects securely to your tools. The creator never sees your data.
About this skill
Get your AI agent writing Flutter code the way experienced Stacked teams do: one consistent structure, the same names, the same packages on every screen. The patterns come from several Flutter apps running in production.
What it does
- Builds views, viewmodels, bottom sheets, dialogs and services with the Stacked CLI and registers them in
app.dart - Adds API calls as Dio + Retrofit services behind repositories that return
Either<Failure, T>(dartz), with network-aware error handling - Sets up encrypted local storage with Hive CE (key kept in
flutter_secure_storage) and reactive services that follow it - Configures environments with
envied: a singleEnvfor one environment, orMultiEnv+AppConfigfor dev/prod via--dart-define - Uses
@FormViewfor multi-field forms andsetPinfor PIN/OTP, and asks you which one to use before writing input screens - Builds UI with VelocityX and shared spacing constants, and shows toasts through a single
ToastService
How it behaves
- Reads
pubspec.yaml,stacked.jsonand nearby files first. When your project's conventions differ from the skill's, your project wins. - Never edits generated files by hand, and lists the
stacked generate/build_runnercommands to run - Runs
flutter analyzeon what it wrote
Language note: the skill's instructions are in French, and the UI strings and error messages it writes are in French by default. Code identifiers and file names are in English.
Opinionated: does not use Bloc, Riverpod, Provider, GetX, freezed or go_router. In new projects, UI text and error messages are written in French by default (ask for another language, or it follows the language your project already uses). Does not touch android/ or ios/ unless asked.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 7 days ago
- Software
- Flutter SDKStacked CLI (recommended)
Permissions
File Scopes
Runs stacked CLI, build_runner and flutter analyze. Never reads or prints .env files.
What's inside
Frequently Asked Questions
New in Mobile Development
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Mobile Development.