plugin-architecture
Installation
SKILL.md
Plugin Architecture
The decomposition matters more than any single component. A plugin that puts the wrong capability in the wrong component fails silently — the skill never triggers, the hook blocks everything, the MCP tool is unreachable. This skill is the first decision you make, before writing any content.
When to use this skill
- You have a plugin idea and don't know how to split it across components
- You're about to write a SKILL.md but wonder if it should be a hook instead
- An existing plugin has a skill that never triggers, and you suspect the capability belongs in a different component type
- You need to author
plugin.jsonfrom scratch and want the full schema - You're reviewing a plugin structure before shipping it