Self-Review Before Submitting
Checklist to run on your own changes before opening a PR
CLAUDE.md
Before submitting your changes for review:
- Read the full diff yourself. Look at every file you changed as if reviewing someone else’s code.
- Verify all tests pass. Run the full suite, not just the tests you added.
- Check for accidental changes: debug logs, commented-out code, unrelated formatting changes.
- Verify no secrets, .env files, or build artifacts are staged.
- Confirm your commit messages explain why, not just what.
- If there’s a UI change, test it in the browser at mobile and desktop widths.
- Check that your change doesn’t break the build or type checker.
Copy this workflow into your CLAUDE.md or agent config file so your agent follows this process automatically.