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 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user