Skip to main content

Anatomy of AI Onboarding Kit

Get new hires productive in their first week with Claude Code.

Onboarding Kit

Get a new hire productive with Claude Code in their first week โ€” a repeatable, self-service kit that gives engineers the context, tools, and workflows to contribute safely and ship value fast.


TL;DRโ€‹

  • An AI onboarding kit is the modern "developer welcome packet" โ€” equipped with CLAUDE.md, slash commands, subagents, hooks, and MCP servers.
  • The goal: a meaningful merged PR by end of Week 1.
  • The kit is the repo itself + an onboarding/ folder with a 5-day path.
  • Day 1 = environment + first Claude session. Day 7 = retro + share learnings.
  • Faster ramp ยท lower friction ยท consistent quality ยท scalable growth.

Why this mattersโ€‹

The first week shapes the next year. With AI in the loop, onboarding isn't just "read this wiki" โ€” it's "use Claude to navigate this codebase, ship a small change, and learn our patterns." Done well, this collapses ramp time from weeks to days and propagates your engineering standards through every prompt the new hire types.

Bottom line: The best onboarding kit gets you unblocked fast โ€” and shipping value with confidence.


The Big Pictureโ€‹

Bottom line: Your onboarding kit is a complete system: Context โ†’ Tools โ†’ Workflows โ†’ Contribute.


What's in the Kit โ€” Repo Structureโ€‹

onboarding/
โ”œโ”€โ”€ README.md # Start here
โ”œโ”€โ”€ 00-getting-started.md # Prereqs & install
โ”œโ”€โ”€ 01-codebase-tour.md # Architecture & key concepts
โ”œโ”€โ”€ 02-setup-env.md # Local dev setup
โ”œโ”€โ”€ 03-claude-code.md # How we use Claude Code
โ”œโ”€โ”€ 04-workflows.md # Daily dev, PR flow, rebases
โ”œโ”€โ”€ 05-first-contribution.md # Good first issues, captured learnings
โ”œโ”€โ”€ 06-team.md # People, ceremonies, cadences
โ”œโ”€โ”€ 07-security.md # Security & scope
โ””โ”€โ”€ 08-troubleshooting.md # Common dev/staging issues

agents/ # Subagents the new hire can use
hooks/ # Lint, tests, secret-scan hooks
docs/architecture.md # Deeper system context
docs/decisions.md # ADRs and tradeoffs
.github/ # CI, issue templates

๐Ÿ’ก Tip: Keep onboarding/ at the repo root and easy to discover.


The Claude Code Stack We Provideโ€‹

LayerPurpose
Claude Code CLILocal AI pair programmer
CLAUDE.mdProject memory: stack, conventions, rules
SubagentsSpecialists (reviewer, test-writer, docs-writer)
Slash commandsEncoded workflows (/plan, /review, /deploy)
HooksGuardrails (lint, secret-scan, audit)
MCP serversTools & data (GitHub, DB, Slack)

Starter .claude/settings.jsonโ€‹

{
"model": {
"default": "claude-sonnet-4",
"fallback": ["claude-haiku-4"]
},
"features": { "autoCompact": true },
"hooks": {
"PreToolUse": [{ "matcher": "*", "hooks": [{ "type": "command", "command": "./hooks/pre-tool.sh" }] }],
"PostToolUse": [{ "matcher": "Write|Edit", "hooks": [{ "type": "command", "command": "npm run lint" }] }]
}
}

๐Ÿ’ก Also commit: .mcp.json, agents/, .claude/commands/, CLAUDE.md. Starter configs let new hires go from zero โ†’ productive in < 60 minutes.


Day-1 Checklist: Get Started Fastโ€‹

  • โœ… Clone the repo and read onboarding/README.md
  • โœ… Install prerequisites (Node, pnpm, Docker, Claude Code)
  • โœ… Run the bootstrap script: ./bootstrap.sh
  • โœ… Set up .env from .env.example
  • โœ… Start local services: pnpm dev
  • โœ… Verify tests: pnpm test
  • โœ… Open Claude Code and run /plan "Understand this codebase"
  • โœ… Introduce yourself in #team-channel

