Courses  /  Claude Code

Software Engineering with Claude Code

Full Course / Workshop — from fear to 1000X productivity, in plain English, step by step.

6 modules, 31 lessons + capstone. Work offline where you can, use Claude Code where it is marked [PAID].

How to use this course

Read in order. Tick the box when you finish a lesson — your progress is saved in your browser. Each lesson has the same shape: What it is, Why it matters, Code or commands to copy, Try it yourself, and Check questions with answers you can open.

Rule for the whole course: delegate the goal, check the result. Never work on main with AI code. Always use a feature branch.

Setup — what you need

What you need: a computer, Git, a code editor, and a small practice project (a notes app is used in the examples).

python3 --version
 git --version
# Both commands should print a version number.
# If Git is missing, install it first, then come back.

Start Claude Code [PAID]

claude
# 1. Open a terminal in your project folder.
# 2. Type: claude
# 3. Sign in with your paid subscription.
# 4. Type a big prompt. Start small, then grow.

[OFFLINE] practice: everything marked [OFFLINE] runs with Python and Git only, no Claude Code, no API key. The Python scripts in this course use only the standard library.

Course intro

From Fear to 1000X Productivity

What it is

What it is: This course teaches you to work with Claude Code as a development partner, not as a smarter autocomplete. You start by being unsure about AI coding tools. You end by letting Claude Code build whole apps in minutes — user interface, database, and business logic — and by running several Claude Code agents at the same time on different git branches.

Why it matters

Why it matters: Autocomplete saves you typing. AI labor saves you days. If you only use Claude Code for one function at a time, you get a small gain. If you delegate whole features to it, check its work, and run several features in parallel, you get a big gain — the course calls this 1000X productivity, meaning a feature that took days can take minutes.

Big prompt — your first whole app (terminal, Claude Code — needs the paid subscription)

claude
# Inside Claude Code, type a big prompt like this:
# Build a small to-do app in Python with a web page.
# It must let me add a task, mark it done, and delete it.
# Save tasks in a file called tasks.json.
# Add a test that adds a task and checks it is saved.

Try it yourself

Open Claude Code (or practise offline with the prompt below on paper). Write one big prompt that asks for a whole small app, not one function. List the 3 things the app must do.

Check

What is the difference between autocomplete and AI labor?

Autocomplete finishes one line for you. AI labor builds a whole feature for you, and you check it like a tech lead.

By the end of the course, what will you orchestrate?

Claude Code working at the same time on several git branches, with parallel agents on different features, and their work merged together.

Course intro

What You Will Learn — The 12 Skills

What it is

What it is: The course teaches 12 things. 1) Delegate like a tech lead, not micromanage. 2) Write big prompts that build entire features. 3) Use Best-of-N: make 3 to 5 versions and pick the best. 4) Teach Claude Code to critique its own code with a rubric. 5) Master CLAUDE.md files for project context. 6) Build command libraries for reviews, builds, and tests. 7) Train Claude Code through examples so it matches your team style. 8) Run parallel feature work on many git branches. 9) Design codebases that scale with AI labor and token limits. 10) Use subagents that work alone, then merge their work. 11) Build your personal AI-first process. 12) Use multimodal prompting to turn sketches and whiteboards into UI, architecture, and processes.

Why it matters

Why it matters: Each skill removes one bottleneck. Big prompts remove copy-paste. Best-of-N removes guessing. Rubrics remove bad code slipping through. CLAUDE.md removes explaining the same context every time. Worktrees and subagents remove waiting for one feature to finish before the next starts.

Your personal process — write it down (markdown, offline, no Claude Code needed)

# My AI-first process

1. Plan in 5 lines: goal, files, tests, done-when.
2. Write one big prompt. Ask for the feature + tests.
3. Best-of-N: ask for 3 versions. Score them with a rubric.
4. Review: read the diff. Run the tests. Fix by improving the prompt.
5. Commit on a branch. Never work on main with AI code.
6. Merge only after tests pass and the rubric passes.

Try it yourself

Copy the process above into a file called MY-PROCESS.md. Change one line to fit how you work.

Check

Name two things a tech lead does that a micromanager does not.

A tech lead gives a clear goal and checks the result. A micromanager watches every keystroke. Delegate the goal, check the result.

What does Best-of-N mean?

Make 3 to 5 versions of the same feature, then pick the best parts or the best version.

Course intro

Skills, Tools, Who It Is For — and the Paid Subscription

What it is

What it is: Skills you gain: Software Quality Assurance, Software Architecture, Software Development Life Cycle, AI Workflows, AI Orchestration, Software Design, Prompt Engineering, Prompt Patterns, Software Development Methodologies, Software Development, Multimodal Prompts, Artificial Intelligence, Quality Assurance, Software Testing, Generative AI, Automation, Version Control, and Context Engineering. Tools: Claude Code and Generative AI Agents. Who it is for: software engineers, tech leads, and development teams who want AI-assisted coding without losing code quality. Prerequisites: basic software development experience and familiarity with Git.

