Generators overview
stackchain uses two generation systems:
| System | Used by | Source |
|---|---|---|
| In-code templates | init, feature slices, remove/rename, sync/migrate shell |
AppTemplates, RouterTemplates, CoreTemplates, FeatureTemplates, ModuleTemplates |
Bricks (.tpl) |
`make page | widget |
Overwrite rules
Section titled “Overwrite rules”- Existing files are skipped unless
--overwrite/-f - Smart merge updates only managed regions for sync paths
- Stock counter
main.dartmay be force-replaced on init baseline
Quality gate
Section titled “Quality gate”Every generate path can run the gate (structure, security baseline, optional analyze). Disable analyze with --skip-analyze.