
AI-Assisted Development: A Practitioner's Guide
The craft is shifting from writing lines to directing and reviewing coding agents. The five-stage delegation loop, what you gain, what you take on, and where agents fail today.
TL;DR: The working unit of software engineering is shifting from writing every line to directing and reviewing coding agents. That work has a learnable structure — a delegation loop of specify, context, generate, review, verify — and each stage has its own failure modes. You gain mechanical breadth, a tireless first-drafter, and parallelism; you take on review load, plausible-but-wrong output, and deliberate skill maintenance. This guide is the model and the decision frame for the whole practice. Each stage is its own implementation problem, and the other articles on this topic cover them in depth.
What actually changed in the engineer's work
Three different tools get collapsed into the phrase "AI coding," and the collapse causes confusion. It is worth naming them apart once.
Inline autocomplete completes the line or block you are already writing, inside code you are actively holding in your head. A conversational assistant answers questions, explains unfamiliar code, and talks through a design without touching the repository. An autonomous agent takes a task, plans it, edits across files, runs commands and tests, and iterates on the results until it believes the task is done.
These are different tools for different task shapes, not a maturity ladder you climb. An engineer reaching for autocomplete inside a function they are writing is not behind someone running an agent; they have matched the mode to the work. The product names shift constantly — Claude Code, Cursor, GitHub Copilot, and Codex-class agents are the recognizable examples as of November 2026 — but the three interaction modes have stayed stable while the products underneath them improve, and this guide is written against the modes, not the vendors.
The structural change sits underneath all three. Authorship is moving from typing lines to three other acts: specifying intent precisely, supplying the context the tool needs, and judging what comes back. In this guide's view, the typing was not the hard part of engineering, though it could consume the hours. When generation becomes cheap, the surrounding judgment becomes the visible skill.
One thing does not move: accountability. The engineer who merges the pull request owns the code — its correctness, its security, its maintenance cost — however it was produced. Every workflow in this guide is built on that principle, because a shortcut that erodes it can ship someone else's unreviewed guess into production under your name.
The delegation loop
Delegating a task to an agent is not one action. It decomposes into five, and naming them separately matters because each fails differently.
| Stage | What it is | Characteristic failure mode |
|---|---|---|
| Specify | State the intent: outcomes, constraints, non-goals | Vague intent produces plausible code that solves a slightly different problem |
| Context | Choose what the agent gets to see | Missing or stale context produces reinvented utilities and violated conventions |
| Generate | Let the agent plan and produce the change | Unattended overreach — scope quietly grows beyond the ask |
| Review | Read the output as a skeptical reviewer | Approval fatigue — merging on plausibility and green checks |
| Verify | Check the result against pre-committed guardrails | Verification written after the fact inherits the output's assumptions |
A net-negative experience with an agent can trace back to a skipped stage rather than a weak model. A task delegated without a spec can fail at generation time in ways that look like model failure. Output merged without real review can fail in production in ways that look like bad luck. The loop is where the craft lives.
The stages also feed each other. A precise spec makes review cheaper, because the reviewer knows exactly what the change claims to do. Well-chosen context reduces the generation failures that review would otherwise have to catch. Guardrails committed at the verify stage let the review stage spend its attention on design and security instead of re-checking mechanics. Investing in the early stages is how the late stages stay affordable — and skimping early is how review quietly becomes the bottleneck for everything.
It is also per-task, not per-tool. The same five stages apply whether the agent runs in your editor, in a terminal, or in a CI pipeline — only the mechanics of each stage change. That is why this topic is organized around the loop rather than around any product's feature list.
What you gain
The first gain is mechanical breadth. Multi-file refactors, framework migrations, test scaffolding, and boilerplate stop being bottlenecked on typing speed and attention span. A transformation you can describe precisely is a transformation you can delegate, and the agent does not get bored on file forty of sixty.
The second gain is a tireless first-drafter for unfamiliar territory. An API you have never used, a corner of the codebase you do not know, a language you read but rarely write — an agent can produce a starting point quickly, and correcting a draft can be faster than facing a blank file. The draft is not the finished work; it is the end of the cold start.
The third gain is parallelism. A well-scoped, verifiable task can run while you do judgment work elsewhere — the review that needed your full attention, the design decision no agent should make. In this guide's view, the larger gains take this shape: not one agent making you faster at one thing, but delegated mechanical work overlapping with human work that was previously serialized.
What you take on
The costs are as real as the gains, and pretending otherwise is how the practice goes wrong.
Review load replaces writing load. Reading code you did not write can be slower per line than reading code you did, because you are reconstructing intent instead of remembering it. At delegation volume, review can become the largest cost in the loop — and unlike writing, it cannot be safely rushed, because review is now the primary defense.
The failure profile changes. In this guide's framing, human mistakes cluster around carelessness — the typo, the forgotten case, the misread requirement — and they often look wrong on the page. In the same framing, agent failures cluster around plausibility: code that reads cleanly, compiles, and passes a shallow glance while being subtly incorrect. Working code and working-looking code can be hard to tell apart, which is why review posture gets its own foundational article.
And there is skill maintenance. The parts of the craft you delegate are the parts that can atrophy. An engineer who has not hand-written a migration in a year may struggle to review one deeply. This does not argue against delegation; it argues for treating some hands-on work as deliberate practice, chosen on purpose rather than assigned by nostalgia.
Where agents fail today
An honest catalog, because the failure patterns are consistent enough to plan around.
A working hypothesis, not a documented rule, is that agents can hallucinate interfaces: APIs that do not exist, near-miss method names, package imports that were never published. For package imports there is a study: a paper first posted in June 2024 found hallucinated package names in code samples in two programming languages generated by 16 popular LLMs for code generation — models, not agents (Spracklen et al.). Agents can handle edge cases confidently and wrongly — boundary values, empty states, concurrent access — in code whose happy path is correct. They can over-engineer, adding abstraction layers and configuration surface nobody requested; Anthropic's prompting guide describes this tendency in Claude Opus 4.5 and Claude Opus 4.6, while its Claude Code guidance says Claude tends to read a request conservatively and build the smallest thing that satisfies it, since it cannot see how much you were hoping for (both as of November 2026). They can patch symptoms instead of causes, silencing an error at the point it appears rather than where it originates. And they can narrate their own work convincingly even when the narration does not match the diff.
What makes the catalog useful is that every entry shares one property: the failure can be invisible at a glance. These need not look like mistakes on the page — they can look like reasonable code that happens to be wrong. That is why much of this topic is essentially a set of detection disciplines, each aimed at making one class of invisible failure visible before it merges.
This guide uses task properties as a risk frame: work that is ambiguously specified, expensive to verify, cross-cutting in its change surface, or genuinely novel in shape is riskier to delegate, and costlier when it fails, than work that is precise, checkable, local, and precedented. That risk frame — and the discipline of declining to delegate the wrong tasks — is its own area within this topic.
Two honesty notes belong here. First, any specific claim about what current models can and cannot do is dated the day it is written; capability moves fast, so this guide states durable failure patterns and leaves capability claims to sources you can date, such as vendor documentation in which each vendor describes its own tool (Anthropic's best practices for Claude Code, GitHub's best practices for using GitHub Copilot, both as of November 2026). Second, vendor-independent practitioner writing is where to check such claims against working experience — the Exploring Generative AI memo series on Martin Fowler's site, written mostly by Birgitta Böckeler (as of November 2026), is a durable example. This guide's own position is the one the rest of it argues: large gains on well-specified mechanical work, real losses when output is trusted past its verification.
How the work decomposes across this topic
Treat this guide as the map and each area below as a separate implementation problem.
The two foundations are spec-driven development — writing the statement of work an agent can actually execute — and reviewing AI-generated code, the calibrated posture that catches plausible-but-wrong output. They are the specify and review stages of the loop, and everything else leans on them.
Around those sit the rest of the practice: engineering the per-task context an agent sees; arming verification in advance with guardrail tests locked against agent edits; the task-fit judgment of when not to use AI at all; the security pass that agent output specifically needs; delegating refactors and migrations, the mechanical task class this guide treats as the best fit for delegation; wiring agents into CI with explicit autonomy limits; judging the tests agents write; using agents in debugging without accepting symptom patches; measuring your own net effect honestly; and making the repository itself legible to agents through durable conventions and instruction files.
Each is its own decision with its own depth. This guide gives you the model and the frame for making them; it deliberately does not try to be the depth.
What AI assistance does not solve
Three limits, stated plainly because the practice is easy to oversell.
AI assistance does not remove the need to understand the code you ship. Review without understanding is rubber-stamping with extra steps, and a team that merges what it cannot explain has replaced engineering with hope. The tools change who types; they do not change who must comprehend.
It does not fix an unclear problem statement. A working hypothesis, not a documented rule, is that an agent amplifies whatever clarity or confusion the task carries. Given a sharp spec, it can produce sharp work at speed; given a vague one, it can produce a confident, well-formatted answer to the wrong question. The thinking that turns a fuzzy request into a precise intent was always the job, and it still is.
And it is not a substitute for engineering judgment. Architecture, trade-offs, risk acceptance, what to build and what to refuse — these are decisions, not generations. Agents can lay out options and consequences quickly, which makes them useful in the room. The decision, and the accountability for it, stays with the human who merges.