Skip to content
Back to skills

Create Plugin

ASecurity

Create an empty Claude plugin with basic structure and files.

  • 666 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 8, 2026
documentationdocumentation

Works with

  • claude code

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill create-plugin --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Create Plugin?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Create Plugin
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-create-plugin/badge)](https://www.skillsdirectory.com/skills/majiayu000-create-plugin)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: create-plugin
description: Create an empty Claude plugin with basic structure and files.
license: MIT
compatibility: Requires bun package manager and ClaudeKit monorepo structure
allowed-tools: Read, Grep, Glob, Write, Edit, WebFetch(domain:docs.claude.com)
---

# 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

1. Use the `Glob` tool to check if plugin is existing
2. Use Ask Question Tool to confirm overwriting if plugin already exists
3. Create a new directory for the plugin
4. Create a minimal plugin structure for plugin
5. Update the plugin metadata file with basic information
6. Update root README.md to include the new plugin
7. Update `.claude-plugin/marketplace.json` to include the new plugin
8. 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

```json
{
    "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:

- [Claude Plugin Reference](https://docs.claude.com/en/docs/claude-code/plugins-reference)
- [Claude Hook Reference](https://docs.claude.com/en/docs/claude-code/hooks)
- [Claude Agent](https://docs.claude.com/en/docs/claude-code/sub-agents)
- [Claude Agent Skill](https://docs.claude.com/en/docs/claude-code/skills)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.