This teaches you the anatomy of a Claude Code plugin: where to put your plugin.json manifest, how to organize commands, agents, skills, and hooks into the right directories, and why you should always use ${CLAUDE_PLUGIN_ROOT} instead of hardcoded paths. The structure is mostly convention-based, so dropping a .md file in the commands folder makes it available as a slash command without extra wiring. Use this when scaffolding a new plugin or when your components aren't loading and you need to check if they're in the wrong place. The emphasis on portable paths is smart, since plugins get installed in different locations depending on how users set them up.
npx skills add https://github.com/anthropics/claude-plugins-official --skill plugin-structure