plugin-forge
What it does
This skill helps your AI agent build Claude Code plugins with the right structure and manifests. It is for developers who want to publish commands, agents or hooks as a plugin.
When to use it
- βWhen you want to create a new Claude Code plugin for a marketplace.
- βWhen you need to add commands, agents or hooks to an existing plugin.
- βWhen you want to bump a plugin's version or update its manifests.
Skill link
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/plugin-forge/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCreate a Claude Code plugin with a review command and add it to my marketplace.β
5 new skills a week. 1 minute to read.
How it works
The agent uses helper scripts to generate the plugin folder, its manifest and README, and to update the marketplace file. It bumps versions using semantic versioning when asked.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
CC Plugin Forge
Purpose
Build and manage Claude Code plugins with correct structure, manifests, and marketplace integration. Includes workflows, automation scripts, and reference docs.
When to Use
- Creating new plugins for a marketplace
- Adding/modifying plugin components (commands, skills, agents, hooks)
- Updating plugin versions
- Working with plugin or marketplace manifests
- Setting up local plugin testing
- Publishing plugins
Getting Started
Create New Plugin
Use create_plugin.py to generate plugin structure:
python scripts/create_plugin.py plugin-name \
--marketplace-root /path/to/marketplace \
--author-name "Your Name" \
--author-email "your.email@example.com" \
--description "Plugin description" \
--keywords "keyword1,keyword2" \
--category "productivity"
This automatically:
- Creates plugin directory structure
- Generates
plugin.jsonmanifest - Creates README template
- Updates
marketplace.json
Bump Version
Use bump_version.py to update versions in both manifests:
python scripts/bump_version.py plugin-name major|minor|patch \
--marketplace-root /path/to/marketplace
Semantic versioning:
- major: Breaking changes (1.0.0 β 2.0.0)
- minor: New features, refactoring (1.0.0 β 1.1.0)
- patch: Bug fixes, docs (1.0.0 β 1.0.1)
Development Workflow
1. Create Structure
Manual approach (if not using script):
mkdir -p plugins/plugin-name/.claude-plugin
mkdir -p plugins/plugin-name/commands
mkdir -p plugins/plugin-name/skills
2. Plugin Manifest
File: plugins/plugin-name/.claude-plugin/plugin.json
{
"name": "plugin-name",
"version": "0.1.0",
"description": "Plugin description",
"author": {
"name": "Your Name",
"email": "your.email@example.com"
},
"keywords": ["keyword1", "keyword2"]
}
3. Register in Marketplace
Update .claude-plugin/marketplace.json:
{
"name": "plugin-name",
"source": "./plugins/plugin-name",
"description": "Plugin description",
"version": "0.1.0",
"keywords": ["keyword1", "keyword2"],
"category": "productivity"
}
4. Add Components
Create in respective directories:
| Component | Location | Format |
|---|---|---|
| Commands | commands/ |
Markdown with frontmatter |
| Skills | skills/<name>/ |
Directory with SKILL.md |
| Agents | agents/ |
Markdown definitions |
| Hooks | hooks/hooks.json |
Event handlers |
| MCP Servers | .mcp.json |
External integrations |
5. Local Testing
# Add marketplace
/plugin marketplace add /path/to/marketplace-root
# Install plugin
/plugin install plugin-name@marketplace-name
# After changes: reinstall
/plugin uninstall plugin-name@marketplace-name
/plugin install plugin-name@marketplace-name
Plugin Patterns
Framework Plugin
For framework-specific guidance (React, Vue, etc.):
plugins/framework-name/
βββ .claude-plugin/plugin.json
βββ skills/
β βββ framework-name/
β βββ SKILL.md
β βββ references/
βββ commands/
β βββ prime/
β βββ components.md
β βββ framework.md
βββ README.md
Utility Plugin
For tools and commands:
plugins/utility-name/
βββ .claude-plugin/plugin.json
βββ commands/
β βββ action1.md
β βββ action2.md
βββ README.md
Domain Plugin
For domain-specific knowledge:
plugins/domain-name/
βββ .claude-plugin/plugin.json
βββ skills/
β βββ domain-name/
β βββ SKILL.md
β βββ references/
β βββ scripts/
βββ README.md
Command Naming
Subdirectory-based namespacing with : separator:
commands/namespace/command.mdβ/namespace:commandcommands/simple.mdβ/simple
Examples:
commands/prime/vue.mdβ/prime:vuecommands/docs/generate.mdβ/docs:generate
Version Management
Important: Update version in BOTH locations:
plugins/<name>/.claude-plugin/plugin.json.claude-plugin/marketplace.json
Use bump_version.py to automate.
Git Commits
Use conventional commits:
git commit -m "feat: add new plugin"
git commit -m "fix: correct plugin manifest"
git commit -m "docs: update plugin README"
git commit -m "feat!: breaking change"
Reference Docs
Detailed documentation included:
| Reference | Content |
|---|---|
references/plugin-structure.md |
Directory structure, manifest schema, components |
references/marketplace-schema.md |
Marketplace format, plugin entries, |
FAQ
What versioning rules does it use?
It uses semantic versioning: major for breaking changes, minor for new features and patch for fixes.
Does it help test plugins locally?
Yes, the skill covers setting up local plugin testing.
What files does it manage?
It manages the plugin.json and marketplace.json manifests.
Details
Original description by the author
Create and manage Claude Code plugins with proper structure, manifests, and marketplace integration. Use when creating plugins for a marketplace, adding plugin components (commands, agents, hooks), bumping plugin versions, or working with plugin.json/marketplace.json manifests.
Popularity
- GitHub stars
- 33k
- Ranking position
- #8789
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
owasp-security
33kTeaches your agent OWASP security guidance for web apps, APIs, mobile, containers and AI agents, so it can spot common weaknesses and suggest fixes.
agent-management
33kLets your agent create, list, hibernate, wake, rename and delete AI agents using the AI Maestro command line, managing each agent's lifecycle.
agent-messaging
33kLets your agent send, receive and reply to signed messages between AI agents, using the Agent Messaging Protocol, mostly on your own machine.
docs-search
33kLets your agent search auto-generated code documentation for function signatures, class definitions and comments, so it checks the real API before changing code.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.