plugin-structure

Standardize Claude Code plugin structures with portable ${CLAUDE_PLUGIN_ROOT} paths.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/hgonzalezstahl-blip/claude-arsenal --skill plugin-structure-hgonzalezstahl-blip
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: plugin-structure
Source: https://github.com/hgonzalezstahl-blip/claude-arsenal/tree/main/plugins/marketplaces/claude-plugins-official/plugins/plugin-dev/skills/plugin-structure
Command: npx skills add https://github.com/hgonzalezstahl-blip/claude-arsenal --skill plugin-structure-hgonzalezstahl-blip

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill standardizes the process of building Claude Code plugins by providing a clear directory structure, manifest guidance, and discovery rules to reduce onboarding time and avoid misconfigurations.

Core Features & Use Cases

  • Standard directory layout for plugins (commands, agents, skills, hooks) and a clear SKILL.md entry point for each skill.
  • Guidance on plugin manifest placement, component discovery, and portable path references using ${CLAUDE_PLUGIN_ROOT}.
  • Real-world scenario: a developer scaffolds a new plugin with consistent structure and automated discovery to ensure compatibility with Claude Code.

Quick Start

Copy a clean plugin skeleton into your project and begin adding commands, agents, and skills following the documented structure.

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 auto-discovery?▼

To structure a Claude Code plugin for auto-discovery, organize components like commands, agents, skills, and hooks into a standard directory layout with a clear SKILL.md entry point for each skill. This ensures automated component detection and reduces misconfiguration.

What is the recommended directory layout for Claude Code plugins?▼

The recommended directory layout for Claude Code plugins separates commands, agents, skills, and hooks into distinct directories, guided by a manifest for component organization. This standard scaffolding simplifies plugin creation and ensures cross-environment compatibility.

How do I use portable paths in Claude Code plugin manifests?▼

Use portable paths like ${CLAUDE_PLUGIN_ROOT} in your Claude Code plugin manifest to ensure cross-environment compatibility. This variable reference prevents hardcoded paths from breaking component discovery when plugins are deployed across different systems.

Where should the plugin manifest be placed in a Claude Code project?▼

The plugin manifest should be placed at the root of your Claude Code plugin directory structure to govern component discovery and organization. Correct manifest placement is critical for automated auto-discovery of commands, agents, and skills.

Does scaffolding a Claude Code plugin require specific dependencies?▼

Scaffolding a Claude Code plugin using this structure pattern requires no external dependencies. You can copy a clean plugin skeleton into your project and begin adding commands, agents, and skills following the documented conventions.

Why does my Claude Code plugin component discovery fail across environments?▼

Claude Code plugin component discovery fails across environments when directory structures are inconsistent or paths are hardcoded. Standardizing the layout and using portable path references like ${CLAUDE_PLUGIN_ROOT} resolves these cross-environment compatibility issues.