plugin-structure

Standardize directory layouts and manifest configuration for Claude Code plugins.

Updated Jan 9, 2026
One-click install
npx skills add https://github.com/AVVlasov/bro-learn-web --skill plugin-structure-avvlasov
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plugin-structure
Source: https://github.com/AVVlasov/bro-learn-web/tree/main/.claude/skills/plugin-structure
Command: npx skills add https://github.com/AVVlasov/bro-learn-web --skill plugin-structure-avvlasov

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill resolves the complexity of building, organizing, and configuring Claude Code plugins, ensuring your components are correctly discovered and integrated.

Core Features & Use Cases

  • Standardized Architecture: Provides a clear blueprint for directory layouts, manifest configuration, and component organization.
  • Auto-Discovery Guidance: Explains how to structure commands, agents, and skills so Claude Code automatically recognizes them.
  • Use Case: If you are building a new plugin for team automation, use this skill to verify your plugin.json manifest and ensure your slash commands and subagents are correctly placed for seamless loading.

Quick Start

Ask the assistant to scaffold a new plugin structure following the standard directory conventions.

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?

To structure a Claude Code plugin for auto-discovery, follow a standardized directory layout and manifest configuration. This ensures commands, agents, and skills are correctly placed for seamless loading and integration.

What is the correct directory layout for Claude Code plugin development?

The correct directory layout for Claude Code plugins uses modular component organization with portable path references via environment variables. This standardizes the architecture so the system automatically recognizes custom commands and subagents.

How do I configure the manifest for a custom Claude Code plugin?

Configuring a plugin manifest involves setting up the plugin.json file according to standard architecture guidelines. This verifies your components are correctly organized and ensures reliable auto-discovery within the Claude Code ecosystem.

Can I use environment variables for plugin path references in Claude Code?

Yes, you can use environment variables for portable path references in Claude Code plugins. This satisfies requirements for modular component organization and ensures your directory layout remains reliable across different environments.

Does Claude Code plugin architecture support event-driven hooks?

Claude Code plugin architecture supports the development of event-driven hooks alongside custom commands, agents, and skills. Standardizing your manifest configuration ensures these hooks are correctly discovered and integrated during team automation.