Claude-skill-registry create-plugin
Create an empty Claude plugin with basic structure and files.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/create-plugin" ~/.claude/skills/majiayu000-claude-skill-registry-create-plugin && rm -rf "$T"
manifest:
skills/data/create-plugin/SKILL.mdsource content
Create Claude Plugin
When to Use This Skill
Use this skill when:
- Creating a new Claude Code plugin from scratch
- Setting up the standard plugin directory structure
- Adding a new plugin to the ClaudeKit marketplace
Trigger phrases:
- "create a new plugin"
- "scaffold a plugin for X"
- "add a plugin called X"
Instruction
- Use the
tool to check if plugin is existingGlob - Use Ask Question Tool to confirm overwriting if plugin already exists
- Create a new directory for the plugin
- Create a minimal plugin structure for plugin
- Update the plugin metadata file with basic information
- Update root README.md to include the new plugin
- Update
to include the new plugin.claude-plugin/marketplace.json - Update release please config to include the new plugin
Plugin Structure
|- .claude-plugin/ |- plugin.json |- commands/ # Omit if no commands |- example.md |- agents/ # Omit if no agents |- example-agent.md |- skills/ # Omit if no skills |- example-skill/ |- SKILL.md |- hooks/ # Omit if no hooks |- hooks.json |- src/ # Omit if no hook script is needed |- example.ts |- dist/ # Auto-generated, omit |- example.js |- README.md |- rolldown.config.js # Omit if no src |- package.json # Omit if no src |- tsconfig.json # Omit if no src
The minimal
plugin.json is
{ "name": "plugin-name", "version": "0.1.0", "description": "A brief description of the plugin", "author": { "name": "Author Name" } }
Reference
For detailed information on creating Claude plugins, refer to following documentation: