Skip to content

12 — Quiz: capstone plugin

Pick an answer. The quiz checks it and shows the explanation.

#

1. Your plugin notes-kit declares a server notes with a tool delete_note. Your hook matcher is mcp__notes__delete_note. Does it fire?

#

2. You load your plugin with --plugin-dir but forgot npm run build. What happens?

#

3. A published plugin keeps its data file in ${CLAUDE_PLUGIN_ROOT}. What goes wrong?

#

4. delete_note always asks for permission, and the plugin's PreToolUse hook denies deleting pinned notes. Claude tries to delete a pinned note. What do you see?

#

5. Your plugin's hook calls ../shared/check.js, a file next to the plugin folder. After a teammate installs it from your marketplace, the hook fails. Why?

Quiz Progress

0 / 0 questions answered (0%)

0 correct