Approach an unfamiliar codebase
Build a reliable mental model before making broad changes.
- Run the application and one representative test before editing anything.
- Locate entry points, route definitions, configuration, and package manifests.
- Trace one user action through the interface, API, business logic, and persistence.
- Read recent pull requests to learn conventions and active areas.
- Make one small change and verify your understanding with a maintainer.
Key idea: Follow real execution paths; do not try to read every file.