概要
Mastering the architecture of Claude Code plugins is essential for building scalable and maintainable developer tools. This skill provides comprehensive guidance on organizing plugin components—including commands, subagents, and skills—within a standardized directory layout. It covers critical manifest configuration in .claude-plugin/plugin.json, explains the automatic discovery mechanism, and details how to use portable path references like ${CLAUDE_PLUGIN_ROOT} to ensure cross-platform compatibility. By following these architectural best practices, developers can create plugins that integrate perfectly with the Claude Code ecosystem, whether building simple slash commands or complex agentic workflows.