Example bootstrap.shโ€‹

#!/usr/bin/env bash
set -e
pnpm install
cp -n .env.example .env || true
echo "# edit .env"
docker compose up -d redis postgres
pnpm db:seed
echo "โœ… Environment ready!"

Result: Working dev environment + first Claude Code session.


The 1-Week Ramp Plan (at a glance)โ€‹

DayThemeActivities
Day 1Orients & sets upEnvironment, repo tour, first Claude session
Day 2Learns & exploresCodebase tour, key flows, run the app
Day 3Small winPick a good first issue, ship a tiny PR
Day 4DeepensImplement a feature or fix, tests
Day 5Reviews & polishesMerge PR, observer, docs
Day 6Ships valueRun /retro, feedback, plan next week
Day 7ReflectsShare learnings, refine onboarding kit

๐ŸŽฏ Outcome: By Day 6, the new hire has merged a meaningful PR.


First Week Journey (Detailed)โ€‹

Day 1 โ€” Orient & Setupโ€‹

  • Read onboarding/README.md + CLAUDE.md
  • Run bootstrap; verify tests pass
  • Open Claude Code; run /tour
  • Introduce yourself in #team-channel

Day 2 โ€” Explore & Learnโ€‹

  • Read docs/architecture.md
  • Run the app end-to-end
  • Ask /explain <module> for any unclear area
  • Shadow a PR review (sit with a teammate)

Day 3 โ€” First Contributionโ€‹

  • Pick a good first issue (label: good-first-issue)
  • Use /plan and /explain to build mental model
  • Implement + write tests
  • Open a draft PR

Day 4 โ€” Deepenโ€‹

  • Iterate on review feedback
  • Refactor or extend the small change
  • Add docs if needed

Day 5 โ€” Polish & Reviewโ€‹

  • Run /review (via @code-reviewer)
  • Address comments
  • Clean up & squash
  • Prepare to merge

Day 6 โ€” Ship Valueโ€‹

  • PR approved & merged ๐ŸŽ‰
  • Observe in dev/staging
  • Update tests if needed

Day 7 โ€” Reflect & Planโ€‹

  • Run /retro
  • Provide feedback on the kit itself
  • Plan next week's focus
  • Share top learnings in #team-channel

๐Ÿ’ก Tip: Adjust the journey for the role (see Variants below) โ€” but keep the Day-7 retro in every variant.


Key Slash Commands to Useโ€‹

CommandWhat it does
/plan <task>Break down the task, risks, and plan of attack
/explain <file|module>Explain code, architecture, or patterns
/tour <area>Guided tour of a folder / feature
/reviewRun a full code review (uses @code-reviewer)
/testRun tests, coverage, and reports
/docsGenerate or update documentation
/deployDeploy to dev/staging (if you have access)
/retroReflect on the day/week; capture learnings

๐Ÿ’ก Tip: Run /help <command> to learn how to use each one.


Agents, Commands & Hooks We Shipโ€‹

Example subagent โ€” agents/code-reviewer.ymlโ€‹

name: code-reviewer
description: Reviews PRs for quality.
model: claude-sonnet-4
tools: [Read, Bash, Grep]
permissions:
allow: ["Read", "Bash(npm test)"]
deny: ["WriteOutsideWorkspace"]
system_prompt: |
You are a senior engineer.
Use the repo context to break down the task into steps,
risks, and success criteria.
triggers: ["review", "pr", "audit"]

Example command โ€” .claude/commands/plan.mdโ€‹

---
description: Plan a task.
usage: /plan <task>
---
You are a senior engineer.
Use the repo context to break down the task into steps,
risks, and success criteria.

Example hook โ€” hooks/pre-tool.shโ€‹