Why it matters

Why it matters: You need to know what you are signing up for, and what you already need. If Git is new to you, practise git add, commit, and branch first. The rest of the course builds on that.

IMPORTANT — Paid subscription (read this first)

THIS COURSE REQUIRES A PAID SUBSCRIPTION THAT INCLUDES CLAUDE CODE.

Steps marked [PAID] in this course need Claude Code.
Steps marked [OFFLINE] do not need it. You can practise
[OFFLINE] steps with a text editor, Python, and Git only.

Do not buy anything just to read this course. Read it,
try the [OFFLINE] practice, and only use [PAID] steps
when you have the subscription.

Try it yourself

Check your computer now [OFFLINE]: run python3 --version and git --version in a terminal. Write down the two version numbers.

Check

Does this course need an API key?

No. The offline practice in this course needs no API key. The Claude Code steps need the paid subscription, not an API key you type in.

Who is this course for?

Software engineers, tech leads, and development teams who want AI-assisted coding and still want good code quality.

Module 1 — Scaling Up Software Engineering with Claude Code & Generative AI

AI Labor, Not Autocomplete

What it is

What it is: Treat Claude Code as scalable development labor. That means you give it a job — build a feature, write tests, review code — and it does the job. Autocomplete only finishes your sentence. AI labor does the work while you do the thinking, the plan, and the checking.

Why it matters

Why it matters: If you treat it as autocomplete, you stay the bottleneck. If you treat it as labor, you can run many jobs at once. That is the whole change in this course.

Delegate a job, not a line [PAID] — terminal

claude
# Bad: one line at a time.
#   "write a function to add two numbers"
# Good: a whole job.
#   "Add user login to this app. Use the existing
#    users table. Add a login page, a logout button,
#    and a test that logs in with a test user."

Try it yourself

Write down one job you would delegate today, in one sentence, as a goal — not as code. Example: Add a search box to my notes app.

Check

What does scalable development labor mean?

It means you can give Claude Code more jobs at the same time, like hiring more developers, instead of typing faster yourself.

Why is one function at a time a bad way to use Claude Code?

Because you stay the bottleneck. You copy, paste, and check every small piece, so you gain almost nothing.

Module 1 — Scaling Up Software Engineering with Claude Code & Generative AI

Overcoming Common Fears

What it is

What it is: Many engineers worry: will the code be bad? Will I lose my skill? Will it replace me? The course answer is practical, not a pep talk. You keep control by planning, by giving good context, by checking with tests and rubrics, and by working on branches so bad code never reaches main.

Why it matters

Why it matters: Fear makes you micromanage, and micromanaging kills the gain. A clear process — plan, delegate, test, review, commit on a branch — turns fear into a checklist.

Your fear checklist [OFFLINE] — markdown

# My AI fears, and my answer to each

- Fear: bad code slips in.
  Answer: tests + rubric + review before merge.
- Fear: I will not understand the code.
  Answer: ask Claude Code to explain the diff in 5 lines.
- Fear: it will break main.
  Answer: always work on a feature branch, never on main.

Try it yourself

Write your own top fear about AI coding, then write one concrete answer to it, like the list above.

Check

What is the safest place for AI-written code before it is reviewed?

On a feature branch, not on main. Bad code on a branch is easy to throw away.

How do you keep your own skill while using AI?

You keep the thinking: the plan, the design, the review, and the tests. You delegate the typing.

Module 1 — Scaling Up Software Engineering with Claude Code & Generative AI

The Best-of-N Pattern

What it is

What it is: Best-of-N means: ask Claude Code to make N versions of the same feature — usually 3 to 5 — then compare them and pick the best parts or the best whole version. N is just a number. Best-of-3 is a good start. Do not aim for one perfect solution on the first try.

Why it matters

Why it matters: The first answer is often okay, not best. Different versions show different ideas: one is simpler, one is faster, one handles errors better. Comparing them teaches you the trade-offs, and you end with better code for the same effort.

Best-of-N, offline practice [OFFLINE] — Python, runnable

versions = [
    {"name": "A-simple", "lines": 40, "tests": True, "errors_handled": False},
    {"name": "B-robust", "lines": 70, "tests": True, "errors_handled": True},
    {"name": "C-fast", "lines": 55, "tests": False, "errors_handled": True},
]

def score(v):
    s = 0
    s += 2 if v["tests"] else 0
    s += 2 if v["errors_handled"] else 0
    s += 1 if v["lines"] < 60 else 0
    return s

for v in versions:
    print(v["name"], "score:", score(v))
best = max(versions, key=score)
print("Pick:", best["name"])

Try it yourself

Run the script above. Change the scores so that simple code counts more. Which version wins now?

Check

What does the N in Best-of-N mean?

The number of versions you ask for. Best-of-3 means 3 versions. Best-of-5 means 5 versions.

Why not aim for one perfect solution first?

