Your first week on a new codebase: an onboarding checklist for developers
What to do in your first five days on an unfamiliar codebase: get it running, learn the main flows, map the architecture and ship a small change safely.
The first week on a new codebase sets the tone for months. Spend it well and you'll build a mental model that makes every later task faster. Spend it waiting for someone to explain everything and you'll still be lost in week three. This checklist assumes you're a developer joining a team or a project. Adjust the pace to the size of the codebase.
Day 1: get it running
- Clone the repository and follow the README to run it locally. Note every step that was missing or wrong; fixing the setup docs is a classic, welcome first contribution.
- Run the tests. Know which command runs which suite, and how long they take.
- Find out how code reaches production: the CI pipeline, the deploy process, the environments.
- Ask for access to logs and monitoring for at least one environment.
Day 2: learn the product
- Use the product as a user would. Write down the five most important things it does.
- For each, find out which part of the codebase is responsible. A rough mapping ("checkout is in
src/features/checkout") is enough. - Read the last month of merged pull requests. They show active areas, review norms and who knows what.
Day 3: trace the main flows
- Pick the two most important flows from day 2 and trace each one end to end, from entry point to database and back. Write down every step as
file:lineand one sentence. - Use the method in how to read an unfamiliar codebase.
- If you use an AI tool to get a first draft of each path, verify every step by opening the code.
Day 4: map the architecture
- Draw a box diagram: the app's main parts, external services, the database, queues. Keep it on one page.
- List the cross-cutting pieces: authentication, logging, error handling, configuration, feature flags. Find where each lives.
- Ask a teammate to correct your diagram. Their corrections are the most valuable thing you'll learn all week.
Day 5: ship something small
- Pick a small, real change: a bug fix, a copy change, a missing test.
- Before changing anything, find what depends on the code you're touching. See estimating the impact of a change.
- Open a pull request, go through review and deploy if your team allows it. Learning the full path to production matters as much as the code.
Questions worth asking teammates
- What breaks most often, and why?
- Which parts of the code are you afraid to touch?
- What would you change about the architecture if you could?
- Where are the docs wrong?
These get at knowledge that isn't in the code.
Keep a learning log
Keep one document all week with your traced paths, diagram, glossary of domain terms and open questions. It turns into onboarding docs for the next person, and it shows your team how you're getting on.
If you're the one onboarding someone
Give them a working setup on day one, a real (small) task by day three, and a named person to ask. Our post on measuring developer onboarding covers how to tell whether onboarding is improving.
Use RepoGrasp to draft your day-3 traces faster, and check every citation.