Plugin Structure & Scaffolding

•
108
•

Standardizes and scaffolds Claude Code plugin development through structured directory layouts and manifest configurations.

This skill provides comprehensive guidance on architecting Claude Code plugins, ensuring seamless integration through standardized directory structures and manifest-driven configurations. It assists developers in organizing commands, agents, skills, and hooks while implementing best practices for portability using the ${CLAUDE_PLUGIN_ROOT} variable. Whether you are scaffolding a new plugin from scratch or refactoring an existing project, this skill ensures your work follows auto-discovery conventions for a maintainable and portable codebase.

主要功能

01Automated plugin directory scaffolding and organization
02Auto-discovery setup for commands, agents, and skills
03Portable path management using ${CLAUDE_PLUGIN_ROOT}
04Standardized .claude-plugin/plugin.json manifest configuration
05108 GitHub stars
06Best practice guidance for naming conventions and component lifecycle

使用场景

01Creating a new Claude Code plugin with a standard file structure
02Refactoring a disorganized plugin to ensure components are auto-discovered
03Configuring hooks and MCP servers within a portable plugin environment