一键导入
integration-testing
Enforces project integration testing conventions for facades, server actions, and database operations using Testcontainers with real PostgreSQL.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Enforces project integration testing conventions for facades, server actions, and database operations using Testcontainers with real PostgreSQL.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | integration-testing |
| description | Enforces project integration testing conventions for facades, server actions, and database operations using Testcontainers with real PostgreSQL. |
| user-invocable | false |
This skill provides integration testing conventions for facades, server actions, and database operations. Integration tests use real database interactions via Testcontainers.
This skill activates when:
tests/integration/tests/integration/**/*.test.tstests/integration/**/*.integration.test.tstests/integration/)references/Integration-Testing-Conventions.mdtesting-base skill for shared conventionsgetTestDb() from tests/setup/test-db.tsresetTestDatabase() or cleanupTable() in beforeEach@/lib/db to use test databasetests/fixtures/ for test datareferences/Integration-Testing-Conventions.md - Complete integration testing conventionsEnforces project caching conventions when implementing cache layers using React cache(), Next.js unstable_cache, Upstash Redis, and Cloudinary. This skill ensures consistent patterns for cache keys, tags, TTL configuration, cache invalidation, and domain-specific CacheService helpers.
Enforces project client component conventions for interactive React components with hooks, event handlers, Radix UI integration, and server action consumption. Extends react-coding-conventions with client-specific patterns.
Enforces project Cloudinary media conventions when working with image uploads, URL generation, transformations, social sharing images, and photo management components. This skill covers the complete media workflow including CloudinaryService operations, URL utilities, CldImage/CldUploadWidget components, path organization, type definitions, and Sentry integration.
Enforces project React component testing conventions using Testing Library with proper rendering, user interactions, and accessibility testing.
Enforces project database schema conventions when creating or modifying Drizzle ORM table definitions, including constraints, indexes, relations, and column patterns. This skill should be used proactively whenever working with schema files to ensure consistent schema design for PostgreSQL with Neon serverless.
Enforces project Drizzle ORM coding conventions when creating or modifying database queries, schemas, and migrations. This skill ensures consistent patterns for query structure, type safety, permission filtering, pagination, resilience, and database operations.