Track C · Design interviews

Live Build Round with AI Coding Tools

More and more loops include a round where you build something real, live or as a timed take-home, with Claude Code, Cursor or a platform's built-in assistant switched on. It looks like a coding round, but it isn't graded like one. The AI handles the typing, so the interviewer watches everything else: how you scope an ambiguous problem, what you delegate, whether you read what comes back, how you recover when the agent goes wrong, and whether you finish with something working that you can defend. This page is the playbook for that round. For everyday use of these tools (config files, skills, hooks, workflows, failure modes), see B7 · Working with AI Coding Tools. This page assumes you know that material and covers how to perform with it under a clock while someone watches.

TL;DR: the 8–12 things to be able to say out loud

  • The signal has moved. When AI writes the code, the grade comes from judgment: clarifying, decomposing, delegating precisely, verifying, catching AI mistakes, and explaining every line you keep.
  • Confirm the rules in writing first. Policies vary from "AI required" to "no AI unless we say so". Which tools, whose machine, internet access, which models, and whether you can bring config.
  • Arrive with a warm environment. Tool installed and logged in, a model chosen, sane permissions, a git repo, a test runner that works, a fallback tool, and API keys if you'll build an LLM app.
  • Spend the first 5–10 minutes on understanding, not prompting. Restate the problem, ask questions, split MVP from stretch goals, agree what "done" means.
  • Plan visibly, then write a short spec file the agent can follow. Critique the agent's plan out loud. Editing the plan is the point.
  • Build in thin vertical slices. Get one end-to-end path working, then add tests, then iterate. Keep diffs small and commit on every green state, because git is your undo button.
  • Own the core, delegate the boilerplate. Write the key logic or a tiny fix yourself when that's faster or shows more.
  • Verify where they can see it. Read diffs, run tests, try edge cases, check for invented APIs and packages, and watch for weakened tests.
  • When the agent goes wrong: interrupt early, work out why, revert to the last green commit, narrow the task. Two failed corrections means stop re-prompting.
  • Narrate the why. "I'm rejecting this because…" earns more credit than any amount of generated code.
  • Check the time at 25/50/75% and cut scope gracefully. Something small that works beats something ambitious that's broken.
  • Land the last 10 minutes: demo, a short architecture tour, one tricky piece of code, known limitations, next steps, and the trade-offs you made on purpose.

1. The format landscape

In 2025–2026 a number of companies publicly moved from "AI is cheating" to "AI is part of the job, so show us how you use it". The formats differ, so the first job is working out which one you've got.

What companies have said publicly

CompanyWhat's knownHow solid
CanvaSince June 2025, backend, ML and frontend candidates are expected to use tools like Copilot, Cursor and Claude in technical interviews. Problems are deliberately ambiguous, realistic product challenges (their example: a control system for aircraft takeoffs and landings) that one prompt can't solve. Candidates are told in advance and encouraged to practise. Canva Eng blog 2025First-party
Meta404 Media reported in July 2025 on an internal post about piloting "AI-enabled" coding interviews, and Meta reportedly confirmed this to Business Insider. Techmeme summary of 404 Media Candidate-sourced guides describe a roughly 60-minute CoderPad round with a multi-file codebase, a choice of models, and stages that move from bug fixing to implementation to optimisation. Hello InterviewPilot reported second-hand. Format details come from candidates.
GoogleBusiness Insider reported in May 2026, from an internal document, that Google would pilot letting candidates use Gemini in a "code comprehension" round (read, debug and improve an existing codebase). It was planned for early- and mid-career US roles from the second half of 2026, assessing prompting, output validation and debugging. Entrepreneur via Yahoo, citing BISecond-hand. Rollout status unconfirmed.
ShopifyCandidate reports describe "bring your own everything": your own IDE and AI tools, screen-shared, starting from a near-empty repo. Hello InterviewCandidate reports only. I found no first-party policy page.
AssembledAI tools (Cursor, Claude Code, Copilot) are allowed in some rounds, which are scoped as small end-to-end projects. Separate rounds test fundamentals without AI. Assembled blog 2025First-party
Anthropic (counter-example)The candidate guidance says live interviews are "all you", with no AI unless the interviewer says otherwise, and take-homes are done without Claude unless indicated. Anthropic candidate guidanceFirst-party
May be out of date

Company interview policies change often and can differ by team, level and role. All of the above is as of my research on 2026-10-11, and several rows are pilots or reported second-hand. Your recruiter's written instructions override anything on this page. The Anthropic row is a reminder that "AI allowed" is not universal, even at AI labs.

The four formats you will meet

A. Live pair-build (45–120 min)

Screen-shared, with an interviewer who acts as PM and observer. It might start from an empty repo or a small skeleton. They are grading process as it happens, so narration matters most here. Typical asks: a small service with business rules, an API with a twist (rate limiting, idempotency), a CLI data tool, or a UI widget backed by an API.

B. Timed take-home, AI allowed (2–8 h)

You submit a repo, usually followed by a 30–60 minute walkthrough. Expect a higher bar for completeness: tests, README, error handling. The walkthrough is where they find out whether you understand what you shipped. Some ask you to include your AI transcript or a note on how you used AI.

C. "Extend this repo" with an agent

You get an unfamiliar multi-file codebase, sometimes with planted bugs. Tasks run from fixing a bug, to adding a feature, to making it scale. This tests code reading and verification more than greenfield design. It matches the reported Meta and Google pilots most closely.

D. AI-native product build

