Skip to content
All templates

CLAUDE.md · CLAUDE.md (Project)

Git & Commit Conventions

Define commit message format and git workflow

gitcommitsworkflow
Template content
# Git Conventions

## Commit Messages
- Use conventional commits: `type(scope): description`
- Types: feat, fix, refactor, docs, test, chore, ci
- Keep subject line under 72 characters
- Use imperative mood: "add feature" not "added feature"

## Branching
- Main branch: `main`
- Feature branches: `feat/description`
- Fix branches: `fix/description`

## Workflow
- Never force push to main
- Squash commits before merging
- Always run tests before committing

Use this template in the editor

Open PromptEditor.io to customize this template, save it, and inject it into any AI chat.

Open the editor