Plugin

How it works

Claude Code plugin — skills, hooks, commands, and MCP config.

The main building blocks are:

Under the hood, this feature spans 967 source files covering:

What connects to it

This feature relates to: plugin, claude-code.

Other parts of the codebase interact with plugin through these interfaces:

Interface Purpose File
SpecInfo One in-flight spec discovered under a workspace root. plugin/hooks/_state.py
GitState Snapshot of the worktree's git state at hook fire time. plugin/hooks/_state.py