Because you cannot know what is best until you see the options. Comparing versions shows you the trade-offs.

Module 1 — Scaling Up Software Engineering with Claude Code & Generative AI

Generate Multiple Solutions and Compare

What it is

What it is: Ask for several approaches to the same problem, then compare them on the same points: simple to read, correct, tested, handles errors, fits your project. Keep the best parts. You can mix: take the simple structure from version A and the error handling from version B.

Why it matters

Why it matters: This is how a tech lead works. You do not accept the first draft. You look at options, you ask why one is better, and you choose with reasons you can write down.

Compare 3 versions [PAID] — prompt to use in Claude Code

claude
# "Build the login feature 3 different ways:
#  1) simple, 2) with extra error handling,
#  3) with the fewest files.
#  Then make a table: version, files, tests,
#  errors handled. Tell me which one you recommend
#  and why, in 3 lines."

Try it yourself

Pick a small feature you know. Write the 3 ways you would ask for it, in one line each.

Check

What should you compare versions on?

The same points every time: simple to read, correct, tested, handles errors, and fits your project.

Can you mix versions?

Yes. Take the simple structure from one and the error handling from another. That is cherry-picking the best parts.

Module 2 — Generative AI, Claude Code, & Code Quality

Evaluate Code Quality

What it is

What it is: Code quality means: does it work, is it easy to read, is it tested, does it handle errors, does it fit the project style? You evaluate code before you accept it. You do not accept code because it looks finished.

Why it matters

Why it matters: AI can write code that runs and is still bad: hard to read, no tests, silent failures. A short quality check catches that in minutes. Without it, bad code piles up and costs days later.

Quality checklist [OFFLINE] — markdown

# Quality check (use for every AI change)

- [ ] It runs without errors.
- [ ] Tests exist and pass.
- [ ] I can read it in one pass.
- [ ] Errors are handled, not hidden.
- [ ] No secrets or passwords in the code.
- [ ] It follows the project style.

Try it yourself

Use the checklist on any code you wrote this week. Tick what passes. Write down the first thing that fails.

Check

What is the first quality question to ask?

Does it work, and is it tested? If there is no test, you do not know if it works.

Why is 'it looks finished' not enough?

Because code can run and still be hard to read, untested, or unsafe. Finished-looking is not the same as good.

Module 2 — Generative AI, Claude Code, & Code Quality

Explore Design Options Before Coding

What it is

What it is: Before you write code, ask Claude Code to show 2 or 3 designs for the same feature, with pros and cons. Choose a design, then code. This is cheap: designs are words, code is work.

Why it matters

Why it matters: Changing a design after coding costs hours. Changing a design in a short chat costs minutes. Good teams decide the shape first, then build it.

Ask for designs first [PAID] — prompt

claude
# "Before coding, show me 2 designs for adding
#  search to my notes app: one with a simple list
#  filter, one with a search index. For each, give
#  pros, cons, and files to change. Then recommend one."

Try it yourself

Think of a feature you want. Write two design options for it, with one pro and one con each.

Check

Why explore designs before coding?

Because changing a design in words is cheap, and changing it in code is expensive.

What should each design include?

Pros, cons, and which files would change. That is enough to choose.

Module 2 — Generative AI, Claude Code, & Code Quality

Rubrics and Context

What it is

What it is: A rubric is a short scoring list. Example: correct 3 points, tested 2 points, readable 2 points, handles errors 2 points, follows style 1 point. Total 10. Context is the information Claude Code needs: what the project is, what style to use, what files matter. The tip from the course is simple: the quality of AI code depends on the quality of the context, the evaluation criteria, and the constraints you give.

Why it matters

Why it matters: Without a rubric, 'good' is a feeling. With a rubric, 'good' is a number, and Claude Code can check itself against it. Without context, Claude Code guesses. With context, it fits your project.

Rubric scorer, offline [OFFLINE] — Python, runnable

RUBRIC = {"correct": 3, "tested": 2, "readable": 2, "errors_handled": 2, "style": 1}

def score_code(checks):
    """checks: dict like {'correct': True, 'tested': False, ...}"""
    total = 0
    for key, points in RUBRIC.items():
        if checks.get(key):
            total += points
    return total

print(score_code({"correct": True, "tested": True, "readable": True, "errors_handled": False, "style": True}))
print("Pass mark: 8 out of 10")

Try it yourself

Run the script. Change one check to False. What is the new score? Does it still pass 8 out of 10?

Check

What is a rubric?

A short scoring list that says what good means, with points for each part.

What three things decide the quality of AI code?

The context you give, the evaluation criteria (rubric), and the constraints you set.

Module 2 — Generative AI, Claude Code, & Code Quality

Rapid Prototyping

What it is

What it is: A prototype is a quick, rough version you build to learn, not to ship. With Claude Code you can build several prototypes in minutes, try them, and throw away the bad ones. That is the point: learn fast, commit late.

Why it matters

