Skip to main content

Claude Code: My Complete Setup

ยท One min read
Craig P. Motlin
Software Engineer

Simon Willison wrote "I'm disappointed at how little good writing there is out there about effective prompting."

I spent a lot of time writing and tweaking my prompts, so I'm sharing what works for me.

This is my complete Claude Code setup, broken down into four posts:

๐Ÿ“‹ Claude Code: Configuration That Works

  • Global CLAUDE.md
  • Code style, commit message, and conversation guidelines

๐Ÿ”„ Claude Code: The Perfect Development Loop

My core development loop using custom commands:

  • /todo - Implement a task from a checklist
  • /commit - git commit with a nice message
  • /compact - Manage the context window

๐ŸŒณ Claude Code: Parallel Development with /worktree

Work on multiple tasks in parallel:

  • /worktree - Create Git worktrees for tasks
  • Automatic task status tracking
  • Clean context switching

๐Ÿ› ๏ธ Claude Code: Custom Slash Commands

Commands for code maintenance:

  • /comments - Clean up comments in recent changes
  • /all-comments - Clean up comments project-wide
  • /emoji - Add emoji to content
  • /learn - Add to Claude memory
  • /rebase - Resolve merge conflicts