Template repository for bootstrapping new projects with standardized tooling and GitHub configuration.
-
Create a new repo from this template (click "Use this template" on GitHub, or
gh repo create --template). -
Run the setup script to configure GitHub settings:
./scripts/setup-repo.sh
-
Customize for your project:
- Edit
CLAUDE.mdwith your project's build/test/lint commands. - Edit
cog.toml: setrepository,owner, andauthors. - Add language-specific entries to
.gitignore. - Add language-specific hooks to
.pre-commit-config.yaml. - Replace placeholder jobs in
.github/workflows/ci.yml. - Update
LICENSEwith your name and year. - Replace this README with your project's documentation.
- Edit
- GitHub Actions (
ci.yml): Minimal CI with placeholder lint/test jobs, conventional commit check, and anAll Checksgate job. - GitHub Actions (
release.yml): Automated semver release powered by cocogitto. On push tomain, analyzes conventional commits, creates a version tag, generates a changelog, and publishes a GitHub Release. - Cocogitto (
cog.toml): Semantic versioning config with commit type mapping (feat → minor, fix/perf → patch). - Renovate (
renovate.json): Automated dependency updates with automerge and conventional commit messages.
- Conventional commits: Enforced at commit-msg stage.
- Secret detection: Gitleaks runs on every commit.
/refactor: 3-pass refactoring (structure, coherence, tests)./ship: Commit, sync, push, create PR with auto-merge./sync: Fetch and rebase onto default branch./publish: Sync, refactor, sync again, then ship as PR.
scripts/setup-repo.sh: Configures GitHub repo viaghCLI:- Rebase-only merges
- Auto-merge enabled
- Delete branch on merge
- Branch ruleset with required status checks
- gh CLI (authenticated)
- pre-commit (
pre-commit install) - Claude Code