Git Commit Workflow
Prerequisites
Check what changed to determine review/test needs:
git diff --name-only
git diff --cached --name-only
| File Types Changed | Run Tests |
| ------------------ | --------- |
| C++ (.cpp, .h) | Yes |
| Python (.py) | Yes |
| Build system (CMakeLists.txt) | Yes |
| Docs only (.md) | Skip |
| Config only (.gitignore, .json) | Skip |
Pre-Commit Testing
When tests are needed, follow the testing skill for the full strategy: see