Project-generation settings can be chosen in the interactive prompts, passed as options, or read from a JSON file with spawn create --config. Spawn does not require a global configuration file.
Command-line options#
The complete option and default table is maintained in the spawn create reference. This article focuses on the JSON configuration shape and precedence rules.
JSON configuration#
{
"name": "my-api",
"template": "backend-api",
"framework": "fastapi",
"provider": null,
"cli_type": null,
"data_type": null,
"extras": ["ruff", "pytest"],
"license": "mit",
"git": false,
"uv": false,
"claude_md": false
}spawn create --config spawn.jsonThe configuration file takes precedence over individual command-line options. If --no-git or --no-uv is also supplied, that option is ignored and Spawn reports a warning. Run with --dry-run to validate the resolved configuration without creating a project.
| Key | Purpose |
|---|---|
name |
Project directory name. Required for non-interactive generation. |
template |
One of the eight standard template slugs. Custom Structure is interactive-only. |
framework, provider |
Choices supported by the selected template. |
cli_type, data_type |
CLI Application and Data Project variants. |
extras |
Optional tools supported by the selected template. |
license |
mit or none. |
git, uv |
Whether project generation should initialize Git and uv. |
claude_md |
Whether to write CLAUDE.md alongside AGENTS.md. |
Configuration values are validated against the selected template. An unsupported framework, provider, variant, or extra fails rather than being silently accepted.
Environment variables#
| Variable | Purpose |
|---|---|
SPAWN_DEBUG=1 |
Show a traceback for supported unexpected-error paths. |
NO_COLOR |
Disable terminal styling in supported output. |
| Provider API keys | Used by generated AI applications, not by Spawn's local repository analysis. |