一键导入
handler-specification
Implementation guide for complying with the 4-layer separation principle and handler specification standards of Mocking GUI
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Implementation guide for complying with the 4-layer separation principle and handler specification standards of Mocking GUI
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Expert competency in systematic browser network mocking using MSW 2.x and Service Worker
Advanced technical knowledge for Service Worker runtime control and multi-tab state synchronization in the browser
Implementation competency for automatically generating Mocking GUI standard 4-Layer handlers and mock data by analyzing API specifications
Integrated expert knowledge of the Mocking GUI library architecture, engine behavior, and MSW integration
Product planning expertise for designing core features and establishing product strategy for the Mocking GUI library
Quality assurance competency for rigorously validating specification conformance and technical standard compliance of implemented features
| version | 1.0.0 |
| description | Implementation guide for complying with the 4-layer separation principle and handler specification standards of Mocking GUI |
| name | handler-specification |
The standard pattern for engineers writing Mocking GUI handlers in a format that the Mocking GUI engine can recognize.
HandlerConfigOption constants instead of calling msw directly.HandlerConfigOption and register in the mocks array.responseVariants[] array.responseVariantsFn function.rawBody field (kind: 'html' | 'text' | 'binary' | ...).http.xxx call statements 1:1 to HandlerConfigOption properties.HandlerConfigOption format."