plugin-authoring

Guide Claude Code plugin authoring with scaffolding, validation, and review workflows.

3|Updated Oct 27, 2025
One-click install
npx skills add https://github.com/hyperskill/claude-code-marketplace --skill plugin-authoring-hyperskill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plugin-authoring
Source: https://github.com/hyperskill/claude-code-marketplace/tree/main/plugins/plugin-development/skills/plugin-authoring
Command: npx skills add https://github.com/hyperskill/claude-code-marketplace --skill plugin-authoring-hyperskill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides expert guidance for Claude Code plugin authoring, helping developers create, modify, and audit plugin manifests, scaffolding, and marketplace integration, with read-only analysis before applying changes.

Core Features & Use Cases

  • Diagnose repository structure and manifest files (plugin.json, marketplace.json)
  • Propose minimal, safe actions (scaffold, validate, review)
  • Execute actions via /plugin-development:... commands on user confirmation
  • Escalate to plugin-reviewer for deep audits
  • Follow guardrails to avoid unintended edits

Quick Start

Start by inspecting your plugin project with read-only analysis, then scaffold or validate using:

  • /plugin-development:validate
  • /plugin-development:init <plugin-name> to scaffold a new plugin

Frequently Asked Questions about plugin-authoring

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

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

Plugin authoring starts with scaffolding a new plugin using /plugin-development:init <plugin-name>, which generates the required directory structure, plugin.json manifest, and marketplace.json configuration. This creates a standards-compliant foundation with proper naming conventions and frontmatter requirements ready for customization.

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

A valid plugin requires plugin.json (core manifest), marketplace.json (marketplace metadata), commands/ and agents/ directories for executables, skills/ for skill definitions, and hooks/ for lifecycle handlers. All must follow naming conventions and path structures validated against official schemas.

How do I validate my plugin before publishing to the marketplace?

Run /plugin-development:validate to audit your plugin.json, marketplace.json, scripts, and directory structure against standards. Validation checks naming conventions, executable permissions, schema compliance, and frontmatter requirements to catch issues before marketplace integration.

Can I audit an existing plugin for compliance and best practices?

Yes. Inspect your plugin with read-only analysis to diagnose manifest files and repository structure, then request a deep audit through the plugin-reviewer for comprehensive recommendations on safety, maintainability, and standards compliance.

What should I know about writing executable scripts in my plugin?

Executable scripts in commands/, agents/, and hooks/ must follow best practices for permissions, path conventions, and error handling. The authoring guidance covers script structure, environment assumptions, and integration patterns to ensure safe, maintainable plugin behavior.

When should I use plugin scaffolding versus manual configuration?

Use /plugin-development:init scaffolding to set up new plugins quickly with correct structure and templates. Manual configuration suits extending existing plugins or applying custom marketplace metadata; read-only inspection helps validate your changes before applying edits.