Andrii · AI at work

All lessons

08

Claude Code in a team: what to put in CLAUDE.md and what to put in a gate

12:20 · 10 steps

1 Team agreement templates github.com
The live product fibi.tech: three people, three machines, each with their own Claude Code: back end, front end and design. Four cases where agreements drifted apart, reproduced on the Plantbook training project. Implementation
  1. 1 00:00 The fifth conflict in one session in a single file
  2. 2 00:58 Three people, three machines, one product

    1 What to do

    Break down how work is set up with three people: each has their own machine and their own Claude Code, the repository, staging and chat are shared, each merges their own work through a PR, and the agreements are written down by people.

    Ask in Telegram

    3 What you will see

    diagram: three machines, each with its own Claude Code session, one repository, one staging; "PR" arrows go into the repository; a "staging" arrow; the fourth node of the diagram is the team chat with a bot, with a dotted line from each machine to the chat

    diagram: three machines, each with its own Claude Code session, one repository, one staging; "PR" arrows go into the repository; a "staging" arrow; the fourth node of the diagram is the team chat with a bot, with a dotted line from each machine to the chat
  3. 3 02:34 Case 1/4 · A generated file in git
  4. 4 04:13 Case 2/4 · A push to main bypassing the PR
  5. 5 05:44 Case 3/4 · Regeneration wiped out the manual edits
  6. 6 07:25 Case 4/4 · One bug, two ways
  7. 7 08:55 Words or a gate
  8. 8 09:55 How this is brought into the system
  9. 9 10:36 Where this breaks
  10. 10 11:24 Homework and finale

Homework

Write an agreements file for your team — or for yourself in advance: stack, style, what must not be generated without review, who owns which pieces.

Write in the comments what you agreed on in your team.

Share on Telegram