chore: add commit and branch naming conventions to CLAUDE.md (#200)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jason Heddings 2026-03-10 11:49:10 -06:00 committed by GitHub
parent 7ba52585a4
commit 218b715dec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -80,3 +80,27 @@ commits, tags with the format `obsidian-stomp-X.Y.Z`, and pushes.
- Error handling at the controller level: strategies may throw, controller catches and shows `Notice` to the user
- Prefer `document.querySelectorAll` + `compareDocumentPosition` for stable element ordering over offset-based approaches
- When modifying settings interfaces, update `DEFAULT_SETTINGS` in main.ts to ensure backwards compatibility with existing user data
## Commit Conventions
Use [Conventional Commits](https://www.conventionalcommits.org/) format:
```
<type>(<scope>): <description>
```
Types: `feat`, `fix`, `chore`, `docs`, `refactor`, `test`, `style`, `perf`
Scope is optional but encouraged (e.g. `fix(scroller): ...`, `feat(engine): ...`).
Include the issue number when applicable (e.g. `feat: add section scroll (#8)`).
## Branch Naming
Use the same type prefixes as commits, followed by a short description:
```
<type>/<short-description>
```
Examples: `feat/section-scroll`, `fix/animation-timing`, `chore/update-deps`