Логотип Plugin Creator

Plugin Creator

Організація
full-stack-biz
plugin-creator

Create, convert, validate, and publish Claude Code plugins with Agent Skills, hooks, agents, and servers. Use when building plugins from scratch, converting projects to plugins, improving plugin structure, or publishing to marketplace. Includes automated scanning, manifest generation, marketplace.json creation, and validation guidance. Component-specific work delegates to hook-creator, subagent-creator, and skill-creator skills.

Огляд

Видавецьfull-stack-biz
Репозиторійclaude-skills-toolkit
Назва навичкиplugin-creator
Зірки
26
Форки
2
Файли в пакеті
22
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 22

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Опубліковано на GitHub користувачем full-stack-biz. Перегляньте вихідний вміст перед установленням.

Встановлення

Установіть навичку ШІ Plugin Creator у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/full-stack-biz/claude-skills-toolkit/tree/main/skills/plugin-creator
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/full-stack-biz/claude-skills-toolkit.git /tmp/claude-skills-toolkit
mkdir -p .claude/skills
cp -r /tmp/claude-skills-toolkit/skills/plugin-creator .claude/skills/plugin-creator
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Plugin Creator в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Plugin Creator, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції Markdown, а не код для певного постачальника, тому навичка Plugin Creator не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож невикористана навичка нічого не коштує.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Plugin Creator

Dual purpose: Create plugins from scratch OR transform existing projects into well-structured plugins.

Quick Routing

Use AskUserQuestion with predefined options to gather requirements:

questions: [
  {
    question: "What would you like to do?",
    header: "Action",
    options: [
      {
        label: "Create a new plugin",
        description: "Build a plugin from scratch with proper manifest, structure, and components"
      },
      {
        label: "Convert a project to plugin",
        description: "Transform existing project into plugin with manifest and proper directory layout"
      },
      {
        label: "Validate a plugin",
        description: "Check plugin structure against Claude Code standards"
      },
      {
        label: "Publish to marketplace",
        description: "Prepare plugin for distribution and marketplace publication"
      }
    ],
    multiSelect: false
  }
]

Then proceed to the appropriate workflow section based on their selection.


When to Use This Skill

Invoke plugin-creator in these scenarios:

Creating new plugins: Building a plugin from scratch with proper manifest, commands, agents, Skills, hooks, and/or MCP servers organized correctly.

Converting projects to plugins: Take an existing project and transform it into a Claude Code plugin with .claude-plugin/plugin.json manifest and proper directory structure.

Validating plugin structure: Check existing plugins against Claude Code plugin standards (manifest schema, directory layout, naming conventions).

Multi-component plugins: Creating plugins that bundle multiple elements (Skills, hooks, agents, MCP servers, etc.).

Team/production plugins: Building plugins for distribution across teams or deployment to plugin marketplaces.

NOT for: General Claude questions, debugging plugin behavior at runtime, writing plugin code directly (focus on structure/organization only).

⚠️ Important: Slash Commands Deprecated

Slash commands (via commands/ directory) are deprecated in favor of Agent Skills.

When creating new plugins, use Agent Skills (skills/ directory) instead. Slash commands still work for backward compatibility but are being phased out. Use skill-creator to build Agent Skills instead.


Foundation: How Plugins Work

Plugins extend Claude Code with custom functionality shared across projects and teams.

Plugin activation: Pure LLM reasoning on manifest metadata. Claude discovers plugins via:

  • name: Unique identifier (plugin namespace)
  • description: Tells Claude when to suggest or use the plugin

Plugin structure (at project root):

.
├── .claude-plugin/
│   └── plugin.json                    # Required: metadata manifest
├── skills/                            # Optional: Agent Skills (recommended)
│   └── code-review/
│       ├── SKILL.md
│       └── references/
├── agents/                            # Optional: subagents
│   ├── code-reviewer.md
│   └── security-auditor.md
├── hooks.json                         # Optional: event handlers
├── .mcp.json                          # Optional: MCP servers
├── .lsp.json                          # Optional: LSP servers
└── commands/                          # DEPRECATED: Use skills instead
    ├── hello.md
    └── review.md

Token loading hierarchy:

  1. Plugin manifest (150 tokens): name + description in plugin.json (always loaded for discovery)
  2. Component metadata (50-200 tokens each): Command files, agent descriptions, skill descriptions
  3. Full content (unlimited): Loaded only when Claude uses the component

Why this matters for your plugin:

  • plugin.json description is your activation signal (vague = plugin never recommended when needed)
  • Naming conventions are critical (plugin name becomes skill namespace in plugins)
  • Directory structure must be exact (Claude Code uses path conventions to discover components)
  • Component metadata must be clear (descriptions tell Claude what each command/agent/skill does)