#!/usr/bin/env bash
case "$CLAUDE_TOOL_NAME" in
Bash)
if echo "$CLAUDE_TOOL_INPUT" | grep -Eq "rm -rf|sudo"; then
echo "โŒ Forbidden" >&2
exit 1
fi ;;
esac
exit 0

๐Ÿ’ก Tip: Review agents, commands, and hooks to understand the team's guardrails.


Good First Tasks (Pick One)โ€‹

  • โœ… Fix a minor bug with a failing test
  • โœ… Add a small feature behind a flag
  • โœ… Improve docs or README for a module
  • โœ… Add tests for an untested utility
  • โœ… Refactor a small function
  • โœ… Update a dependency with tests

Definition of Done (DoD)โ€‹

  • โœ… Tests pass
  • โœ… Lint & typecheck clean
  • โœ… Docs updated (if needed)
  • โœ… Changelog entry
  • โœ… PR reviewed & approved

๐Ÿ’ก Tip: Small wins build confidence. Ship early, ship often.


Communication & Ritualsโ€‹

RitualCadencePurpose
๐ŸŒ… Daily standup10โ€“15 minPlan, blockers, wins, AI learnings
๐Ÿ” PR reviewContinuousUse /review + peer review. Be kind, be specific.
๐Ÿ“š Knowledge shareWeeklyShare prompts, agents, wins in the team wiki
๐ŸŽ‰ Demo FridayWeeklyShow what you built + why it matters

๐Ÿ’ก Tip: Communication closes the loop. Share patterns, not just code.


Onboarding Success Metricsโ€‹

Track how well your kit is working:

MetricTarget
โฑ๏ธ Time to first PR< 3 days
๐Ÿš€ Time to first merge< 7 days
โœ… PR acceptance rate> 85%
๐Ÿ” Rework rate< 15%
๐Ÿง  Context resets / dayTrending โ†“
๐Ÿค– AI suggestions used> 60%

Anti-patterns to avoidโ€‹

  • ๐Ÿšซ Dumping huge context blindly
  • ๐Ÿšซ Asking vague questions
  • ๐Ÿšซ Skipping /review
  • ๐Ÿšซ Copy-pasting long logs
  • ๐Ÿšซ Over-trusting AI output
  • ๐Ÿšซ Not reading CLAUDE.md

๐Ÿ’ก Tip: Measure, iterate, and make the kit itself better every week.


Variants for Different Team Settingsโ€‹

๐Ÿ‘ค Solo / very small teamโ€‹

  • Onboarding = a single onboarding/README.md with 5 steps and 3 slash commands.
  • Day-7 retro is a 15-minute self-debrief.
  • One agent: @code-reviewer.

๐Ÿ‘ฅ Small team (2โ€“10)โ€‹

  • Buddy system: assign an onboarding buddy for the first week.
  • Daily 10-min check-in with the buddy.
  • Shared agents/ + .claude/commands/.
  • Demo Friday is non-negotiable.

๐Ÿข Enterprise / regulatedโ€‹

  • Add onboarding/00-compliance.md and onboarding/security-training.md.
  • Permissions tiered: read-only Claude on Day 1; write/PR on Day 3.
  • All agents/hooks/commands code-reviewed before use.
  • SIEM audit hook on every tool call.
  • Mandatory training: prompt safety, data handling.

๐ŸŒ Open-source / communityโ€‹

  • Onboarding kit doubles as CONTRIBUTING.md.
  • /onboard slash command in the public repo.
  • Good first issues labeled and curated.
  • New contributor PR template references /review.

Bottom line: Same kit, different dials.


Anatomy of Day 3 (zoom-in โ€” the "first win" day)โ€‹

