plugin-structure

Explain Claude Code plugin architecture, directory layout, and manifest configuration.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/VivekSinghRathore7/bs-_thesis_low_light- --skill plugin-structure-viveksinghrathore7
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plugin-structure
Source: https://github.com/VivekSinghRathore7/bs-_thesis_low_light-/tree/main/.claude/plugins/marketplaces/claude-plugins-official/plugins/plugin-dev/skills/plugin-structure
Command: npx skills add https://github.com/VivekSinghRathore7/bs-_thesis_low_light- --skill plugin-structure-viveksinghrathore7

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides in-depth knowledge about Claude Code plugin architecture, including directory layout, configuration, and best practices, solving the problem of understanding and organizing complex plugin structures.

Core Features & Use Cases

  • Plugin Directory Structure: Learn the conventions for organizing plugins for automatic discovery and maintainability.
  • Manifest Configuration: Understand the plugin.json fields required for plugin metadata and configuration.
  • Component Organization: Explore how commands, agents, skills, and hooks are organized within a plugin.
  • Use Case: A developer new to Claude Code wants to create a new plugin. This Skill helps them understand the plugin structure, configure the manifest, and organize components correctly.

Quick Start

Create a new plugin using the plugin-structure skill. Run the command: /create-plugin

Frequently Asked Questions about plugin-structure

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

FAQPage Schema
How do I structure a Claude Code plugin for automatic discovery?

To structure a Claude Code plugin for automatic discovery, organize your directory layout using specific conventions for commands, agents, skills, and hooks, ensuring maintainability and correct component organization throughout the project.

What is a plugin manifest and how do I configure it in Claude Code?

A plugin manifest is a JSON file that defines plugin metadata and configuration. You configure it by setting the required fields in plugin.json to properly register and manage your Claude Code plugin components.

How do I organize commands, agents, and hooks within a Claude Code plugin?

You organize commands, agents, skills, and hooks within a Claude Code plugin by following established directory layout conventions, separating each component into its designated structural folder for clear architecture.

What's the best way to integrate an MCP server into Claude Code plugin architecture?

The best way to integrate an MCP server into Claude Code plugin architecture is by following the specific component organization and hook configuration patterns outlined in the plugin's structural guidelines.

Do I need to know YAML and Markdown to develop a Claude Code plugin?

Yes, you need knowledge of YAML, Markdown, and Claude Code specific patterns to properly develop plugins, as these formats are required for configuring manifests, writing commands, and structuring hooks.

What are the limitations when configuring hooks in a Claude Code plugin?

When configuring hooks in a Claude Code plugin, you are constrained by the specific directory layout and manifest configuration requirements, meaning hooks must be organized precisely to avoid breaking automatic discovery.