Learn
Ten practical lessons on getting correct, verified software out of AI coding agents, built around one small booking service.
10 lessons · each exercise starts from its own copy of the booking service
Trace a request through the booking service, map what each part is responsible for, and make a slow availability lookup fast without changing a single answer.
90 min · Outcome: Trace behaviour, identify responsibilities and explain a relevant algorithm or complexity trade-off.
Turn a written requirement for booking cancellation into acceptance criteria, tests and a small change that fits the existing code, then prove it works.
90 min · Outcome: Turn a clear requirement into a verified change.
Work from a real-looking support ticket to a failing test, a confirmed cause and a fix that keeps the defect from coming back.
90 min · Outcome: Reproduce a problem, find its cause and verify the correction.
Turn an informal, partly ambiguous feature request into a specification with numbered requirements, testable acceptance criteria and an ordered implementation plan.
75 min · Outcome: Define requirements, acceptance criteria and an implementation plan.
Design a new endpoint in OpenAPI before writing it, then prove that the running service returns exactly the responses the contract promises.
75 min · Outcome: Handle success, invalid requests, missing resources and conflicts.
Find and close a check-then-act race in the booking endpoint, then make booking requests safe to retry with an Idempotency-Key.
90 min · Outcome: Understand concurrency, transactions and safe retries.
Review the booking endpoints as a second user and with growing data, find an access-control hole and a query that grows with the list, and prove both fixes.
60 min · Outcome: Identify access-control problems and inefficient behaviour.
Hand a ready-made plan to an agent, follow its planning, implementation and verification step by step, and steer it to a proper recovery when a step fails.
75 min · Outcome: Follow planning, implementation and verification, then recover from a failed step.
Turn a pricing rule into tests that fail first, let an agent implement against them, and find out whether your tests would have caught a wrong implementation.
75 min · Outcome: Write tests from a requirement that fail before the change and catch a wrong implementation of it.
Review a change an agent made for a usage-summary endpoint against the request it was given, prove each defect, fix what is wrong and leave what is right.
75 min · Outcome: Decide from evidence what to accept and what to reject in a change you did not write.
AI coding agents write code quickly. Whether that code is correct is still your responsibility. This path works through the everyday engineering tasks where that responsibility matters most: reading code you did not write, turning a requirement into a verified change, debugging a defect an agent introduced, writing a specification an agent can act on, designing an API contract, preventing double bookings under concurrency, reviewing for access-control and performance problems, supervising a multi-step agent workflow when one of its steps fails, writing the tests before an agent writes the code, and reviewing a change an agent made. Every lesson uses the same small booking service (TypeScript, Fastify and PostgreSQL), and every exercise has its own starting point, so you can take the lessons in any order. Your work is checked by running it, not by taking your word for it.