Clean Architecture
stackchain: architecture: cleanFolder structure
Section titled “Folder structure”Identical directory layout to Feature First:
lib/features/<name>/ data/… domain/… presentation/…- Familiar Clean Architecture vocabulary (entities, use cases, repositories)
- Same generator path as feature_first — low migration friction between the two labels
- Does not invent a separate hexagonal/ports folder tree
- Discipline is still yours — stackchain scaffolds; deeper architecture linting is on the roadmap
When to choose
Section titled “When to choose”Teams that standardize on “clean” naming in RFCs/reviews. Functionally close to feature_first.
Preset
Section titled “Preset”stackchain: preset: clean_cubit