"Build a small RAG chatbot over this docs folder" or "build a tool-calling agent that does X". You use an AI tool to build an app that itself calls an LLM. On top of everything else, it's graded on LLM-engineering judgment: prompt structure, structured outputs, a tiny eval, failure handling. Common for AI engineer roles.

What's typically provided

SetupWhat it means for you
Your own laptop and tools, screen-sharedYou control the environment, so any setup failure is on you. Prepare it in advance (§3). Ask whether you may bring your own config files, snippets and templates.
Platform IDE with built-in AICoderPad's AI Assist has Ask, Edit and Plan modes and a choice of models. Claude Code and Codex are listed for Enterprise plans only. All prompts and AI output are saved for playback, so interviewers can review your AI usage afterwards. CoderPad docs HackerRank's assistant runs in a restricted "guarded" mode on single-file coding questions and an "unguarded" mode on code-repository questions in its agentic environment. Interviewers watch the interaction live and get the transcript in the report. HackerRank docs CodeSignal's Cosmo has a "Full AI Co-Pilot" mode and a lighter "Guided Support" mode, and hiring teams get transcripts and session replay. CodeSignal blog
Provided cloud dev box / VMThe tooling may be unfamiliar. Spend the first two minutes finding out how to run the code and the tests before you plan anything.
Intuition

Assume every prompt you type is part of the evidence. On the major platforms the AI transcript is saved and reviewable, so a prompt like "just make it work" is visible to the panel just as a hacky line of code would be. Write prompts you'd be happy to have read out in a debrief.

What changes compared with a classic coding round

DimensionClassic roundAI-assisted build round
ScopeOne algorithmic functionA small, working system: several files, I/O, tests
Speed expectationFinish one or two problemsHigher: they expect much more working software in the same time
Where the signal comes fromCan you produce correct code from memory?Can you direct and verify code production? Judgment, decomposition, verification, communication
Biggest riskGetting stuck on the algorithmLosing control: big unreviewed diffs, re-prompting loops, code you can't explain

Several hiring teams make the same point. Karat writes that correct output no longer shows understanding, so evaluation has to move to process: how candidates approach the problem, find their way around code, explain trade-offs and handle wrong AI suggestions. Karat 2026 Canva's write-up says the weaker candidates in AI-assisted rounds didn't struggle because they couldn't code. They struggled because they lacked the judgment to steer the AI or to spot a weak suggestion. Canva Eng blog 2025

Interview angle

If you're unsure which format you're in, ask the recruiter: "Is this greenfield or an existing codebase? My own machine or your environment? Which AI tools and models are allowed? Is there a walkthrough afterwards?" Asking these questions already shows the planning instinct they're grading.

Go deeper

2. What evaluators are actually grading

No company publishes its full rubric, but the public write-ups above (Canva, Assembled, Karat, CoderPad's and HackerRank's evaluator guidance) agree on the dimensions. Karat lists problem solving, technical communication, product sense and AI proficiency as its competencies. Karat 2026 Google's reported pilot names prompting, output validation and debugging. via BI The table below is a synthesis of those sources, not any one company's form. Use it to aim your behaviour.

DimensionStrong evidence looks likeWeak evidence looks like
Problem understandingRestates the problem, asks 3–6 sharp questions (inputs, scale, edge cases, what "done" means), writes down assumptionsPastes the prompt into the agent within 60 seconds
Decomposition and planningSketches components and data model, orders the work as vertical slices, separates MVP from stretch"Build the whole thing" in one go, with no visible plan
Effective delegationScoped prompts naming files, interfaces, constraints and how to check the result. A short spec file. Right-sized tasksVague prompts, no context, tasks too large to review
VerificationRuns code often, writes or asks for tests on core logic, reads diffs, tries edge cases by handTrusts "Done! All tests pass" without looking
Catching AI mistakesSpots and explains at least one real AI error (logic bug, invented API, weakened test, scope creep) and fixes it cleanlyDoesn't notice, or notices but can't say why it's wrong
Code quality you can defendSensible module boundaries, clear names, no dead code, can explain any line on request800 lines of plausible code the candidate can't walk through
Product sense and scopePicks the features that matter to the user, cuts the rest out loud, considers UX and failure statesGold-plates infrastructure while the core feature is missing
CommunicationNarrates intent and reasons, checks in with the interviewer, takes hints wellLong silences while the agent runs
Time managementChecks the clock, adjusts scope at checkpoints, protects the final demoDiscovers at minute 55 that nothing runs end to end
Ends with something workingA demoable happy path plus tests, with known gaps stated honestlyBroken build, "it worked a minute ago"

Red flags

  • Blind accepting: merging diffs without reading them, accepting every suggestion.
  • Can't explain the code: "the AI wrote that part".
  • No tests, and not running the code until the end.
  • Flailing re-prompts: "still broken, fix it", five times in a row.
  • Big unreviewed changes: letting the agent rewrite many files at once, or change things it wasn't asked to.
  • Over-engineering: DI frameworks, microservices or a plugin system for a 60-minute exercise.
  • Going silent while the agent works or while you're stuck.
  • Ignoring the interviewer's hints or requirement changes.

Green flags

  • Clarifies before building and writes the assumptions down.
  • Visibly edits or rejects parts of the agent's plan.
  • Small diffs, frequent runs, commits at green states.
  • Catches an AI mistake and explains it.
  • Writes a key piece by hand when that's faster or clearer.
  • Reverts instead of patching over a mess.
  • Cuts scope out loud: "I'll skip auth and stub it, here's why."
  • Finishes with a demo and an honest list of limitations.
