Agent skill · Data & Analytics

flutter-app-architecture

Use when scaffolding a project, refactoring into layers, creating view models/repositories, configuring dependency injection, or implementing unidirectional data flow (MVVM).

evancagithub.com/evancaGitHub ↗
claude-codecodexcursorwindsurfMIT
Install
npx skills add evanca/flutter-ai-rules --skill flutter-app-architecture --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 7 KB
Bundled scripts: none
Path: skills/flutter-app-architecture/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 604
Language: Shell

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Flutter App Architecture Skill This skill defines how to structure Flutter applications using layered architecture, proper data flow, and MVVM patterns for maintainability and testability. ## When to Use Use this skill when: * Scaffolding a new Flutter project with layered architecture. * Creating or refactoring View Models, Repositories, or Services. * Wiring dependency injection between architectural components. * Implementing unidirectional data flow across layers. * Adding a Domain (Logic) Layer for complex business logic or shared use cases. --- ## 1. Layer Structure Separate every app into a **UI Layer** and a **Data Layer**. Add a **Logic (Domain) Layer** only for complex apps. ``` ┌──────────────────────────────────────────────────────────────┐ │ UI Layer │ Views + ViewModels │ ├──────────────────────────────────────────────────────────────┤ │ Logic Layer │ Use Cases / Interactors (optional) │ ├──────────────────────────────────────────────────────────────┤ │ Data Layer │ Repositories + Services │ └──────────────────────────────────────────────────────────────┘ ``` **Rules:** - Only adjacent layers may communicate. The UI layer must never access a Service directly. - Data

What's inside
Steps it walks through
  1. When to Use
  2. 1. Layer Structure
  3. 2. Component Responsibilities
  4. View
  5. ViewModel
  6. Repository (Single Source of Truth)
  7. Service
  8. 3. Dependency Injection
  9. 4. Use Cases (Domain Layer)
  10. 5. Workflow: Scaffold a New Feature
  11. 6. Data Storage
  12. 7. Coding Conventions
  13. References
More from flutter-ai-rules
All skills →
About this skill
What does the flutter-app-architecture skill do?

Use when scaffolding a project, refactoring into layers, creating view models/repositories, configuring dependency injection, or implementing unidirectional data flow (MVVM).

How do I install it?

Run `npx skills add evanca/flutter-ai-rules --skill flutter-app-architecture --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From evanca/flutter-ai-rules, a repository with 604 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going