Skip to main content

Claude Code training for teams: what to teach an engineering team

Give a team Claude Code seats and a few engineers start handing it whole tasks while the rest use it as autocomplete. Training the team means shared context files, planning before the agent writes, tests as the check and permissions agreed in the repo.

5 min read
Read with ClaudeRead with ChatGPTMarkdown

Give an engineering team Claude Code seats and the same thing happens every time. A few engineers start handing it whole tasks. The rest use it as autocomplete with a chat window attached, and quietly decide it’s overrated.

The gap between those two groups is a handful of habits, and every one of them can be taught. Most live in files you can check into the repository, which is why Claude Code training works best for a whole team at once. Here’s what I’d put in it.

Put the team’s knowledge in the repository

Claude Code reads a CLAUDE.md file at the start of every session. It’s where the agent learns how to run the tests, how the project builds, where things live and what it must never touch. Without one, the agent rediscovers your conventions from a few greps every time, and gets some of them wrong.

/init drafts a first version from the codebase. Treat it as a starting point and cut it down, because a long CLAUDE.md costs context on every request and the agent pays less attention to any one line of it.

If your team also uses Codex or Cursor, keep the shared instructions in AGENTS.md, which both of them read, and import it from CLAUDE.md with an @AGENTS.md line. One file, every tool.

Check it into git. The moment it lives in the repository, one engineer’s fix to the instructions helps everybody.

Ask for a plan before the agent writes

The single biggest habit is planning first. Shift+Tab cycles Claude Code into plan mode, where it reads the code and proposes an approach without editing anything. Read the plan, correct it, then let it write.

Compare a typical prompt:

Add rate limiting to the API.

With one that hands over the task properly:

Add rate limiting to the public API routes in src/api. Read AGENTS.md first.
Propose a plan and wait for me before editing anything. Write the failing
test first. Don't touch the auth middleware.

The second prompt takes 20 seconds longer to write and saves the half hour you’d spend unpicking a confident wrong turn.

Make the tests decide when the work is done

An agent will tell you the feature works. A test that you didn’t let it edit will tell you whether it does. Teach the team to ask for the failing test first, run the suite before accepting anything, and treat “all tests pass” as the definition of done.

Hooks make this automatic. A PostToolUse hook can run the formatter or the relevant tests after every edit, so the agent sees the failure itself and fixes it before it reports back.

Agree the permissions in the repository

.claude/settings.json holds allow and deny rules for what the agent may run, read and change. Check it in, so the whole team works inside the same boundary: the test and build commands allowed, anything touching production or secrets denied, and anything destructive waiting for a person to approve it. Personal preferences go in .claude/settings.local.json, which stays out of git.

This is the part security teams ask about, and it’s much easier to answer when the rules are a reviewed file in the repo than a dozen individual settings on a dozen laptops.

Skills, subagents and MCP, when they pay off

Skills are SKILL.md files under .claude/skills/ for procedures your team repeats, like cutting a release or adding a database migration the house way. They only help once the agent decides to open one, so a short procedure is often better as one line in AGENTS.md. I wrote up when a skill is worth it.

Subagents under .claude/agents/ suit jobs that need their own context, such as a reviewer that reads the diff cold. MCP servers, added with claude mcp add or a project .mcp.json, connect the agent to your issue tracker, docs or database. Teach these after the basics, because a team that skips planning and tests won’t be rescued by more tools.

Review it like a colleague’s pull request

Keep the changes small enough to read. Ask the agent to explain any part of the diff you don’t follow, and don’t merge what nobody on the team understands. Then decide, task by task on your own backlog, which work goes to the agent whole, which goes in pieces and which stays with an engineer.

The same moves in Codex, Cursor and Antigravity

Codex and Cursor both read AGENTS.md, and Cursor adds its own rules files. Planning before writing, tests as the check and permissions agreed in the repository carry across all four tools, so a team split across two agents can still train together.

If your team has the seats and wants the habits, this is the coding-agents half of the AI Engineering Workshop, usually run on your own codebase.