Bonus: A Week With an Agent
Walk through a realistic week with Quill, measure wait time and review time per task, adopt the conventions that make agent work reviewable by anyone, and name the five anti-patterns and their fixes.
Before this: L5 Reviewing an agent's diff
- Describe a realistic week of agent-augmented work, task by task.
- Measure the two numbers that show whether the agent is helping: wait time and review time.
- List the team conventions that make agent work reviewable by anyone.
- Name the five anti-patterns and their fixes.
- Explain the practice to a skeptical senior engineer and to a product owner.
Why this matters
Nadia stops by Omar's desk on a Friday. "Is Quill making the team faster? I need to say something in the planning meeting." Omar has a feeling. The feeling is yes, mostly, except for that Tuesday with the orders refactor. A feeling is not something Nadia can put on a slide. Jun has something better. For every task this week he wrote down two numbers: minutes spent waiting while Quill worked, and minutes spent reading what Quill made. For CR-110, the low-stock badge, the numbers were four and six. For the first attempt at CR-111, the async/await refactor, they were forty and ninety, and the diff was thrown away. The numbers say yes for small, well-briefed work and no for a big task sent in one message. This lesson is about producing those numbers every week.
1. Monday to Friday
Every lesson so far zoomed in on one moment: a brief, a plan, a hook, a review. This section zooms out to a full week, so you can see how the verbs fit together. Each day leans on one verb more than the others, and the week as a whole cycles through all three.
| Day | Task | Leans on | Sessions |
|---|---|---|---|
| Monday | CR-110, the low-stock badge | Brief | 1 |
| Tuesday | CR-111, orders to async/await, steps 1 and 2 | Drive | 2 |
| Wednesday | CR-111, steps 3 and 4 | Drive, then Review | 2 |
| Thursday | A gift card bug, failing test first | Review | 1 |
| Friday | /release-notes v2.5, then the week's numbers | Brief | 1 |
Monday is a Brief day. Omar writes an eight-line task brief for CR-110: the goal, the definition of done (the badge appears when stock is under 5, a Vitest test proves it, make test is green), what not to touch, and how to verify. Quill finishes in one session. Jun reviews with the checklist and finds nothing.
Tuesday and Wednesday are Drive days. CR-111 is the refactor that went wrong in L3. This time Omar starts in plan mode, edits the plan to keep the public API, and splits it into four steps. Each step gets a fresh session with /clear and ends with make test green. Two steps on Tuesday, two on Wednesday.
Thursday is a bug. A customer's gift card balance shows one cent off after a partial refund. Omar asks Quill for a failing test before any fix. The test fails, the fix is three lines, and the test passes. Jun's review takes four minutes.
Friday is the release-notes skill run from L2, one command, and then twenty minutes with Jun looking at the week's numbers.
2. Two numbers
Wait time is the number of minutes the agent is working while you are idle: not reading, not writing, waiting. Review time is the number of minutes you spend reading the agent's diff and deciding what to do with it. Both are easy to record. Note the time you send the task, the time the diff arrives, and the time you finish reviewing.
The two numbers answer two different questions. Wait time answers "are the tasks the right size?" Review time answers "is the brief good enough?"
When wait time exceeds review time, the task is too big. A task that takes forty minutes of agent work and ten minutes of review means you sat idle for most of an hour, and the diff was probably large enough to hide problems. Split it, using the task sizing rules from L3.
When review time exceeds the time it would take to write the change yourself, the brief is missing something. The agent did not know a convention, a boundary, or a test location, and you paid for that gap in reading time. Find the mistake, and add the line that prevents it, using the rule-the-agent-breaks test from L1.
3. Team conventions
A team convention is an agreement that makes one person's agent work readable by another person. Without conventions, Omar's Quill session is a private thing that only Omar can review. With them, Jun can pick up any PR, from any engineer, and know where the brief is, what was asked, and what to check.
Six conventions cover most of it:
- The brief is committed.
CLAUDE.mdlives in the repository root, under version control. Everyone's Quill reads the same brief. A change to the brief is a reviewed change. - Skills are committed.
.claude/skills/release-notes/SKILL.mdand its siblings are in the repo, so the Friday release notes come out the same whether Omar or Jun runs the command. - Settings are in the repo.
.claude/settings.json, with its allow, ask, and deny rules and its hooks, is committed. A guardrail that lives only on one laptop protects one laptop. - The checklist is in
docs/.docs/review-checklist.mdfrom L5 is the file every reviewer uses, and the file the agent self-reviews against. - PR descriptions separate asked from done. Two headings: "What was asked" (the task brief, pasted) and "What was done" (the agent's summary, treated as a claim). A reviewer reads the gap between them first.
- One task per PR. A PR that closes two change requests is two reviews tangled together. Split the task, split the PR.
4. Five anti-patterns
An anti-pattern is a habit that feels productive and reliably makes things worse. Each of these five appeared somewhere in this course, and each has a fix and a lesson that teaches it.
| Anti-pattern | What it looks like | The fix | Lesson |
|---|---|---|---|
| The walk-away prompt | "Fix the flaky test," then coffee | A definition of done; watch the first three actions | L0, L3 |
| The 900-line brief | The whole README pasted into CLAUDE.md | The rule-the-agent-breaks test; prune to what the code cannot show | L1 |
| The argue-with-it session | Correcting the same mistake for the fourth time | Restart with the lesson added to the brief | L3 |
| The trust-the-green-checks review | "Tests pass, looks good, merge" | The stranger rule; read the tests first | L5 |
| The shared checkout | Two sessions editing one working tree | One worktree per session | L3 |
5. Talking to Jun's skeptic and to Nadia
You will need to explain this practice to two kinds of people: a senior engineer who does not trust agent code, and a product owner who wants to know whether it pays. Here is a short script for each. Both lean on the two numbers.
To the skeptical senior engineer. "You are right not to trust it. We do not either. Every diff is reviewed as a stranger's PR with a ten-question checklist, tests first. The agent cannot touch tests/ during a fix, cannot read .env, and asks a named person before editing src/email/, all enforced by hooks in the repo, not by asking nicely. When it makes a mistake, the mistake becomes a test, a hook, or a line in the brief, and it cannot recur. Here are last week's review times per task. Pick one PR and review it yourself."
To Nadia. "For tasks the size of the low-stock badge, we wait about five minutes and review for about six, and the work is done the same morning. For big tasks sent in one message, it does not pay: the first refactor attempt cost ninety minutes of review and was thrown away. So we split big work into steps that each fit one session. The number to watch is review time per task. If it climbs, the brief is missing something and we fix the brief."
6. What to do next
This course taught the craft inside a session. Two other courses on this platform cover what sits around it.
Spec-Driven Development for Dummies covers the lifecycle: writing a spec before any code, turning it into a failing test, enforcing gates with hooks and a decision log, and producing evidence that an auditor can read. If you liked the hooks in L4 and the finding-to-rule ladder in L5, that course shows the whole chain they belong to.
Building and Evaluating AI Agents covers evals: how to measure whether an agent is doing the right thing across many runs, not one. If your team is building agents rather than only using one, start there.
Summary
- A good week is five small tasks, each with a definition of done and a verb you can name: Brief on Monday, Drive through the split refactor, Review for the bug with a failing test first.
- Record two numbers per task: wait time (agent working, you idle) and review time (you reading). Wait above review means the task is too big; review above writing it yourself means the brief is missing a line.
- Team conventions live in the repository: the brief, the skills, the settings, the checklist in
docs/, PR descriptions that separate asked from done, one task per PR. - The five anti-patterns are the walk-away prompt, the 900-line brief, the argue-with-it session, the trust-the-green-checks review, and the shared checkout; each has a fix and a lesson.
- Skeptics want guardrails and review times; product owners want wait times and turnaround. Bring both numbers to both, and take the table to the next course.
Key terms in this lesson
Check your understanding
Pick an answer to see why it is right or wrong. These are graded in code, instantly.
Apply it
Write your answer in your own words. Eve grades it against a rubric and gives you feedback, the same way an LLM judge works in Lesson 5.
Which of the five anti-patterns have you seen, in your own work or a colleague's? Name it, describe what it looked like, and say what you would change first.
Plan next week for a team you know. List five tasks, say which verb (Brief, Drive, Review) each leans on and why, and describe how you will record wait time and review time for each.
Instructor notes(for whoever is teaching this lesson)
Talking points
- Nadia's question is the thread: "is Quill making the team faster?" Omar has a feeling; Jun has two numbers per task. Ask which answer fits on a slide.
- The week table is the whole course in one view. Name the verb for each day.
- Wait time and review time answer different questions. Wait above review means the task is too big (L3). Review above the time to write it yourself means the brief is missing a line (L1).
- The discarded CR-111 attempt stays in the table. It is the most persuasive number in the week.
- "If it is not in the repo, it is not a convention. It is a habit."
- Each anti-pattern maps to a fix and a lesson.
- Skeptics want guardrails and review times; product owners want wait times and turnaround.
Live demo idea
Take the CR-110 PR from the lesson. Rewrite its description live under "What was asked" and "What was done," and add the two numbers. Then, with a visible timer, send Quill a small task (a one-constant change with a test) and have the class call out when wait time starts and ends. Review the diff with the checklist while the timer runs. Write both numbers next to Jun's table and ask which row they resemble.
Common misconceptions
- "Shorter wait time is always better." A short wait on a huge diff means the agent skipped something. The comparison with review time is what matters.
- "Review time should reach zero once the agent is good." It should fall toward the time to read a small diff carefully. Zero is the trust-the-green-checks review.
- "The anti-patterns are beginner mistakes." The argue-with-it session and the shared checkout are most common among experienced engineers.
- "Conventions are about style." They are about reviewability by someone other than the author. A personal CLAUDE.local.md is fine, but it is not a convention.
- "Nadia needs the same pitch as the skeptic." She needs turnaround and wait time; the skeptic needs guardrails and review evidence.
Timing
Thirty minutes: story and the week table, seven; the two numbers and Jun's table, eight; conventions, five; anti-patterns, five; the two scripts, three; what next, two.
If you only have 20 minutes
Show the week table and name the verb per day (five minutes). Put Jun's numbers on screen and teach the two diagnoses using step 3 and the discarded attempt as the two cases (nine minutes). Close with the anti-pattern table and ask each student to pick the one they have seen (six minutes). Assign sections 3, 5, and 6 as reading.