Plugin Structure
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.
- Type
- Skill
- Author
- anthropics
- Category
- Documentation
- GitHub stars
- 44.8K
- Installs
- 6.8K
- Last updated
- November 2, 2026
Install
npx skills add https://github.com/anthropics/claude-plugins-official --skill plugin-structureUse cases
- Scaffold a new Claude Code plugin with commands, agents, skills, and hooks.
- Set up plugin.json and confirm auto-discovery picks up your component folders.
- Reorganize an existing plugin's directory layout and file naming conventions.
Frequently Asked Questions
What does it cover about plugin.json?
Manifest configuration — how plugin.json is set up and what it declares for the plugin.
Can it help with adding commands, agents, skills, and hooks?
Yes, component organization and auto-discovery for commands, agents, skills, and hooks are part of what it covers.
How do I reference the plugin root inside my files?
The skill covers using ${CLAUDE_PLUGIN_ROOT} within plugin components.
About this skill
Guidance on Claude Code plugin structure: directory layout, plugin.json manifest configuration, component organization, file naming conventions, and auto-discovery. It covers adding commands, agents, skills, and hooks, and using ${CLAUDE_PLUGIN_ROOT}. Use it when scaffolding a plugin or reorganizing an existing one.
Summary written with AI assistance from the project's public description.
More from anthropics
Frontend Design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography,...
by anthropics
Skill Creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or...
by anthropics
Pptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks,...
by anthropics
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or mergi...
by anthropics
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh