Review the agent's work, then automate it
An agent that reports everything is tested has not necessarily checked what matters for your product. This lesson teaches you to review a change delivered by Claude Code methodically, get an independent second look, decide whether to merge, fix or reject, and spot which parts can be handed to an automated review.
Lesson objective
By the end of this lesson, you will be able to review a change produced by Claude Code with a checklist (scope, tests, secrets, migrations, dependencies), add an independent review in a fresh context, decide to merge, fix or reject, and know when to automate part of the review in non-interactive mode or in GitHub Actions.
Topics covered
- code review
- reviewing an agent's work
- Claude Code
- GitHub Actions
- review checklist
In the glossary
Where it fits
Review, automate and deliver your set-up
How do I know the agent's work is good before it ships, and install the whole set-up on my repository?
Lessons in this module
- Review the agent's work, then automate it (this lesson)
- Workshop: your way of working on your repository
- Exit kit and application plan
What you will learn in this module
This lesson is part of the course Work with Claude Code on a real project: context, planning, review
- Explain what fills Claude Code's context window and manage it (/context, /clear, /compact, resuming and naming sessions), taking cost into account.
- Write a short, useful CLAUDE.md placed at the right level of the hierarchy (user, project, local, subdirectory, path-scoped rules), with imports if needed.
- Run a task on existing code as explore, plan, code, commit, with plan mode, verification criteria and Git rather than checkpoints alone.
- Choose and justify the right mechanism for a need (CLAUDE.md, skill or command, subagent, MCP server, hook) and set it up in the repository.
- Choose a permission mode and write allow, ask and deny rules suited to the project's risks, in the right settings file.
- Write simple hooks as deterministic guardrails (block, format, verify) and know their risks and limits.
- Review the agent's work with a checklist (scope, tests, secrets, migrations, dependencies) and an independent review, and know when to automate it in non-interactive mode or in GitHub Actions.
Related courses
- AI & DevelopmentJuniorSome basics are useful: introductory knowledge of the topic.
Build and ship a web app with an AI coding agent
2 hr 45 min
- AI & DevelopmentAdvancedRegular practice: you already use the tools or work on this topic.
Add a database, authentication and payments to your app
4 hr
- Product ManagementAdvancedRegular practice: you already use the tools or work on this topic.
Git for PMs: ship as a team without putting production at risk
3 hr 30 min