Why it matters: Prototypes answer questions you cannot answer by thinking: does this UI feel right? Is this flow too long? You learn in minutes instead of arguing for days.

Prototype in one prompt [PAID] — prompt

claude
# "Build a quick prototype of a recipe app: one page,
#  a list of 3 recipes, a search box. No database yet.
#  This is a throwaway prototype to test the layout."

Try it yourself

Name one thing you would prototype before building it properly. Write one sentence saying what you want to learn from it.

Check

What is a prototype for?

To learn fast. You build a rough version, try it, and throw it away if it is wrong.

When should you throw a prototype away?

When it taught you what you needed. Do not ship a prototype as if it were finished code.

Module 2 — Generative AI, Claude Code, & Code Quality

Prompt Constraints

What it is

What it is: A constraint is a clear limit you set in the prompt. Examples: use only these files, do not add new libraries, keep each function under 30 lines, always add a test, never store passwords in plain text. Constraints stop Claude Code from doing extra work you did not ask for.

Why it matters

Why it matters: Without constraints, AI adds features, files, and libraries you did not want. With constraints, it stays inside the job. Good constraints are short and checkable.

Constraints template [OFFLINE] — markdown

# Constraints for this task

- Only change these files: app.py, test_app.py
- Do not add a new library.
- Each function: under 30 lines.
- Every new function: one test.
- No passwords or secrets in the code.

Try it yourself

Write 3 constraints for your next task. Make each one checkable: you must be able to say yes or no to it.

Check

What is a prompt constraint?

A clear limit in the prompt, like 'only change these files' or 'always add a test'.

Why keep constraints short and checkable?

Because a long, vague rule is ignored. A short rule you can check is followed.

Module 3 — Building Process & Context in Claude Code

Guide Claude Code with Context

What it is

What it is: Context is everything Claude Code needs to know to do the job well: what the project does, how it is built, what style to use, what not to touch. You guide it by giving context once, in a file, instead of repeating it in every prompt.

Why it matters

Why it matters: Every prompt without context is a guess. Good context turns guessing into fitting in. It is the difference between code that looks right and code that belongs in your project.

Context checklist [OFFLINE] — markdown

# Context to give, every time

- What the project is, in 2 lines.
- How to run it: python app.py
- How to test it: python -m pytest
- Style: short functions, clear names.
- Do not touch: the database file, the secrets file.

Try it yourself

Write the context for one of your projects in 5 lines, using the list above.

Check

What is context, in one sentence?

The information Claude Code needs to do the job well: what the project is, how it runs, and what style to use.

Why give context once in a file instead of in every prompt?

So you do not repeat yourself, and so every answer uses the same context.

Module 3 — Building Process & Context in Claude Code

CLAUDE.md — Project Context on Autopilot

What it is

What it is: CLAUDE.md is a file in your project that Claude Code reads automatically. It holds the project context: what the project is, how to build and test it, the code style, and the rules. Once it is written, onboarding is on autopilot: Claude Code knows the project from day one, without you explaining it each time.

Why it matters

Why it matters: This is the single most useful file in the course. A good CLAUDE.md saves you hundreds of repeated prompts. A missing CLAUDE.md means Claude Code guesses your style every time.

CLAUDE.md — copy this template [OFFLINE] — markdown, runnable as a file

# My Project

A small notes app in Python. Users add, list, and delete notes.

## How to run

- Run: python app.py
- Test: python -m pytest

## Style

- Short functions, clear names, one job per function.
- Always add a test for a new function.
- Use only the Python standard library.

## Rules

- Do not change the database file format.
- Do not add a new library without asking.
- Never put a secret in the code.

Try it yourself

Create a file called CLAUDE.md in a practice project and paste the template. Change the project lines to match your project.

Check

What is CLAUDE.md?

A file in your project that Claude Code reads on its own, holding the project context, style, and rules.

What does 'onboarding on autopilot' mean?

Claude Code knows the project from day one, without you explaining it in every prompt.

Module 3 — Building Process & Context in Claude Code

Give Feedback Effectively

What it is

What it is: Good feedback is specific and points to the result, not the person. Bad feedback: 'this is wrong.' Good feedback: 'the login test fails because the password check is missing. Add the check and run the test again.' You also tell Claude Code what was good, so it repeats it.

Why it matters

Why it matters: AI learns from your feedback in the conversation. Vague feedback gives vague fixes. Specific feedback gives a fix you can test. This is the feedback loop that makes the code better each round.

Feedback template [OFFLINE] — text

Good feedback has 3 parts:
1. What happened: 'The test test_login fails.'
2. Why it matters: 'Users can log in with a wrong password.'
3. What to do: 'Add the password check, then run the test.'

Bad feedback: 'This is wrong. Fix it.'

Try it yourself

Take a piece of code you did not like. Rewrite your feedback using the 3 parts above.

Check

What are the 3 parts of good feedback?

What happened, why it matters, and what to do next.

