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
Open Claude Code and type /help
Start Claude Code in your project folder. Then type:
/helpMake 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.
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 homepageMake 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.Run /review on the session
Type:
/reviewExpected 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.