一键导入
frontend-testing
Use when writing or improving frontend tests with Vitest and React Testing Library using reliable patterns and coverage checks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when writing or improving frontend tests with Vitest and React Testing Library using reliable patterns and coverage checks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when designing, reviewing, or modifying backend API endpoints, schemas, validation, and API documentation.
Use when reviewing architecture boundaries, dependency direction, or multi-layer design decisions across modules.
Use when shaping new features or behavior changes that need requirements clarification and option tradeoff exploration before implementation.
Use when React components are too large or complex and need extraction, simplification, or separation of concerns.
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
Use when modeling domain concepts, aggregates, and bounded contexts or checking DDD alignment in existing code.
| name | frontend-testing |
| description | Use when writing or improving frontend tests with Vitest and React Testing Library using reliable patterns and coverage checks. |
This Skill provides a framework for generating Vitest and React Testing Library tests for modern frontend applications.
Follow the incremental workflow: Utilities/Hooks -> Simple Components -> Complex Components -> Integration Tests.
See the following for detailed strategies:
95% branch/line coverage.