# Plugin Structure

> plugin.json at the root, components beside it

**Subcategory:** Anthropic  
**License:** Apache-2.0  
**Source:** https://github.com/anthropics/claude-plugins-official/blob/main/plugins/plugin-dev/skills/plugin-structure/SKILL.md

---

## When it is useful

This skill should be used when the user asks to "create a plugin", "scaffold a plugin", "understand plugin structure", "organize plugin components", "set up plugin.json", "use ${CLAUDE_PLUGIN_ROOT}", "add commands/agents/skills/hooks", "configure auto-discovery", or needs guidance on plugin directory layout, manifest configuration, component organization, file naming conventions, or Claude Code plugin architecture best practices.

## The Catch

plugin.json scaffold and auto-discovery. First-step only; overlaps the other plugin-dev siblings.
