Tips, tricks, and lessons from building software.
Tips, tricks, and lessons from building software — a personal dev blog by Tommy.
Running Two Claude Code Accounts on One Machine
I keep a personal and a work Claude Code account on one laptop and run both at once. Out of the box that isn't possible — here's the pain point, and the one environment variable that fixes it.
How I Manage Claude Code Memory: What to Commit, What to Keep Local
Claude Code reads instruction files before it does anything. Here is how I split them across user, project, and local files — which to commit, which to gitignore, and what kind of rule belongs in each.
A Tour of Claude Code's Built-in Slash Commands
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
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
Swap between Opus, Sonnet, and Haiku mid-session to match the model to the task at hand.
Reviewing Code with /review and /security-review
Use the built-in review commands to catch bugs and security issues before they ship.