Common mistake

Believing the goal is maximum output. Assembled describes weak candidates as treating AI like a "magic solution generator" and then getting stuck on bugs the AI couldn't fix on its own. Assembled 2025 Volume without control scores worse than a smaller result you clearly own.

3. Before the interview

Confirm the rules (get them in writing)

Environment readiness (do this the day before, and again 30 minutes before)

# Day-before smoke test, about 20 minutes. Do it on the same machine and network you'll use.
[ ] AI tool installed, updated, logged in. Start a session, run one trivial task end to end
[ ] Default model chosen deliberately (know how to switch if it's slow or rate-limited)
[ ] Permissions: edits flow without constant prompts, but nothing destructive auto-runs
[ ] Fallback tool installed and logged in (a second agent, or plain editor + chat)
[ ] Language toolchains: python/node/go versions; package manager works offline-ish
[ ] Fresh project skeleton: `git init`, first commit, test runner runs one passing test
[ ] Linter/formatter/typechecker run from one command (e.g. `make check`)
[ ] LLM-app builds: API key in env var (NOT in code), one test call succeeds, budget known
[ ] Screen share tested: terminal font 16–18pt, light theme or high contrast, notifications off
[ ] Close unrelated tabs/repos; clean desktop; second monitor for notes (if allowed)

Permissions are a balance. Approving every file edit by hand makes the session crawl and looks odd on screen. Auto-approving everything means a stray rm or an unexpected pip install runs without you seeing it. In Claude Code, the modes include default (shown as Manual: it asks before edits and commands), acceptEdits (file edits and common filesystem commands without asking), plan (read-only exploration until you approve a plan), and auto (a classifier model reviews actions instead of you). Shift+Tab cycles through them during a session. Claude Code docs Allowlisting known-safe commands such as your test command with /permissions also cuts down on prompts. Claude Code best practices A reasonable interview setting: accept edits automatically, allowlist the test and lint commands, and keep installs and network commands as prompts. That way the interviewer sees you approve a new dependency.

May be out of date

Permission-mode names, defaults and availability change between versions. The current docs say auto is the starting mode on recent versions for interactive terminal and VS Code sessions, and that older versions behave differently by plan. Claude Code docs Check what your installed version does the day before, not on the call.

Your personal starter kit

Keep a small, boring kit you can reproduce in two minutes. It removes setup friction; it must not contain solutions.

1. A lean memory file for interview projects. Claude Code reads CLAUDE.md. Cursor reads .cursor/rules and also supports AGENTS.md at the project root. Cursor docs Keep it short, because bloated memory files get ignored. Claude Code best practices

# AGENTS.md  (symlink or copy to CLAUDE.md if using Claude Code)

## Project
Interview build: <one line, filled in at minute 8 from SPEC.md>. Spec: see SPEC.md.

## Commands
- Run app:   <make run | uv run python -m app | npm run dev>
- Tests:     <make test | uv run pytest -q | npm test>
- All checks: make check   # lint + typecheck + tests

## Working rules
- Small diffs: one slice per task. Touch only files the task needs.
- After every change: run the tests and show me the output. Never claim success without it.
- NEVER weaken, skip, or delete a test to make it pass. If a test looks wrong, stop and tell me.
- Ask before adding any dependency; prefer the standard library.
- No placeholder/TODO implementations presented as done. If you stub, say so explicitly.
- Keep functions short; validate inputs at boundaries; no secrets in code (read from env).
- If something is ambiguous, ask one question rather than guessing.

2. Project skeletons in your likely stacks. For example, a Python service (FastAPI or Flask, pytest, a Makefile), a TypeScript service (Node plus a test runner), and a minimal frontend (Vite with React) if frontend is in scope. Each should contain a hello-world endpoint, one passing test, a make check, a .env.example, and the memory file above.

3. At most one or two custom commands or skills. In Claude Code a skill is a SKILL.md under .claude/skills/ that you can invoke as /skill-name. Claude Code docs Useful candidates are a /plan that writes a numbered slice plan into SPEC.md and stops, or a /review that reviews the current diff against SPEC.md and lists only correctness gaps. Claude Code also ships a bundled /code-review that reviews the current diff in a fresh subagent. Claude Code best practices

Common mistake

An elaborate harness the interviewer can't follow. Twelve hooks, five custom agents and a 400-line rules file make the session opaque ("what just happened?"). They can also look like a pre-built solution, which may break the rules. If a piece of your setup does something non-obvious, either skip it or explain it in one sentence at the start. When unsure, ask the recruiter whether personal config is allowed. For harness design as a topic in its own right, see B9 · Harness Engineering.

Practice drills (rehearse under a timer)

Do at least three, timed at 60 or 90 minutes, recorded, and narrated out loud as if someone were watching. Rotate stacks. Each drill has a deliberate twist that interviewers like.

#Drill promptThe twist to handle
1Library or booking service: CRUD plus business rules (no double booking, borrowing limits, late fees)Rules that interact, and testing them as a pure domain layer separate from HTTP
2An HTTP API with per-client rate limiting and idempotency keysConcurrency, clock handling, choosing a limiter algorithm and defending it (see C1 · LLD)
3CLI data tool: read messy CSV/JSON logs, aggregate, output a reportMalformed rows, large files (streaming), clear error messages, exit codes
4RAG chatbot over a folder of Markdown docsChunking, citations, "I don't know" behaviour, a 10-question eval (see B2 · Retrieval)
5Tool-calling agent: e.g. "answer questions about orders using these 3 functions"Tool schemas, loop limits, invalid tool args, cost and latency (see B4 · Agents)
6Extend an unfamiliar open-source repo: add a small feature plus testsReading code quickly with the agent, following existing patterns, not breaking anything
7Frontend widget plus API: searchable, paginated list with loading and error statesUX states, debouncing, API contract, visual check
8Mid-drill requirement change added at 50%Rescoping calmly, with the design absorbing the change

Reviewing your practice recordings

Watch the recording at 1.5× with the self-scoring rubric from §9 and note timestamps:

Go deeper

4. The playbook during the interview

1. Understand restate, clarify, MVP vs stretch 2. Plan + spec critique agent plan, write SPEC.md Scoped prompt one slice, files, constraints, check Agent edits you narrate while it works Verify visibly read diff, run tests, poke edge cases Green → commit git = undo button next slice Off track? interrupt → diagnose → revert to last green → narrower prompt 3. Demo + tour limits, next steps loop: one slice per lap, ~5–12 min each git reset/restore to last commit time's up / MVP done
The interview loop. The slice loop in the middle is where most of the time goes. Every lap ends either in a green commit or in a revert, never in "patch on top and hope".

Timelines

Phase60-minute live90-minute liveTake-home (e.g. 4 h)
Understand: restate, clarify, MVP vs stretch0–70–100:00–0:20 (write questions down; email them if allowed)
Plan: architecture, data model, spec file, slice list7–1410–200:20–0:45
Scaffold plus first end-to-end path running14–25 ✔ checkpoint 25%20–400:45–1:30
Core logic with tests (the part you own)25–40 ✔ 50% at 3040–60 ✔ 50% at 451:30–2:30
Next slices / edge cases / one stretch goal40–48 ✔ 75% at 45: freeze scope60–75 ✔ 75% at 68: freeze scope2:30–3:15
Hardening: errors, validation, README48–5075–803:15–3:40
Demo, walkthrough, limitations, Q&A50–6080–903:40–4:00 + prepare the walkthrough

These are guides, not rules. In an "extend this repo" round, swap "scaffold" for "explore the repo and run its tests" and expect more time on reading.

Phase 1: Understand (first 5–10 minutes)

Don't touch the AI yet. The one exception is using it read-only to explore an existing repo ("summarise the modules and how tests run"). In Claude Code, plan mode gives you read-only exploration, or you can ask a subagent to investigate so the main context stays clean. Claude Code best practices

  1. Restate the problem in one or two sentences, in your own words.
  2. Ask clarifying questions in four buckets:
    • Users and core flow: who uses this, and what one action must work?
    • Inputs and outputs: formats, sizes, a sample payload?
    • Rules and edge cases: duplicates, concurrency, empty or invalid input, time zones?
    • Non-functionals and constraints: persistence needed or in-memory OK? Any stack required? Is a UI expected?
  3. Propose an MVP and stretch goals and get agreement: "MVP is X and Y with tests. Stretch is Z. Sound right?"
  4. Agree success criteria: "Done means I can demo these three flows and the core rules have tests."
Interview angle

Many prompts are deliberately vague, and Canva says its problems are designed that way. Canva 2025 The questions you ask are scored. Don't overdo it, though: four to six good questions, then commit, and write down any assumption the interviewer leaves to you.

Phase 2: Plan (5–10 minutes)

Sketch the architecture and data model out loud: components, main entities, the request flow, where the core logic lives. Then either write the plan yourself or ask the agent for one. In Claude Code, plan mode (reached with Shift+Tab) reads and proposes without editing, and Ctrl+G opens the plan in your editor so you can change it directly. Claude Code best practices Cursor has a Plan mode as well, also switched with Shift+Tab, which produces a plan you can edit before building. Cursor docs

Then critique it on screen. A generated plan almost always has something to cut or fix: an unnecessary framework, a missing edge case, the wrong order, too many layers. Editing the plan visibly is one of the strongest signals you can give. Finish by saving a short spec the agent will follow:

# SPEC.md (keep under ~40 lines; written in minutes 8–14)

## Goal
Booking API for meeting rooms. Users create/cancel bookings; no double booking.

## MVP (must demo)
1. POST /bookings {room_id, user_id, start, end} → 201 | 409 on overlap | 422 invalid
2. DELETE /bookings/{id} → 204 | 404
3. GET /rooms/{id}/availability?date=YYYY-MM-DD → free slots

## Rules
- Times are UTC ISO-8601; end > start; max 4h; 15-min granularity
- Overlap = [start, end) intersects an existing booking for the same room

## Out of scope (say so in demo)
Auth (user_id trusted), recurring bookings, persistence beyond SQLite file

## Architecture
api/ (HTTP, validation) → domain/ (pure booking rules, no I/O) → store/ (SQLite repo)

## Slices
S1 skeleton + health + test runner   S2 create booking happy path (end-to-end)
S3 overlap rule + tests (I write the core check)   S4 cancel   S5 availability   S6 errors/README

## Done means
`make check` green; demo S2–S5 via curl; tests cover overlap edge cases (touching, contained, spanning)
Common mistake

Planning for 20 minutes in a 60-minute round. The plan exists to make delegation precise, not to impress anyone. If you could describe a slice's diff in one sentence, skip the formal plan for that slice. The Claude Code docs give the same advice for small changes. Claude Code best practices

Phase 3: Build in thin vertical slices

  1. Scaffold, ideally from your skeleton: health endpoint, test runner, make check. Commit.
  2. First end-to-end path: one request flows through every layer with real (if minimal) behaviour. Run it. Commit. This is your insurance policy: from here on, you always have a demo.
  3. Core logic with tests: write the tests first or alongside. This is the part to own personally (see delegation below).
  4. Iterate slice by slice. Each slice is one prompt, one diff, one review, one test run, one commit.
# the commit rhythm (narrate it the first time, then just do it)
git add -A && git commit -m "S2: create booking happy path (e2e green)"
# ...agent goes sideways on S3...
git diff --stat            # how big is the damage?
git restore . && git clean -fd   # back to last green (careful: deletes untracked files)
git stash push -u -m "S3 attempt 1"   # or keep the attempt for reference

Why commit when the tool has its own checkpoints? Claude Code's checkpoints rewind file edits made by its editing tools, but they don't track changes made by shell commands, and the docs say outright that they don't replace git. Claude Code docs Cursor checkpoints are restored from the chat timeline. Cursor docs Use checkpoints for a quick "undo that turn", and use git for "back to the last state I verified".

Delegation patterns

The anatomy of a good interview prompt: the goal of this slice, the files and interfaces involved, the constraints, what not to touch, and how to verify. Compare:

✗ "add bookings"

✓ "Implement slice S2 from SPEC.md: POST /bookings, happy path only.
   - Route in api/bookings.py, validation with the existing pydantic models in api/schemas.py
   - Call domain.create_booking(); for now it just stores via store/repo.py (no overlap check yet)
   - Don't touch domain/rules.py — I'm writing that next.
   - Add one integration test in tests/test_api.py using the test client.
   - Run `make test` and show me the output. No new dependencies."
Delegate to the agentOwn yourself (write, or specify very tightly and review line by line)
Scaffolding, routing, DTOs and schemas, boilerplate CRUD, serialisation, test fixtures, README drafts, CLI arg parsing, repetitive test cases from a pattern you wrote, explaining an unfamiliar moduleThe core algorithm or business rule (overlap check, rate-limit math, ranking logic), the data model, module boundaries, concurrency and transaction handling, the prompt and output schema in an LLM app, anything security-sensitive

When to type it yourself:

Intuition

Size tasks to your review bandwidth, not the agent's capability: aim for diffs you can read in about 60–90 seconds while narrating.

Verification discipline, on screen

# 20-second verification ritual after each agent turn
git diff --stat                 # touched only what I asked?
git diff -- tests/              # did any test get weaker?
make check                      # lint + types + tests, output on screen
curl -s localhost:8000/... | jq # does the real thing work?

When the agent goes wrong

  1. Stop early. If the first few edits head the wrong way, interrupt. In Claude Code, Esc stops it mid-action and keeps the context. Esc twice (with an empty input) or /rewind opens the rewind menu to restore code, conversation or both. Claude Code docs
  2. Diagnose why, out loud. Was context missing (it didn't know about a file or convention)? Was the spec ambiguous? Was the task too big? Did the model never know the API?
  3. Revert, don't patch. Go back to the last green commit rather than stacking fixes on a broken base.
  4. Narrow the task and add the missing piece: name the file, paste the error, give a failing test, state the invariant.
  5. Know when to take the wheel. The Claude Code docs suggest that after two failed corrections on the same issue, you clear and restart with a better prompt, because the context is polluted with failed approaches. Claude Code best practices In an interview, the third attempt is often better spent writing it yourself.
Interview angle

A visible recovery can be the best moment of the round. "It's patched the symptom, not the cause. I'm reverting to the last commit, and I'll give it the failing test plus the invariant 'intervals are half-open'." That one sentence shows diagnosis, git discipline and precise delegation.

Context management in a long session

Narration

Think out loud, especially about why you accept or reject something. Some lines to adapt:

Clarifying "Before I build anything: is in-memory fine, or should this survive a restart?" Scoping "I'll do create and cancel first, end to end. Availability is next. Recurring is out of scope." Delegating "I'm giving it the boilerplate route. I'll write the overlap rule myself, since that's the heart of it." While waiting "While it scaffolds: I'm going for half-open intervals, so back-to-back bookings are allowed." Reviewing "Routing's standard, skimming. This comparison uses <= — that would reject back-to-back slots. Fixing." Rejecting "It wants to add Redis for the limiter. Not for an in-process demo; a dict plus lock is enough. Declining." Catching "It changed the expected value in the test to match the output. That's backwards. Reverting the test." Recovering "This is drifting. Rolling back to the last green commit and giving it a narrower prompt with the failing test." Time check "We're at 30 minutes, MVP is half done. I'm dropping the stretch UI so I can test the rules properly."
Common mistake

Narrating what the agent is doing ("now it's creating a file…") instead of why you're doing what you're doing. The interviewer can see the screen. What they can't see is your reasoning.

Time management

CheckpointYou should haveIf not
25%Clarified, planned, scaffold running, first slice underwayStop planning, start the end-to-end path now
50%One end-to-end path working and committed. Core logic in progress with testsCut a stretch goal out loud. Simplify the data layer (in-memory)
75%MVP essentially completeFreeze scope. Finish or stub the current slice, then harden and prepare the demo
Final 10 minDemo only. No new featuresDemo what works and describe the rest

Cutting scope gracefully means you name the cut, say why, and say how you'd do it: "I'm stubbing auth as a trusted user_id header. In production that's a middleware validating a JWT, and the domain layer doesn't change."

The final 10 minutes

  1. Demo the working thing: the happy path, one rule rejecting bad input, then the tests running.
  2. Architecture tour (60–90 s): layers, why the core logic is pure and testable, where state lives.
  3. One tricky piece of code: walk through it line by line. Pick the piece you wrote or reviewed most carefully.
  4. Known limitations: what's stubbed, untested or naive (concurrency, persistence, auth).
  5. Next steps: more tests (property-based, concurrency), error handling, security, observability, scale.
  6. Deliberate trade-offs: "SQLite over Postgres for setup time", "a sliding-window log over a token bucket because…".
  7. How you used AI: one honest sentence on what it did well and what you caught.
Go deeper

5. Showing engineering maturity on top

Once the MVP works, a handful of small, cheap moves make the difference between "it runs" and "I'd merge this". Each takes the agent a minute and you 30 seconds to review, so do them deliberately and mention them.

Any build

  • Input validation at the boundary (schema models, explicit 4xx errors with messages).
  • Error handling that distinguishes user errors, not-found and internal errors. No bare except.
  • Secrets from the environment, with a .env.example and nothing hard-coded. Say it out loud.
  • Structured logging on the main path (request id, outcome, latency).
  • README: what it is, how to run it, how to test it, assumptions, limitations.
  • One command to check everything (make check).

LLM-app builds

  • Prompt structure: a system prompt with role, constraints and output contract, kept in a file rather than inline strings.
  • Structured outputs: a JSON schema or typed parsing, validated, with a fallback on parse failure.
  • A tiny eval set: 8–15 cases (including "should refuse / I don't know") and a script that prints a pass rate.
  • Cost and latency awareness: log tokens and latency per call, pick a smaller model where it's good enough.
  • Failure handling: timeouts, retry with backoff on rate limits and 5xx errors, a max tool-loop count, graceful user-facing errors.
  • Prompt-injection awareness for retrieved or tool content (see B5).
# tiny eval harness you can ask the agent to write in 3 minutes (shape, not a library API)
# evals/cases.jsonl:  {"q": "...", "must_include": ["refund window"], "must_cite": true}
#                     {"q": "What's the CEO's salary?", "expect_refusal": true}
for case in load_jsonl("evals/cases.jsonl"):
    out = answer(case["q"])                      # your app's entry point
    ok = check(out, case)                        # substring / citation / refusal checks
    results.append(ok)
print(f"pass {sum(results)}/{len(results)}")     # show this number in the demo
Interview angle

For AI engineer roles, a real eval (even 10 cases) and a line like "here's how I'd grow it into a regression suite with LLM-as-judge for the fuzzy cases" usually lands better than another feature. It shows you know the app's behaviour is probabilistic and needs measuring. Background: B1 · LLM App Foundations and B5 · Evals, Observability & Safety.

Common mistake

"Maturity" that turns into over-engineering: abstract repositories with one implementation, a plugin system, Kubernetes manifests. Maturity means appropriate rigour for the size of the thing. Mention what you'd add at scale rather than building it.

6. Common failure modes, and the fix for each

Failure modeWhat it looks likeFix
Over-scopingPromising auth, UI, persistence and analytics in a 60-minute roundAgree an explicit MVP in phase 1. Stretch goals only after MVP is green and committed
Setup yak-shave20 minutes fighting a virtualenv, Node version or loginRun the day-before smoke test. Use your skeleton. If something breaks, switch to the fallback tool or plain stdlib within 3 minutes
Giant first prompt"Build the whole app" → 800 lines you can't explainOne slice per prompt. If it happens anyway: revert, then rebuild slice by slice
Never running the codeLots of generated files, first run at minute 50, which failsGet the first end-to-end run by 25–40% of the clock. Run after every slice
Debugging by re-prompting"Still broken, fix it" ×5Read the error yourself, form a hypothesis, give the agent the error plus your hypothesis plus a failing test. After two misses, take the wheel
Ignoring the interviewerMissing a hint or a requirement change while focused on the agentTreat them as the PM: check in at each checkpoint. When they speak, stop the agent and listen
Silent agent run, dead screenThe agent works for 90 seconds while you stareUse the wait: explain the next decision, review the previous diff, write a test case, update NOTES.md
Apologising for using AI"Sorry, I'm leaning on the AI a lot here…"Don't. Using it well is the point of the round. Talk about how you're using it, not whether you should be
Pretending to understand generated codeHand-waving when asked about a blockSay "let me read this properly", then read it, or ask the agent to explain it and check that against the code. "I accepted this too fast; here's what it does" is fine. Bluffing isn't

7. Handling the follow-up questions

Most AI-assisted rounds finish with questions about what you built. Prepare the shape of these answers in advance, then fill in details from your actual session.

QuestionModel answer shape
"Why this structure?"Tie it to requirements: "The rules are the risky part, so they're a pure domain module with no I/O, which means I can test them exhaustively. HTTP and storage are thin adapters. With more time I'd stop there. This doesn't need more layers."
"What would break at 10× load?"Name the specific bottleneck, then the fix: "The overlap check reads then writes, so two concurrent requests could double-book. At 10× that's likely. I'd enforce it in the database with an exclusion constraint or a transaction with row locking. The in-memory limiter is per-process, so with several replicas it needs Redis or the gateway." For more on this, see C1.
"What did the AI get wrong today?"Have two concrete examples ready, and keep a running list in NOTES.md as you go. "It used <= in the overlap check, which rejects back-to-back bookings. It also tried to update a test's expected value to match buggy output. I caught both in the diff."
"How would you test this more thoroughly?"Layer it: property-based tests for the interval logic, concurrency tests for double-booking, contract tests for the API, a load test on availability, and for LLM apps a growing eval set run in CI.
"What would you not trust the AI to do here?"Be specific: "Design the concurrency and transaction semantics, write auth or permission checks unsupervised, choose dependencies, or decide what's in scope. I'd also never let it edit tests and code in the same step without me diffing the tests."
Common mistake

Answering "what did the AI get wrong?" with "nothing really". That suggests you didn't look. Agents almost always get something wrong in an hour of work, so name the real catch.

8. Tool-specific tips (short, verified)

Claude Code

  • Plan mode: cycle with Shift+Tab or start with claude --permission-mode plan. It reads and plans without editing. Ctrl+G opens the plan in your editor. docs
  • Memory: CLAUDE.md is read at session start. /init drafts one. Keep it short. /context shows what's loaded. docs
  • Permission modes: default (Manual), acceptEdits, plan, auto, plus dontAsk and bypassPermissions for scripts and containers. Pre-approve with /permissions. docs
  • Interrupt and rewind: Esc stops. Esc Esc or /rewind restores code and/or conversation. Shell-command changes aren't tracked, so commit. docs
  • Context: /clear between unrelated tasks. /compact <focus> for targeted summarising. @file to reference files. docs
  • Subagents for exploration or review in a separate context: "use a subagent to…". docs

Cursor

  • Modes: Agent and Plan. Shift+Tab rotates between them. Plan mode researches, asks questions and produces an editable plan, with "Save to workspace" to keep it in the repo. docs
  • Rules: project rules in .cursor/rules (.mdc files, with types Always Apply, Apply Intelligently, Specific Files and Manual), or an AGENTS.md at the root. docs
  • Checkpoints: click a checkpoint in the chat timeline to preview, then restore. docs
  • Inline edit vs agent: Cmd/Ctrl+K for targeted edits to selected code. Use the Agent panel for multi-file work. docs
  • Queued messages: Enter queues a follow-up while the agent works. docs
  • Terminal-command approval settings: check the current docs and set them deliberately before the interview.
May be out of date

Shortcuts, mode names and defaults were checked against the Claude Code and Cursor docs on 2026-10-11, and both products ship changes often. Confirm them in the version you'll use, the day before. Platform assistants (CoderPad, HackerRank, CodeSignal) have their own modes and limits, covered in §1.

The principles carry over to any tool: plan before multi-file edits, keep a short memory file, scope each task, give it a check it can run, interrupt early, keep git as the source of truth, and keep exploration out of your main context.

9. Day-of checklist and self-scoring rubric

Day-of checklist (print this)

T-30 min
[ ] Rules re-read: tools, models, internet, own config allowed?, deliverable
[ ] Tool open, logged in, model set; fallback tool logged in
[ ] Skeleton cloned fresh; `make check` green; git clean; first commit exists
[ ] API key in env (LLM builds); one test call OK
[ ] Font 16–18pt, notifications off, other apps closed, water nearby

0–10  UNDERSTAND   restate • 4–6 questions • MVP vs stretch • "done means…" • write assumptions
10–20 PLAN         sketch out loud • agent plan → critique visibly • SPEC.md • slice list
      BUILD LOOP   one slice/prompt • narrate WHY • read diff • diff tests/ • run • commit green
      OFF TRACK    Esc • say why • revert to last green • narrower prompt • 2 misses → take the wheel
25%   e2e path started?     50%   e2e path committed?     75%   FREEZE SCOPE
-10   DEMO         happy path • a rule rejecting bad input • tests run • architecture • one tricky
                   function • limitations • next steps • trade-offs • what the AI got wrong
ALWAYS            never silent >30s • never apologise for AI • never bluff about code

Self-scoring rubric (after each practice run)

Score each item 0–2 (0 = absent, 1 = partial, 2 = clearly shown). A total of 18+ out of 24 is a strong run. Track the trend across sessions.

#Item2 points means
1ClarificationRestated, asked about 4–6 good questions, wrote assumptions
2MVP and success criteriaExplicit MVP and stretch, agreed before building
3Visible planArchitecture and data model spoken, agent plan edited, SPEC.md written
4Slice disciplineEvery prompt was one reviewable slice, with no diff over about 150 lines
5Prompt qualityPrompts named files, constraints and a verification step
6VerificationDiffs read, tests run after each slice, program run, edge cases tried
7AI mistake caughtAt least one real catch, explained clearly
8RecoveryReverted rather than patched, with no loop of 3+ re-prompts
9OwnershipCore logic written or tightly specified by you, and any file explainable
10NarrationReasons given, no silence over 45 s
11Time and scopeCheckpoints hit, scope cut out loud, demo time protected
12EndingA working demo, plus limitations, next steps and trade-offs

Interview question bank

How did you decide what to delegate to the AI and what to write yourself?

I delegated by risk and by how easy the output is to review. Boilerplate (routing, schemas, fixtures, the README draft) is low risk and quick to check, so the agent did it. The overlap rule is the heart of the problem and where subtle bugs live, so I wrote it myself and had the agent write tests against it. Tiny fixes I typed directly, because prompting would have taken longer than the fix. The other deciding factor was review bandwidth. I kept each delegated task small enough to read the whole diff in about a minute while still talking.

Walk me through this function the agent wrote. Why does it work?

I'd take it line by line: the inputs and their invariants, the main branch, and the edge cases it handles or doesn't. If there's a part I accepted too quickly, I say so, then read it properly in front of them rather than bluffing. For example: "This uses a half-open interval comparison, so a booking ending at 10:00 doesn't conflict with one starting at 10:00. That's intended. It doesn't handle bookings that cross midnight in local time, because we store UTC and the spec said UTC." Being able to explain generated code is the core competency here, so if I can't explain a line, it shouldn't be in the submission.

What did the AI get wrong today, and how did you notice?

Give concrete instances from your NOTES.md. A typical answer: "Two things. It wrote <= where the spec implied half-open intervals, and I caught that reading the diff because I'd stated the invariant out loud beforehand. Later, when a test failed, it changed the test's expected value instead of the code. I caught that because I always diff the tests directory after a 'fixed' message. I reverted the test and gave it the failing case plus the invariant." The pattern to show is that you catch errors through deliberate checks, not luck.

Why did you choose this architecture? Isn't it over- or under-engineered?

Tie each layer to a requirement. The domain rules are pure and isolated because they're the riskiest and most testable part. HTTP and storage are thin adapters so I could swap SQLite for Postgres without touching the rules. I deliberately didn't add a service layer, dependency injection or an event bus, because one hour and one use case don't justify them. If the system grew to multiple bounded contexts or teams, I'd revisit. This shows you can match rigour to scope and that you didn't just accept the agent's default structure.

What would break first at 10× or 100× load?

Be specific to your build. In a booking service, the check-then-insert race causes double bookings under concurrency, fixed with a database constraint (an exclusion constraint on time ranges) or serialisable transactions. The in-memory rate limiter or cache is per-process, so with several replicas you need shared state such as Redis or a gateway limit. The availability endpoint scans bookings, so add an index on (room, start) and maybe cache per day. For an LLM app, provider rate limits and latency come first: add queueing, backoff, caching of repeated queries and possibly a smaller model for routing. End by saying how you'd measure it (a load test, p95 latency, error rate) before changing anything.

How would you test this more thoroughly with another day?

Layer the tests by risk. Property-based tests on the core rule (random intervals, checking the no-overlap invariant). Concurrency tests that fire parallel requests to prove no double booking. API contract tests for status codes and error bodies. A small load test. For LLM features, grow the eval set from about 10 to 50–100 cases taken from real failures, add LLM-as-judge for fuzzy criteria with spot-checked agreement, and run it in CI so prompt changes can't regress silently. I'd also add a regression test for each bug found today.

What would you NOT trust the AI to do on this codebase?

I'd keep the decisions that are hard to reverse or easy to get subtly wrong: concurrency and transaction semantics, auth and permission checks, choosing and adding dependencies (supply-chain risk and invented packages), data migrations, and anything about scope or product trade-offs. I also wouldn't let it change tests and implementation in the same step without reviewing the test diff separately, because "make the test pass" can quietly become "make the test meaningless". The AI can draft any of these, but each needs line-by-line review and ideally a deterministic check.

You got stuck for a few minutes in the middle. What happened and what would you do differently?

Own it and show the recovery. For example: "I let the agent try a third fix for the same error, which cost about four minutes. The root cause was that it didn't know the repo used a custom test fixture, which was missing context, not a model problem. What worked was reverting to the last commit and giving it the fixture file and the failing test. Next time I'd stop after the second miss and either add context or write it myself." Interviewers rate honest self-diagnosis highly, because it shows you'd improve on the job.

How did you keep the agent's context healthy over a long session?

I kept durable state in files rather than the chat: SPEC.md for the plan and NOTES.md for decisions, todos and known issues. Exploration went into a subagent so file dumps didn't fill the main context. Between unrelated tasks I cleared context and re-primed with "read SPEC.md and NOTES.md, we're on slice 4". If I'd corrected the agent twice on the same thing, I took that as a sign the context was polluted and restarted with a better prompt instead of piling on corrections. Agent quality degrades as context fills, so managing it is part of the job.

For the LLM app you built, how do you know it works?

I don't assume it works because a few manual tries looked good. I built a small eval set of about 10–15 cases covering the main intents, edge cases and cases where it should say "I don't know", plus a script that prints a pass rate. I showed that number in the demo. I also validate structured outputs against a schema with a fallback, log tokens and latency per call, and handle timeouts and rate limits with backoff. Next steps would be growing the eval from real traffic, adding an LLM judge for subjective criteria, and running it in CI so prompt or model changes are caught.

If the AI tool had failed completely at the start, what would you have done?

Switch within two or three minutes rather than debugging the tool on the clock: move to the fallback agent I keep logged in, or write it by hand from my skeleton with a chat window for lookups. Say it out loud and cut scope to match. Staying calm and still shipping a smaller MVP is a strong signal, and interviewers usually adjust their expectations when you tell them.

Isn't using AI in an interview just cheating with permission? What are you showing us?

Don't be defensive. Here the tool is part of the job, so what I'm showing is the job: turning an ambiguous request into a scoped plan, directing a fast but fallible collaborator, verifying its output, catching its mistakes and shipping something I can defend. Several companies have said publicly that this is why they allow or require AI in interviews. They want to see how candidates work with the tools they'd use on the job. I'm happy to do a no-AI round too. The fundamentals are what make the verification possible.