Module 7 · Developer productivity · Chapter 23 · Free
Claude Code for the whole team: a shared setup that scales past one laptop
- A tuned setup on one laptop helps one developer. A shared setup in the repo helps every developer, including the next hire.
- Shared: project
CLAUDE.md, path rules, slash commands, skills, and one.mcp.jsonpointing at Atlas. - Personal: credentials, local paths and private preferences. Those never enter shared files.
The picture: a team kitchen with labelled shelves, not twelve private cupboards nobody else can find.
Developer Productivity is 8 percent of the CCAR-P exam. You should be able to:
- Decide what belongs in shared repo files, team files and personal files.
- Route shared MCP access through Atlas while keeping credentials per developer.
- Onboard a new developer to a first reviewed task in one afternoon.
- Explain why shared conventions cut review findings about style and structure.
- Ruth's laptop produces clean, convention-following drafts of code. A new platform developer's first change draws 14 review comments, most about conventions Ruth's setup knows and his does not.
- Two developers point Claude Code at the EHR test system directly, each with a hand-made config. Priya's security review cannot tell who can call what.
- Made-up cost: about 3 hours per developer per month lost to setup drift, odd failures and re-asking questions the repo should answer.
- What scales: repo files, team files and personal files.
- MCP through Atlas, with per-developer credentials.
- The first-day path: clone, setup, ticket, reviewed change.
- The setup arithmetic: drift hours against maintenance hours.
- The lab: write the team Claude Code setup guide.
Next: what belongs where.
Step 1: Sort the setup into three scopes
Think of a shared workshop. The bench layout and the safety rules belong to the workshop. Your own gloves stay in your own locker.
Claude Code setup sorts the same way:
- Repo shared. The project
CLAUDE.md, path-specific rules, shared slash commands and skills, and.mcp.json. Reviewed in pull requests, versioned with the code. - Team shared. Conventions that span repos, such as the consultancy's review checklist command. Owned by a named maintainer.
- Personal only. API keys and tokens, local file paths, editor habits, experimental prompts. Kept in personal settings, never committed.
The Foundations course built the pieces: Chapter 13, CLAUDE.md hierarchy covers where instructions live, and Chapter 14, commands and skills covers packaging repeat work. This chapter only decides the team scope for each piece.
The test for any item is one question: if a new developer cloned the repo tomorrow, would they need this to do the work the team's way? If yes, it is shared. If it identifies or suits one person, it is personal.
Next: one front door for tools.
Step 2: MCP through Atlas, credentials per developer
Chapter 4 designed Atlas, the MCP gateway between agents and Northgate's systems. The same front door serves developers' Claude Code sessions.
- The shared
.mcp.jsonlists Atlas as the one MCP server, with its endpoint and no secrets. - Each developer signs in to Atlas with their own credential. Atlas checks who they are, which tools they may call, and writes the audit log.
- Nobody configures a direct line to the EHR or the scheduling system. A tool Atlas does not offer does not exist for the team.
This is the Relay rule one level down: permissions live in the gateway, in code, not in each person's config file. When Priya's team asks who can call get_patient_summary in the test environment, the answer sits in Atlas, in one place.
CI uses the same shape: Foundations Chapter 16, Claude Code in CI/CD covers the pipeline side, where the pipeline identity replaces the personal one.
Revoking one credential ends one person's access. The shared file never held a secret, so there is nothing to rotate for the other eleven developers.
Next: the first day, walked through.
Step 3: A new developer's first day
Press Next to walk a new developer from clone to a reviewed change.
- The clone brings the code and the shared setup together: CLAUDE.md, rules, commands, skills and .mcp.json.
- One script checks the install, then the developer signs in to Atlas with their own credential. About 20 minutes.
- The first ticket is small and well described on purpose. The shared commands run the team's way from the first try.
- Review focuses on the change itself, because conventions are already handled by the shared rules.
- A one-page setup guide names the steps, the maintainer and where to ask. If the guide and the repo disagree, the repo wins and the guide gets fixed.
Where the picture breaks down:
- The afternoon target covers setup and a first small change, not full productivity. Judgement about Relay's clinical edge cases still takes weeks.
- The path works only if someone owns the shared setup. An unowned guide rots within a release or two.
Next: the arithmetic that sells it.
Step 4: The setup arithmetic
Worked example. All figures made up, labelled as such in the guide.
Today, individual setups: 12 developers × about 3 hours a month each on drift, odd failures and re-asking = 36 hours a month.
Shared setup: one maintainer spends 4 hours a month keeping the shared files current. Each developer spends 20 minutes a month pulling updates and signing in cleanly: 12 × 20 minutes = 4 hours. Total: 4 + 4 = 8 hours a month.
Saving: 36 − 8 = 28 hours a month, about 336 hours a year across the team.
The consistency effect: review findings about conventions fall, because the rules live in the repo, not in heads. Reviewers spend their comments on logic and safety, which is where a Relay change needs eyes.
Notice what the arithmetic does not claim. It does not say developers type faster. It counts only time no longer wasted on setup, plus a review effect you can check by counting convention comments before and after.
Next: the lab, writing the guide itself.
Hands-on lab: the team Claude Code setup guide
Part A: build it locally
Do this: draft the setup guide for the Relay repo. It needs a repo layout, a CLAUDE.md skeleton and a shared .mcp.json. Keep every secret out.
Lab: Part A of this chapter drafts the Relay team's setup as prose and file skeletons. This lab runs in your browser and needs JavaScript enabled.
- The guide is short on purpose. Anything the repo can enforce, the repo states once, in
CLAUDE.mdor a rule file. - Northgate's platform team adopts the same guide for their repos, swapping in their own Atlas endpoint and commands.
Part B: sort items by scope
Do this: place each configuration item in its scope bucket.
Next: mix-ups and the quiz.
Mix-ups to avoid
- "Shared setup means one shared account." No. Files are shared, identities are not. Atlas needs to know who called what.
- "Personal preferences go in CLAUDE.md so everyone benefits." No. One person's habits become everyone's friction. Personal files exist for this.
- "The guide replaces the repo files." No. The guide points at the repo. The enforceable rules live in the files themselves.
- "Once shared, it maintains itself." No. Budget the maintainer hours, as the worked example does, or the setup drifts again.
Chapter quiz
Five questions in the exam's style. Score 70% or more to finish.
Review this chapter in 5 minutes
Watch the whole chapter recapped: Three setup scopes, MCP through Atlas with personal credentials, a first reviewed change in one afternoon, 28 hours saved monthly.
- Three scopes: repo shared, team shared, personal only. The day-one test decides.
- MCP: one shared
.mcp.jsonnaming Atlas, per-developer credentials, audit in Atlas. - First day: clone, setup, small ticket, reviewed change, inside one afternoon.
- Numbers: 36 drift hours against 8 shared hours a month, made up, a saving of about 28.
- Review effect: convention findings fall because the rules live in the repo.
Decision rule: if a new developer needs it to work the team's way, share it in the repo. If it identifies or suits one person, keep it personal.
Independent exam preparation. Not affiliated with or endorsed by Anthropic.
Review
Glossary
- Shared setup
- Claude Code configuration the whole team uses, kept in version control. Example: the Relay repo's CLAUDE.md.
- Setup drift
- Slow divergence between individual setups over time. Example: two laptops applying different test conventions.
- Path rule
- A rule file that applies to matching paths only. Example: stricter checks under triage/.
- Slash command
- A named, reusable prompt the team runs on demand. Example: /review-relay.
- Skill
- A packaged capability Claude Code loads when relevant. Example: drafting triage test cases.
- Per-developer credential
- An identity token belonging to one person. Example: a personal Atlas sign-in, revocable alone.
Next: "Measure developer output: what improved, what it cost, what to stop".