← Back to Skills Marketplace
anivar

MSW (Mock Service Worker)

by Anivar Aravind · GitHub ↗ · v1.0.1
cross-platform ✓ Security Clean
276
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install msw-skill
Description
MSW (Mock Service Worker) v2 best practices, patterns, and API guidance for API mocking in JavaScript/TypeScript tests and development. Covers handler design...
Usage Guidance
This skill is a documentation-only guide for MSW v2 and appears internally consistent: it doesn't request credentials or install anything. Before installing or using it, verify the source (SKILL.md lists a GitHub repo and an author URL) and ensure the MSW version in your project matches the v2 baseline referenced here. Also be aware that following the guidance (e.g., using bypass() and fetch in handlers) can cause your test code to issue real network requests if misused—review generated handlers to confirm they match your test intent.
Capability Analysis
Type: OpenClaw Skill Name: msw-skill Version: 1.0.1 The bundle is a comprehensive educational resource for MSW (Mock Service Worker) v2, providing rules and references to prevent AI agents from using outdated v1 patterns. It contains no executable code, malicious instructions, or evidence of data exfiltration. All content is strictly aligned with the stated purpose of improving code quality and API adherence in JavaScript/TypeScript testing environments, specifically focusing on the breaking changes between MSW v1 and v2.
Capability Assessment
Purpose & Capability
The name/description promise MSW v2 guidance and the skill only contains rule and reference documents about MSW usage; there are no unrelated environment variables, binaries, or install steps requested.
Instruction Scope
SKILL.md and the referenced rule files only describe how to write and test MSW v2 handlers and server/worker setup. The instructions do not ask the agent to read arbitrary system files, exfiltrate data, or call unknown external endpoints beyond the documented GitHub/author links.
Install Mechanism
No install spec or code to download is included (instruction-only). Nothing is written to disk and no external installers or archives are referenced.
Credentials
The skill requests no environment variables, credentials, or config paths. All examples operate on in-repo code constructs and the MSW API — no disproportionate secret access is requested.
Persistence & Privilege
The skill is not marked always:true and does not request persistent system-level privileges. disable-model-invocation is false (agent-autonomy default), which is normal for skills and is not combined with other red flags here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install msw-skill
  3. After installation, invoke the skill by name or use /msw-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Added source_url linking to GitHub repo
v1.0.0
Initial release — MSW 2.0 best practices, 20 rules, handler design, GraphQL
Metadata
Slug msw-skill
Version 1.0.1
License
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is MSW (Mock Service Worker)?

MSW (Mock Service Worker) v2 best practices, patterns, and API guidance for API mocking in JavaScript/TypeScript tests and development. Covers handler design... It is an AI Agent Skill for Claude Code / OpenClaw, with 276 downloads so far.

How do I install MSW (Mock Service Worker)?

Run "/install msw-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is MSW (Mock Service Worker) free?

Yes, MSW (Mock Service Worker) is completely free (open-source). You can download, install and use it at no cost.

Which platforms does MSW (Mock Service Worker) support?

MSW (Mock Service Worker) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created MSW (Mock Service Worker)?

It is built and maintained by Anivar Aravind (@anivar); the current version is v1.0.1.

💬 Comments