Rule Git & Version Control

Clean Commit History

Squash work-in-progress commits before merging

gitcommitscleanup
CLAUDE.md

Squash work-in-progress commits before merging. The final commit history should tell a clean story. Intermediate ‘WIP’ and ‘fix typo’ commits are noise in the permanent record.

Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.

get crystl