flutter-clean-architecture
CommunityFlutter apps with clean, layered architecture.
System Documentation
What problem does it solve?
This skill enforces a clean, layered architecture for Flutter projects, separating business logic from UI to improve testability and maintainability. It prescribes a standard directory layout to avoid tangled code and makes onboarding new features predictable.
Core Features & Use Cases
- Clear Layer Separation: Models, services, providers, and UI live in distinct folders to prevent cross-contamination.
- Testability & Mockability: Providers act as the bridge between UI and services, enabling isolated unit tests.
- Incremental Adoption: Start with a small feature and progressively migrate existing code to the architecture.
- Use Case: Create a new screen + a corresponding provider and service, then wire them through Riverpod widgets.
Quick Start
Create lib structure as described: models/, services/, providers/, screens/, widgets/ and main.dart as entry point. Implement a sample feature by adding a model, a service, a provider, and a screen that consumes the provider. Run the app to verify separation of concerns.
Dependency Matrix
Required Modules
None requiredComponents
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: flutter-clean-architecture Download link: https://github.com/xnemesy/Fyne/archive/main.zip#flutter-clean-architecture Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.