A battle-tested GitHub template repository with opinionated developer experience, quality gates, and CI/CD automation ready for customization.
This template provides Liatrio teams with a proven foundation for new projects, including:
- Pre-configured CI/CD: GitHub Actions workflows for testing, linting, and semantic versioning
- Quality gates: Pre-commit hooks for YAML validation, markdown linting, and conventional commits
- Automated releases: Semantic versioning with changelog generation
- Documentation standards: Contribution guidelines, issue templates, and PR templates
Choose one of two paths to get started:
Run this command in your AI assistant to automate the entire process, from repository creation to customization:
Run `gh api repos/liatrio-labs/open-source-project-template/contents/prompts/repository-initializer.md -q '.content' | base64 -d` to read the prompt then follow its instructions. Use 'my-new-project' as the project_name, 'A description of my project' as the project_description, '/path/to/projects' as the local_parent_folder, and 'Node.js' as the primary_language.
The initializer will:
- Create a new repository from this template
- Clone it to your specified local directory
- Automatically run the customization prompt to configure everything for your project
Required inputs:
project_name: Name for your new repositoryproject_description: One-sentence descriptionlocal_parent_folder: Local directory path where the repo should be clonedprimary_language(optional): Your primary language/frameworkadditional_details(optional): Any extra customization requirements
Click the "Use this template" button at the top of this repository, or use the GitHub CLI:
gh repo create my-new-project --template liatrio-labs/open-source-project-template --public
cd my-new-projectInstall pre-commit for local quality gates:
# macOS
brew install pre-commit
# Ubuntu/Debian
sudo apt install pre-commit
# pip (all platforms)
pip install pre-commitpre-commit installSecret scanning is enforced with Gitleaks. If the hook blocks a commit, remove the secret, rotate the credential, and rerun
pre-commit.
Follow the Template Customization Guide to adapt the template for your specific project.
After completing customization and getting your repository in a good state, have your AI assistant run the audit prompt to verify compliance and identify any remaining gaps:
Run `gh api repos/liatrio-labs/open-source-project-template/contents/prompts/repository-template-audit.md -q '.content' | base64 -d` to read the prompt then follow its instructions. Use the current directory as the target_repository and 'liatrio-labs/open-source-project-template' as the template_repository."
The audit will check for:
- Missing template files and configuration drift
- Compliance with template standards
- CI/CD workflow health
- Repository settings alignment
- Documentation completeness
See prompts/repository-template-audit.md for detailed audit methodology.
- Template Customization Guide - Complete customization checklist and feature documentation
- Contributing Guidelines - Development workflow, conventional commits, and pre-commit hooks
- Code of Conduct - Community expectations and reporting guidance
- Development Setup - Local setup, environment variables, and repository settings
For questions or issues with this template:
- Open an issue in this repository
- Contact the Liatrio DevOps team
Copyright 2025 Liatrio
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.