Why is 'this is wrong' bad feedback?

Because it says nothing about what is wrong or how to fix it. Claude Code has to guess.

Module 3 — Building Process & Context in Claude Code

Reusable Commands and a Command Library

What it is

What it is: A command is a saved prompt you can run again with one short name. A command library is a set of them: /review for a code review, /build-feature for a new feature, /test for a test suite. In Claude Code they live in .claude/commands/ as markdown files. One command compresses a long workflow into a single prompt.

Why it matters

Why it matters: Without commands, you rewrite the same long prompt every time, and each time is slightly different. With commands, the workflow is the same every time, so the result is consistent and you save time.

Command library [OFFLINE] — markdown files in .claude/commands/

# File: .claude/commands/review.md

Review the changed code. Check: tests pass, no secrets,
clear names, errors handled. List each problem with
the file and line number. Do not fix anything yet.

# File: .claude/commands/build-feature.md

Build the feature in $ARGUMENTS. Follow CLAUDE.md.
Add tests. Run the tests. Report what changed.

# File: .claude/commands/test.md

Write tests for the changed code. Cover the happy
path and one error case. Run them and report the result.

Try it yourself

Create the folder .claude/commands/ in a practice project. Save one command file from above. Change one line to fit your project.

Check

What is a Claude Code command?

A saved prompt you run with one short name, like /review, instead of typing the whole prompt again.

Why build a command library?

So a long workflow is the same every time, and you save time and get consistent results.

Module 3 — Building Process & Context in Claude Code

Claude Code as a New Team Member — Repeatable Workflows

What it is

What it is: Think of Claude Code as a new team member. A new team member needs context (CLAUDE.md), a process (commands), feedback (specific, kind, checkable), and a review before their work is merged. A repeatable workflow is the same steps every time: plan, build, test, review, commit.

Why it matters

Why it matters: If you treat AI as a tool you use once, you get one-off results. If you treat it as a team member with a process, you get consistent, scalable results. That is how you scale from one feature to many.

Repeatable workflow [OFFLINE] — markdown

# My workflow, every time

1. Plan: goal, files, tests, done-when (5 lines).
2. Build: run /build-feature with the plan.
3. Test: run the tests. If they fail, fix the prompt.
4. Review: run /review. Fix what it finds.
5. Commit: on a feature branch, with a clear message.

Try it yourself

Write your own 5-step workflow. Keep it short enough to remember without looking.

Check

What would a new team member need to do good work?

Context, a clear process, good feedback, and a review before merging.

What is a repeatable workflow?

The same steps every time: plan, build, test, review, commit.

Module 4 — Version Control & Parallel Development with Claude Code

Why Version Control Makes AI Safer

What it is

What it is: Version control (Git) keeps a history of your code. Every change is a commit you can undo. Every feature lives on its own branch until it is ready. That makes AI work safer: if Claude Code writes bad code, you throw away the branch. Main stays clean.

Why it matters

Why it matters: Without Git, AI code goes straight into your only copy. One bad change can break everything, and you cannot go back. With Git, every AI change is reversible. That safety is what lets you move fast.

Check your safety net [OFFLINE] — bash, runnable

git status
 git log --oneline -5
 git branch --show-current
# You should see: a clean status, recent commits,
# and that you are NOT on main while testing AI code.

Try it yourself

Run the 3 commands above in one of your projects. Are you on main or on a feature branch? Write down the answer.

Check

Why does Git make AI work safer?

Because every change is a commit you can undo, and bad code on a branch never has to reach main.

What happens if Claude Code writes bad code on a branch?

You throw the branch away. Main stays clean. Nothing is lost.

Module 4 — Version Control & Parallel Development with Claude Code

Feature Branches and Clear Commit Workflows

What it is

What it is: A feature branch is a copy of the code where you build one feature. A clear commit workflow is: small commits, one job per commit, a message that says what and why. Example branch name: feature/add-search. Example commit message: Add search box to notes list.

Why it matters

Why it matters: Branches keep features separate, so two features do not break each other. Clear commits make the history readable, so you (and Claude Code) can see what changed and why, and undo one change without undoing everything.

Branch and commit workflow [OFFLINE] — bash, runnable

git checkout -b feature/add-search
# ... build the feature, run the tests ...
git add -A
git commit -m "Add search box to notes list"
git checkout main
git merge feature/add-search

Try it yourself

Practise the commands above in a test project (not a real one). Make one small change, commit it, and merge it back.

Check

What is a feature branch?

A copy of the code where you build one feature, separate from main and from other features.

What makes a good commit message?

One job per commit, and a message that says what changed and why.

Module 4 — Version Control & Parallel Development with Claude Code

Git Worktrees

What it is

What it is: A git worktree is a second copy of your project on your computer, linked to the same Git history, but on a different branch. That lets you work on two branches at the same time, in two folders, without switching back and forth. Claude Code can work in one worktree while you work in another.

Why it matters

