Notes on building software.

A personal blog of technical articles about software development.

A Tour of Claude Code's Built-in Slash Commands

September 9, 2026· 2 min read·claude-codeslash-commandscliproductivity

A quick map of the slash commands Claude Code ships with, grouped by what they help you do.

/clear vs /compact: Managing Your Context Window

September 9, 2026· 2 min read·claude-codeslash-commandscontextproductivity

When to wipe the chat with /clear and when to shrink it with /compact so Claude stays sharp.

Switching Models on the Fly with /model

September 9, 2026· 2 min read·claude-codeslash-commandsproductivity

Swap between Opus, Sonnet, and Haiku mid-session to match the model to the task at hand.

Reviewing Code with /review and /security-review

September 9, 2026· 2 min read·claude-codeslash-commandscode-reviewsecurity

Use the built-in review commands to catch bugs and security issues before they ship.

Bootstrapping a Project with /init

September 9, 2026· 2 min read·claude-codeslash-commandssetupproductivity

Run /init to generate a CLAUDE.md that teaches Claude how your project works.

Managing Tool Permissions with /permissions

September 9, 2026· 2 min read·claude-codeslash-commandspermissionscli

Control what Claude can do without asking, using allow and deny rules through /permissions.