start-it-cli is organized around a typed generation pipeline.
src/cli.tssrc/workflow.tssrc/generator.ts- stack-specific generator
- AI-control artifact injection
src/cli.ts handles:
- interactive prompts
- command-line flags
- partial prompt fallback
- normalization into
ProjectConfig
ProjectConfig is the contract between the CLI and generation logic.
src/workflow.ts defines:
- available app types
- available stacks per app type
- framework inference per stack
Backend generation is mostly builder-based.
src/templates/node.tssrc/templates/nest.tssrc/templates/fastapi.ts
Those return TemplateConfig objects that are written to disk by src/generator.ts.
Frontend generation uses a baseline-plus-customization model.
src/frontend/scaffold.ts
Behavior:
- prefer provider-native baseline when possible
- fall back to local baseline when necessary
- apply deterministic customizations afterward
AI/ML generation is deterministic and direct-to-filesystem.
src/aiml/scaffold.ts
DSA generation is deterministic and workspace-oriented.
src/dsa/scaffold.ts
Every generated project gets:
.cursorrules.agentignoredocs/AGENTS.mddocs/instructions.md
Composition lives in:
src/agent/composer.ts
The guidance system is layered:
- shared blocks
- profile blocks
- app-type blocks
- stack blocks
- option blocks
- operational composition
There is still a secondary AI path in:
src/ai/generator.tssrc/ai/provider.ts
This path can use an inference provider or a rule-based fallback. It is not the main generation flow anymore.