This repository contains my personal Claude Code configuration and customizations.
- CLAUDE.md - Core development policies and standards
- 29 Custom Skills - Workflow automation (safe-commit, create-pr, security-scan, etc.)
- 6 Slash Commands - Quick command shortcuts
- MCP Configuration - Model Context Protocol servers
- Settings - Claude Code preferences
cd ~
git clone https://gitea.cmtriley.com/mriley/claude-config.git .claudenpm install -g @anthropic-ai/claude-codeThe mcp.json file includes these servers:
- context7 - Library documentation
- fetch - Web content retrieval
- filesystem - File operations
- git - Version control
- playwright - Browser automation
Make sure you have the required tools:
# Install uvx (for Python-based MCP servers)
pip install uv
# MCP servers will auto-install via npx/uvx when first usedAdd to your ~/.zshrc or ~/.bashrc:
# Gitea
export GITEA_ACCESS_TOKEN="your-token-here"
# GitHub (if needed)
export GITHUB_ACCESS_TOKEN="your-token-here"Edit ~/.claude/mcp.json and update the filesystem server paths to match your Mac:
{
"filesystem": {
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/yourusername/projects" // Update this path
]
}
}check-history- Review git history at start of taskssafe-commit- Commit with quality checkscreate-pr- Create pull requestmanage-branch- Branch management (enforces mriley/ prefix)
security-scan- Scan for vulnerabilitiesquality-check- Lint and format checksrun-tests- Execute test suites
api-doc-writer- Generate API documentationmigration-guide-writer- Create migration guidestutorial-writer- Write tutorials
setup-go- Go development environmentsetup-python- Python development environmentsetup-node- Node.js/TypeScript environment
After setup, start Claude Code in any project:
cd ~/projects/myproject
claudeUse skills with the / prefix:
/check-history
/safe-commit
/create-pr
cd ~/.claude
git pullcd ~/.claude
git add -A
git commit -m "Update configuration"
git push- Runtime files (history, credentials, debug logs) are excluded via
.gitignore - Never commit
.plans/or.prompts/directories - MCP server configurations may need path adjustments per machine
- Access tokens should be set as environment variables, not committed
# Check MCP configuration
cat ~/.claude/mcp.json
# Test individual server
npx @upstash/context7-mcp@latest# Verify skills directory
ls ~/.claude/skills/
# Check skill format
cat ~/.claude/skills/safe-commit/Skill.md# Fix permissions
chmod -R 755 ~/.claude- Gitea: https://gitea.cmtriley.com/mriley/claude-config
- Private Repository - Not publicly accessible