Project templates for use with byt new.
| Template | Description |
|---|---|
rust-cli |
Rust CLI application with clap, config, XDG paths |
rust-workspace |
Rust workspace with multiple crates |
python-cli |
Python CLI with uv, typer, XDG paths |
go-cli |
Go CLI with cobra, viper, XDG paths |
# Create a new project from template
byt new myproject --template rust-cli
# Create and also init GitHub repo
byt new myproject --template rust-cli --githubEach template includes:
justfile- Standard commands (build, test, install, etc.)AGENTS.md- AI agent instructionsCONTEXT.md- Project domain glossary starterdocs/adr/- Concise architecture decision guidance and template.github/workflows/release.yml- Automated releases- Language-specific project files
Fork this repo and set your custom template repo in ~/.config/byt/config.toml:
[templates]
repo = "your-org/templates"Templates use {{project_name}} as a placeholder. This is replaced during scaffolding with the actual project name.