plugin-structure

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

196|20|Updated Jan 17, 2026
One-click install
npx skills add https://github.com/xiaoyuge886/aigc --skill plugin-structure-xiaoyuge886
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plugin-structure
Source: https://github.com/xiaoyuge886/aigc/tree/main/plugins/claude-plugins-official-main/plugins/plugin-dev/skills/plugin-structure
Command: npx skills add https://github.com/xiaoyuge886/aigc --skill plugin-structure-xiaoyuge886

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a standardized framework for building, organizing, and maintaining Claude Code plugins, ensuring they are discoverable, modular, and scalable.

Core Features & Use Cases

  • Standardized Architecture: Implements a conventional directory layout for automatic component discovery.
  • Manifest Configuration: Provides deep guidance on configuring plugin.json for commands, agents, and hooks.
  • Use Case: When developing a new enterprise-grade plugin, use this Skill to correctly structure your commands, agents, and MCP servers to ensure seamless integration with the Claude Code environment.

Quick Start

Use the plugin-structure skill to scaffold a new plugin directory with the required manifest and component folders.

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 component discovery?

Claude Code plugin architecture requires a standardized directory layout with dedicated folders for commands, agents, skills, and hooks, plus a configured plugin.json manifest to enable automatic component discovery.

What is the plugin.json manifest used for in Claude Code plugin development?

The plugin.json manifest configures commands, agents, and hooks in Claude Code, enabling modular component organization and seamless integration within the Claude Code environment.

How do I scaffold a new Claude Code plugin directory?

Scaffold a new Claude Code plugin by creating the required manifest file and organizing component folders for commands, agents, skills, and hooks following conventional directory layout best practices.

Does Claude Code plugin architecture support portable path references?

Yes, Claude Code plugin architecture satisfies requirements for portable path references, ensuring plugins remain modular and maintainable across different environments and integration scenarios.

When do I need a standardized architecture for Claude Code plugin development?

You need standardized architecture when developing enterprise-grade plugins that require scalability, modularity, and seamless integration with the Claude Code environment through auto-discovery and component-based organization.