plugin-structure

Guide Claude Code plugin development with directory structures and manifest configurations.

Updated Apr 27, 2026
One-click install
npx skills add https://github.com/luiztrilha/dunderia-public --skill plugin-structure-luiztrilha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plugin-structure
Source: https://github.com/luiztrilha/dunderia-public/tree/main/templates/local-runtime-profile/skills/claude-plugins/marketplaces/claude-plugins-official/plugins/plugin-dev/skills/plugin-structure
Command: npx skills add https://github.com/luiztrilha/dunderia-public --skill plugin-structure-luiztrilha

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a detailed guide to the architecture, directory structure, and best practices for developing Claude Code plugins.

Core Features & Use Cases

  • Plugin Directory Structure: Learn the standard directory layout for Claude Code plugins and how components are organized.
  • Manifest Configuration: Understand the plugin.json manifest's purpose and necessary fields.
  • Component Organization: Discover how to effectively organize commands, agents, skills, and hooks.
  • Auto-Discovery: Get insights into Claude Code's auto-discovery mechanism for components.
  • Best Practices: Follow guidelines for maintaining a well-organized and maintainable plugin.
  • Use Case: Whether you are creating a simple plugin or a complex enterprise-grade solution, this skill will help you understand how to structure your plugin correctly and utilize the various components to their fullest potential.

Quick Start

Run the plugin-structure skill to learn about the plugin directory structure and component organization in Claude Code.

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 directory?

To structure a Claude Code plugin directory, you must follow a standard layout that organizes components like commands, agents, skills, and hooks into specific folders. This ensures maintainability and allows the plugin to function correctly.

What is the purpose of the plugin.json manifest in Claude Code?

The plugin.json manifest in Claude Code defines your plugin's core configuration and necessary metadata fields. It acts as the central blueprint that dictates how the plugin and its various components are recognized and organized within the system.

How does component auto-discovery work in Claude Code plugins?

Component auto-discovery in Claude Code plugins automatically detects and registers organized components like commands and hooks based on the standard directory structure. This mechanism simplifies configuration by systematically mapping files to their functional roles.

Do I need to understand Claude Code architecture before developing plugins?

Yes, you need a solid understanding of Claude Code architecture and plugin development concepts before building plugins. This foundational knowledge is required to effectively organize components, utilize auto-discovery, and configure the manifest correctly.

What is the best way to organize commands, agents, and hooks in a plugin?

The best way to organize commands, agents, skills, and hooks is by following standard directory layout guidelines and best practices for component organization. This approach ensures your plugin remains well-organized and maintainable as it scales.