How it works
Pipeline
- Answers — UI framework drives filtered choices (e.g. Pinia only for Vue).
- Context — Boolean flags and commands (
buildCommand,testCommand,e2eCommand, directory hints). - Templates —
templates/**/*.hbsrender into.ai/. - Adapters — Read
.ai/and emit IDE-specific files (e.g. Cursor.mdcwith globs).
Example conditional
Templates use Handlebars conditionals (for example, checking isNextJS) for App Router guidance vs generic Vite SPAs.
Presets
JSON under presets/ matches the full answer shape — ideal for CI or team defaults.
Next: Installation.