The new development workflow with agents¶
In one sentence¶
The agentic SDLC (software development life cycle) is a way of working where you spend your time on specs, plans, tests and review, and the coding agent does most of the typing, in this loop: spec, plan, implement, verify, review.
Why it matters in 2027¶
When writing code gets cheap, the expensive parts are deciding what to build, making sure it's correct, and keeping it secure and maintainable. Teams that only "ask the agent and merge" ship bugs faster. Teams that give agents a clear spec, a test suite and a review step ship faster and safer. That freed-up time is exactly what you should spend on the topics in the second half of this playbook: safety, security and system design.
Explain it like I'm new¶
Building a house with a fast, tireless but literal-minded crew. If you hand them a napkin sketch, you get something house-shaped and wrong. If you hand them drawings (spec), agree the order of work (plan), inspect each stage (tests) and do a final walkthrough (review), you get the house you wanted, much faster than building it yourself.
Where the analogy stops working: rebuilding a wall in code costs minutes, not weeks. So you can afford to throw away a bad attempt and try again with a better spec.
How it works¶
flowchart LR
S[1. Spec<br/>what and why,<br/>acceptance criteria] --> P[2. Plan<br/>files, steps, risks]
P --> T[3. Tests first<br/>failing tests from<br/>acceptance criteria]
T --> I[4. Implement<br/>agent writes code<br/>until tests pass]
I --> V[5. Verify<br/>full suite, lint,<br/>types, security scan]
V --> R[6. Human review<br/>read the diff,<br/>run it yourself]
R -->|changes needed| P
R -->|approved| M[Merge]
- Spec. A short document: the problem, who it's for, what "done" means as checkable acceptance criteria, and what's out of scope. Writing this forces you to think. Many tools now have a spec mode built in.
- Plan. Ask the agent to propose a plan without editing anything: which files change, in what order, and what could go wrong. Fix the plan before any code exists. This is the cheapest place to catch mistakes.
- Tests first. Turn acceptance criteria into failing tests. Now the agent has an objective target, and you have proof it works.
- Implement. Let the agent work in small steps, running tests as it goes. One feature per session keeps context focused.
- Verify. Full test suite, linter, type checker, and a security scan for secrets and known-vulnerable dependencies. Automate this in CI so it can't be skipped.
- Review. Read the whole diff. Run the feature yourself. Ask a separate reviewer (a teammate or a read-only subagent) to look for security and edge cases.
Where vibe coding fits. "Vibe coding" (a term coined by Andrej Karpathy in early 2025) means prompting freely and accepting what the agent produces without close review. It's fine for prototypes and throwaway scripts. For anything users depend on, use the full loop above. See vibe coding failure modes.
Example¶
A spec for one small feature:
# Spec: CSV export for expense report
## Problem
Finance exports reports by copy-pasting into Excel.
## Acceptance criteria
- [ ] `expenses export --format csv --month 2026-10` writes `expenses-2026-10.csv`
- [ ] Columns: date, category, amount, currency, note (in that order, with a header row)
- [ ] Amounts use a dot decimal separator and two decimal places
- [ ] Notes containing commas or quotes are escaped correctly
- [ ] Exits with code 2 and a clear message if the month has no data
## Out of scope
Excel (.xlsx) output; emailing the file.
Each criterion becomes a test. Project P1 walks through this whole loop.
Common mistakes¶
- Skipping the plan. Most bad agent output traces back to a misunderstanding that a 2-minute plan review would have caught.
- Letting the agent write tests and code together, unreviewed. It can write tests that match its bugs. Review the tests first, then let it implement.
- Giant pull requests. Agents can produce thousands of lines quickly. Humans can't review that. Keep changes small.
- No CI. Local "it passed" claims from an agent aren't proof. Run checks on every push.
Check yourself¶
- What are the six steps of the agentic workflow?
- Why review the plan before any code is written?
- When is vibe coding acceptable?
Answers
- Spec, plan, tests first, implement, verify, review.
- It's the cheapest point to catch misunderstandings. Fixing a plan takes minutes; untangling wrong code takes much longer.
- For prototypes, experiments and throwaway scripts where bugs don't affect anyone else.
Go deeper¶
- Claude Code best practices - The explore, plan, code, commit workflow in practice. Beginner · Docs · 25 min
- Not all AI-assisted programming is vibe coding by Simon Willison - Where the term came from and why the distinction matters. Beginner · Article · 10 min
- Kiro specs - An example of spec-driven development built into a tool. Beginner · Docs · 10 min