My personal Claude Code configuration repository containing custom commands, hooks, and documentation for enhanced AI-powered development workflows.
This repository contains my complete Claude Code setup, including:
- Custom hooks for deterministic control over Claude Code behavior
- Personal coding preferences and standards
- Custom commands for common development tasks
- Documentation and reference materials
Claude Code is Anthropic's agentic coding tool that helps developers:
- Build features by describing them in plain English
- Debug code by analyzing errors and implementing fixes
- Navigate and understand codebases
- Automate routine tasks like linting and merge conflict resolution
.claude/
├── CLAUDE.md # Global user instructions and preferences
├── commands/ # Custom Claude Code commands
├── docs/ # Technology-specific documentation
├── hooks/ # Python hooks for Claude Code lifecycle events
├── logs/ # JSON logs of hook executions
├── projects/ # Project-specific configurations
├── settings.json # Claude Code settings and hook configurations
└── utils/ # Utility scripts for hooks
The main configuration file that defines:
- How Claude should address me (as "LaBoeuf")
- Our working relationship and communication style
- Coding standards and preferences
- Technology-specific guidelines
- Testing requirements (TDD approach)
Implements deterministic control through Python scripts:
- PreToolUse: Validates commands before execution
- PostToolUse: Logs and validates tool completion
- Notification: Handles AI notifications with optional alerts
- Stop: Manages response completion
- SubagentStop: Handles subagent task completion
Pre-written markdown templates for common tasks:
brainstorm.md- Creative problem-solving sessionsplan.md,plan-tdd.md,plan-gh.md- Different planning approachesgh-issue.md,gh_comment.md- GitHub integration commandssecurity-review.md- Security analysis taskssetup.md- Project initialization
Technology-specific guidelines:
python.md- Python development with UV package managersource-control.md- Git commit conventionsusing-uv.md- Comprehensive UV field manual
- Pre-execution validation of potentially dangerous commands
- Comprehensive logging of all tool interactions
- Configurable permissions system
- Consistent coding standards across all projects
- TDD-focused development workflow
- Automated notifications for important events
- Smart context management through CLAUDE.md imports
- Works seamlessly with existing development tools
- Supports project-specific overrides
- Compatible with CI/CD workflows
-
Ensure Claude Code is installed:
npm install -g @anthropic-ai/claude-code
-
Clone this repository to
~/.claude:git clone [your-repo-url] ~/.claude -
The configuration will be automatically loaded when you run
claudein any project.
Simply run claude in your project directory. The configurations will:
- Apply personal preferences from CLAUDE.md
- Enable all configured hooks
- Make custom commands available via the
/commandsyntax
Use commands by typing / followed by the command name:
/plan # Create a development plan
/gh-issue # Create a GitHub issue
/security # Run security review
- Project-specific instructions: Create
./CLAUDE.mdin your project - Import additional files: Use
@path/to/filesyntax in CLAUDE.md - Quick edit: Use
#shortcut or/memorycommand
- Create a Python script in
hooks/ - Add the hook configuration to
settings.json - Test thoroughly before enabling
- Add markdown files to
commands/ - Use clear, instructive templates
- Include examples where helpful
This configuration was inspired by:
- claude-code-hooks-mastery - Comprehensive hooks implementation
- harperreed/dotfiles - Clean configuration structure
- Review hook code before enabling
- Test in safe environments first
- Keep logs for audit purposes
- Never store sensitive data in configuration files
This is a personal configuration repository, but feel free to:
- Fork and adapt for your own use
- Submit issues for bugs or suggestions
- Share your own configurations and improvements
This repository contains personal configurations and is provided as-is for reference and adaptation.
Built with Claude Code - Anthropic's AI-powered coding assistant