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 three 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:

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

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

Commands for code maintenance:

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