Feature generator
Commands
Section titled “Commands”dart run stackchain feature authdart run stackchain add settingsdart run stackchain make feature profile # same vertical slice pathdart run stackchain rename profile accountdart run stackchain remove authPipeline (feature / add)
Section titled “Pipeline (feature / add)”- Validate snake_case name
- Append to
featuresin YAML if new - Generate architecture-specific files + recipe extras
- Sync router + DI regions (full feature DI graph for GetIt)
- Update
.stackchain/lock.yaml - Quality gate
Recipes
Section titled “Recipes”| Feature name | Extras |
|---|---|
auth |
Form widget, session/guards integration, richer tests |
settings |
Settings-oriented extras + tests |
profile |
Profile-oriented extras + tests |
| other | Baseline slice + smoke/type tests |
Layered output example
Section titled “Layered output example”lib/features/auth/ data/… domain/… presentation/bloc|cubit|providers|controllers/… presentation/pages/ presentation/widgets/