What problem does it solve?
This Skill eliminates the boilerplate and inconsistency of building database access layers for Kotlin applications using JetBrains Exposed ORM, providing standardized, coroutine-safe patterns for common data operations.
Core Features & Use Cases
- Dual Query Styles: Use type-safe DSL queries for direct SQL-like expressions or DAO entities for automatic lifecycle management of data models.
- Production Configuration: Set up HikariCP connection pooling, Flyway versioned database migrations, and configurable transaction isolation levels for scalable, reliable applications.
- Testable Architecture: Implement the repository pattern to decouple business logic from data access, enabling seamless testing with in-memory H2 databases.
- Use Case Example: Build a user management service that supports paginated user search, order-user joins, and JSONB metadata storage without writing raw SQL.
Quick Start
Use the kotlin-exposed-patterns skill to implement a coroutine-safe user repository with paginated search functionality and HikariCP connection pooling for your Kotlin backend service.