09:00 Coffee + read backlog
09:15 Pick label:good-first-issue
09:20 /plan "fix bug X" โ†’ step plan + risks
09:45 /explain src/services/x.ts โ†’ mental model
10:15 Write failing test
11:00 Implement fix
11:30 npm test โ†’ green
11:45 /review โ†’ polish & risks
12:15 Open draft PR
13:30 Buddy walkthrough (15 min)
14:00 Address comments
15:00 Push for review
16:00 Pair with reviewer on edge case
17:00 EOD note in #team-channel + /retro

๐Ÿ’ก Tip: Most onboarding flunks here. Pair generously on Day 3.


Step-by-Step Setup (for the team owner)โ€‹

1. Create onboarding/ at repo rootโ€‹

Use the structure above. Keep each file < 200 lines.

2. Write onboarding/README.md as the entry pointโ€‹

Link to every other file in the kit. Include the 1-week ramp at the top.

3. Author CLAUDE.mdโ€‹

Stack, conventions, security, decisions. This is your team's brain.

4. Ship the Claude stackโ€‹

  • .claude/settings.json (starter)
  • .claude/commands/{plan,explain,tour,review,test,docs,deploy,retro}.md
  • agents/code-reviewer.yml
  • hooks/pre-tool.sh, hooks/post-tool.sh
  • .mcp.json (GitHub, your DB, Slack)

5. Add bootstrap.shโ€‹

One command sets up the dev environment.

6. Label good-first-issuesโ€‹

At least 5 ready at any time. Refresh weekly.

7. Assign onboarding buddiesโ€‹

Rotate weekly. Buddy attends Day-1 setup and Day-3 first PR.

8. Run the Day-7 retroโ€‹

Always. Capture friction; ship kit improvements next sprint.


Common Patterns & Recipesโ€‹

Pattern 1 โ€” Self-service /tourโ€‹

---
description: Guided tour of a folder or feature
usage: /tour <area>
---
You are a friendly senior engineer.
Walk the new hire through `{{area}}`:
1. Top 3 files to read first.
2. How requests flow through.
3. Common gotchas.
4. Where to put new code.
5. Suggested first 2 tweaks to try.

Pattern 2 โ€” /onboard master commandโ€‹

---
description: Run the full onboarding checklist
usage: /onboard
---
Walk me through Days 1โ€“7 step by step.
At each step, confirm completion and capture any blockers.

Pattern 3 โ€” Buddy ledgerโ€‹

# Buddy Ledger โ€” {{newhire_name}}
- Day 1: [ ] env, [ ] first /tour, [ ] intro
- Day 3: [ ] first draft PR
- Day 5: [ ] PR merged
- Day 7: [ ] retro complete, [ ] kit feedback captured

Pattern 4 โ€” Day-7 retro templateโ€‹

# Onboarding Retro โ€” Week 1

## What worked
-

## What didn't
-

## Surprises
-

## Suggestions for the kit
-

## Top 3 things I learned
-

Pattern 5 โ€” Permission ramp-upโ€‹

"permissions": {
"day1": { "allow": ["Read", "WebSearch"], "deny": ["Write", "Bash"] },
"day3": { "allow": ["Read", "Edit", "Bash(npm *)"], "deny": ["WriteOutsideWorkspace"] },
"day5": "team-default"
}

Best Practices โœ…โ€‹

  • Make it self-service. A new hire should make progress without waiting for anyone.
  • Optimize for Day 3. That's when the first win happens.
  • Pair generously in week 1.
  • Capture feedback every cycle; the kit is a product.
  • Encode standards in agents & commands, not slide decks.
  • Celebrate the first merge. Loudly.

Anti-Patterns โŒโ€‹

  • ๐Ÿšซ 30-page wikis nobody reads.
  • ๐Ÿšซ "Figure it out yourself" Day-1 culture.
  • ๐Ÿšซ No good-first-issues queued.
  • ๐Ÿšซ Buddy assigned in name only.
  • ๐Ÿšซ Skipping the Day-7 retro.
  • ๐Ÿšซ Static kit that hasn't been updated in 6 months.
  • ๐Ÿšซ Same kit for every role (a data engineer โ‰  a frontend dev).

