Tag
23 postsAI Coding Agents
Posts about AI Coding Agents by Kousigan A, filed under AI Coding. Each one links the official docs it relies on.
Deep dive9 minAI Coding
Six engineering decisions to keep human with AI agents
See which engineering decisions stay human when a coding agent writes the code, how to sort them by reversibility and reach, and what the agent prepares.
Deep dive11 minAI Coding
Coding agents can cross module boundaries: make a check fail
Give coding agents module boundaries a tool can check: a public surface, one dependency direction, owners in CODEOWNERS and folder-scoped instructions.
Deep dive11 minAI Coding
Coding agents forget the why: architecture decision records
Write architecture decision records a coding agent can use: the parts to include, where to keep them, how to supersede one, and a prompt to check a plan.
Deep dive12 minAI Coding
Failed attempts burn tokens too: measure LLM cost per task
Measure AI usage as cost per successful task: what drives the bill, prompt caching, model choice, batch APIs, budgets, and usage commands in five coding agents.
Deep dive9 minAI Coding
An AI speed-up claim is a prediction until you measure it
Check a coding agent's claim that code is faster: a baseline, a realistic workload, a profile, repeated runs, latency percentiles and memory use.
Deep dive11 minAI Coding
API breaking changes from AI code: guard the contract file
Guard against API breaking changes in AI-written code: protect the OpenAPI file, diff it on every pull request, test consumers, deprecate before removing.
Deep dive11 minAI Coding
AI-generated database migrations meet real rows and old code
How to review a database migration a coding agent wrote: existing rows, old code still running, PostgreSQL locks, and what a rollback cannot bring back.
Deep dive10 minAI Coding
AI coding agent scope creep: keep the fix, list the cleanup
Keep a coding agent to the task: state the scope and non-goals, back them with edit settings, spot unrelated edits and split the cleanup off.
Deep dive11 minAI Coding
Releasing AI-generated code: the agent prepares, you approve
A release process for AI-assisted software: what a coding agent may prepare, what a person must authorise, and where flags, canaries and rollback fit.
Deep dive12 minAI Coding
Coding agent context fills up: put constraints in a file
Context engineering for coding agents in a long task: what fills the window, what survives compaction, when to clear, and a handoff note to copy.
Deep dive11 minAI Coding
Parallel coding agents clash over files: split by ownership
Parallel coding agents only pay off when tasks are separate, so split work by owner, agree the interface first, use one worktree each and merge one at a time.
Deep dive9 minAI Coding
Coding agent dependencies: check the name before you approve
Before a coding agent adds a package, check it is needed, exists under that exact name, and what its licence, upkeep, install scripts and lockfile diff bring.
Deep dive12 minAI Coding
How to review AI-generated code in risk order: seven passes
Review AI-generated code in risk order: the requirement, the diff, risky areas, callers, tests and side effects, then a slow read where risk is highest.
Deep dive13 minAI Coding
A checklist the agent can skip: turn it into quality gates
Turn your definition of done into gates that block: agent hooks, pre-commit, required CI checks and rulesets, and which failures still need a person.
Deep dive10 minAI Coding
Make a coding agent prove its fix before you accept it
Get evidence before you accept a coding agent's fix: a reproduction, a failing test that passes after the fix, one hypothesis at a time and a two-attempt limit.
Deep dive11 minAI Coding
Coding agent fixes can break callers: map the system first
Before a coding agent edits code that crosses files, have it map entry points, call paths, data flow, boundaries and callers, with a file cited for every claim.
Deep dive11 minAI Coding
A README can give your coding agent orders you never wrote
How prompt injection reaches a coding agent through README files, issues, comments, logs and tool output, and how to limit what an injected instruction can do.
Deep dive14 minAI Coding
Coding agent permissions: five boundaries a prompt can't set
Least privilege for AI coding agents: scope files, commands, network, secrets and actions, see what six agents document, and audit access with one prompt.
Deep dive9 minAI Coding
Not every repeated prompt deserves an agent skill
How to tell which repeated coding agent work deserves a skill, what a good SKILL.md holds, and how to keep it from going stale, with two prompts to copy.
Deep dive11 minAI Coding
"Looks good" isn't evidence: how to verify AI-generated code
AI-generated code is not done when it compiles. Check the requirement, the diff, tests and static checks, and get a review from outside the model that wrote it.
Deep dive12 minAI Coding
Skills vs agents vs MCP: one rule, six coding tools mapped
One rule for when to use a skill, sub-agent, MCP server or hook, and a table of where six coding agents keep each one, from their official docs.
Deep dive9 minAI Coding
Don't let your coding agent code first: plan, then approve
A coding agent workflow with a stop before any code: investigate, plan, approve, implement and verify, plus the plan modes of seven agents.
Deep dive10 minAI Coding
Beyond AGENTS.md: the six layers of a coding agent project
How to structure an AI coding agent project beyond one instructions file: rules, skills, sub-agents, MCP, project docs and checks, plus three prompts.