docs(core): expand git conventions and add commit message template

## Why
The existing git.md was thin — missing atomicity, working-state, and
trailer guidance that belong in any professional git workflow. No commit
message template existed, making the expected format implicit and
inconsistent across sessions.

## Impact
- git.md is now the canonical reference for commit hygiene rules
- commits.md provides a structured template (Why / Implementation Notes /
  Impact / Git Trailers) that agents and humans can follow
- AGENTS.md cross-references commits.md so it is discoverable at session
  start

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
Defame1297andClaude Sonnet 4.6 committed 2026-06-27 13:53:45 +00:00
1 parent 4be35613a6
commit cd33ed9331
3 files changed
+86 -4

No files matched your search

+1 -1
View File
@@ -24,4 +24,4 @@ Read these files on demand:
- **Coding conventions** (`~/.claude/core/instructions/coding.md`) — when writing, editing, or reviewing code
- **Git conventions** (`~/.claude/core/instructions/git.md`) — when doing git operations
- **Testing conventions** (`~/.claude/core/instructions/testing.md`) — when writing or running tests
- **Workflows / agents / prompts** (`~/.claude/core/`) — read from here when invoked
- **Git Commit conventions** (`~/.claude/core/commits.md`) — when commiting changes