Quick Start: Create a Plugin in an Empty Project

Copy-paste templates for creating a plugin structure from scratch: manifest, skills, agents, and testing. See references/quick-start-guide.md for complete bash commands and examples.

Choose Your Workflow

START HERE: Always begin by asking the user to clarify their intent and collect all required manifest data using AskUserQuestion (one question at a time, progressive disclosure):

Interview Flow for New Plugin Creation

For users creating a new plugin, conduct this structured interview to gather all manifest.json fields before file creation. Use the predefined options format shown in Quick Routing above for Step 1.

  1. Action - Use the predefined options from "Quick Routing" section above

    • Create a new plugin (→ proceed to 2-9)
    • Convert a project (→ skip to Converting Projects section)
    • Validate a plugin (→ skip to Validating Plugins section)
    • Publish to marketplace (→ skip to Publishing to Marketplace section)
  2. Plugin name - "What's the plugin name?" (lowercase-hyphen, 1-64 chars)

    • Maps to: plugin.json → name field
    • Example: code-reviewer, pdf-processor
  3. Purpose/description - "What does the plugin do? Describe its main purpose and capabilities."

    • Maps to: plugin.json → description field (1-1024 chars)
    • Example: "Review code for best practices and potential issues."
  4. Version - "What version? (semantic format: MAJOR.MINOR.PATCH)"

    • Maps to: plugin.json → version field
    • Default if not specified: 1.0.0
  5. Author information - "Who is the author? (name, optional: email, URL)"

    • Maps to: plugin.json → author object with name field (REQUIRED)
    • Format: {"name": "Your Name", "email": "optional@email.com", "url": "https://optional.url"}
    • CRITICAL: author must be object, not string (common failure point)
  6. Optional metadata - "Any additional metadata? (license, repository, homepage)"

    • Maps to: plugin.json → license, repository, homepage fields
    • Example: "MIT", "https://github.com/user/plugin", "https://docs.example.com"
  7. Components (BATCH 1) - Use AskUserQuestion with predefined options (multiSelect: true):

questions: [
  {
    question: "Which core components will the plugin include?",
    header: "Core Components",
    options: [
      { label: "Skills", description: "Agent Skills (recommended)" },
      { label: "Agents", description: "Subagents for complex workflows" },
      { label: "Hooks", description: "Event handlers and automation" },
      { label: "MCP servers", description: "Model Context Protocol servers" }
    ],
    multiSelect: true
  }
]
  1. Components (BATCH 2) - Then use AskUserQuestion for optional server support:
questions: [
  {
    question: "Include Language Server Protocol (LSP) support?",
    header: "LSP Servers",
    options: [
      { label: "Yes", description: "Add language-specific code intelligence" },
      { label: "No", description: "Skip LSP servers" }
    ],
    multiSelect: false
  }
]

⏸️ Wait for both batch responses before proceeding.

  1. Distribution scope - Use AskUserQuestion with predefined options:
questions: [
  {
    question: "What's the distribution scope for this plugin?",
    header: "Distribution",
    options: [
      { label: "Personal", description: "Personal use only" },
      { label: "Team-shared", description: "Share with team members" },
      { label: "Marketplace", description: "Publish to plugin marketplace for community" }
    ],
    multiSelect: false
  }
]

Manifest Field Mapping Reference

Interview QuestionMaps toTypeRequiredNotes
Action(routing logic)stringYesDetermines workflow path
Plugin nameplugin.json → namestringYeskebab-case, 1-64 chars, no spaces
Purpose/descriptionplugin.json → descriptionstringYes1-1024 chars, clear and specific
Versionplugin.json → versionstringNoSemantic versioning (default: 1.0.0)
Author nameplugin.json → author.namestringYesMust be object property, not string
Author emailplugin.json → author.emailstringNoOptional contact information
Author URLplugin.json → author.urlstringNoOptional profile/website
Licenseplugin.json → licensestringNoe.g., "MIT", "Apache-2.0"
Repositoryplugin.json → repositorystringNoGitHub/GitLab URL
Homepageplugin.json → homepagestringNoDocumentation URL
Components (BATCH 1)Directory structurearrayNoSkills, Agents, Hooks, MCP servers (max 4 options)
Components (BATCH 2)Directory structurebooleanNoInclude LSP servers (yes/no)
Distribution scopemarketplace.jsonstringNo"personal", "team", or "marketplace"

Common Manifest Generation Failures (Prevention)

Failure: author is string instead of object

  • ❌ Wrong: "author": "John Doe"
  • ✅ Correct: "author": {"name": "John Doe"}
  • Prevention: Always structure author as object in template

Failure: Missing required fields

  • Check: name, description, author.name are always present
  • Validate before writing plugin.json

