Build code with agents while keeping a working understanding
A developer describes a workflow where the agent interviews them on ambiguities, makes the minor decisions, generates explainers and quizzes, and runs verifiers in the coding loop. ·
Done with a custom-built or unnamed agent
- What they did
- Before building, the agent interviews the developer on ambiguities in the spec (a /grill-me style prompt). The developer makes decisions on stack and architecture only for differentiating parts and leaves minor details and commodity subsystems like login to the agent. A skill generates interactive explainers with quizzes. Linters, type checkers, pre-commit hooks, tests, formal-method traces and a headless-browser design verifier keep the agent checking its own work.
- How it went
- The developer says this keeps them out of the 2am fix-and-break loop while still building understanding. No measurements are given, and they note other engineers are split on whether understanding the code matters.
- Worth knowing
- The design verifier turns spec requirements into mechanical rules checked against DOM measurements in a headless browser, which the author says was impractical before agents.
Try it yourself with Claude Code
I want to build [feature or project] in this codebase, and I want to stay able to understand everything you write. Before coding, interview me about any ambiguities in the plan, one question at a time, and make the minor decisions yourself, listing them for me. After each major piece, write a short explainer of how it works and give me a 3-question quiz on it, then run the tests or checks before moving on.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: HN · Oct 19, 2026
Related use cases
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Fix a broken Delete button in a GitHub repo
The author had Jules clone a repo and fix a Delete button so it disables deletion of content older than two hours, with tests added unprompted; the author reviewed and published the branch.
Run coding agents like a medical team to fix bugs
Over five months, the author treated bugs like patients and organized coding agents as a hospital-style team to diagnose and fix them.
Custom agent
Add a filtered report page to a Razor Pages app
The poster used Copilot agent mode in Visual Studio 2022 to build a charges summary report page with date and status filters, add a menu option, and write the git commit steps.
Port Codex's computer-use tool to other harnesses
The poster pointed Gemini at a folder and had it adapt Codex's computer-use tool for Antigravity, finishing in under 10 minutes.
Build a full-stack web app with AI and database
A commenter built equimate.app, a working web app with AI integration and a database, using only Replit Agent.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.