Why it matters: Switching branches stops your work: you stash, switch, rebuild, and lose your place. Worktrees remove that. Parallel work becomes normal, not painful.

Worktrees [OFFLINE] — bash, runnable in a test repo

git worktree add ../my-app-search feature/add-search
 git worktree add ../my-app-login feature/add-login
 git worktree list
# Two folders, two branches, one Git history.
# When done: git worktree remove ../my-app-search

Try it yourself

In a test repo, list your worktrees with git worktree list. Write down how many you have (0 is fine to start).

Check

What is a git worktree?

A second copy of your project folder, on a different branch, sharing the same Git history.

Why use worktrees instead of switching branches?

So you can work on two branches at the same time without stashing, switching, and losing your place.

Module 4 — Version Control & Parallel Development with Claude Code

Subtasks

What it is

What it is: A subtask is one small piece of a bigger feature. Instead of 'build login', you split it: 1) add login page, 2) check password, 3) add logout, 4) add test. Each subtask is small enough to finish, test, and review on its own.

Why it matters

Why it matters: Big tasks fail in the middle and you do not know where. Small tasks finish one by one, so you see progress, you test early, and a failure is small and easy to fix.

Split a feature into subtasks [OFFLINE] — markdown

# Feature: Add login

Subtasks:
1. Add a login page with email and password fields.
2. Check the password against the users file.
3. Add a logout button.
4. Add a test: login with a wrong password must fail.

Try it yourself

Pick a feature you want. Split it into 4 subtasks, each one small enough to test on its own.

Check

What is a subtask?

One small piece of a bigger feature, small enough to finish, test, and review alone.

Why split a big feature into subtasks?

So you see progress, test early, and a failure stays small and easy to fix.

Module 4 — Version Control & Parallel Development with Claude Code

Subagents and Parallel Development

What it is

What it is: A subagent is a Claude Code agent that works on its own job, in its own branch or worktree, while you do other work. Example: one subagent builds search, another builds login, a third writes tests. When they finish, Claude Code merges and integrates their work. You focus on architecture, not on typing.

Why it matters

Why it matters: One agent does one thing at a time. Many agents do many things at the same time. That is how you scale. The key is integration: someone — you, or a main Claude Code agent — must check and merge the pieces, or you get 3 good parts that do not fit together.

Parallel work plan [PAID] — prompt

claude
# "Work in parallel: subagent 1 builds search on
#  branch feature/add-search. Subagent 2 builds
#  login on branch feature/add-login. When both
#  are done, merge them into main, run the tests,
#  and report any conflicts."

Try it yourself

Write a parallel plan for 2 features you know. Name the 2 branches and who does what.

Check

What is a subagent?

A Claude Code agent that works alone on its own job, in its own branch, while you do other work.

Who checks that the parallel pieces fit together?

You, or a main agent that merges and integrates them. Without that step, good parts may not fit.

Module 5 — Improving Claude Code Scalability & Reasoning

Improve Feedback Loops

What it is

What it is: A feedback loop is: Claude Code does something, you (or a test, or a rubric) check it, you give feedback, it tries again. A short loop — check after every small step — is better than a long loop — check only at the end, when 10 things are wrong at once.

Why it matters

Why it matters: Long loops waste tokens and time. Short loops catch a mistake when it is still small. That is how you scale: many small, checked steps, not one giant unchecked step.

Short feedback loop [OFFLINE] — text

Long loop (bad):
  Build the whole app -> test at the end -> 10 errors.
Short loop (good):
  Build one function -> test it -> fix it -> next function.

Try it yourself

Think of your last coding task. Where would a short check after each step have saved you time? Write one line.

Check

What is a feedback loop?

Do something, check it, give feedback, try again. Then repeat.

Why is a short loop better than a long loop?

Because it catches a mistake while it is still small, before it grows into 10 errors.

Module 5 — Improving Claude Code Scalability & Reasoning

Planning Before Coding

What it is

What it is: Planning means writing down, before coding: the goal, the files to change, the steps in order, and how you will know it is done. A good plan is 5 to 10 lines. Claude Code follows a plan far better than it follows a vague wish.

Why it matters

Why it matters: Without a plan, Claude Code invents steps, changes files you did not want, and stops halfway. With a plan, it has a map. You can also check the plan before any code exists, which is cheap.

Plan template [OFFLINE] — markdown

# Plan: Add search to notes app

Goal: find a note by typing part of its title.
Files: app.py, test_app.py
Steps:
1. Add a search box to the page.
2. Filter the list as I type.
3. Add a test: search 'milk' finds the milk note.
Done when: the test passes and the list filters.

Try it yourself

Write a plan for a small feature using the template above. Keep it under 10 lines.

Check

What should a plan include?

The goal, the files to change, the steps in order, and how you will know it is done.

Why check the plan before the code?

Because a bad plan is cheap to fix in words, and expensive to fix in code.

Module 5 — Improving Claude Code Scalability & Reasoning

