Anatomy of AI Onboarding Kit
Get new hires productive in their first week with Claude Code.

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โ
| Layer | Purpose |
|---|---|
| Claude Code CLI | Local AI pair programmer |
CLAUDE.md | Project memory: stack, conventions, rules |
| Subagents | Specialists (reviewer, test-writer, docs-writer) |
| Slash commands | Encoded workflows (/plan, /review, /deploy) |
| Hooks | Guardrails (lint, secret-scan, audit) |
| MCP servers | Tools & 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
.envfrom.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)โ
| Day | Theme | Activities |
|---|---|---|
| Day 1 | Orients & sets up | Environment, repo tour, first Claude session |
| Day 2 | Learns & explores | Codebase tour, key flows, run the app |
| Day 3 | Small win | Pick a good first issue, ship a tiny PR |
| Day 4 | Deepens | Implement a feature or fix, tests |
| Day 5 | Reviews & polishes | Merge PR, observer, docs |
| Day 6 | Ships value | Run /retro, feedback, plan next week |
| Day 7 | Reflects | Share 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
/planand/explainto 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โ
| Command | What 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 |
/review | Run a full code review (uses @code-reviewer) |
/test | Run tests, coverage, and reports |
/docs | Generate or update documentation |
/deploy | Deploy to dev/staging (if you have access) |
/retro | Reflect 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โ
| Ritual | Cadence | Purpose |
|---|---|---|
| ๐ Daily standup | 10โ15 min | Plan, blockers, wins, AI learnings |
| ๐ PR review | Continuous | Use /review + peer review. Be kind, be specific. |
| ๐ Knowledge share | Weekly | Share prompts, agents, wins in the team wiki |
| ๐ Demo Friday | Weekly | Show 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:
| Metric | Target |
|---|---|
| โฑ๏ธ Time to first PR | < 3 days |
| ๐ Time to first merge | < 7 days |
| โ PR acceptance rate | > 85% |
| ๐ Rework rate | < 15% |
| ๐ง Context resets / day | Trending โ |
| ๐ค 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.mdwith 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.mdandonboarding/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. /onboardslash 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}.mdagents/code-reviewer.ymlhooks/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โ
| Symptom | Likely cause | Fix |
|---|---|---|
| Day 1 setup takes > 4 hrs | Bootstrap script rotten | Run it monthly in CI on a fresh container |
| New hire has no first issue | Backlog not curated | Standing 30-min weekly "first-issue grooming" |
| First PR > 2 weeks | Issue too big | Split issues into < 4-hr slices |
| AI suggestions ignored | Vague CLAUDE.md | Tighten with examples |
| Repeated same questions | Missing FAQ | Add to 08-troubleshooting.md |
| Kit drifts from reality | No owner | Assign a kit owner; review monthly |
| Buddy overloaded | Single buddy for many hires | Rotate 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โ
- Day 1: Read
onboarding/README.md+CLAUDE.md, run./bootstrap.sh. - Day 2:
/touryour way through the codebase. - Day 3: Pick a good-first-issue;
/planit; open a draft PR. - Day 4: Address feedback; iterate.
- Day 5:
/review; clean up; prepare to merge. - Day 6: PR merged ๐; observe in dev/staging.
- 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.