Team practices for AI-assisted coding
Course contents (20 lessons)
- Meet Claude Code
- What Claude Code is and how it differs from a chat window
- Installing Claude Code and signing in
- Your first session: explore, ask, change
- Asking well and staying in control
- Asking for changes: context, goal, constraints and acceptance criteria
- Reading and approving edits
- Permission modes: how much freedom to give
- Project memory and slash commands
- CLAUDE.md: teaching the tool about your project
- Slash commands and custom commands
- Everyday coding workflows
- The plan-first workflow
- Understanding unfamiliar code
- Debugging with Claude Code
- Refactoring safely
- Writing tests with Claude Code
- Git, small changes, cost and security
- Git workflows: branches, commits and pull request descriptions
- Keeping changes small and reviewable
- Context and cost awareness
- Security habits: secrets, commands and untrusted input
- Extending the tool, teamwork and a final project
- Hooks and MCP servers explained
- Team practices for AI-assisted coding
- Final project: building a small app step by step
The tool changes the team, not just the person
When one developer uses an AI coding tool, the effect is mostly personal. When a whole team does, it affects how code is reviewed, how knowledge is shared and what quality means. Teams that agree on a few simple rules get good results. Teams that do not end up with inconsistent code and arguments in pull requests.
Share the setup
Several files can be committed to the repository so that everyone starts from the same place:
- The project memory file, CLAUDE.md, with commands, conventions and traps.
- Shared custom commands, such as a review prompt and a test-writing prompt.
- Shared project settings, such as which safe commands are allowed and which paths must not be read.
Treat these as code. They go through pull requests and get reviewed. A change to the shared settings file can change what runs on every developer's machine, so it deserves a careful look.
Agree on ownership
The simplest rule is the most important: the person who submits the change owns it, however it was written. That means:
- You must understand every line you submit.
- You answer review questions yourself.
- You are responsible for tests, security and documentation.
"The tool did it" is not an acceptable explanation for a bug, in the same way that "the autocomplete did it" never was.
Review standards
AI-assisted changes should meet the same bar as any other, and some reviewers ask for a little more:
- Small, focused pull requests. Large generated diffs are returned for splitting.
- Tests that actually fail without the change.
- No unrelated reformatting.
- No new dependencies without a reason.
- An honest description of what changed and how it was tested.
Some teams ask authors to say in the pull request when AI help was used for a large part of a change, so that reviewers know where to look harder. Whether you do that is a team decision. Make it explicitly, once.
Review this branch as a teammate would before approving a pull request. Use our review checklist: scope, tests that can fail, error handling, security, naming that matches our conventions, and a clear description. Give a verdict for each item with file and line evidence, and a short list of things I should fix before asking a human to review.
Why it works
It uses the tool as a pre-review before a human spends time. It names the team checklist, so the result is not generic. And it makes the author fix the easy problems first, which respects reviewers' time. It does not replace the human review.
Onboarding new people
A good project memory file helps new developers as much as it helps the tool, because it contains the commands and traps that are usually passed on by word of mouth. New teammates can also use the tool for guided exploration, with the tour and trace prompts from earlier lessons, and ask questions they might be too shy to ask a person. But make sure they still talk to colleagues, since the tool does not know why decisions were made.
Share what works
Keep a short page or channel where people post prompts and habits that worked, and mistakes to avoid. A five-minute demo in a team meeting is often better than a document. Over time, good ideas get promoted into the shared commands and CLAUDE.md.
Protect learning
If a junior developer lets the tool write everything, they may ship quickly and learn slowly. Give them a way to build skill: ask them to explain the code in review, to write the plan themselves before asking the tool for one, and to do some tasks by hand. I think this matters for the long term more than any tool feature.
Know the limits of your rules
- Check your company policy on tools, code sharing and data. Some projects contain customer data or regulated code.
- Check the licences of your dependencies and of any code the tool suggests to copy.
- Decide what the tool may do in shared environments. A good default is that it never touches shared test servers or production.
Measure honestly
Do not judge the tool by lines of code produced. Look at things that matter: time from idea to merged change, bugs found after release, how long reviews take and how people feel about their work. If review times are rising and bugs are increasing, the team is going faster than it can check.
The common mistake
The common mistake is leaving everyone to invent their own approach, with no shared files and no review rules. Two weeks later, there are three styles of code, five different test patterns and a pull request nobody wants to review. Agree on a short set of rules and write them in the repository.
Try it yourself
Draft a one-page team guide with: what goes in CLAUDE.md, which commands are shared, the ownership rule, the pull request size limit and the disclosure rule. Share it with one colleague and ask them what is missing. Revise it and put it in the repository.
This course is free to read. Create a free account to enrol, save your progress and pick up where you left off.
Sign up free I already have an account