Personal Claude Code development environment configuration.
git clone https://github.com/MuchanKim/dotfiles.git ~/dotfiles
cd ~/dotfiles
./install.shThe install script creates symlinks from ~/.claude/ to this repo. Existing files are backed up with .bak suffix.
Install Claude Code plugins manually (not managed by dotfiles):
claude plugin add github
claude plugin add superpowers
claude plugin add swift-lspFor Apple projects, register the apple-docs MCP at project level:
claude mcp add apple-docs --project -- npx -y @kimsungwhee/apple-docs-mcp@latestclaude/
├── CLAUDE.md → ~/.claude/CLAUDE.md (global agent rules)
├── settings.json → ~/.claude/settings.json (runtime config)
├── mcp.json.template → ~/.claude/.mcp.json (generated with $HOME substitution)
├── rules/ → ~/.claude/rules/
│ ├── git-conventions.md Commit, PR, issue, branch rules
│ ├── apple-platform.md Apple dev rules (build, App Store, SwiftUI)
│ ├── swift-conventions.md Swift naming conventions (opt-in per project)
│ ├── posting-style.md Blog/article writing style guide
│ └── obsidian-conventions.md Note types, frontmatter, knowledge graph
└── templates/ → ~/.claude/templates/
├── apple-project.md Project CLAUDE.md template for Apple apps
└── init-apple-project.sh Interactive setup script (platform, arch, distribution)
Run the init script from the project root:
~/.claude/templates/init-apple-project.shOr Claude will suggest running it when it detects a new Apple project without a CLAUDE.md.
@~/.claude/rules/apple-platform.md
@~/.claude/rules/swift-conventions.mdIn project's .claude/CLAUDE.md:
## Project Overrides
- Commit/PR/Issue language: KoreanEdit files in ~/dotfiles/ directly — symlinks make changes take effect immediately.
cd ~/dotfiles
git add -A && git commit -m "[Chore] #N - description"
git pushOn other machines:
cd ~/dotfiles && git pull- Translate all Korean content in rules to English:
CLAUDE.md,git-conventions.md,apple-platform.md,posting-style.md git-conventions.md: Ask commit language on first commit if not specified in project CLAUDE.md; add PR label requirementposting-style.mdadded to rules directory listing below
- Rewrite
git-conventions.md: new[Type] #issueformat, flexible commit language (Korean/English per project), AI trace forbidden - Add
swift-conventions.md: Swift naming conventions as opt-in per-project rules - Slim down
apple-platform.md: remove architecture/project structure (moved to templates), keep platform-common rules only - Add
templates/: Apple project CLAUDE.md template + interactive init script - Add
mcp.json.template: Obsidian MCP with iCloud path support - Update
CLAUDE.md: commit now requires user approval, Apple project init script reference added - Update
install.sh: support templates and MCP config generation
- Initial dotfiles setup: CLAUDE.md, settings.json, rules/ (apple-platform, git-conventions, obsidian-conventions)