Check my levelCoursesProgramsFor teamsPricing
UKSign inSign up
Check my levelCoursesProgramsFor teamsPricingClaude quizPromptsBlogFAQSearchSign upUK
AcademlCoursesAI Coding: Claude Code, Codex, Cursor, WindsurfWorkflow patterns
A code diff: one line removed, two added, pnpm lint and pnpm test checksClaude Code terminal: the claude -p command with Read and Edit allowedRetries after a 429 error: each pause is twice as long, then success
Course

AI Coding: Claude Code, Codex, Cursor, Windsurf

Module 1 · The tools
01The tool map: who is strong where02Workflow patterns
Module 2 · Production and the team
03Rolling it out in a team04Debugging and a systematic approach to errors
AI Coding: Claude Code, Codex, Cursor, Windsurf · Lesson 2

Workflow patterns

Good practices: TDD with AI, refactoring against a plan, limiting blast radius.

15 min readUpdated Dec 2, 20262 questions in quizReady prompt included

TDD with AI

  1. Write the tests first (or ask the AI to write tests against the interface).
  2. Then the implementation. The AI writes code so the tests pass.
  3. The AI runs the tests itself. If they're red, it fixes them.
  4. Ask for evidence: the command the AI ran and its output. "All tests pass" on its own tells you very little.

For long background tasks, set a completion condition with /goal, for example /goal all tests in tests/auth pass and lint is clean. After every turn a separate model checks whether the condition is met and sends Claude back to work until it is.

This saves you from "vibe coding," where pretty code doesn't do what's needed.

The rest of this lesson opens after a free sign-up

Sign up with email or Google: the first two lessons of every course stay open for good, and the whole catalog is open for 7 days. No card needed.

Sign up freeOr a trial lesson, no sign-up →
In this lesson
TDD with AIRefactoring against a planLimiting blast radiusAnti-patternPracticeReady promptQuiz
CoursesLLM coursesFor teamsPricingFAQBlogAboutPrivacy
© 2026 AcademlDevelopment & promotion —MMIX — Marketing Mix
Get started free