← 返回 Skills 市场
MSW (Mock Service Worker)
作者
Anivar Aravind
· GitHub ↗
· v1.0.1
276
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install msw-skill
功能描述
MSW (Mock Service Worker) v2 best practices, patterns, and API guidance for API mocking in JavaScript/TypeScript tests and development. Covers handler design...
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install msw-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/msw-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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
元数据
常见问题
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 276 次。
如何安装 MSW (Mock Service Worker)?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install msw-skill」即可一键安装,无需额外配置。
MSW (Mock Service Worker) 是免费的吗?
是的,MSW (Mock Service Worker) 完全免费(开源免费),可自由下载、安装和使用。
MSW (Mock Service Worker) 支持哪些平台?
MSW (Mock Service Worker) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 MSW (Mock Service Worker)?
由 Anivar Aravind(@anivar)开发并维护,当前版本 v1.0.1。
推荐 Skills