Tips // Claude in practice

Tips for working better with Claude

One short tip at a time, with an example you can copy. Move through them at random or search for what you need.

Claude CodeIntermediateClaude Code

Review with a different session than the one that wrote the code

The session that generated the code keeps its own reasoning and struggles to question it: open a fresh instance to review and you will catch more.

Whoever wrote the code has already "justified" its decisions in the context, so it is less likely to doubt them. In CI, run the review as a separate call, without the generation history. If you review again after new commits, pass in the previous findings and ask only for what is new or still unfixed, so it does not repeat comments.

Example
claude -p "Review this PR's diff. Findings from the previous review: <list>. Report only new problems or ones that are still unfixed."
#ci#code-review#quality