NonDev Apps

Day 10 of 21

Slash commands — shortcuts that save hours every week

Goal: Claude Code has a hidden menu of shortcuts that most beginners never find. Today you learn the ones that matter most and use them in a real session.

What to do

01

Open Claude Code and type /help

Start Claude Code in your project folder. Then type:

/help
02

Make three small changes — one at a time

Use the 4-part formula to make three small improvements to your homepage. One prompt, one change, check after each. Keep it simple: change a heading, adjust spacing, update a button label.

03

Use /compact to keep the session focused

After making your three changes, type:

/compact keep the color codes we are using, the file names I changed, and the current state of the homepage
04

Make one more change and verify memory

After /compact, make one more small change. Verify Claude Code still knows your project context by including this in your prompt: beginnerHelpPrompt(

)Following the color codes in CLAUDE.md — change the homepage footer background to match the main background color.
05

Run /review on the session

Type:

/review

Expected result

You used /help, /compact with specific instructions, and /review in a real session. Each command did what it promised.

Key takeaway

  • Type /help to see every available shortcut. Use /compact in long sessions to keep Claude Code focused — always tell it what to keep. Use /review after any build to catch problems before you do.
Slash commands — shortcuts that save hours... — NonDev Apps