All posts
aiworkflow

AI-Native Engineering: What I Delegate and What I Don't

Using AI for boilerplate and speed while keeping architecture and design decisions human.

Muhamad Choirul Adam 3 min readPhoto: Unsplash

AI made typing cheap. It did not make thinking cheap. The useful question is no longer "can AI write this?" but "which parts of this should a person still own?"

This is the split I keep coming back to.

Rendering diagram…

What I hand to AI

Work where the shape is already decided and the risk of a wrong answer is low:

  • Boilerplate. Forms, DTOs, route handlers, test scaffolding, and the fifth CRUD screen.
  • Translation. Turning a Go struct into a TypeScript type, or a JSON sample into a validator.
  • First drafts. A rough implementation I fully intend to read and reshape.
  • Search with context. "Where do we handle token refresh?" across a codebase I don't know yet.
validate.ts
// The kind of code I'm happy to generate, then review line by line.
import { z } from "zod";
 
export const signUpSchema = z.object({
  email: z.string().email(),
  password: z.string().min(12),
  acceptTerms: z.literal(true),
});
 
export type SignUpInput = z.infer<typeof signUpSchema>;

What I keep

Decisions that are expensive to undo, or that encode what the product actually is:

AreaWhy it stays human
Module boundariesThey decide what is cheap to change for years
Data modelMigrations are where shortcuts come back to collect
NamingNames are the documentation people actually read
Trade-offs"Fast now vs. flexible later" needs context AI lacks

Reviewing AI output

Generated code tends to be confidently plausible. I read it the same way I'd read a pull request from someone new to the codebase:

  1. Does it match the existing patterns, or did it invent a new one?
  2. Are the edge cases real, or just the ones in the happy path?
  3. Is there anything I'd struggle to delete later?

The quiet failure mode

The risk isn't obviously broken code. It's code that works, adds a fourth way to do the same thing, and slowly erodes consistency. Catching that is a human job.

Where this leaves me

AI handles more of the keystrokes every month. That frees time for the parts that decide whether software lasts: the structure, the boundaries, and how it feels to the person using it.