Quick reference
Five days, one running system, and a change shipped by Friday.
- Run it first — A working system on day one, and a pull request that fixes the setup.
- Map five boxes — Entry points, data, calls, third parties and owners, on one page.
- Ship by midweek — A small change through the real path: test, review, pipeline, deploy.
- Trace one request — From route to query and back, including where it fails.
In one line: A week of doing, not reading. The artefacts are a merged change and a setup page the next person can trust.
Start this week:
- Book the week before the start date.
- Give the new person a real ticket on day two.
- Review the setup page together on Friday.
Explained
Day one is run it: the setup command, the health endpoint, the fast suite. Every wrong step in the README becomes a pull request, because the new person is the only one who reads it with fresh eyes this month.
Day two is map it. Five boxes on one page: entry points, data, calls, third parties, owners. The names you cannot place become questions for one meeting, not five interruptions.
Day three is ship it. A small ticket, one layer, a failing test first, a review, a deploy watched by the author. The path matters more than the size.
Day four is trace it. One real request from route to query and back, including where it fails. That trace is the on-call knowledge they need first.
Day five is write it down. Fix the setup page, add the diagram as a draft, list open questions.
Checklist
Use it for the next person who joins, and for yourself when you move teams. Every unchecked line is a cost you will pay again.
Day one
- The one command starts the stack.
- The fast suite passes on a clean checkout.
- The setup page has no step that fails.
Day two
- The system fits on one page.
- Every box has a named owner.
- Unknown names are written down.
Day three
- One small change is merged.
- The failing test came before the fix.
- The author watched the deploy.
Day five
- The setup page is corrected.
- The diagram is in the repository.
- The open questions are listed.
The field guide
The full guide of the PDF (P1089), page by page.
Run it before you read it (day one)
The first day has one goal: the application runs on your machine and answers a request. Reading the code before that is reading a map in the dark.
Start with the setup command. If it fails, fix the setup command and open a pull request for the fix: that is the first contribution, and it is the one every person after you needs.
- Clone and run the one command.
- Open the app and hit the health endpoint.
- Run the fast test suite.
- Read the README and note every wrong step.
- Open a pull request that fixes one of them.
| Blocked by | Ask |
|---|---|
| Missing credentials | Who owns the secret store? |
| Wrong runtime version | Is the pin in the repository? |
| Broken seed data | Which fixture is authoritative? |
| Unclear ownership | Who reviewed this last? |
Fix the docs on day one You are the only person who will read the setup page with fresh eyes this month. Every correction you make is cheaper now than at any point later.
A working system on day one turns the rest of the week from reading into doing.
Map the system on one page (day two)
Draw the boundaries before the details: what the system accepts, what it stores and what it calls. One page, five boxes, and a list of names you do not recognise.
- The entry points: HTTP routes, jobs, queues.
- The data it owns and the tables behind it.
- The services it calls and what it expects back.
- The third parties it depends on.
- The owner of each box, by name.
Every name you cannot place is a question for a person. Write them down during the day and ask them in one meeting, rather than interrupting five people five times.
| Artefact | Where it lives |
|---|---|
| Request path | The router and one handler |
| Data model | The migrations, in order |
| Deploy path | The pipeline file |
| Runbook | The on-call document |
The diagram is a hypothesis Your first diagram will be wrong. Mark it as a draft, put it in the repository, and let the people who correct it become your map of the team.
Five boxes and five names: a system map that fits on a page gets used.
Ship something small (day three)
A small merged change teaches more than a day of reading: the test suite, the review, the pipeline and the deploy. Pick a ticket that touches one layer and one owner.
Choose something visible and low risk: a validation message, a missing index, a broken link in an error path. The point is the path, not the size of the change.
- Pick a ticket with a clear acceptance test.
- Write the failing test first.
- Make the smallest change that passes it.
- Open the pull request with the risk named.
- Watch it deploy and check the change yourself.
| Where to look | What to copy |
|---|---|
| The nearest test | Its structure and fixtures |
| The last change here | git log for the file |
| The reviewer | Whoever touched it last |
| The deploy | The pipeline that shipped it |
Ask for the review you need Say what you are unsure about in the description. A reviewer who knows where you guessed gives a better answer than one who reads everything cold.
One merged change on day three makes the codebase yours in a way that reading never does.
Follow one request end to end (day four)
Pick a real user action and trace it from the browser to the database and back. This is where the system stops being five boxes and becomes a sequence you can debug.
Start at the route, then the handler, then the service, then the query. Note every place the request can fail and what the user sees when it does. That list is the on-call knowledge you will need first.
Trace it with search, not guesswork
rg "orders" src/routes --type ts
rg "createOrder" src --type ts
rg "insert into orders" -i migrations| Stage | What to note |
|---|---|
| Route | Auth, validation, rate limit |
| Handler | Timeouts, retries, errors |
| Query | Index, bounds, transaction |
| Response | Shape and what the UI reads |
One path, then the edges Trace the happy path first. Then trace the failure you would be paged for: a timeout, a duplicate request, a permission error.
A request you can trace end to end is a system you can debug at three in the morning.
Ship, then write it down (day five)
The week ends with two artefacts: a merged change and a setup page that is truer than it was on Monday. Both are for the next person, and both are cheap while the details are fresh.
- Ship the change from day three, if it is not merged.
- Fix the setup page where it misled you.
- Add the diagram as a draft, with owners.
- Book one meeting per unknown owner.
- Write a short note on what you still do not know.
| Artefact | Owner after Friday |
|---|---|
| Setup page | The next person to run it |
| System diagram | The team that owns the boxes |
| Glossary | Whoever answers questions |
| Onboarding plan | The hiring manager |
A week is a target, not a promise Some codebases take a month before a first change ships. The plan still works; the artefact dates move, and the setup fixes matter more.
Write down what you still do not know. A short list of open questions is more useful to the next person than a polished summary that hides them.
A merged change and a better setup page: the week pays for itself twice.
The honest caveat: a week is a target, not a promise. Some codebases take a month before a first change ships, and the setup fixes matter more than the date.
Your turn: What did your last onboarding week produce?
Related on this site
More notes: Developer experience
- P1091Developer experience commands and tools
- P1090Five signs your platform is not adopted
- P1088Killing tool sprawl without a reorg
- P1087Four numbers worth watching
- P1086Code review that moves fast
- P1085Test selection: changed, affected, full suite
- P1084Five things that slow a build down
- P1083Dev environments that start in one command
Open in the notes app: search, filters, copy This note on GitHub