When to Step In — Hands, Eyes, and Ears

What it is

What it is: Sometimes Claude Code cannot do a step alone: it cannot see your screen, it cannot click a button, it cannot know a password, it cannot decide a business rule. Then you step in as its hands, eyes, and ears: you run the app, you look at the screen, you tell it what you see, you type the secret it must not store.

Why it matters

Why it matters: If you never step in, Claude Code guesses at things it cannot see, and the guess is often wrong. If you step in too much, you are back to micromanaging. The skill is knowing which steps need a human.

Hands, eyes, ears checklist [OFFLINE] — markdown

# When I step in

- Hands: I run the app, click the button, copy the error.
- Eyes: I look at the screen and describe what I see.
- Ears: I tell it the business rule it cannot know.
- Never: I do not type a real password into a prompt.

Try it yourself

Write one step from your work that only a human can do. Write one step that Claude Code can do alone.

Check

What does 'hands, eyes, and ears' mean?

You do the physical steps Claude Code cannot: run the app, look at the screen, and tell it what you see and what the rule is.

When should you step in?

When Claude Code cannot see, click, or know something — like a screen, a button, or a business rule.

Module 5 — Improving Claude Code Scalability & Reasoning

Make It Check Its Own Work

What it is

What it is: After building, ask Claude Code to check its own work: run the tests, read the diff, score it with the rubric, and list what is wrong before you look. This is self-checking. It is not perfect, but it catches the easy mistakes so your review can focus on the hard ones.

Why it matters

Why it matters: If you are the only checker, you are the bottleneck again. If Claude Code checks first, you review a cleaner result, and you teach it what good looks like.

Self-check prompt [PAID] — prompt

claude
# "Before I review, check your own work: run the
#  tests, read the diff, score it with the rubric
#  in CLAUDE.md, and list every problem you find.
#  Fix the easy ones, then report the rest."

Try it yourself

Write a self-check prompt for your next task in 3 lines: run tests, score with rubric, list problems.

Check

What is self-checking?

Asking Claude Code to test, review, and score its own work before you look at it.

Why does self-checking help you?

Because it catches the easy mistakes first, so your review can focus on the hard ones.

Module 5 — Improving Claude Code Scalability & Reasoning

Design for Token Limits — Structure, Files, Naming

What it is

What it is: Claude Code reads your code as tokens — small pieces of text. Every project has a token limit: how much it can read at once. If your files are huge, your names are unclear, and your structure is messy, Claude Code wastes tokens reading the wrong things. Good design — small files, clear names, one job per file — makes every token count.

Why it matters

Why it matters: Token limits are the real limit on AI scale. A well-designed codebase lets Claude Code work on a big project. A messy codebase makes it slow, confused, and expensive, even for a small change.

Token-friendly design [OFFLINE] — Python, runnable

# Good: one job per file, clear names.
# Check a file: count lines, warn if it is too long.
from pathlib import Path

for p in Path(".").glob("*.py"):
    lines = len(p.read_text().splitlines())
    flag = "TOO LONG - split it" if lines > 300 else "ok"
    print(p.name, lines, "lines:", flag)

Try it yourself

Run the script in a practice folder. Which file is longest? Would you split it?

Check

What is a token limit?

How much text Claude Code can read at once. Big, messy files use it up fast.

How does good design help with token limits?

Small files, clear names, and one job per file mean Claude Code reads less and understands more.

Module 6 — Multimodal Prompting & Process

Multimodal Prompting from Sketches

What it is

What it is: Multimodal prompting means giving Claude Code more than words: an image, a sketch, a photo of a whiteboard, a screenshot. You draw what you want, and Claude Code turns the picture into code. A sketch can say in seconds what 500 words cannot.

Why it matters

Why it matters: Some ideas are visual: a layout, a flow, a dashboard. Describing them in words is slow and unclear. A sketch is clear at once, so Claude Code builds the right thing the first time.

Sketch to prompt [OFFLINE] — text

How to use a sketch:
1. Draw the page on paper: boxes for header, list, button.
2. Take a clear photo of it.
3. In Claude Code, attach the photo and write:
   'Build this page. Keep the layout in the sketch.
    Use the same boxes and buttons.'

Try it yourself

Draw a simple app page on paper: a header, a list, and one button. Label each box in 2 words.

Check

What is multimodal prompting?

Giving Claude Code pictures as well as words — a sketch, a photo, or a screenshot.

Why is a sketch sometimes better than words?

Because a layout is visual. A sketch shows it in seconds; words take long and stay unclear.

Module 6 — Multimodal Prompting & Process

Turn a Whiteboard into UI and Architecture

What it is

What it is: After a whiteboard session, you have boxes, arrows, and notes. You photograph the board, give it to Claude Code, and ask for the UI components and the architecture it shows: which pages, which parts, how data flows. Claude Code turns the drawing into a plan and then into code.

Why it matters

