Week 2

Unfamiliar codebases

Not breaking things

Feature isolation and boundaries

Practice

Assignment

Back to Track

Week 2 Assignment

Deliverable: a small feature added to an existing project — without breaking anything.

Use a project from your main track, a classmate's repo (with their permission), or a small open-source project.

  1. Map first. Have the agent give you an overview; verify the parts you'll touch.
  2. Branch. Create a feature branch before any change.
  3. Boundaries. Write the task with explicit limits (folders the agent may touch; "stop and ask" for anything shared). If the project has no CLAUDE.md, draft one from the conventions the agent extracts — and correct it yourself.
  4. Plan, then build. Get a plan in plan mode, adjust it, approve, implement in small steps, reading each diff.
  5. Push the branch and open a pull request. In the PR description: what the feature does, what the agent did vs. what you changed by hand, and one thing you rejected or corrected during review.

📸 Screenshot needed (for the materials): an example finished PR — branch, small diff, honest description. Students should see the target.

You are done with Week 2 when


The HackYourFuture curriculum is licensed under CC BY-NC-SA 4.0 *https://hackyourfuture.net/*

CC BY-NC-SA 4.0 Icons

Built with ❤️ by the HackYourFuture community · Thank you, contributors

Found a mistake or have a suggestion? Let us know in the feedback form.