ggprompts/my-gg-plugins/plugin-development
Claude Code and agent skill by ggprompts/my-gg-plugins
- community
Checking that the SKILL.md file is still in the repository.
Create and manage Claude Code plugins including commands, agents, skills, hooks, and MCP servers. This skill should be used when building new plugins, debugging plugin issues, understanding plugin structure, or working with plugin marketplaces.
Install
npx vskill@latest install ggprompts/my-gg-plugins/plugin-developmentSKILL.md
Plugin Development
This skill provides guidance for creating, structuring, and debugging Claude Code plugins.
When to Use
This skill should be used when:
- Creating a new Claude Code plugin from scratch
- Adding components (commands, agents, skills, hooks, MCP servers) to an existing plugin
- Debugging plugin loading or configuration issues
- Understanding plugin directory structure and manifest format
- Preparing plugins for distribution via marketplaces
Plugin Overview
A Claude Code plugin is a directory containing:
- `.claude-plugin/plugin.json` (required) - Plugin manifest with metadata
- Component directories (optional) -
commands/,agents/,skills/,hooks/,.mcp.json - Scripts and assets - Supporting files for hooks and utilities
Creating a Plugin
Step 1: Create Directory Structure
Step 2: Create plugin.json
Minimal manifest:
Full manifest - see references/manifest-schema.md.
Step 3: Add Components
Commands - Create commands/name.md:
Agents - Create agents/name.md:
Skills - Create skills/name/SKILL.md:
Hooks - Create hooks/hooks.json or inline in plugin.json:
MCP Servers - Create .mcp.json or inline in plugin.json:
Publishing as a Marketplace
To make your plugin installable via github: or local: sources, add .claude-plugin/marketplace.json:
Critical: All source paths must start with ./ (e.g., "./" not ".").
See references/marketplace-schema.md for complete schema.
Critical Rules
- `.claude-plugin/` contains ONLY `plugin.json` and `marketplace.json` - All component directories go at plugin root
- All paths are relative - Must start with
./ - Use `${CLAUDE_PLUGIN_ROOT}` - For absolute paths in hooks/MCP configs
- Scripts must be executable - Run
chmod +x script.sh
Debugging
Run claude --debug to see:
- Which plugins are loading
- Errors in plugin manifests
- Command, agent, and hook registration
- MCP server initialization
Common Issues
| Issue | Cause | Solution | |
|---|---|---|---|
| Plugin not loading | Invalid plugin.json | Validate JSON syntax | |
| Commands not appearing | Wrong directory structure | Ensure commands/ at root, not in .claude-plugin/ | |
| Hooks not firing | Script not executable | Run chmod +x script.sh | |
| MCP server fails | Missing CLAUDE_PLUGIN_ROOT | Use variable for all plugin paths | |
| Path errors | Absolute paths used | All paths must be relative with ./ | |
| "marketplace not found" | Missing marketplace.json | Add .claude-plugin/marketplace.json | |
| "source must start with ./" | Source path is "." not "./" | Change to "./" for root plugin |
Resources
references/plugin-structure.md- Complete directory layout and file locationsreferences/manifest-schema.md- Full plugin.json schema with all fieldsreferences/marketplace-schema.md- Marketplace.json schema for github/local sourcesreferences/components.md- Detailed specs for commands, agents, skills, hooks, MCPassets/templates/- Template files for creating new plugins
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/plugin-development/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ggprompts/my-gg-plugins/plugin-development)