一键导入
testing
Testing strategies based on Clean Architecture layers. Trigger: Invoke when writing tests to enforce layer-specific mocking strategies (Unit vs Integration)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Testing strategies based on Clean Architecture layers. Trigger: Invoke when writing tests to enforce layer-specific mocking strategies (Unit vs Integration)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Testing E2E strategies based on Clean Architecture layers with cypress. Trigger: Invoke when writing tests E2E or testing user flows, verifying full integration in realistic scenarios.
Standardizes how the application handles asynchronous states, errors, and feedback using TanStack Query/Router patterns. Trigger: Apply when building async UIs to implement Suspense, Skeletons, and Error Boundaries instead of manual loading states.
Tailwind CSS 4 patterns and best practices. Trigger: When styling with Tailwind - cn(), theme variables, no var() in className.
TanStack Query and Router patterns and best practices. Trigger: When implementing data fetching and routing with TanStack Query and Router.
TypeScript strict patterns and best practices. Trigger: When writing TypeScript code - types, interfaces, generics.
Zod 4 schema validation patterns. Trigger: When using Zod for validation - breaking changes from v3.
| name | testing |
| description | Testing strategies based on Clean Architecture layers. Trigger: Invoke when writing tests to enforce layer-specific mocking strategies (Unit vs Integration) |
| license | Apache-2.0 |
| metadata | {"author":"jmgomezdev","version":"1.0"} |
src/domain).parse()), and utility functions.expect(productSchema.parse(invalidData)).toThrow().src/application)queryOptions generation keys.renderHook).vi.spyOn, mockZustand.src/infrastructure)msw or nock).src/presentation)useProductDetail).axios, fetch, or useQuery directly in components.aria-labels).render, screen, userEvent.Filename.test.tsx or Filename.spec.ts.await screen.findBy* for async elements, never wait().vitest, react-testing-library, rtl, user-event, msw, unit-testing, integration-testing, mocks.