docs: add commit hygiene rules to AGENTS.md
- Double-check git status before any commit - Delete unused/obsolete files when refactoring 💘 Generated with Crush Assisted-by: GLM-5 via Crush <crush@charm.land>
This commit is contained in:
@@ -322,6 +322,8 @@ git push origin main
|
|||||||
- Use exact text matching (whitespace matters)
|
- Use exact text matching (whitespace matters)
|
||||||
- Test after every change
|
- Test after every change
|
||||||
- Run full test suite before committing
|
- Run full test suite before committing
|
||||||
|
- **Double-check `git status` before ANY commit** - verify staged files match intent
|
||||||
|
- **Delete unused/obsolete files** when refactors or feature removals make them irrelevant
|
||||||
- Update documentation when changing behavior
|
- Update documentation when changing behavior
|
||||||
- Follow existing code style
|
- Follow existing code style
|
||||||
- Use conventional commit messages
|
- Use conventional commit messages
|
||||||
|
|||||||
Reference in New Issue
Block a user