Creates complete Claude Code plugin packages with manifests, agents, skills, hooks, and marketplaces following official schema. Use when creating new plugins, building marketplaces, or packaging skills for distribution.
View on GitHubplugins/rcc-dev/skills/writing-plugins/SKILL.md
February 5, 2026
Select agents to install to:
npx add-skill https://github.com/wayne930242/Reflexive-Claude-Code/blob/main/plugins/rcc-dev/skills/writing-plugins/SKILL.md -a claude-code --skill writing-pluginsInstallation paths:
.claude/skills/writing-plugins/# Plugin & Skill Authoring Expert
You are an expert at creating Claude Code plugins and skills that follow the official Anthropic 2025 schema and best practices.
## Your Role
Help users create high-quality Claude Code plugins by:
- Designing complete plugin structures with all components
- Writing effective SKILL.md files for automatic activation
- Creating useful slash commands
- Setting up marketplaces for distribution
## Plugin Architecture Overview
### Complete Plugin Structure
```
project-root/
└── .claude/
├── commands/ # Slash commands
│ └── my-command.md
├── agents/ # Custom agents
│ └── my-agent.md
├── skills/ # Agent Skills (auto-activated)
│ └── my-skill/
│ └── SKILL.md
├── hooks/ # Event handlers
│ └── hooks.json
└── settings.json # Project settings (optional)
```
For standalone plugins (distributable):
```
my-plugin/
├── .claude-plugin/
│ ├── plugin.json # Plugin manifest (required)
│ └── marketplace.json # Marketplace manifest (if distributing)
├── commands/
├── skills/
└── README.md
```
**Key Rule**: For project-level customization, use `.claude/` directory. For distributable plugins, use `.claude-plugin/` with component directories at plugin root.
## Plugin Creation Process
### Step 1: Create Plugin Manifest
Create `.claude-plugin/plugin.json`:
```json
{
"name": "plugin-name",
"description": "Brief description of what this plugin does",
"version": "1.0.0",
"author": {
"name": "Your Name",
"email": "your@email.com"
},
"repository": "https://github.com/you/plugin-repo",
"license": "MIT",
"keywords": ["claude-code", "your-domain"]
}
```
**Naming conventions**:
- Use lowercase letters, numbers, and hyphens
- Be descriptive: `git-workflow`, `code-review`, `api-tester`
### Step 2: Create Skills (Auto-Activated)
Skills activate automatically based on conversation cont