Content
82%Weight 40%Scale 1-5Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
A strong, highly actionable skill body: everything needed to install, author handlers, wire both environments, and manage lifecycle is present as executable code with useful anti-patterns and limitations. The main gaps are minor token inefficiency from repeated citations and explanatory asides, and a monolithic single-file layout where an API-reference file would improve progressive disclosure.
Suggestions
State the msw-getting-started citation once (e.g., in References or Overview) instead of repeating '(Per [msw-getting-started][gs])' after each code block.
Move the 'HttpResponse static helpers' and 'Pattern matching' tables plus the streaming/limitations detail into a references/ file (e.g. references/api.md) and link to it, keeping SKILL.md as a lean overview.
Promote 'onUnhandledRequest: \'error\'' and the afterEach resetHandlers requirement into an explicit numbered setup checklist with a validate step (e.g., 'run one test; if it fails with an unhandled-request error, add the missing handler') so the error-recovery loop is explicit rather than implied by tables.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The body is dense and table-driven with little fluff, but the '(Per [msw-getting-started][gs])' citation is repeated four times and a few asides ('the worker script is what the browser registers to intercept requests', the CI comment 'Vitest / Jest pick up vitest.setup / jest.setup automatically') could be trimmed. This matches 'efficient; minor instances of over-explanation that could be trimmed' rather than the level-5 'every token earns its place'. | 4 / 5 |
Actionability | Fully executable, copy-paste-ready guidance throughout: 'npm i msw --save-dev', 'npx msw init public/ --save', complete handlers.js / browser.js / node.js / vitest.setup.js files, a concrete per-test 'server.use(...)' 500-error test, and CI YAML. Specific examples cover the common cases (GET/POST, path params, error override, lifecycle), matching the top anchor. | 5 / 5 |
Workflow Clarity | Clear install -> author handlers -> setup server/worker -> lifecycle -> per-test overrides -> CI sequence, with 'onUnhandledRequest: \'error\'' as an explicit strict-mode checkpoint and an anti-patterns table covering common failure recovery. It falls short of the level-5 anchor because there is no explicit validate-fix-retry loop or checklist; the checkpoint guidance is implicit in the tables rather than a step. | 4 / 5 |
Progressive Disclosure | Good structure with clear section headers, tables, and clearly signaled one-level-deep external references (MSW docs links, cross-references to wiremock-stubs). However, ~210 lines live in a single SKILL.md with no bundle files; the HttpResponse helpers and pattern-matching API tables could be split into a reference file, so it does not fully meet the level-5 'content appropriately split' anchor. | 4 / 5 |
Total | 17 / 20 Passed |