Skip to content

How it works

How stackchain works

In stackchain.yaml (or a preset): architecture, state, routing, DI, network, features.

Command What it does
init Full app scaffold
feature Add a feature + wire routes/DI
test Unit / widget / integration tests
sync Re-wire routes/DI only
migrate Switch stack pieces
upgrade Refresh dependencies
// <stackchain:routes>
// …generated…
// </stackchain:routes>
// <stackchain:custom>
// …your methods — preserved across migrate…
// </stackchain:custom>

Code outside managed markers (and inside custom) is yours. Details: Your code stays safe.

Every generate can run a health check (doctor). Optional strict_quality: true fails on analyze issues.