一键导入
vitest-patterns
Vitest router. Use for TypeScript/JS unit and integration tests, mocking strategy, and coverage config.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Vitest router. Use for TypeScript/JS unit and integration tests, mocking strategy, and coverage config.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Database router for PostgreSQL, MariaDB, MySQL, MSSQL, Elasticsearch, and Redis data/model/query/cache changes.
NestJS GraphQL router. Use for modules, resolvers, DTOs, guards, and schema behavior.
Nx 21 monorepo router. Use for project graph, targets, generators, and workspace orchestration changes.
Package manager router for Yarn 4 and pnpm 8.9 workspaces, constraints, and lockfile behavior.
Router for release readiness: config parity, migrations, rollback, and validation evidence.
Router for bounded security review using Haus guardrails and evidence-first output.
| name | vitest-patterns |
| description | Vitest router. Use for TypeScript/JS unit and integration tests, mocking strategy, and coverage config. |
*.test.ts(x), *.spec.ts(x), vitest.config.*, or vitest.setup.*vi.mock / vi.spyOn boundaryplaywright-patterns)testing-library-patternsvitest.config.* and vitest.setup.* (environment, aliases, setup files)__mocks__ folder or shared fixtures used by neighboring testsvitest.config.* coverage blockjsdom and node environments in a single suite without // @vitest-environment directivereferences/conventions.md for naming, do/don't, and forbidden patterns.references/scope.md for Vitest file targeting and stack boundaries.references/workflow.md only for failing-test diagnosis and coverage flow.