When a change feels risky

I’m trying to get into a new habit. Previously, when I wrote some code, and it felt risky, I would reread the code more carefully, read the surrounding code, try it out locally or in staging, and monitor closely after deploying.

When I write code with AI, I’m grateful to have the intuition that a particular code change is risky, since that represents years of experience with the types of things I work on. However, the next intuition, to reach for the things I used to try, now skips the best next move.

Now that we have AI, we can do two new things.

  1. Run an AI code review. Claude Code has /code-review, which dispatches a set of parallel review agents. This is also a good moment to reach for a model you haven’t used before. If you wrote the thing with Opus 4.8, review it with Fable 5 and GPT-5.5.

  2. Ask the AI to demonstrate correctness: Is there an end-to-end or smoke test it can write? For a web app or CLI, can it open your browser and click around, or operate the CLI itself? If so, instruct it to take that testing and automate whatever is automatable. Can it suggest increases in code coverage? Is there developer tooling it can write that will increase your (and its) ability to demonstrate that a change is correct?

Granted, all the things we used to do still make sense, but with AI, we can improve correctness in ways that might have been too expensive in the past, and we can demonstrate correctness more efficiently.

The habit to form is: when you’re tempted to leave the world of talking to your AI agent to do something yourself, hesitate, and ask yourself what your agent could do first.