Why it matters: Whiteboards are where teams think. If that thinking stays on the wall, it is lost. Turning it into code in minutes keeps the idea alive and makes the next step obvious.

Whiteboard to architecture [PAID] — prompt

claude
# Attach a photo of the whiteboard.
# "Turn this drawing into an architecture plan:
#  list the pages, the parts on each page, and how
#  data flows between them. Then build the first page."

Try it yourself

Think of a whiteboard drawing you have seen. List 3 boxes from it and what each box would become in code.

Check

What can Claude Code make from a whiteboard photo?

A plan first — pages, parts, data flow — then the code for the first page.

Why photograph the board instead of retyping it?

Because retyping loses the drawing, and the drawing is the idea. A photo keeps it.

Module 6 — Multimodal Prompting & Process

Refine Process and Context

What it is

What it is: When a result is weak, do not just try again with the same prompt. Improve the process: add a step, add a check, add context to CLAUDE.md, add an example. A better process gives better results every time, not just once.

Why it matters

Why it matters: One good prompt helps once. A good process helps every time. That is the difference between a trick and a workflow.

Process fix list [OFFLINE] — markdown

# When the result is weak, improve:

- [ ] Context: add the missing fact to CLAUDE.md.
- [ ] Example: add one good example of the style.
- [ ] Step: add a check step before the build.
- [ ] Constraint: add one clear limit.
- [ ] Rubric: add the scoring list.

Try it yourself

Pick a weak result you got from AI before. Which item on the list would have helped most? Write one line.

Check

What is the difference between a trick and a workflow?

A trick helps once. A workflow — a better process — helps every time.

Name 3 things you can improve instead of the prompt itself.

Context, an example, and a check step. Or a constraint and a rubric.

Module 6 — Multimodal Prompting & Process

When It Misses — Fix Prompt, Context, or Process First

What it is

What it is: The course tip is clear: when Claude Code misses the mark, start by improving the prompt, the context, or the process — before editing the code yourself. Editing the code by hand fixes one file. Fixing the prompt fixes the cause, so the next 10 files are right too.

Why it matters

Why it matters: Hand-editing is tempting because it is fast once. But if the prompt is wrong, the next answer will be wrong again. Fix the cause, not the symptom.

Fix-the-cause checklist [OFFLINE] — text

When Claude Code misses:
1. Prompt: was the goal clear? Rewrite it in 2 lines.
2. Context: was a fact missing? Add it to CLAUDE.md.
3. Process: was a check missing? Add a test or rubric step.
4. Only then: edit the code by hand, and write down
   what you changed so the prompt learns from it.

Try it yourself

Think of a time AI code was wrong. Which step — prompt, context, or process — was the real cause? Write one line.

Check

What should you fix first when Claude Code misses?

The prompt, the context, or the process — in that order — before editing the code by hand.

Why not edit the code by hand first?

Because hand-editing fixes one file. Fixing the prompt fixes the cause, so the next files are right too.

Capstone — Final Project

Build a Complete Small App with Claude Code

What it is

What it is: Your final project: build a complete small app with Claude Code — or offline with the same prompts and commands. It must have: a working feature, tests, a code review, documentation, and parallel subagents that built different parts and were merged together. This is the whole course in one project.

Why it matters

Why it matters: A course you only read is forgotten. A course you build is kept. This capstone is your proof: you can plan, delegate, check, and merge AI work into a real app.

Capstone plan [OFFLINE] — markdown

# Capstone: My notes app, built with AI

- Feature: add, list, search, and delete notes.
- Branches: feature/add-search, feature/add-delete.
- Subagents: one per branch, then merge.
- Tests: 3 tests, all passing.
- Review: run /review, fix what it finds.
- Docs: README with how to run and test.
- Demo: 3-minute run-through for a friend.

Try it yourself

Start your capstone today: write the plan above for your own app idea, in your own words, in 10 lines.

Check

What must the capstone include?

A working feature, tests, a code review, documentation, and parallel subagents merged together.

How long should the demo be?

3 minutes: show it running, show the tests passing, and say what you learned.

Try delegating like a tech lead here

Type a feature request. This demo is a simulation in your browser — no Claude Code, no server, no API key. It shows the flow: big prompt, Best-of-N, rubric, chosen version, tests, review.

Press Delegate it to see the flow.

Final checklist

Tick each one when you can do it without looking:

  • Write a big prompt that builds a whole feature.
  • Use Best-of-N with 3 versions and pick the best.
  • Score code with a rubric.
  • Write a CLAUDE.md for a project.
  • Build a command library with /review, /build-feature, and /test.
  • Work on a feature branch and merge it cleanly.
  • Use a git worktree for parallel work.
  • Split a feature into subtasks.
  • Run subagents in parallel and merge their work.
  • Turn a sketch into a UI with multimodal prompting.

What to do next

Next in this repo: Prompt Engineering, then Trustworthy AI. Keep your CLAUDE.md, your command library, and your personal process — they are the toolkit you take to your next project.