Skip to content
Agentmart
Submit a tool

msw-update-code

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…

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-update-code

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 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

Use cases: backend, testing

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-update-code

What's inside

Skill name
msw-update-code
Description
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
License
MIT
Instructions
49 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# msw-update-code

## Overview

按 **`msw-plan.md`** 修改项目:MSW、**api/apis**、**utils/request**、单元测试、e2e。遵守 **权威来源** 与 **`msw-plan.config.json`**;定位时复用 [project-layouts.md](../msw-find-diff/project-layouts.md)。

包入口:**msw-api**。生成 plan 用 **msw-find-diff**,验收用 **msw-verify-plan**。

## When to Use

- 用户给出 `msw-plan.md` 或其中「修改项」
- 要求执行计划、改 mock/测试

**When NOT to use**:无 plan → 先 **msw-find-diff**

## 项目约定(必读)

1. 读 **`msw-plan.config.json`**(示例 [msw-plan.config.example.json](../msw-find-diff/msw-plan.config.example.json))  
2. 无 config:用 [project-layouts.md](../msw-find-diff/project-layouts.md)  
3. **`handlersAggregate`**:计划要求时只改总文件  

## 权威来源(执行规则)

| 权威 | 行为 |
|------|------|
| `document` | 按「变为」改 mock、类型、测试 |
| `project` | **跳过自动修改**,仅汇报 |
| `user-confirmed` | 按 plan 或用户明确指示执行 |

## 完成检查清单(必须勾选后汇报)

- [ ] 每个 plan 条目:`done` | `skipped` | `needs-user`  
- [ ] `authority: project` 未擅自修改  
- [ ] 已改接口在 unitTests / e2e glob 中同步断言  
- [ ] 已运行 `verifyCommands.unit`(或说明未运行)  
- [ ] 可选:**msw-verify-plan** 回写「验收记录」  

## 衔接

**msw-find-diff** → 用户确认 → **msw-update-code** → **msw-verify-plan**(推荐)

## Common Mistakes

| mistake | 修复 |
|---------|------|
| 只改 mock 未改 test | 完成检查清单 |
| 脱离 plan 改接口 | 只改 plan 列出的字段 |

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-update-code skill. Agent Mart. https://agentmart.dev/skills/eminoda-msw-update-code (last updated 2026-10-24)