mswapi
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "mswapi" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-d789444921323d463ca67a6018d7530b6c245dcc1a5aaf85bfcea687f8e05bd3. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/msw-api-mocking-skill-frontend-integration-tests before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Use this MSW-based task-oriented mocking skill when you need to set up request handlers with Mock Service Worker to isolate network behavior in local development or testing and keep mocks consistent with real endpoints.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "MSW API 模拟技能用于前端和集成测试"
slug: "msw-api-mocking-skill-frontend-integration-tests"
version: "1.0.0"
displayName: "MSW API 模拟技能用于前端和集成测试"
summary: "在代理需要使用 Mock Service Worker 设置请求处理器、在本地开发或测试中隔离网络行为,并保持模拟与真实端点一致时,请使用此技能。这是一个围绕 MSW 构建的任务导向模拟技能,而非通用产品卡片。"
license: "MIT"
description: "在代理需要使用 Mock Service Worker 设置请求处理器、在本地开发或测试中隔离网络行为,并保持模拟与真实端点一致时,请使用此技能。这是一个围绕 MSW 构建的任务导向模拟技能,而非通用产品卡片。"
github_stars: 17816
verification: "listed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 17816
npm_package: "msw"
npm_weekly_downloads: 14205156MSW API 模拟技能用于前端和集成测试
Use this skill when an agent needs to stand up request handlers with Mock Service Worker, isolate network behavior in local development or tests, and keep mocks faithful to real endpoints. It is a task-focused mocking skill built around MSW, not a generic product card.
Installation
No source-backed install or usage instructions could be extracted automatically. Review the upstream project before running this skill in a sensitive workflow.
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 围绕 MSW 构建,精准解决前端开发和集成测试中的 API 模拟刚需
- 适用于高频开发场景,能显著提升本地开发和测试效率
Highlights
- 触发描述清晰明确,覆盖设置请求处理器、隔离网络行为等核心场景
Areas to improve
-
缺少 When to Use 说明与端到端示例 Reported severity: Minor
文档未提供具体的使用时机说明和完整执行示例
Recommendation: 补充 When to Use 章节和端到端示例,帮助用户快速理解执行流程
Highlights
- frontmatter 信息完整,包含版本、作者、许可证等关键元数据
Areas to improve
-
工具来源不明,无自动执行流程 Reported severity: Major
Installation 部分提示无法自动提取安装指令,依赖用户自行查阅上游项目
Recommendation: 补充具体的安装和使用指令,或集成官方 CLI 工具以降低执行门槛
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.