My opinionated resources for working with Claude Code.
- 🤖 Agents for research, code review, security analysis, etc.
- ⚡ Slash commands for task completion, prompt refinement, and more
- 🔒 Reasonable permissions for balancing agent autonomy with security
- 🔔 Notification hooks to alert you when Claude needs attention
- 🛡️ Safe wrapper scripts for granting Claude access to dangerous commands
- 🌳 Worktree management scripts for building ergonomic workflows
- 📊 Status line showing the current model and session information
- 📖 Instructions telling Claude how to use the resources in this repository
- Claude Code to make use of these resources
- macOS is assumed, but can be adapted for Linux
- Homebrew for macOS dependency management
- Python 3 for the
safe-findscript - Bun for the status line
git clone [email protected]:averycrespi/claudefiles.git
cd claudefiles
./setup.shThe setup script will:
- Install dependencies via Homebrew
- Symlink configuration files to
~/.claude/ - Configure MCP servers in Claude Code
- Add the scripts directory to your
PATH
- Use the
code-revieweragent for detailed code reviews - Use the
research-assistantagent for in-depth research and analysis - Use the
security-analystagent to find vulnerabilities
- Use
/prompt:refine prompt-fileto improve your existing Claude prompts - Use
/prompt:suggestto analyze your Claude usage history and suggest custom commands
Recommendation: Wipe the context with
/clearbetween each step. This prevents thought leakage & context bloat.
- Use
/task:specify requirementsto generate a spec through Socratic questioning, written toSPEC.md - Use
/task:plan [spec-file]to transform a spec into a detailed execution plan, written toPLAN.md - Use
/task:execute [plan-file]to execute a plan from a file, with progress logged toEXECUTION.md - Use
/task:verify [spec-file]to validate the final state against a spec, reporting toVERIFICATION.md
- Use
/docs:updateto analyze recent code changes and update documentation automatically - Use
/git:committo analyze staged changes and create smart commits with auto-generated messages - Use
/git:review github-pr-urlto generate AI-assisted GitHub PR review analysis to augment human reviewers
- Claude has been instructed how to use these scripts
- The permissions prevents Claude from using the unsafe versions
- Use
worktree-addto create a new worktree and tmux window for a branch- Under the hood,
worktree-initis called to start a new tmux session
- Under the hood,
- Use
worktree-rmto destroy a worktree and its associated tmux window - The Claude hooks call
worktree-notifywhen Claude is done or needs attention