All challenges

Git · easy

Save your work

#1

Situation

Day three. You finally made the status badge render. It lives in src/badge.ts, it works on your machine, and it is not in git. Only on disk. Your lead just pinged: "get that committed before standup." Standup is in twelve minutes. Next to it sits scratch.txt, the ugly notes you wrote while debugging. That garbage is not the badge. If the laptop dies between now and the meeting, the badge dies with it.

Objective

Put the badge into history as one new commit on main. Leave scratch.txt out of the repo. Nothing left staged.

The repo at start

repo/
├── README.md
├── scratch.txt      (your panic notes - keep local)
└── src/
    └── badge.ts     (the thing that actually works)

Checks you will turn green

  • The badge is committed
  • Exactly one new commit on main
  • Your scratch notes stay local
  • Nothing staged

Concepts

working treeuntrackedstagingcommit

Play it in your terminal

With sharpen installed, this command opens exactly this challenge in your local arena:

sharpen 1

First time? The full install is right below.

How to play

  1. 1 Install Claude Code if you do not have it yet: claude.com/claude-code
  2. 2 Install sharpen from npm:
    npm install -g @juanwmedia/sharpen
  3. 3 Then launch it; the arena opens in your browser:
    sharpen 1
  4. or Or try it without installing anything:
    npx @juanwmedia/sharpen 1
  5. 4 And to update when a new version ships:
    sharpen update