A tiny command-line notes tool, used as the practice repo for Unit 4 (Git). The app is a safe sandbox for doing real Git work with Claude. The task below is something you run here with Claude; follow the steps and submit the link it asks for.
node notes.js add <text>— add a notenode notes.js list— list all notesnode notes.js delete <id>— delete a note
Layout: notes.js is the entry point, lib/store.js loads and saves notes (in notes.json), and lib/config.js holds app settings.
- Make sure you have your own copy of this repo (created from the lesson on the platform).
- Clone it locally, and run
gh auth loginso Claude can open pull requests through theghCLI. - Open Claude Code in the cloned folder.
Goal: instead of reading a diff yourself, have Claude tell you what changed, then commit a summary.
- Make a few small edits across a couple of files — change a line, add a short function, rename a variable. Slip in at least one change you might plausibly forget, like a stray edit in a second file.
- Create a file
notes.mdand write one line predicting what you changed, from memory. - Ask Claude: 'Summarize what I've changed, and flag anything that looks unintended.' Paste its summary into
notes.mdunder your prediction, then add a sentence on whether it caught the stray change. - Have Claude commit
notes.mdon a new branch — tell it 'commit on a branch calledread-repoand push it.' - Create a PR against the main repository, not your fork, and submit it.