테스트(이전의 test-msw)에서 API 모의를 위한 MSW(Mock Service Worker) 모범 사례. 이 기술은 MSW를 설정하거나, 요청 처리기를 작성하거나, HTTP API를 조롱할 때 사용해야 합니다. 이 기술은 일반적인 테스트 패턴(test-vitest 또는 test-tdd 기술 사용)이나 테스트 방법론을 다루지 않습니다.
SKILL.md
Comprehensive API mocking guide for MSW v2 applications, designed for AI agents and LLMs. Contains 45 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.
| 1 | Setup & Initialization | CRITICAL | setup- | | 2 | Handler Architecture | CRITICAL | handler- | | 3 | Test Integration | HIGH | test- | | 4 | Response Patterns | HIGH | response- | | 5 | Request Matching | MEDIUM-HIGH | match- | | 6 | GraphQL Mocking | MEDIUM | graphql- | | 7 | Advanced Patterns | MEDIUM | advanced- |
| 8 | Debugging & Performance | LOW | debug- |
테스트(이전의 test-msw)에서 API 모의를 위한 MSW(Mock Service Worker) 모범 사례. 이 기술은 MSW를 설정하거나, 요청 처리기를 작성하거나, HTTP API를 조롱할 때 사용해야 합니다. 이 기술은 일반적인 테스트 패턴(test-vitest 또는 test-tdd 기술 사용)이나 테스트 방법론을 다루지 않습니다. 출처: thongdn-it/react-agent-skills.
인용 가능한 정보
AI/검색 인용용 안정적인 필드와 명령어.
- 설치 명령어
npx skills add https://github.com/thongdn-it/react-agent-skills --skill msw- 카테고리
- </>개발 도구
- 인증됨
- ✓
- 최초 등록
- 2026-02-01
- 업데이트
- 2026-02-18
빠른 답변
msw이란?
테스트(이전의 test-msw)에서 API 모의를 위한 MSW(Mock Service Worker) 모범 사례. 이 기술은 MSW를 설정하거나, 요청 처리기를 작성하거나, HTTP API를 조롱할 때 사용해야 합니다. 이 기술은 일반적인 테스트 패턴(test-vitest 또는 test-tdd 기술 사용)이나 테스트 방법론을 다루지 않습니다. 출처: thongdn-it/react-agent-skills.
msw 설치 방법은?
터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/thongdn-it/react-agent-skills --skill msw 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code나 Cursor에서 사용할 수 있습니다
소스 저장소는 어디인가요?
https://github.com/thongdn-it/react-agent-skills
상세
- 카테고리
- </>개발 도구
- 출처
- skills.sh
- 최초 등록
- 2026-02-01