What problem does it solve?
This Skill provides comprehensive guidance on Claude Code plugin architecture, directory layout, and best practices, helping developers create well-organized, maintainable plugins that integrate seamlessly with Claude Code.
Core Features & Use Cases
- Plugin Directory Structure: Detailed explanations of the conventional directory layout for automatic component discovery.
- Plugin Manifest: In-depth understanding of
plugin.json manifest configuration, including required and recommended metadata.
- Component Organization: Insight into component organization patterns (commands, agents, skills, hooks) and auto-discovery mechanisms.
- Portability: Guidance on using portable path references with
${CLAUDE_PLUGIN_ROOT} for intra-plugin path references.
- File Naming Conventions: Best practices for naming components, scripts, and documentation files.
- Use Case: When creating a new plugin, the Skill walks you through setting up the directory structure, creating the manifest, and organizing your components.
Quick Start
Use the plugin-structure skill to understand how to set up a basic plugin structure with commands, agents, skills, and hooks.