flutter-layer-based-clean-architecture

Installation
SKILL.md

Layer-Based Clean Architecture

Priority: P0 (CRITICAL)

Workflow: Add New Feature Across Layers

  1. Define domain entity with @freezed in lib/domain/entities/
  2. Define repository interface in lib/domain/repositories/
  3. Create DTO in lib/infrastructure/dtos/ with fromJson/toEntity mapper
  4. Implement repository in lib/infrastructure/repositories/
  5. Wire BLoC/Cubit in lib/application/ consuming repository interface
  6. Register bindings in get_it injection container
  7. Build screen in lib/presentation/ using BlocBuilder

Structure

Installs
2
GitHub Stars
521
First Seen
May 27, 2026
flutter-layer-based-clean-architecture — hoangnguyen0403/agent-skills-standard