create-claude-plugin
БесплатноБез исполняемых скриптовНе проверенGuide for creating Claude Code plugins that bundle skills, agents, commands, hooks, and MCP servers for distribution. Covers plugin structure…
Об этом скилле
Create Claude Plugin Guide
This skill helps you create Claude Code plugins - bundled collections of skills, agents, commands, hooks, and MCP servers that can be distributed and shared via plugin marketplaces. Plugins enable team collaboration and community sharing of Claude Code extensions.
Quick Start
When creating a new plugin, follow this workflow:
- Define purpose - What capabilities will the plugin provide?
- Choose components - Skills, agents, commands, hooks, MCP servers?
- Create structure - Set up plugin directory with components
- Configure marketplace - Create marketplace.json with metadata
- Test locally - Install and verify plugin works correctly
- Document thoroughly - Write comprehensive README
- Version appropriately - Use semantic versioning (1.0.0)
- Publish marketplace - Share via git repository or distribution channel
What is a Plugin?
Claude Code Plugins are packaged collections of extensions that provide:
- Skills: Automatic capabilities with context-based discovery
- Agents: Specialized AI assistants for specific domains
- Commands: Reusable slash commands for common workflows
- Hooks: Event-driven automation and formatting
- MCP Servers: External service integrations
Plugins enable:
- Team sharing: Distribute standardized workflows to teammates
- Community contribution: Share capabilities with broader community
- Versioned distribution: Manage updates with semantic versioning
- Bundled functionality: Package related capabilities together
Plugin vs Individual Components
When to Create a Plugin
Use plugins for:
- Distributing multiple related capabilities
- Team-wide standardization
- Community sharing
- Versioned capability management
- Complex multi-component workflows
Examples:
- Document processing suite (Excel, Word, PDF skills)
- Development workflow bundle (code review, testing, deployment)
- Design system toolkit (components, themes, guidelines)
- API integration package (authentication, requests, error handling)
When to Use Individual Components
Use individual files for:
- Personal productivity tools
- Project-specific customizations
- Rapid prototyping
- One-off utilities
Plugin Structure
Basic Plugin Directory
my-plugin/
├── .claude-plugin/
│ └── marketplace.json # Plugin metadata (required)
├── skills/ # Agent Skills (optional)
│ └── my-skill/
│ └── SKILL.md
├── agents/ # Subagents (optional)
│ └── my-agent.md
├── commands/ # Slash commands (optional)
│ └── my-command.md
├── hooks/ # Event handlers (optional)
│ └── hooks.json
├── mcp/ # MCP server configs (optional)
│ └── .mcp.json
├── README.md # Documentation (recommended)
├── LICENSE.txt # License information (recommended)
└── THIRD_PARTY_NOTICES.md # Third-party attributions (if applicable)
Minimal Plugin
Minimum requirement is .claude-plugin/marketplace.json:
simple-plugin/
├── .claude-plugin/
│ └── marketplace.json
└── skills/
└── simple-skill/
└── SKILL.md
Marketplace Configuration (marketplace.json)
Basic Format
{
"name": "my-plugin-marketplace",
"owner": {
"name": "Your Name",
"email": "[email protected]"
},
"metadata": {
"description": "Brief marketplace description",
"version": "1.0.0"
},
"plugins": [
{
"name": "my-plugin",
"description": "What this plugin does",
"source": "./",
"strict": false,
"skills": [
"./skills/my-skill"
]
}
]
}
Field Descriptions
Marketplace Level:
name(required): Unique marketplace identifier (lowercase, hyphens)owner(required): Owner information with name and emailmetadata(required): Marketplace description and version
Plugin Level:
name(required): Plugin identifier (appears in/plugin list)description(required): What the plugin provides (shown to users)source(required): Plugin root directory (usually./)strict(optional): Strict validation mode (default: false)skills(optional): Array of skill directory pathsagents(optional): Array of agent file pathscommands(optional): Array of command file pathshooks(optional): Hooks configuration pathmcp(optional): MCP configuration path
Complete Example: Multi-Component Plugin
{
"name": "devtools-marketplace",
"owner": {
"name": "Development Team",
"email": "[email protected]"
},
"metadata": {
"description": "Development workflow tools and utilities",
"version": "2.1.0"
},
"plugins": [
{
"name": "devtools",
"description": "Comprehensive development workflow toolkit with code review, testing, and deployment capabilities",
"source": "./",
"strict": false,
"skills": [
Установить create-claude-plugin в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл create-claude-plugin?
Guide for creating Claude Code plugins that bundle skills, agents, commands, hooks, and MCP servers for distribution. Covers plugin structure, marketplace.json format, installation, testing, and publishing. Use when the user wants to create plugins, distribute skills/agents, build marketplaces, or mentions creating/packaging/publishing plugins.
Как установить скилл create-claude-plugin?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл create-claude-plugin запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic