PRB's .claude directory.
Get up and running in 3 steps:
# 1. Clone to ~/.claude
git clone [email protected]:PaulRBerg/dot-claude.git ~/.claude
cd ~/.claude
# 2. Install dependencies
bun install # Node dependencies (Husky, lint-staged)
uv sync --all-extras # Python dependencies
# 3. Try it out
ccc # Make your first commit with the claude wrapperSee Installation for detailed setup and Configuration for customization.
Modular architecture: All JSONC files in settings/* automatically merge into settings.json on commit via Husky +
lint-staged.
Editing: Modify settings/**/*.jsonc files (never edit settings.json directly). Changes auto-merge on commit, or
run just merge_settings manually.
Modular configuration system using @ syntax for composable behavioral instructions:
@context/CRITICAL_THINKING.md
@context/SENIOR_PROGRAMMER.mdContext files are organized by concern and imported via @filename.md references. Base instructions cascade through
specialized modules, creating layered behavioral policies without duplication.
- Node.js - For Husky/lint-staged automation (
npm install) - Just - Command runner for build scripts (
brew install just) - Python 3.12+ and uv - Python package and project manager
Clone or copy this repository to ~/.claude:
git clone [email protected]:PaulRBerg/dot-claude.git ~/.claude
cd ~/.claudebun install # Install Node dependencies (Husky, lint-staged)
uv sync --all-extras # Install Python dependenciesInstall via Homebrew on macOS:
brew install bat delta eza fd fzf gh gum jq just rg ruff uv yqjust full-check # Run all code checks
just test-hooks # Run hook tests
claude # Run ClaudeFlags: Add flags at the end of prompts to trigger behaviors (-s for subagents, -c for auto-commit, -t for
testing, -d for debug, -n to skip linting). Flags are composable: implement API -s -t -c.
Justfile: Run common tasks like just full-check (all code checks), just merge_settings (merge JSONC files), or
just test (run tests). See justfile for all commands.
Slash commands in commands/*.md handle GitHub workflows, releases, and task management. Examples: /commit (atomic
commits), /create-pr (PRs with semantic analysis), /fix-issue (fetch and fix issues), /bump-release (version
bumping).
Auto-activating skills in skills/: typescript, web3-frontend, ui-ux-design, dry-refactor.
External plugins: code-review, playwright-skill.
Specialized subagents in agents/: code review, debugging, web3 backend engineering, tool discovery. Invoke via -s
flag or Task tool.
Three servers extend Claude's capabilities (configured in .mcp.json):
- context7 - Library documentation and code examples
- serena - Semantic code navigation and editing
- sequential-thinking - Chain-of-thought reasoning
Enable/disable in settings/permissions/mcp.jsonc.
Event-driven automation. See hooks/README.md for details.
[!NOTE] Highly recommended: The
claudewrapper runs Claude with--dangerously-skip-permissionsand auto-loads MCP servers from.mcp.json. See this issue.
Optional shell utilities in utils.sh:
ccc [args]- Streamlined commits via/commit(defaults to--all)ccbump [args]- Quick release bumping via/bump-releaseclaude [args]- Enhanced CLI wrapper with MCP auto-loading
Source in your shell config:
# In ~/.zshrc
source ~/.claude/utils.shThis project is licensed under MIT.