← All skills
msw
82 / 100 · Low risk
Fine to try.
By pproenca/dot-skills (GitHub) · coding · 226 stars · scanned at commit cf93c57
MSW (Mock Service Worker) best practices for API mocking in tests (formerly test-msw). This skill should be used when setting up MSW, writing request handlers, or mocking HTTP APIs. This skill does NOT cover general testing patterns (use test-vitest or test-tdd skills) or test methodology.
Works with any agent that supports SKILL.md skills.
What this skill can do
Connects to the internet
This is disclosed by the author in the skill's SKILL.md or README.
Found in 128 places.
Show 17 more
- skills/.curated/msw/references/advanced-bypass-requests.md, line 32
const realResponse = await fetch(bypass(request)) - skills/.curated/msw/references/advanced-bypass-requests.md, line 43
http.get('/api/data', async ({ request }) => { - skills/.curated/msw/references/advanced-bypass-requests.md, line 48
return fetch(bypass(request)) - skills/.curated/msw/references/advanced-bypass-requests.md, line 63
http.get('/api/analytics/*', () => { - skills/.curated/msw/references/advanced-cookies-auth.md, line 16
http.get('/api/user', () => { - skills/.curated/msw/references/advanced-cookies-auth.md, line 49
http.get('/api/user', ({ cookies }) => { - skills/.curated/msw/references/advanced-cookies-auth.md, line 80
http.get('/api/protected', ({ request }) => { - skills/.curated/msw/references/advanced-cookies-auth.md, line 107
http.get('/api/preferences', ({ cookies }) => { - skills/.curated/msw/references/advanced-dynamic-scenarios.md, line 16
http.get('/api/user', () => { - skills/.curated/msw/references/advanced-dynamic-scenarios.md, line 36
http.get('/api/user', () => { - skills/.curated/msw/references/advanced-dynamic-scenarios.md, line 97
http.get('/api/user', ({ request }) => { - skills/.curated/msw/references/advanced-vitest-browser.md, line 69
http.get('/api/user', () => { - skills/.curated/msw/references/debug-common-issues.md, line 20
http.get('/api/user', () => { - skills/.curated/msw/references/debug-common-issues.md, line 37
http.get('*/api/user', () => { - skills/.curated/msw/references/debug-common-issues.md, line 71
http.get('/api/user', () => { - skills/.curated/msw/references/debug-verify-interception.md, line 20
const response = await fetch('/api/user') - skills/.curated/msw/references/debug-verify-interception.md, line 50
await fetch('/api/health')
and 108 more places
Downloads and installs other software
The author does not mention this.
Found in 1 place.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'msw' ] || [ -L ~/.agents/skills/'msw' ]; then echo 'A skill folder named msw already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/pproenca/dot-skills' "$d" && git -C "$d" checkout --quiet 'cf93c57cac89d6fc3e4194686000411567f5caf3' -- 'skills/.curated/msw' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/.curated/msw' ~/.agents/skills/'msw' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'msw' ~/.claude/skills/'msw' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for pproenca/dot-skills shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/pproenca/dot-skills/)
Score history
| Date | Version | Score |
|---|
| 2026-11-07 | cf93c57 | 82 |