Development

How I use AI in product development

Where it helps me build, what context I give it, and what I check before the code ships.

AI has changed how much time I spend writing a first implementation. I can ask for a starting point, inspect it, and try an alternative while the problem is still fresh.

The saving is real, but I don't have a useful multiplier for it. A small component can go quickly. A change involving permissions, migrations, or unfamiliar infrastructure can take longer to review than it took to generate.

I judge the workflow by whether the change is ready to ship, not by how quickly code appears.

Start with the repository

Before asking for a feature, I want the assistant to inspect how similar work is already done. Which components exist? Where are permissions enforced? How are errors handled? Which commands run the checks?

That context prevents a common failure: a plausible implementation that introduces a second way of doing something the project already handles.

Then I describe the behavior I want and where it has to stop. For example: add a filter using the current query state, preserve shareable URLs, and don't change the API. That's much easier to review than an open-ended request to improve the dashboard.

Secrets and customer records stay out of the prompt unless the tool and its data handling have been approved for that use.

Use it to explore a decision

I often get more value from comparing approaches than from asking for finished code.

For a slow screen, I'd ask which measurements would distinguish a network problem from expensive rendering. For a data model, I'd ask how each option handles the queries we already know we need. I want the assumptions written down so I can challenge them.

An answer can still invent an API or rely on an outdated convention. If the choice depends on a library's behavior, I check its current documentation or run a small test. A confident explanation isn't evidence that the code works in this version.

Keep the change reviewable

I prefer one coherent change at a time. A patch that mixes a feature with a dependency upgrade and a new abstraction is hard to assess, and generated patches drift that way if I let them.

Then I read the diff. I look for files changed outside the request, unnecessary dependencies, altered defaults, and error paths that silently return success.

I also ask whether I could maintain the result without the conversation that produced it. If the answer is no, the code needs simplifying or a comment explaining the constraint.

For database work, I review the migration and rollback implications separately. For authorization, I check what happens when someone requests another account's data directly. A control being hidden in the UI doesn't establish that the action is protected.

Tests are useful when the assertion is right

AI helps draft tests, especially repetitive cases. It can also write a test that reproduces the implementation's mistake.

I define the behavior I want to protect first. A successful request, a rejected request, an empty result, and a retry may all matter, depending on the feature. The tests should verify outcomes rather than merely confirm that a mock was called.

Then I run them. I also use the feature in the browser when it affects the interface. A passing test suite won't show that the focus ring disappeared or that the dialog is awkward on a phone.

Design still needs the actual product

Generated layouts can be useful sketches. I compare them against real content and the rest of the interface before keeping them.

A screen can look finished while burying an important control or using animation that gets tiring by the tenth use. I need to try it with long text, slow loading, keyboard navigation, and the relevant device sizes.

AI can help spot these problems too, but deciding which suggestions fit the product is still my job.

I keep using it because the short feedback loop is worth a lot. What doesn't change is that my name is on the shipped change, so I need to understand it well enough to fix it when the assumptions turn out to be wrong.