flutter-scaffold
Installation
SKILL.md
When to Use
- Creating a new feature/domain from scratch (e.g.,
auth,booking,pet) - Adding layers to an existing feature
- Reviewing or refactoring app structure
- Onboarding someone to the mobile architecture
Architecture Principles
| Principle | Rule |
|---|---|
| Screaming Architecture | Directory names = business domains, NOT technical concerns |
| Clean Architecture | Dependencies point INWARD: infrastructure → application → domain |
| Ports & Adapters | Domain defines interfaces, infrastructure implements them |
| Feature-first | Each feature is self-contained with all 4 layers |
| Shared is shared | Only truly cross-feature code goes in shared/ |
Dependency Rule (CRITICAL)
Related skills