Skip to content

sgbett/dotfiles-claude

Repository files navigation

Claude Code Configuration

Personal configuration for Claude Code.

Contents

  • settings.json - MCP server configuration
  • mcp/ - Custom MCP servers
    • ruby-fetch/ - Ruby-based web fetch server
  • commands/ - Custom slash commands (symlinked from vendor/ where noted)
    • do/ → claude-workflow (/do:task, /do:commit, /do:changelog, /do:create-worktrees)
    • plan/ → claude-workflow (/plan:tasks, /plan:feature, /plan:prd, /plan:brainstorm)
    • project/ - Custom commands (/project:generate, /project:worktree) + current.md → claude-workflow
    • speckit/ → spec-kit (/speckit:specify, /speckit:plan, /speckit:tasks, /speckit:implement, etc.)
    • Standalone: /transcript, /dotfiles-setup, /merge-cleanup
  • vendor/ - Upstream repos (gitignored)
  • skills/ - User-level skills (symlinked from vendor/ where noted)
    • Architecture skills → ai-software-architect (/setup-architect, /architecture-review, /specialist-review, etc.)
    • Custom skills: /new-project-rails, /repo-security-*, /worktree, etc.
  • playbooks/ - Formalised procedures

What Claude Code Auto-Loads

When starting a session in any project, Claude Code automatically injects:

File Behaviour
CLAUDE.md Always loaded into context
rules/*.md Always loaded (if directory exists)
settings.json Applied as configuration

Everything else requires explicit action:

File/Folder Requires
NEW-PROJECT-RAILS.md Read tool or @ import
playbooks/*.md Read tool or @ import
skills/ Invoke with /skill-name
commands/ Invoke with /command-name

Tip: Reference files in CLAUDE.md (e.g., "Follow ~/.claude/NEW-PROJECT-RAILS.md") without importing them. They'll only be read when needed, keeping context lean.

Setup

See SETUP.md for installation options:

  • Option A: Clone directly to ~/.claude (for contributors)
  • Option B: Use /dotfiles-setup command (for users) — selective installation with collision handling

What's NOT Tracked

See .gitignore for full list. Key exclusions:

  • history.jsonl - conversation history
  • projects/ - per-project memory
  • debug/, todos/, plans/ - ephemeral session data (working memory)

Note: plans/ is working memory (gitignored), while playbooks/ is tracked. See playbooks/workflow-guide.md for the plan lifecycle.

Attribution

This project incorporates work from:

  • ai-software-architect — Architecture review skills, ADR creation, specialist reviews
  • claude-workflow — Task breakdown, planning, and execution commands (/plan:*, /do:*)
  • spec-kit — Specification-driven development commands (/speckit:*)

Reference Documentation

The docs/ folder contains reference guides:

  • worktree-setup.md - Git worktrees for parallel Claude sessions
  • spotlight.md - macOS Spotlight re-indexing commands
  • terminal-basics.md - Terminal fundamentals
  • wsl-git.md - Git configuration for WSL

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors