← Browse by Chapter
Get the Book →
#62Chapter 11 — Plugins and Marketplaces
Here is my plugin: [point at the directory]. Propose eval cases in two groups. Group one: five prompts a real user would type where this plugin should handle the request, phrased the way someone would actually type them and not the way the documentation describes the feature. Group two: three prompts in the same repository where this plugin should not be involved at all. For every case in both groups, propose a grader and say in one line what a failure of that grader would mean. For group two, the grader should fail if the plugin's skill is selected, and must be set to count in both arms, since a skill check is otherwise only an indicator.

Mastering Claude Code
These prompts are excerpts from the book. Get the full collection with explanations and use cases.