template-starter is a generic Scaf base for creating new Scaf templates.
Use this starter to generate new Scaf templates with validated Copier prompts,
GitHub/GitLab CI templates, optional semantic-release wiring (GitHub token or
GitHub App), optional gitleaks scanning, and generated make/task/just
init/check commands.
- Copier prompts with input validation and conditional logic
- CI scaffolding for GitHub or GitLab
- Optional semantic-release setup and config
- Optional secret scanning in CI
- Template correctness CI (Copier render checks)
- Choice of local task runner (
make,task, orjust) withinit/check - Generated project docs for usage and upgrade flow
- Apache-2.0 license by default (license selection via Copier option planned)
copier__ci_provider:githuborgitlab(only asked when repo setup is disabled; otherwise inferred fromcopier__repo_provider)copier__enable_semantic_release: include release automationcopier__github_semantic_release_auth:github_tokenorgithub_app(GitHub + semantic-release only)copier__enable_secret_scanning: include gitleaks CIcopier__task_runner:make,task, orjustcopier__configure_repo: enable repository remote setupcopier__repo_provider:githuborgitlabcopier__repo_org: organization/group namecopier__repo_name: repository namecopier__create_repo: create provider repo automatically when missing (ghfor GitHub,glabfor GitLab)copier__repo_visibility:privateorpublicfor automatic repo creation
# Local path
scaf my-template ./template-starter
# Git URL
scaf my-template https://github.com/getscaf/template-starter.gitRun local render tests:
make test-template-renderCI runs the same command in .github/workflows/template-render-tests.yaml.
Each generated project includes:
docs/using-template.mddocs/upgrading.mddocs/semantic-release-github.md(when GitHub + semantic-release is enabled)
These cover day-to-day usage and copier update workflow for downstream projects.
Apache-2.0. See LICENSE.
