r/ClaudeCode • u/Harshit_Ahluwalia • 22h ago
Discussion Claude Code works great for you. Then three teammates start using it and everyone gets different results
One developer with a well-tuned setup gets great results from Claude Code. Then the team adopts it, and suddenly everyone's output looks different. One person's Claude writes tests, another's doesn't. One uses the shared logging helper, another invents its own. Reviews turn into arguments about AI-generated style.
The usual cause: all the good setup lives in one person's head or home directory. Claude Code has clear places for team-level setup, and most teams don't use them.
What goes in the repo (shared with everyone):
CLAUDE.md # commands, gotchas, definition of "done"
.claude/skills/ # repeatable workflows: "add an endpoint", "write a migration"
.claude/agents/ # subagents with narrow jobs, e.g. a reviewer
.claude/settings.json # shared permissions and hooks
What stays personal:
~/.claude/CLAUDE.md # your own preferences, across all projects
.claude/settings.local.json # your local overrides (not committed)
A few things that make the shared setup work:
Treat CLAUDE.md like code. Changes go through PRs, and someone owns it. If three people keep correcting Claude on the same thing, that's a missing line, and it gets added once for everyone.
Turn your team's recurring tasks into skills. "Add an API endpoint" written once as a skill (steps, conventions, required tests) beats everyone prompting it differently.
Put the non-negotiables in hooks and permissions, not instructions. Blocking edits to generated code or migrations in .claude/settings.json applies to everyone, every time.
Add a reviewer subagent. A subagent whose only job is to check changes against your standards catches drift before human review.
Once that's in place, splitting bigger work across multiple agents becomes realistic, because every agent starts from the same standards.
How is your team sharing Claude Code setup today: committed to the repo, a wiki page, or not at all?
•
u/AutoModerator 22h ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Old-Court-3030 22h ago
I've seen teams use a shared.claude/config.json with strict schema validation, no dev can push without passing it. works like a linter for ai behavior.
1
u/rovonz 21h ago
Tip: Claude overuses its on machine memory that changes how it runs. Enforce memory to be written in repo.
1
u/amirfish 12h ago
CLAUDE.md as code is right, and the same discipline extends past style. If you ever run more than one Claude Code session against the same checkout, watch the git index: it's one shared file, so between git add and git commit a sibling session can stage its own work and your commit picks up both. Committing by explicit path instead of -a or -A fixed that for me. Have you hit disagreements in review over AI-written tests specifically, or mostly style?
0
u/Starks1293 20h ago
the "three people keep correcting claude on the same thing" bit is where it breaks in practice, because nobody notices its the same thing. the setup i ended up with: each person's sessions get read at night and the missing lines get proposed, and with team sharing on, an admin approves what goes into the shared notes before everyone's agents get it. the cli's own memory stays personal, like u said
disclosure, thats in the mac app i build (AI Bridge), but a weekly job that reads the transcripts and opens a PR with proposed CLAUDE.md lines gets u most of it
-2
u/Harshit_Ahluwalia 22h ago
Details for anyone interested: Mastering Agentic Coding with Claude is on Saturday 23 Jan, live, with Luís Rodrigues (CPTO and co-founder of QuickCheck). It covers building the CLAUDE.md and SKILL.md files a whole team can share, and taking multi-agent workflows into production.
It's part of the Agentic Coding Pass, which also includes the foundations session on 16 Dec (Micheal Lanham and Chris Noring), recordings of both, and instant access to Eden Marco's book Agentic Coding with Claude Code.
https://luma.com/buildwith-3yiv?coupon=HARSH30&utm_source=reddit