As asked
You used an AI coding agent to build a settings page and API route in a day. What checks do you perform before you ship it?
Sample answer outline
The candidate should treat AI output as untrusted code that can still be useful. Run the app, read the diff, check data flow, auth, validation, loading states, empty states, errors, accessibility, and telemetry. Tests should cover the contract between UI and API, plus the riskiest edge cases the agent may have missed. Strong answers mention dependency review, secret handling, permission boundaries, and manual product review against the intended user workflow. The main tripwire is shipping because the page looks right once, without understanding what was generated.
Expect these follow-ups
- What kinds of bugs do coding agents most often introduce?
- How do you keep velocity without turning review into a full rewrite?
- What would make you throw away the generated code?