Failure: Incorrect marketplace.json schema

  • Critical requirements:
    • owner MUST be object: {"name": "username"}
    • plugins MUST be array: [{...}]
    • source MUST start with ./
  • See "Publishing to Marketplace" section for full schema

Based on their answers, route to the appropriate workflow section below:


Automated Scanning Phase (For Validation)

When validating existing plugins, always run the automated scanning phase FIRST before manual validation.

See references/automated-scanning-workflow.md for complete scanning workflow, decision handling, and example validation sequences. The scanner is read-only only—it scans and reports, never modifies. All user decisions are explicit and visible.

Quick reference: Run the scanner, process errors/warnings, use AskUserQuestion for decisions, execute approved changes, re-scan, then proceed to manual validation.


1. Creating a New Plugin from Scratch

Interview requirements → create structure → add components → run claude plugin validate → test locally

See references/implementation-workflow.md for complete step-by-step procedures.

2. Converting an Existing Project to a Plugin

Identify components → create plugin structure → migrate and update metadata → run claude plugin validate → test locally

See references/implementation-workflow.md for complete step-by-step procedures.

3. Validating or Improving Existing Plugins

FIRST: Run claude plugin validate /path/to/plugin directly. Review output for errors. THEN: Do manual checks for best practices from references/validation-checklist.md.

4. Publishing to Marketplace

Make your plugin installable via claude plugin marketplace add owner/repo.

Step 1: Ensure plugin.json exists at .claude-plugin/plugin.json

Step 2: Create .claude-plugin/marketplace.json with this structure:

json
{
  "name": "your-plugin-name",
  "owner": {
    "name": "github-username-or-org"
  },
  "plugins": [
    {
      "name": "your-plugin-name",
      "source": "./",
      "description": "What the plugin does"
    }
  ]
}

CRITICAL schema requirements:

  • owner MUST be an object with name field, NOT a string
  • plugins MUST be an array (can be empty [])
  • source paths MUST start with ./

Step 3: Validate with claude plugin validate /path/to/plugin

See references/team-marketplaces.md for complete marketplace schema and common errors.

Manifest Generation Best Practices

BEFORE generating manifests, verify you have all required data:

  1. ✅ Plugin name (kebab-case, 1-64 chars)
  2. ✅ Description (clear, 1-1024 chars)
  3. ✅ Author name (will be in object: {"name": "..."})
  4. ✅ Version (semantic format, default: 1.0.0)

ALWAYS structure author as object:

json
{
  "name": "my-plugin",
  "description": "What it does.",
  "version": "1.0.0",
  "author": {
    "name": "Your Name"
  }
}

NEVER generate with incomplete data - Incomplete manifests cause validation failures. Run the interview flow first, collect all fields, then proceed with generation.

For marketplace.json, use official schema:

json
{
  "name": "plugin-name",
  "owner": {
    "name": "github-username"
  },
  "plugins": [
    {
      "name": "plugin-name",
      "source": "./",
      "description": "What it does"
    }
  ]
}

Quick Start: 5-Minute Setup

Create plugin directory:

bash
mkdir -p my-plugin/.claude-plugin
mkdir -p my-plugin/commands my-plugin/agents my-plugin/skills

Write plugin.json:

json
{
  "name": "my-plugin",
  "description": "[Action]. [Brief description of purpose and capabilities].",
  "version": "1.0.3"
}

Add components:

  • Agent Skills: .md files in skills/ (recommended approach)
  • Other components: See "Component Overview" section below
  • Test: claude --plugin-dir /path/to/my-plugin

Reference Guide

Creating a New Plugin

Step 1: Understand plugin architecture → How plugins load, token costs, standard directory layout, manifest format → references/plugin-architecture.md for architecture overview → references/directory-structure.md for standard layout → references/plugin-json-schema.md for plugin.json format

Step 2: Set up plugin structure & manifest → Create .claude-plugin/plugin.json with metadata (name, description, version) → Templates and common patterns for quick setup → references/quick-reference.md for templates and metadata requirements

Step 3: Add Agent Skills, Hooks, or other components → Agent Skills: recommended approach, .md files in skills/ → Hooks: event handlers in hooks.json → Subagents: isolated execution in agents/ → External services: MCP servers, LSP for code intelligence → references/components-in-plugins.md for packaging guidance → Use skill-creator, subagent-creator, or hook-creator skills to build components

Step 4: Validate & test locally → Run claude plugin validate /path for errors → Run claude --plugin-dir /path for local testing → Check best practices from validation checklist → references/validation-checklist.md for comprehensive checks → references/local-development.md for debugging

Converting Existing Project to Plugin

