Content
100%Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
An efficient, highly actionable MSW skill body: lean code-first sections, executable examples for both browser and Node lifecycle, a strict-mode validation checkpoint, and a clean anti-patterns/limitations structure. It makes exemplary use of a single self-contained file with consistent external references.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The body is dense and assumes Claude's competence — install commands, handler authoring, an HttpResponse-helpers table, browser/node setup, lifecycle table, per-test overrides, CI, anti-patterns, and limitations — with no padding explaining what MSW or Service Workers are; nearly every token earns its place. | 3 / 3 |
Actionability | Multiple complete, copy-paste-ready code blocks (`npm i msw`, `npx msw init public/`, full handlers.js/browser.js/node.js, vitest.setup.js lifecycle, a per-test override test, and CI yaml) use the real `http.*`/`HttpResponse` API with no pseudocode, matching the score-3 anchor. | 3 / 3 |
Workflow Clarity | The test lifecycle is sequenced explicitly (listen beforeAll → resetHandlers afterEach → close afterAll) in a When/Purpose table, with the per-test override→reset pattern shown end-to-end; `onUnhandledRequest: 'error'` acts as an explicit validation checkpoint that fails the test on unhandled requests. | 3 / 3 |
Progressive Disclosure | With no bundle files present, the single ~213-line SKILL.md is organized into clearly labeled sections (Overview, When to use, Install, Authoring handlers, Browser/Node setup, Per-test overrides, CI, Anti-patterns, Limitations, References) and references only one external, one-level-deep link ([msw-getting-started][gs]); per the rubric's simple-skill note, well-organized sections warrant a 3. | 3 / 3 |
Total | 12 / 12 Passed |