Commit History Cleanup
Refactor and clean up commit history to improve code documentation, readability, and maintainability. This loop focuses on squashing redundant commits, rewri…
This loop is republished with attribution. Full credit and the original content belong to the source linked above.
AI Skill Market Insights
Real data. Real impact.
Emerging
Developers
Kickoff Prompt
Copy this prompt and run it with your agent to start the loop.
Start the "Commit History Cleanup" loop.
Goal: Improve commit history
Max iterations: 10
Between iterations run: history review
Exit when: History approved
Please review the current Git commit history for this project. Identify any commits with unclear messages, redundant changes, or poor structure. Suggest improvements to create a cleaner, more logical history. Prioritize squashing fixup commits and rewording vague messages.
Self-pace this loop. After each iteration, run `history review` and evaluate the output, and only continue if the exit condition is not met (History approved). Stop when the exit condition passes or 10 iterations are reached. Give a short status update each pass.