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.

PromptingIntermediateClaude Code

Big PR: review per file, then the relationships

A single prompt with 14 files dilutes attention; one pass per file plus an integration pass gives an even analysis.

With many files together, Claude reviews some in depth and others only in passing, and may even contradict itself across files. Do a local pass on each file and a final pass that looks only at the connections: inconsistent types, circular dependencies. This is a fixed pipeline: it works when the task is predictable. For open-ended exploration, the guide recommends decomposing dynamically.

Example
Step 1 (per file): "Analyze auth.ts: local problems only." (repeat for each file)
Step 2 (integration): "Given these per-file findings, look for problems between modules: inconsistent types and circular dependencies."
#prompt-chaining#code-review#decomposition