aiskillstore avatar

Plugin Structure

This is your reference when scaffolding Claude Code plugins or figuring out why components aren't loading. It covers the mandatory directory layout (manifest in .claude-plugin/, components at root), auto-discovery rules for commands/agents/skills/hooks, and the critical ${CLAUDE_PLUGIN_ROOT} variable for portable paths. The structure is stricter than you might expect: plugin.json must live in .claude-plugin/ but everything else stays at the top level, and you'll break portability if you hardcode paths instead of using the environment variable. Useful when you're building a plugin from scratch or debugging why your hooks or MCP servers aren't firing. The examples are concrete enough to copy and adapt.

skills.sh installs
184
GitHub stars
476
last updated
Aug 21, 2026

Install

$ npx -y skills add aiskillstore/marketplace --skill plugin-structure --agent claude-code

Installs into .claude/skills of the current project.

Files

Plugin Structure for Claude Code

Overview

Claude Code plugins follow a standardized directory structure with automatic component discovery. Understanding this structure enables creating well-organized, maintainable plugins that integrate seamlessly with Claude Code.

Key concepts:

  • Conventional directory layout for automatic discovery
  • Manifest-driven configuration in .claude-plugin/plugin.json
  • Component-based organization (commands, agents, skills, hooks)
  • Portable path references using ${CLAUDE_PLUGIN_ROOT}
  • Explicit vs. auto-discovered component loading

Directory Structure

Every Claude Code plugin follows this organizational pattern:

Sponsors

Details

Repository
github.com/aiskillstore/marketplace
Categories
Frontend Development, Code Review & Quality, Automation & Workflows, Sales & Marketing
First seen
Jun 3, 2026

More from aiskillstore/marketplace

All 37
1blessonism avatarmineru-extractblessonism/openclaw-search-skillsUse the official MinerU (mineru.net) parsing API to convert a URL (HTML pages like WeChat articles, or direct PDF/Office/image links) into clean Markdown + stru184skills.sh installs
2aiskillstore avatarweb-artifacts-builderaiskillstore/marketplaceSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for180skills.sh installs
3hiyeshu avatarcodeck-designhiyeshu/codeckDesigner role. Reads deck.md, generates a single HTML presentation file with CSS design system + JS slide engine + per-slide content. Accepts visual references 177skills.sh installs
4harlan-zw avatarpinia-skilldharlan-zw/vue-ecosystem-skillspinia skilld170skills.sh installs
5oguzhan18 avatarnxoguzhan18/angular-ecosystem-skillsALWAYS use when working with Nx monorepo, workspace configuration, or Angular/Nx project setup.170skills.sh installs
6dylanfeltus avatarmotion-design-patternsdylanfeltus/skillsFramer Motion (Motion) animation patterns for React — springs, staggers, layout animations, micro-interactions, scroll effects, and page transitions. Use when b167skills.sh installs