clean-architecture-flutter

Community

Structure Flutter apps with clean architecture

AuthordimitriRemoiville
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Flutter apps often struggle with inconsistent architecture as projects scale; this Skill defines a three-layer structure (presentation, domain, data) and strict rules to keep concerns separated, improving maintainability and testability.

Core Features & Use Cases

  • Three-layer architecture: presentation → domain → data with clear directional dependencies.
  • Layer rules: presentation imports domain; data imports domain; domain remains pure Dart/logic.
  • Guided feature layout: per-feature folders with di, data, domain, and presentation modules; ensures consistent code organization across features.
  • Use case guidance: when to introduce a use case, and how to structure repository interfaces and implementations.
  • Mapper and repository contracts: demonstrates mapping DTOs to domain models and API/DAO integration.

Quick Start

Create a new feature folder with di/module, data/domain/presentation layers, and a sample use case to bootstrap development.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: clean-architecture-flutter
Download link: https://github.com/dimitriRemoiville/cc-mobile/archive/main.zip#clean-architecture-flutter

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.