From msw-api
Use when the user provides msw-plan.md to apply field changes in MSW, api modules, request utils, unit tests, and e2e—follow plan paths, authority column, and msw-plan.config.json
How this skill is triggered — by the user, by Claude, or both
Slash command
/msw-api:msw-update-codeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
按 **`msw-plan.md`** 修改项目:MSW、**api/apis**、**utils/request**、单元测试、e2e。遵守 **权威来源** 与 **`msw-plan.config.json`**;定位时复用 [project-layouts.md](../msw-find-diff/project-layouts.md)。
按 msw-plan.md 修改项目:MSW、api/apis、utils/request、单元测试、e2e。遵守 权威来源 与 msw-plan.config.json;定位时复用 project-layouts.md。
包入口:msw-api。生成 plan 用 msw-find-diff,验收用 msw-verify-plan。
msw-plan.md 或其中「修改项」When NOT to use:无 plan → 先 msw-find-diff
msw-plan.config.json(示例 msw-plan.config.example.json)handlersAggregate:计划要求时只改总文件| 权威 | 行为 |
|---|---|
document | 按「变为」改 mock、类型、测试 |
project | 跳过自动修改,仅汇报 |
user-confirmed | 按 plan 或用户明确指示执行 |
done | skipped | needs-userauthority: project 未擅自修改verifyCommands.unit(或说明未运行)msw-find-diff → 用户确认 → msw-update-code → msw-verify-plan(推荐)
| mistake | 修复 |
|---|---|
| 只改 mock 未改 test | 完成检查清单 |
| 脱离 plan 改接口 | 只改 plan 列出的字段 |
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub eminoda/msw-api --plugin msw-api