Skip to content
Public template

About

Minimal template for any language or framework, with formatting enforcement and CI

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

93 Commits

Folders and files

Repository files navigation

Project Starter

A minimal template for any language or framework. Ships pre-configured with formatting enforcement, pre-commit hooks, and CI.

Getting Started

Create a new repository from this template on GitHub using this link, or clone it locally and point it at your own remote.

Setup

Install Lefthook and dprint, then register the pre-commit hook:

lefthook install

Customizing

Replace or extend the template files to fit your project:

  • .github/workflows/ci.yaml — Extend or replace the CI workflow.
  • .github/dependabot.yaml — Adjust update frequency or add more package ecosystems.
  • CLAUDE.md — Replace with guidance specific to your project.
  • dprint.json — Add or remove dprint plugins for your language.
  • lefthook.yaml — Add more pre-commit checks or other Git hooks.
  • LICENSE — Replace with your preferred license, or keep the Unlicense.
  • README.md — Replace with a description of your project.

Development

Each git commit runs the pre-commit hook registered during setup, which checks your changes and fixes what it can in place. If it fails, fix any reported issues, re-stage the changed files, and commit again.

After committing, push to main or open a pull request from another branch — CI will run the same checks across all files.

Language-Specific Templates

For a more opinionated starting point in a specific language or framework:

About

Minimal template for any language or framework, with formatting enforcement and CI

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Used by

Contributors