Skip to content
Agentmart
Submit a tool

msw-api

Use when starting MSW or API mock work, or when using the msw-api skill pack—load this first, then the matching msw-* sub-skill

Skill by eminoda

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/eminoda-msw-api

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when starting MSW or API mock work, or when using the msw-api skill pack—load this first, then the matching msw-* sub-skill

Use cases: backend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/msw-api

What's inside

Skill name
msw-api
Description
Use when starting MSW or API mock work, or when using the msw-api skill pack—load this first, then the matching msw-* sub-skill
License
MIT
Instructions
57 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • files: referenced but missing: scripts/install-cursor-skills.sh

Files (1)

  • SKILL.md

SKILL.md (first lines)

# msw-api

## Overview

**msw-api** 是 MSW / API 契约对齐技能包的总入口。在改 mock 或测试前,先读本技能,再按场景加载对应的 **msw-** 子技能。

## 子技能一览

| 技能名 | 何时加载 |
|--------|----------|
| **msw-find-diff** | 有 Swagger / OpenAPI / Postman,要生成 `msw-plan.md` |
| **msw-update-code** | 已有 `msw-plan.md`,要改代码与测试 |
| **msw-verify-plan** | 改完后验收计划、跑测试 |
| **msw-writing-skills** | 在本仓库新增或修改技能 |

推荐流程:`msw-find-diff` → 确认 plan → `msw-update-code` → 可选 `msw-verify-plan`。

## The Rule

**在回复或改代码之前**,若任务与 MSW、API mock、接口文档、`msw-plan.md` 相关,必须先加载 **msw-api** 或对应 **msw-** 子技能并遵循。

即使只有约 1% 的可能性适用,也应先读取技能内容再决定不用。

## 安装(Cursor / skills CLI)

```bash
npx skills add eminoda/msw-api -g -y
npx skills add eminoda/msw-api -g -y --skill msw-api --skill msw-find-diff --skill msw-update-code
```

或链接本仓库:`scripts/install-cursor-skills.sh` / `.ps1` → `~/.cursor/skills/msw-api/`

## Instruction Priority

1. 用户明确指令 — 最高  
2. **msw-api** 子技能 — 覆盖默认 Agent 行为  
3. 默认系统提示 — 最低  

## Skill Priority

1. 有文档、无 plan → **msw-find-diff**  
2. 有 plan → **msw-update-code**(不要跳过 plan 直接改)  
3. 改完需验收 → **msw-verify-plan**  

「文档和 mock 不一致」→ `msw-plan.config.json` + `msw-find-diff` 的 project-layouts → 确认后 `msw-update-code`。

## 子 Agent

若任务已限定为单一操作(如「只跑测试」),可只加载 **msw-verify-plan**;否则建议先读 **msw-api**。

## 协作

- 维护技能:**msw-writing-skills**  
- 索引:[skills/README.md](../README.md)  
- 多平台:[docs/PLATFORMS.md](../../docs/PLATFORMS.md)

From eminoda/msw-api, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Jun 4, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from eminoda

Cite this page

msw-api skill. Agent Mart. https://agentmart.dev/skills/eminoda-msw-api (last updated 2026-10-24)