
Plugin Structure
This is your reference when scaffolding Claude Code plugins or figuring out why components aren't loading. It covers the mandatory directory layout (manifest in .claude-plugin/, components at root), auto-discovery rules for commands/agents/skills/hooks, and the critical ${CLAUDE_PLUGIN_ROOT} variable for portable paths. The structure is stricter than you might expect: plugin.json must live in .claude-plugin/ but everything else stays at the top level, and you'll break portability if you hardcode paths instead of using the environment variable. Useful when you're building a plugin from scratch or debugging why your hooks or MCP servers aren't firing. The examples are concrete enough to copy and adapt.
- skills.sh installs
- 184
- GitHub stars
- 476
- last updated
- Aug 21, 2026
Install
$ npx -y skills add aiskillstore/marketplace --skill plugin-structure --agent claude-codeInstalls into .claude/skills of the current project.
Files
Plugin Structure for Claude Code
Overview
Claude Code plugins follow a standardized directory structure with automatic component discovery. Understanding this structure enables creating well-organized, maintainable plugins that integrate seamlessly with Claude Code.
Key concepts:
- Conventional directory layout for automatic discovery
- Manifest-driven configuration in
.claude-plugin/plugin.json - Component-based organization (commands, agents, skills, hooks)
- Portable path references using
${CLAUDE_PLUGIN_ROOT} - Explicit vs. auto-discovered component loading
Directory Structure
Every Claude Code plugin follows this organizational pattern:
Sponsors
Details
- Repository
- github.com/aiskillstore/marketplace
- Categories
- Frontend Development, Code Review & Quality, Automation & Workflows, Sales & Marketing
- First seen
- Jun 3, 2026
More from aiskillstore/marketplace
All 37- Web Artifacts Builder180
- Theme Factory174
- Internal Comms173
- Mcp Integration173
- Pdf169
- Writing Hookify Rules168
- Plugin Settings167
- Template Skill165
- Slack Gif Creator141
- Brand Guidelines137
- Claude Opus 4 5 Migration125
- Agent Skill Trust Check
- Alibaba Java Coding Guidelines Skill
- Diasporic Intelligence
- Example Skill
- Find Outlook Emails
- Manage Linkedin Network
- Network And Relationship Manager
- Organize Google Contacts
- Schedule With Google Calendar
- Schedule With Outlook
- Skill Creator1.1K
- Frontend Design255
- Xlsx238