Skip to content

Commit f094b70

Browse files
committed
docs: add git commit conventions to AGENTS.md
1 parent d2d57fe commit f094b70

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@ Optimizations run in isolated worktrees:
5555
from codeflash.code_utils.git_worktree_utils import create_detached_worktree, remove_worktree
5656
```
5757

58+
## Git Commits & Pull Requests
59+
60+
- Use conventional commit format: `fix:`, `feat:`, `refactor:`, `docs:`, `test:`, `chore:`
61+
- Keep commits atomic - one logical change per commit
62+
- Commit message body should be concise (1-2 sentences max)
63+
- PR titles should also use conventional format (e.g., `fix: resolve base class dependency tracking`)
64+
5865
## Code Style & Conventions
5966

6067
- **Tooling**: Ruff for linting/formatting, mypy strict mode, pre-commit hooks

0 commit comments

Comments
 (0)