create-plugin

Create a Claude Code plugin scaffold with plugin.json and optional components.

14|1|Updated Dec 5, 2025
One-click install
npx skills add https://github.com/jpoutrin/product-forge --skill create-plugin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-plugin
Source: https://github.com/jpoutrin/product-forge/tree/main/plugins/claude-code-dev/skills/create-plugin
Command: npx skills add https://github.com/jpoutrin/product-forge --skill create-plugin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps users scaffold a new Claude Code plugin, including plugin manifest and optional components.

Core Features & Use Cases

  • Create plugin directory with required .claude-plugin/plugin.json
  • Optional components: commands, agents, skills, hooks
  • Guidance on salt and mcp configs for plugin-level integration

Quick Start

Use the scaffolding tool to generate a new plugin skeleton and fill plugin.json.

Frequently Asked Questions about create-plugin

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a new Claude Code plugin from scratch?

Scaffolding a Claude Code plugin creates a directory structure with a required plugin.json manifest file and optional component folders. Use the create-plugin tool to generate the skeleton, which sets up standardized paths and populates the manifest with required fields, readying your plugin for development.

What goes in the plugin.json manifest file?

The plugin.json manifest contains required metadata defining your plugin's identity, entry points, and capabilities. The scaffolding tool populates this file with required fields and structure, and you can extend it with optional sections for commands, agents, skills, hooks, and scripts to integrate your plugin into Claude Code.

Can I add commands, agents, skills, and hooks to my plugin?

Yes. The plugin scaffold includes optional component directories for commands, agents, skills, hooks, and scripts. After initial scaffolding, you populate these directories with your plugin's logic, and the plugin.json manifest references them for Claude Code to load and execute.

What directory structure do I need for a valid Claude Code plugin?

A valid plugin requires a .claude-plugin directory containing plugin.json at its root. The scaffold creates this standard structure along with optional subdirectories for components like commands, agents, and skills, ensuring your plugin meets Claude Code's integration requirements.

Do I need to configure salt and MCP settings for my plugin?

Plugin-level integration with Claude Code can include salt and MCP (Model Context Protocol) configurations for advanced functionality. The scaffolding tool provides guidance on these optional settings, which you configure in plugin.json or related files depending on your plugin's integration scope.

What's the fastest way to start building a Claude Code plugin?

Use the create-plugin scaffolding tool to bootstrap your plugin structure immediately. It generates the .claude-plugin directory, plugin.json manifest with required fields, and component directories in one step, eliminating manual setup so you focus on plugin logic.