Why This Matters#
A plugin is a set of add-ons for Claude Code packaged in a single folder. Just as a smartphone app extends the phone’s capabilities, a plugin adds new commands, skills, and automatic checks to Claude Code.
Plugins let you:
- π¦ Install ready-made solutions from the community
- π Reuse the same tools across different projects
- π₯ Share useful configurations with your team
- π― Use specialized skills (code review, Git workflow, design)
Plugin Structure#
Each plugin is a folder with the following structure:
my-plugin/
βββ .claude-plugin/
β βββ plugin.json β Manifest (plugin passport)
βββ commands/ β Commands (slash commands)
β βββ my-command.md
βββ agents/ β Agents (specialized assistants)
β βββ my-agent.md
βββ skills/ β Skills (knowledge bases)
β βββ my-skill/
β βββ SKILL.md
βββ hooks/ β Hooks (automatic checks)
β βββ hooks.json
βββ README.md β DocumentationManifest β plugin.json#
This is the plugin’s “passport.” Minimal version:
{
"name": "my-plugin"
}Recommended version with full info:
{
"name": "my-plugin",
"version": "1.0.0",
"description": "What this plugin does",
"author": {
"name": "Your Name",
"email": "email@example.com"
}
}Rules for the name (name):
- Only lowercase letters, numbers, and hyphens:
code-reviewβ - No spaces or uppercase letters:
Code Reviewβ - Must start with a letter:
1-pluginβ
Installing Plugins#
Method 1: From the Marketplace#
# Inside Claude Code, use the command
/plugins install code-reviewMethod 2: From a Local Folder (For Development)#
claude --plugin-dir ./path/to/my-pluginMethod 3: From a Git Repository#
Clone the repository and specify the path to the plugin folder.
Overview of Official Plugins#
π code-review β Automated Code Review#
Conducts pull request reviews using specialized agents and a confidence scoring system.
{
"name": "code-review",
"description": "Automated code review for pull requests",
"version": "1.0.0"
}What it does: analyzes your code for errors, style, and security.
πͺ hookify β Creating Hooks via Markdown#
Lets you create hooks (automatic checks) through simple .local.md files instead of writing scripts.
{
"name": "hookify",
"version": "0.1.0",
"description": "Easily create hooks to prevent unwanted behaviors"
}What it does: analyzes patterns in the conversation and configures hooks. Includes commands /hookify:hookify, /hookify:list, /hookify:configure.
π pr-review-toolkit β Comprehensive Pull Request Analysis#
A set of 5+ specialized agents for deep PR analysis:
- code-reviewer β general code review
- pr-test-analyzer β test analysis
- comment-analyzer β comment analysis
- silent-failure-hunter β finding silent failures
- code-simplifier β code simplification
- type-design-analyzer β type analysis
π¦ commit-commands β Simplified Git Operations#
Three convenient commands:
/commit-commands:commitβ create a commit/commit-commands:commit-push-prβ commit + push + create PR/commit-commands:clean_goneβ clean up stale branches
π¨ frontend-design β Interface Design#
A skill for creating quality UI/UX implementations:
{
"name": "frontend-design",
"description": "Frontend design skill for UI/UX implementation"
}π security-guidance β Security Checks#
Hooks that automatically remind about security when editing files. Checks Edit, Write, MultiEdit operations.
π οΈ plugin-dev β Plugin Development#
Skills for creating your own plugins: structure, commands, hooks, skills.
π Other Plugins#
- explanatory-output-style β explanatory response style
- learning-output-style β educational response style
- ralph-wiggum β fun response style π
- feature-dev β feature development
- claude-opus-4-5-migration β migration to new models
How Plugin Commands Differ from Regular Ones#
When using plugins, commands get a namespace:
| Without Plugin | With Plugin |
|---|---|
/review |
/code-review:review |
/commit |
/commit-commands:commit |
/hello |
/my-plugin:hello |
This prevents conflicts if two plugins have commands with the same name.
Step-by-Step: Using a Plugin#
Step 1: Download the Plugin#
# Clone the repository with plugins
git clone https://github.com/anthropics/claude-code-pluginsStep 2: Launch Claude Code with the Plugin#
claude --plugin-dir ./claude-code-plugins/plugins/code-reviewStep 3: Use Plugin Commands#
> /code-review:code-reviewClaude Code will perform an automated review of your code.
Lesson Summary#
- A plugin is a folder with a
plugin.jsonmanifest and a set of components - Plugin components: commands, agents, skills, hooks
- The plugin name must be in
kebab-caseformat (lowercase letters and hyphens) - Plugin commands have a namespace:
/plugin-name:command - Ready-made plugins exist for code review, Git operations, design, and security
- Plugins are installed from the marketplace, a local folder, or a Git repository