plugin-composition

Installation
SKILL.md

Plugin Composition

A plugin is more than the sum of its components. Shared conventions — path substitution, namespacing, directory layout, hook merge order — make the difference between a plugin that "just works" and one that breaks the moment it meets another installed plugin.


When to use this skill

  • Building a plugin that contains more than one component type (e.g. skills + hooks)
  • Deciding where to put shared scripts that multiple skills use
  • Confused about ${CLAUDE_PLUGIN_ROOT} vs ${CLAUDE_PLUGIN_DATA} vs ${CLAUDE_PROJECT_DIR}
  • A path reference in a hook or skill script is not resolving at runtime
  • Your plugin breaks when installed alongside another plugin that has a similar hook
  • Designing an MCP server alongside a skill and unsure how they should share state

When NOT to use this skill

Installs
2
GitHub Stars
16
First Seen
May 11, 2026