claude-code-cookbook  by wasabeef

Claude Code customization toolkit

created 1 month ago
566 stars

Top 56.8% on SourcePulse

GitHubView on GitHub
Project Summary

This repository provides a collection of custom commands, roles, and hooks designed to enhance the functionality of Claude Code. It targets developers and power users looking to automate common coding tasks, improve code quality, and streamline their development workflow by leveraging AI assistance for tasks like code analysis, refactoring, documentation, and pull request management.

How It Works

The cookbook leverages Claude Code's ability to execute custom commands and adopt specific roles. Users can define new commands as Markdown files in the /commands directory, enabling Claude to perform specialized actions like dependency analysis or performance profiling. Roles, defined in /agents/roles, allow Claude to act as an expert (e.g., architect, security specialist) for more targeted responses. Hooks, configured in settings.json, automate scripts at specific points in the development process, such as preventing dangerous commands or formatting code.

Quick Start & Requirements

  • Clone the repository: git clone https://github.com/wasabeef/claude-code-cookbook.git ~/.claude
  • Configure the path in your Claude client to ~/.claude.
  • Ensure script paths in settings.json match your environment.
  • Customization involves adding .md files to commands/ or agents/roles/, and editing settings.json.

Highlighted Details

  • Extensive command library for code analysis, refactoring, documentation, PR management, and more.
  • Role-playing capabilities allow Claude to act as specialized experts (architect, security, QA, etc.).
  • Automation hooks for pre-command checks, post-command formatting, and notifications.
  • Supports sub-agent execution for parallel analysis and multi-role collaboration.
  • Provides a visual guide for integrating commands into a typical development workflow.

Maintenance & Community

No specific contributor or community information is detailed in the README.

Licensing & Compatibility

The repository does not explicitly state a license. Users should verify compatibility for commercial or closed-source use.

Limitations & Caveats

The README does not specify any limitations or known issues. The effectiveness of the custom commands and roles is dependent on the underlying Claude Code capabilities and the quality of the provided configurations. Users are responsible for ensuring the security and correctness of custom hooks.

Health Check
Last commit

5 days ago

Responsiveness

Inactive

Pull Requests (30d)
10
Issues (30d)
0
Star History
571 stars in the last 30 days

Explore Similar Projects

Starred by Boris Cherny Boris Cherny(Creator of Claude Code; MTS at Anthropic) and Adam Wolff Adam Wolff(Claude Code Core; MTS at Anthropic).

claude-code-sdk-python by anthropics

4.2%
824
SDK for Claude Code interaction
created 2 months ago
updated 2 days ago
Starred by John Resig John Resig(Author of jQuery; Chief Software Architect at Khan Academy) and Didier Lopes Didier Lopes(Founder of OpenBB).

CCPlugins by brennercruvinel

6.9%
2k
Claude Code CLI enhancement framework
created 3 weeks ago
updated 2 weeks ago
Feedback? Help us improve.