name: commit-convention description: Conventional commit message format and rules for this project
Commit Convention
Use Conventional Commits format:
<type>(<scope>): <short summary>
Types
| Type | When to Use |
|---|---|
feat |
New feature |
fix |
Bug fix |
refactor |
Code restructuring (no behavior change) |
perf |
Performance improvement |
test |
Adding or updating tests |
docs |
Documentation only |
build |
Build system or dependency changes |
ci |
CI/CD changes |
chore |
Other maintenance tasks |
Examples
feat(geometry): add label_open_edge utility
fix(cuda): resolve race condition in contact solver
refactor(core): simplify scene validation logic
test(sim_case): add ABD-FEM contact test
docs: update build instructions
Rules
- Scope is optional but encouraged — use the module name (e.g.,
geometry,core,cuda,io). - Summary should be lowercase, imperative mood, no period at the end.
- Add a blank line then a body for longer explanations if needed.
- Reference issues with
Fixes #<number>orCloses #<number>in the body.