claude-plugin-authoring

Automate creation of Claude Code plugins with metadata, commands, agents, hooks, and MCP configurations.

28|1|Updated Aug 30, 2025
One-click install
npx skills add https://github.com/outfitter-dev/agents --skill claude-plugin-authoring
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude-plugin-authoring
Source: https://github.com/outfitter-dev/agents/tree/main/claude-dev/skills/claude-plugin-authoring
Command: npx skills add https://github.com/outfitter-dev/agents --skill claude-plugin-authoring

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, git, and includes scripts (resource) components.

What problem does it solve?

Developing Claude Code plugins requires understanding specific structures, configurations, and best practices. This Skill guides users through the entire authoring process, from initial setup to integrating advanced components, simplifying plugin creation.

Core Features & Use Cases

  • Plugin Scaffolding: Quickly generate a new Claude Code plugin with the correct directory structure and plugin.json metadata.
  • Component Integration: Learn to create slash commands, configure custom agents, set up event hooks, and integrate MCP servers directly into your plugin.
  • Best Practices: Follow recommended naming conventions, directory organization, and security guidelines for robust plugin development.
  • Use Case: Scaffold a new Claude Code plugin named 'my-dev-plugin' with a sample command and agent, then learn how to add hooks to validate code changes before they are written.

Quick Start

Scaffold a new Claude Code plugin named 'my-dev-plugin' with a sample command and agent.

Frequently Asked Questions about claude-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?

Create a Claude Code plugin by scaffolding a new project with the correct directory structure and plugin.json metadata file. The scaffolding process generates a production-ready foundation including slash commands, custom agents, event hooks, and MCP server configurations tailored to your plugin's purpose.

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

Claude plugins require a structured layout with plugin.json for metadata, YAML frontmatter for commands and agents, hook definitions for event handling, and MCP server wiring. This structure ensures Claude Code recognizes and loads your plugin correctly while maintaining security and best practices.

Can I add custom slash commands and agents to my Claude plugin?

Yes. Claude plugins support custom slash commands and agents defined via YAML frontmatter within component files. You can configure command behavior, agent logic, and event hooks to extend Claude Code capabilities while following established naming conventions and security guidelines.

How do I integrate MCP servers into a Claude plugin?

Integrate MCP servers by configuring them in your plugin structure and wiring them through the plugin.json metadata and component definitions. This lets your plugin connect to external tools and services, expanding Claude Code's functionality within a single, cohesive plugin project.

What are event hooks in Claude plugins and how do I use them?

Event hooks are handlers that trigger on specific events—like code validation before files are written. Define hooks in your plugin to automate workflows, enforce standards, or integrate external services, enabling your plugin to respond to Claude Code operations automatically.

What dependencies and tools do I need to author Claude plugins?

You need jq for JSON processing and git for version control. These dependencies support plugin scaffolding, metadata generation, and project management workflows required to build and maintain production-ready Claude Code plugins.