A good template for github repos with best practices adoption.
- ✅ All github community standards are checked off
- ✅ This README with badges and banner
- ✅ Contributor Covenant-based Code of Conduct
- ✅ Contributing Guide includes a step-by-step guide to our command line development process
- ✅ GPL2 license
- ✅ Security Policy
- ✅ Issue Templates
- ✅ PR Template
- ✅ gitattributes based on gitattributes
- ✅ gitignore with comments
- ✅ CODEOWNERS that is self-documented
The justfile imports 8 modules from the .just/ directory for a clean, maintainable workflow:
- ✅ gh-process.just - Complete PR lifecycle automation with smart check polling and AI review integration
- ✅ compliance.just - Repository health checks validating all GitHub community standards and branch protection
- ✅ shellcheck.just - Bash script linting that extracts and validates all scripts in just recipes
- ✅ cue-verify.just - Three-stage validation of .repo.toml structure, flags, and GitHub sync
- ✅ claude.just - Claude Code permission management with canonical sorting and structure validation
- ✅ repo-toml.just - Metadata extraction that generates shell variables from repository configuration
- ✅ template-sync.just - Safe template updates preserving local customizations via multi-version checksums
- ✅ pr-hook.just - Optional pre-PR hooks for project-specific automation
- ✅ .repo.toml - Centralized configuration with description, topics, URLs, and feature flags
- ✅ Cue schema validation - Three-stage verification checks structure, validates flags against actual files, and syncs GitHub metadata
- ✅ Automatic shell variable generation - The
repo_toml_generaterecipe exports TOML data as sourceable bash variables - ✅ GitHub metadata synchronization -
cue-sync-from-githubpulls description and topics from GitHub API
Seven workflows handle automation and quality:
- ✅ Auto-assign - Automatically assigns issues and PRs to maintainers
- ✅ Checkov - Security scanning for GitHub Actions workflows with SARIF output
- ✅ Markdownlint - Enforces markdown standards across all docs
- ✅ Actionlint - Lints GitHub Actions workflow files
- ✅ Claude mention integration - Mentions Claude AI when appropriate
- ✅ Claude Code review - AI-powered code review automation
- ✅ Cue verification - Validates
.repo.tomlformat and flags
- ✅ Conditional AI review display - After PR checks complete, shows review comments based on
.repo.tomlflags - ✅ GitHub Copilot review integration - Enable/disable with
copilot-reviewflag - ✅ Claude Code review integration - Enable/disable with
claude-reviewflag - ✅ Smart polling system - Waits up to 30 seconds for checks to start, then polls every 5 seconds for faster feedback
- ✅ Priority labels - Extra issue labels for better organization
- ✅ Prerequisites installation - Script to install required tools
- ✅ Release automation -
just release <version>creates GitHub releases with auto-generated notes and age monitoring
- To use this template, you can create a new repository by clicking on "Use this template" button.
- Remember to replace any
chicks-net,fini-net, andtemplate-reporeferences with the right values for your project. (Github templates do not offer variable substitution, but we still have to call them templates for some reason.) - Ditch the "Template Status", "Usage", and "Kudos" sections in the
README.md.just clean_templatewill give you a clean/README.md, and remove other files that are not required.
Here is a nice checklist of things to consider with a new repo.
Pull updates to .just/ modules from template-repo:
just update_from_templateOnly unmodified files are updated. Local customizations are preserved.
Preview changes:
just checksums_verify # Check which files would update
just checksums_diff .just/gh-process.just # See specific changesThe update system uses multi-version checksum tracking to safely identify which files match known template versions. Files with local modifications are skipped and reported.
- Code of Conduct
- Contributing Guide includes a step-by-step guide to our development process.
I went with the GPL2 license, but the MIT license is also worth considering.
- Jose Gracia Berenguer did a great job with their project-template repo. This looks like a student project, but it is one of the best templates I've found on github.
- Cookiecutter Data Science is cool, but it isn't actually a template repo.
- gh-best-practices-template
is doing great at checking off all of the boxes. They've including funding and citations
which I haven't tried yet. I'm not a fan of how all of the Markdown files are in the
root directory. I definitely prefer stuffing those under
/.githubfor a cleaner root directory.
- I've really enjoyed building projects with just.
- The GitHub CLI makes browser-free workflows not only possible, but fun.
