What problem does it solve?
This Skill provides comprehensive guidance on Claude Code plugin architecture, directory layout, and best practices, enabling developers to create well-organized, maintainable plugins.
Core Features & Use Cases
- Plugin Directory Structure: Learn the conventional directory layout for automatic component discovery.
- Manifest Configuration: Understand the
plugin.json manifest and its fields.
- Component Organization: Explore patterns for organizing commands, agents, skills, hooks, and MCP servers.
- Portable Path References: Utilize
${CLAUDE_PLUGIN_ROOT} for path references across the plugin.
- File Naming Conventions: Follow naming conventions for consistency and clarity.
- Auto-Discovery Mechanism: Explore how Claude Code automatically discovers and loads components.
- Best Practices: Implement best practices for organization, naming, portability, and maintenance.
- Common Patterns: Study minimal, full-featured, and skill-focused plugin patterns.
- Troubleshooting: Get help for common issues like component loading and path resolution.
Quick Start
Use the plugin-structure skill to understand the directory structure of a Claude Code plugin.