→ Complete step-by-step procedures for converting projects to plugins → references/implementation-workflow.md for full conversion workflow → references/automated-scanning-workflow.md for scanning & validation phase

Publishing & Distribution

→ Semantic versioning, changelog, marketplace setup → references/versioning-and-distribution.md for versioning → references/team-marketplaces.md for marketplace.json schema and multi-plugin registries

Advanced Topics

Path handling & caching: → Use ${CLAUDE_PLUGIN_ROOT} variable in hooks/scripts. Plugins are cached for security. → references/plugin-paths-variables.md for path guidance → references/plugin-caching.md for caching behavior

Installing & managing plugins: → Installation scopes (global, project), CLI commands (install/uninstall/enable/disable/update) → references/installation-and-cli.md for scope and commands

Troubleshooting & production: → Debugging plugins, common issues, best practices, production checklist → references/troubleshooting-and-production.md

Integration patterns: → External service integration (MCP servers), language-specific intelligence (LSP) → references/mcp-servers.md for MCP configuration → references/lsp-servers.md for LSP integration

Legacy support: → Command file format (deprecated, for backward compatibility only) → references/slash-command-format.md for legacy command support

Component Overview

See references/quick-reference.md for component templates, formats, and metadata requirements.

ComponentUse Case
Agent Skills (skills/)Capabilities Claude uses automatically or via /skill-name (recommended)
Subagents (agents/)Isolated execution environments with custom prompts, tools, and permissions (use subagent-creator skill)
Hooks (hooks.json)Event handlers (tool use, permissions, sessions) (use hook-creator skill)
MCP Servers (.mcp.json)External service integration (APIs, databases)
LSP Servers (.lsp.json)Language-specific code intelligence
Commands (commands/)DEPRECATED: Use Agent Skills instead

Key Notes

Plugin naming conventions: Hyphen-separated lowercase (code-reviewer, pdf-processor, test-runner). Include action/domain; becomes plugin namespace /plugin-name for skills, commands, hooks.

Description formula (Claude's activation signal):

[Action]. [Brief description of purpose]. [Components/scope].

Example: "Review code for best practices and potential issues. Includes validate, report, and export commands."

CLI commands: claude plugin install|uninstall|enable|disable|update <name>@<marketplace> [--scope user|project|local]

Important paths note: Plugins are cached (not in-place) for security. Use ${CLAUDE_PLUGIN_ROOT} variable in hooks/scripts for paths. See references/plugin-paths-variables.md for details.

Installation scopes:

  • user (global): ~/.claude/skills/ (all projects)
  • project (shared): .claude/skills/ (via git)
  • local (personal): .claude/skills/ (not shared)
  • managed (read-only): System cache (marketplace plugins)

See references/installation-and-cli.md for scope and CLI details.

Validation Checklist

Step 0 (AUTOMATED SCANNING): For existing plugins, run the automated scanner first to catch common issues:

bash
bash /path/to/plugin-creator/scripts/scan-plugin.sh /path/to/plugin /tmp/plugin-scan.json

Review the JSON output and use AskUserQuestion to handle any decisions (file cleanup, permissions, etc.). See "Automated Scanning Phase" section above for details.

Step 1 (REQUIRED): Run the validation command directly:

bash
claude plugin validate /path/to/plugin

Do NOT create wrapper scripts. Run this command directly and review its output.

Step 2: If validation passes, check best practices from references/validation-checklist.md:

  • Manifest description includes specific trigger phrases
  • Component metadata is clear and complete
  • Security: No hardcoded secrets, safe shell patterns, proper permissions
  • Documentation: README.md, CHANGELOG.md present for distributed plugins
  • Test locally with claude --plugin-dir /path/to/plugin

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Plugin Creator?

Create, convert, validate, and publish Claude Code plugins with Agent Skills, hooks, agents, and servers. Use when building plugins from scratch, converting projects to plugins, improving plugin structure, or publishing to marketplace. Includes automated scanning, manifest generation, marketplace.json creation, and validation guidance. Component-specific work delegates to hook-creator, subagent-creator, and skill-creator skills.

Навіщо використовувати Plugin Creator у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Plugin Creator — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Plugin Creator у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/full-stack-biz/claude-skills-toolkit/tree/main/skills/plugin-creator. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Plugin Creator?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Plugin Creator?

Зі скількома забажаєте. Якщо модель підтримує навички, ви можете використовувати з нею Plugin Creator — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama та інші — усе в TypingMind із власними ключами API.

Чи безкоштовна навичка ШІ Plugin Creator?

Навичку опубліковано на GitHub: full-stack-biz. Умови ліцензування дивіться в репозиторії. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це багаторазовий набір інструкцій, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти для виклику — код, який десь виконується й повертає результат. Натомість навичка ШІ надає моделі знання та порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