원클릭으로
api-mocking
API mock configuration for tests. Trigger when the user wants to mock APIs, use MSW, or test without a backend.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
API mock configuration for tests. Trigger when the user wants to mock APIs, use MSW, or test without a backend.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Multi-agent team orchestration with native Agent Teams. Trigger when the user wants to launch a team of agents, coordinate parallel work with inter-agent communication, or use swarm mode.
Perform a thorough code review. Use when the user requests a review, wants to verify code quality, or before merging a PR.
Context transfer between AI sessions. Trigger when the user wants to save the context, resume a task, or hand off the work to another session.
Debug and resolve problems. Use when the user has a bug, an error, an unexpected behavior, or wants to understand why something is not working.
TDD development with Red-Green-Refactor cycle. Use to implement a feature by writing tests BEFORE the code. Trigger automatically when the user asks for TDD, wants to write tests first, mentions "test first", or asks to implement, add, create, fix, correct code, a new feature, a bugfix, or a functionality.
Orchestration of parallel agents to maximize efficiency. Trigger when a task can be decomposed into independent sub-tasks that can run in parallel.
| name | api-mocking |
| description | API mock configuration for tests. Trigger when the user wants to mock APIs, use MSW, or test without a backend. |
| allowed-tools | ["Read","Write","Edit","Glob","Grep","Bash"] |
| context | fork |
| user-invocable | false |
MSW handler API, browser/node setup, install commands and request-interception internals are canonical at vendor docs and drift on each release:
Need to mock HTTP for tests/dev?
├── Browser AND Node from one handler set → MSW
├── Node-only unit tests, low ceremony → nock
├── Need a stateful REST fake server (CRUD) → json-server
└── Browser-only with relational fixtures (factories) → Mirage JS
types/api.ts). A mock that compiles against stale types is the #1 source of mock-prod divergence.resetHandlers() (MSW) or cleanAll() (nock) in afterEach — leaked state across tests is a debugging tax.onUnhandledRequest: 'error' (MSW) so a typo'd URL fails loudly instead of silently passing.dev-tdd — mocks live in test setup; this skill activates from TDD workqa-e2e — Playwright/Cypress tests often layer MSW for deterministic stubsdev-tdd (test-infrastructure setup) — wires the global setupServer into vitest/jest config