Troubleshootingโ€‹

SymptomLikely causeFix
Day 1 setup takes > 4 hrsBootstrap script rottenRun it monthly in CI on a fresh container
New hire has no first issueBacklog not curatedStanding 30-min weekly "first-issue grooming"
First PR > 2 weeksIssue too bigSplit issues into < 4-hr slices
AI suggestions ignoredVague CLAUDE.mdTighten with examples
Repeated same questionsMissing FAQAdd to 08-troubleshooting.md
Kit drifts from realityNo ownerAssign a kit owner; review monthly
Buddy overloadedSingle buddy for many hiresRotate weekly; group cohort onboarding

Starter Pack (Minimal)โ€‹

.claude/
โ”œโ”€โ”€ settings.json
โ””โ”€โ”€ commands/
โ”œโ”€โ”€ plan.md
โ”œโ”€โ”€ explain.md
โ”œโ”€โ”€ tour.md
โ”œโ”€โ”€ review.md
โ”œโ”€โ”€ test.md
โ”œโ”€โ”€ docs.md
โ”œโ”€โ”€ deploy.md
โ””โ”€โ”€ retro.md
agents/
โ””โ”€โ”€ code-reviewer.yml
hooks/
โ”œโ”€โ”€ pre-tool.sh
โ””โ”€โ”€ post-tool.sh
.mcp.json
CLAUDE.md
bootstrap.sh
onboarding/
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ 00-getting-started.md
โ”œโ”€โ”€ 01-codebase-tour.md
โ”œโ”€โ”€ 02-setup-env.md
โ”œโ”€โ”€ 03-claude-code.md
โ”œโ”€โ”€ 04-workflows.md
โ”œโ”€โ”€ 05-first-contribution.md
โ”œโ”€โ”€ 06-team.md
โ”œโ”€โ”€ 07-security.md
โ””โ”€โ”€ 08-troubleshooting.md

๐Ÿ’ก Tip: Start with this skeleton. Adjust for your stack and role profile.


Quick Start (for the new hire) โ€” 7 stepsโ€‹

  1. Day 1: Read onboarding/README.md + CLAUDE.md, run ./bootstrap.sh.
  2. Day 2: /tour your way through the codebase.
  3. Day 3: Pick a good-first-issue; /plan it; open a draft PR.
  4. Day 4: Address feedback; iterate.
  5. Day 5: /review; clean up; prepare to merge.
  6. Day 6: PR merged ๐ŸŽ‰; observe in dev/staging.
  7. Day 7: /retro; share learnings; suggest kit improvements.

Glossaryโ€‹

  • Onboarding kit โ€” A curated set of docs, configs, and AI workflows that ramp a new hire.
  • Good first issue โ€” A well-scoped task (โ‰ค 4 hrs) ideal for a first PR.
  • Buddy โ€” A teammate who shepherds the new hire through Week 1.
  • DoD (Definition of Done) โ€” Shared bar for "complete."
  • /tour / /explain โ€” Slash commands that guide the new hire through the code.
  • Permission ramp-up โ€” Gradually expanding what Claude is allowed to do.
  • Kit owner โ€” Person responsible for keeping the kit fresh.

Further Readingโ€‹

  • Search: "developer onboarding best practices 2026"
  • Search: "engineering onboarding metrics time to first PR"
  • Search: "AI-assisted code onboarding case studies"
  • Search: "buddy system engineering teams"

๐Ÿช™ Your Mantrasโ€‹

  • ๐ŸŽฏ Curate context. Feed signal, not noise.
  • ๐Ÿง  Right model, right task, right time.
  • ๐Ÿ† Small wins > perfect plans.
  • ๐Ÿ” Review everything. Trust, but verify.
  • ๐Ÿ“ Document as you go. Future-you will thank you.

Remember: The best onboarding kit gets you unblocked fast, shipping value with confidence.