Claude Code uses plugins to add new features and tools. A plugin follows a standard folder layout. This layout helps the system find all parts automatically. You place files in specific folders like commands, agents, and skills. A plugin.json file in a .claude-plugin folder holds the plugin's settings.
Anyone who wants to build a plugin for Claude Code needs to know this structure. It makes your plugin easy to manage and share. You can also add custom paths for your components. The system will find them in both the default and custom folders.
Using the right names and folders keeps your plugin organized. This guide explains everything step by step. You will learn about the manifest file, component directories, and best practices.
Global
mkdir -p ~/.claude/skills/plugin-structureProject
mkdir -p .claude/skills/plugin-structureSource Repository
Find Skillsvercel-labs/skills
Find and install the perfect skill to extend your AI agent
Microsoft Foundrymicrosoft/azure-skills
Build, deploy, and improve AI agents on Microsoft Foundry from start to finish
Azure Aimicrosoft/azure-skills
Search, transcribe, and analyze with Azure AI tools for smarter apps
Azure Hosted Copilot Sdkmicrosoft/azure-skills
Build, deploy, and manage your Copilot SDK apps on Azure with ease
Triagemattpocock/skills
Triage issues with a state machine driven by clear roles and agent briefs
Handoffmattpocock/skills
Hand off your work to another AI agent with a clear summary
Image Editagentspace-so/runcomfy-agent-skills
Smart router picks the best AI model for your image editing needs
Agentspaceagentspace-so/skills
See your AI agent's live folder from any browser instantly