{"id":29942782,"url":"https://github.com/wasabeef/claude-code-cookbook","last_synced_at":"2026-04-15T04:00:51.838Z","repository":{"id":306353715,"uuid":"1021581659","full_name":"wasabeef/claude-code-cookbook","owner":"wasabeef","description":"A collection of settings to make Claude Code more useful.","archived":false,"fork":false,"pushed_at":"2026-04-14T10:57:50.000Z","size":3702,"stargazers_count":1060,"open_issues_count":0,"forks_count":111,"subscribers_count":9,"default_branch":"main","last_synced_at":"2026-04-14T12:26:14.771Z","etag":null,"topics":["claude-code"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wasabeef.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"wasabeef"}},"created_at":"2025-07-17T16:04:29.000Z","updated_at":"2026-04-14T11:12:34.000Z","dependencies_parsed_at":"2025-08-10T08:21:02.126Z","dependency_job_id":"d7466604-901d-46ae-bb4f-2c5c03d839ad","html_url":"https://github.com/wasabeef/claude-code-cookbook","commit_stats":null,"previous_names":["wasabeef/claude-code-cookbook"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/wasabeef/claude-code-cookbook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Fclaude-code-cookbook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Fclaude-code-cookbook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Fclaude-code-cookbook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Fclaude-code-cookbook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wasabeef","download_url":"https://codeload.github.com/wasabeef/claude-code-cookbook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wasabeef%2Fclaude-code-cookbook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31825515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"online","status_checked_at":"2026-04-15T02:00:06.175Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["claude-code"],"created_at":"2025-08-03T02:03:18.723Z","updated_at":"2026-04-15T04:00:51.804Z","avatar_url":"https://github.com/wasabeef.png","language":"Shell","funding_links":["https://github.com/sponsors/wasabeef"],"categories":["指南与文档","HarmonyOS","Shell"],"sub_categories":["Windows Manager"],"readme":"# Claude Code Cookbook\n\nA collection of commands, roles, and automation scripts for [Claude Code](https://docs.claude.com/).\n\n**Automate your workflow without unnecessary confirmations**, allowing you to focus on what matters. Claude Code judges and executes common tasks like code fixes, test runs, and documentation updates.\n\n**Read in your language**: [🇯🇵 日本語](plugins/ja/README.md) · [🇺🇸 English](plugins/en/README.md) · [🇰🇷 한국어](plugins/ko/README.md) · [🇨🇳 简体中文](plugins/zh-cn/README.md) · [🇹🇼 繁體中文](plugins/zh-tw/README.md) · [🇪🇸 Español](plugins/es/README.md) · [🇫🇷 Français](plugins/fr/README.md) · [🇧🇷 Português](plugins/pt/README.md)\n\n## What is Claude Code Cookbook?\n\nClaude Code Cookbook provides a plugin system that extends Claude Code with:\n\n- **Commands**: Custom slash commands for common development tasks\n- **Roles**: Expert role presets for specialized assistance\n- **Hooks**: Automated scripts that trigger at specific events\n\n## Key Features\n\n### Commands\n\n39 slash commands organized by category. Execute by typing `/` followed by the command name.\n\n#### Pull Request Management\n\n| Command           | Description                                                                          |\n| :---------------- | :----------------------------------------------------------------------------------- |\n| `/pr-list`        | Display prioritized list of open PRs in current repository                           |\n| `/pr-issue`       | Display prioritized list of open Issues in current repository                        |\n| `/pr-create`      | Auto-generate PR from Git changes with detailed description and optimal branch setup |\n| `/pr-review`      | Systematic code quality and architecture review for Pull Requests                    |\n| `/pr-fix`    | Efficiently respond to PR review comments with 3-stage error analysis                |\n| `/pr-auto-update` | Automatically update PR description and labels based on changes                      |\n\n#### Code Quality \u0026 Refactoring\n\n| Command                 | Description                                                          |\n| :---------------------- | :------------------------------------------------------------------- |\n| `/refactor`             | Safe, step-by-step code refactoring with SOLID principles evaluation |\n| `/smart-review`         | Advanced code review to improve quality                              |\n| `/tech-debt`            | Analyze technical debt and create prioritized improvement plans      |\n| `/analyze-dependencies` | Analyze project dependencies and visualize circular dependencies     |\n| `/analyze-performance`  | Analyze application performance issues and propose improvements      |\n| `/design-patterns`      | Propose and review implementations based on design patterns          |\n\n#### Development Tools\n\n| Command            | Description                                                             |\n| :----------------- | :---------------------------------------------------------------------- |\n| `/fix-error`       | Suggest code fixes based on error messages                              |\n| `/explain-code`    | Clearly explain functionality and logic of selected code                |\n| `/commit-message`  | Generate commit messages based on changes                               |\n| `/semantic-commit` | Split large changes into meaningful units with semantic commit messages |\n| `/pr-checks` | Monitor GitHub Actions CI status and track until completion             |\n| `/screenshot`      | Capture and analyze screen screenshots                                  |\n\n#### Planning \u0026 Analysis\n\n| Command                | Description                                                                   |\n| :--------------------- | :---------------------------------------------------------------------------- |\n| `/plan`                | Activate planning mode and formulate detailed implementation strategies       |\n| `/spec`                | Create detailed specifications from requirements (spec-driven development)    |\n| `/ultrathink`          | Execute structured thinking process for complex issues                        |\n| `/check-fact`          | Verify information accuracy by referencing codebase and documentation         |\n| `/sequential-thinking` | Think through complex problems step-by-step using Sequential Thinking MCP     |\n| `/task`                | Launch specialized agents for autonomous search, research, and analysis tasks |\n\n#### Dependency Management\n\n| Command                | Description                                    |\n| :--------------------- | :--------------------------------------------- |\n| `/update-node-deps`    | Safely update dependencies in Node.js projects |\n| `/update-flutter-deps` | Safely update dependencies in Flutter projects |\n| `/update-rust-deps`    | Safely update dependencies in Rust projects    |\n\n**See your language plugin for the complete list of 39 commands with detailed documentation.**\n\n### Roles\n\nSwitch Claude to expert roles for specialized assistance. Each role can run **independently as a sub-agent** using the `--agent` option for parallel execution without interfering with main context.\n\n| Role          | Description                                              |\n| :------------ | :------------------------------------------------------- |\n| `security`    | Security vulnerability analysis and threat detection     |\n| `architect`   | Software architecture design and system design patterns  |\n| `frontend`    | UI/UX optimization and frontend best practices           |\n| `backend`     | API design, microservices, and cloud-native architecture |\n| `performance` | Performance optimization for speed and memory            |\n| `qa`          | Test planning and quality assurance strategies           |\n| `mobile`      | iOS/Android development and mobile-first design          |\n| `reviewer`    | Code review focusing on readability and maintainability  |\n| `analyzer`    | System analysis and root cause analysis                  |\n\n#### Usage Examples\n\n```bash\n# Normal mode (execute in main context)\n/cook:role security\n\"Review this authentication system for vulnerabilities\"\n\n# Sub-agent mode (execute in independent context)\n/cook:role security --agent\n\"Perform comprehensive security audit of entire project\"\n\n# Multiple roles in parallel\n/cook:multi-role security,performance --agent\n\"Analyze system's security and performance comprehensively\"\n```\n\n### Hooks\n\nAutomate development workflow with event-triggered scripts configured in `settings.json`:\n\n| Hook Script                    | Event                        | Description                                                 |\n| :----------------------------- | :--------------------------- | :---------------------------------------------------------- |\n| `preserve-file-permissions.sh` | `PreToolUse` / `PostToolUse` | Save and restore file permissions to prevent unintended changes |\n\n## Development Workflow\n\nTypical development flow using Claude Code Cookbook commands:\n\n```mermaid\nflowchart TB\n    Start([Task Confirmation]) --\u003e PRList[\"/cook:pr-list\u003cbr/\u003eOpen PR List\"]\n    Start --\u003e PRIssue[\"/cook:pr-issue\u003cbr/\u003eOpen Issue List\"]\n\n    PRList --\u003e TaskType{Type?}\n    PRIssue --\u003e TaskType\n\n    TaskType --\u003e|New Feature| Plan[\"/cook:spec\u003cbr/\u003eRequirements \u0026 Design\"]\n    TaskType --\u003e|Bug Fix| Fix[\"/cook:fix-error\u003cbr/\u003eError Analysis\"]\n    TaskType --\u003e|Refactoring| Refactor[\"/cook:refactor\u003cbr/\u003eImprovement\"]\n    TaskType --\u003e|Review| Review[\"/cook:pr-review\u003cbr/\u003eReview\"]\n\n    Plan --\u003e Design[\"/cook:role architect\u003cbr/\u003e/cook:role-debate\u003cbr/\u003eDesign Consultation\"]\n    Design --\u003e Implementation[Implementation \u0026 Testing]\n    Fix --\u003e Implementation\n    Refactor --\u003e Implementation\n    Review --\u003e Implementation\n\n    Implementation --\u003e Check[\"/cook:smart-review\u003cbr/\u003eQuality Check\"]\n    Check --\u003e Commit[\"/cook:semantic-commit\u003cbr/\u003eCommit by Purpose\"]\n    Commit --\u003e PR[\"/cook:pr-create\u003cbr/\u003eAuto PR Creation\"]\n    PR --\u003e CI[\"/cook:pr-checks\u003cbr/\u003eCI Status Check\"]\n\n    CI --\u003e Status{Issues?}\n    Status --\u003e|Yes| Feedback[\"Fix Response\u003cbr/\u003e/cook:pr-fix\u003cbr/\u003e/cook:fix-error\"]\n    Status --\u003e|No| End([Complete])\n\n    Feedback --\u003e Implementation\n\n    classDef commandBox fill:#e0f2fe,stroke:#0369a1,stroke-width:2px,rx:5,ry:5,color:#0c4a6e\n    classDef processBox fill:#f0f9ff,stroke:#0ea5e9,stroke-width:1px,rx:5,ry:5,color:#075985\n    classDef decisionBox fill:#fef3c7,stroke:#f59e0b,stroke-width:2px,rx:5,ry:5,color:#78350f\n    classDef startEnd fill:#86efac,stroke:#22c55e,stroke-width:2px,rx:20,ry:20,color:#14532d\n\n    class PRList,PRIssue,Plan,Fix,Refactor,Review,Design,Check,CI,Commit,PR,Feedback commandBox\n    class Implementation processBox\n    class TaskType,Status decisionBox\n    class Start,End startEnd\n```\n\n## Installation\n\n### Step 1: Add the Marketplace\n\nFirst, add this repository as a plugin marketplace in Claude Code:\n\n```bash\n/plugin marketplace add wasabeef/claude-code-cookbook\n```\n\n### Step 2: Install Your Language Plugin\n\nChoose and install your preferred language plugin:\n\n| Language         | Plugin Name                    | Install Command                                   |\n| :--------------- | :----------------------------- | :------------------------------------------------ |\n| 🇯🇵 **日本語**    | [plugins/ja](plugins/ja)       | `/plugin install cook@claude-code-cookbook`       |\n| 🇺🇸 **English**   | [plugins/en](plugins/en)       | `/plugin install cook-en@claude-code-cookbook`    |\n| 🇰🇷 **한국어**    | [plugins/ko](plugins/ko)       | `/plugin install cook-ko@claude-code-cookbook`    |\n| 🇨🇳 **简体中文**  | [plugins/zh-cn](plugins/zh-cn) | `/plugin install cook-zh-cn@claude-code-cookbook` |\n| 🇹🇼 **繁體中文**  | [plugins/zh-tw](plugins/zh-tw) | `/plugin install cook-zh-tw@claude-code-cookbook` |\n| 🇪🇸 **Español**   | [plugins/es](plugins/es)       | `/plugin install cook-es@claude-code-cookbook`    |\n| 🇫🇷 **Français**  | [plugins/fr](plugins/fr)       | `/plugin install cook-fr@claude-code-cookbook`    |\n| 🇧🇷 **Português** | [plugins/pt](plugins/pt)       | `/plugin install cook-pt@claude-code-cookbook`    |\n\nEach plugin includes:\n\n- Full command documentation in the native language\n- Role definitions optimized for that language\n- Language-specific customization examples\n\n### Quick Start\n\nAfter installation, commands and agents are invoked with a plugin-specific prefix:\n\n```bash\n# Commands (example with Japanese plugin)\n/cook:pr-create\n/cook:semantic-commit\n/cook:check-fact\n\n# Agents\n@agent-cook:frontend\n/cook:role security\n\n# Explore available commands\n/cook:\n```\n\n**Note**: The plugin name is automatically added as a prefix to prevent namespace conflicts when multiple language plugins are installed.\n\n## Why Claude Code Cookbook?\n\n- **Multilingual**: 8 language plugins with native translations\n- **Production-ready**: Battle-tested commands and roles\n- **Comprehensive**: 39 commands covering entire development workflow\n- **Extensible**: Easy to add your own commands and roles\n- **Safe**: Built-in safety hooks prevent dangerous operations\n- **Efficient**: Reduce repetitive tasks and context switching\n- **Open Source**: Apache 2.0 licensed\n\n## Example Workflow\n\n```bash\n# 1. Check current tasks\n/cook:pr-list\n\n# 2. Plan new feature\n/cook:spec\n/cook:role architect\n\n# 3. Implement with quality checks\n# ... write code ...\n/cook:smart-review\n\n# 4. Commit changes logically\n/cook:semantic-commit\n\n# 5. Create PR automatically\n/cook:pr-create\n\n# 6. Monitor CI and respond to feedback\n/cook:pr-checks\n/cook:pr-fix\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasabeef%2Fclaude-code-cookbook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwasabeef%2Fclaude-code-cookbook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwasabeef%2Fclaude-code-cookbook/lists"}