r/AI_Coders • u/Working-Depth-2729 • 5d ago
Git Diff Engineering is it my job now?
If I can’t do much of what I love “coding” I don’t want to be stuck at reviewing AI code, sharing my ideas on how to reduce this and would appreciate any advice.
I have tried this trick to cut down the AI slop I have to review and get through PRs faster.
Limit inline comments. I’ve noticed that when an agent uses a workaround or skips a detail, it often leaves a comment to justify it.
I added a pre-commit hook that flags long comments and new comments containing words like "workaround", "temporary", "hack", "fallback", etc., and returns this message:
❝ This comment may describe a workaround. Check the underlying behavior: fix the root cause, or explain the external constraint. ❞
The agent gets the hook's error message back as the result of its commit attempt, which pushes it to reconsider the change.
To make bypassing harder, block --no-verify and restrict edit/view access to the hook configuration and scripts.
Was wondering if anyone has other tricks I can use?