A reusable, professional baseline for open source repositories.
Use this template when you want clean OSS defaults, modular architecture conventions, reusable DevEx, and lightweight automation without locking a new project to one language or framework.
- Repository health files:
LICENSE,CONTRIBUTING.md,SECURITY.md, andCODE_OF_CONDUCT.md - GitHub collaboration scaffolding: issue templates, pull request template, and
CODEOWNERS - Modular project structure:
core/,providers/,plugins/,config/,scripts/, andtests/ - Reusable documentation for standards, architecture, DevEx, setup, and repository settings
- Baseline repository config:
.editorconfig,.gitattributes, and.gitignore - Generic CI, release, bootstrap, validation, and hygiene automation
- Click Use this template on GitHub.
- Rename the repository and update project-specific fields.
- Review the documentation map below.
- Confirm or replace
LICENSEfor your legal requirements. - Update contacts in
SECURITY.md,CODEOWNERS, and template placeholders. - Copy
config/.env.exampleif runtime configuration is needed. - Review
docs/REPOSITORY_SETUP.md, then enable branch protection and required status checks.
| Need | Start here |
|---|---|
| Local setup and CI customization | docs/developer-setup.md |
| Developer workflow, validation, debugging, and coding standards | docs/DEVEX.md |
| Modular architecture conventions | docs/ARCHITECTURE.md |
Concrete core -> providers -> plugins walkthrough |
docs/examples/MODULAR_REFERENCE.md |
| Branch, commit, label, milestone, and release standards | docs/REPOSITORY_STANDARDS.md |
| GitHub repository settings, branch protection, and merge/release setup | docs/REPOSITORY_SETUP.md |
| Contribution expectations | CONTRIBUTING.md |
| Security reporting | SECURITY.md |
.github/
ISSUE_TEMPLATE/
workflows/
PULL_REQUEST_TEMPLATE.md
CODEOWNERS
core/
providers/
plugins/
config/
.env.example
docs/
ARCHITECTURE.md
DEVEX.md
REPOSITORY_SETUP.md
REPOSITORY_STANDARDS.md
developer-setup.md
examples/
MODULAR_REFERENCE.md
scripts/
bootstrap.sh
hygiene.sh
validate.sh
tests/
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
SECURITY.md
.github/workflows/ci.ymlruns the reusable quality workflow..github/workflows/reusable-quality.ymlprovides configurable hygiene, format, lint, and test checks..github/workflows/release.ymlprovides release automation scaffolding.bash scripts/bootstrap.shsupports local setup.bash scripts/hygiene.shruns stack-agnostic repository checks.bash scripts/validate.shruns hygiene first, then project-specific checks when configured.
Recommended GitHub settings are documented in docs/REPOSITORY_SETUP.md.
At minimum, review:
- default branch protection
- required status checks
- allowed merge methods
- release workflow expectations
Use Semantic Versioning and keep a human-readable CHANGELOG.md.
- MAJOR: incompatible API or behavior changes.
- MINOR: backward-compatible functionality.
- PATCH: backward-compatible fixes.
- Enable or customize the workflow commands for your stack.
- Fill the modular folders with project-specific implementation code.
- Add project-specific architecture and operations notes under
docs/. - Configure release automation if you publish artifacts.