ワンクリックで
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