What problem does it solve?
This Skill eliminates the tedious, error-prone work of writing repetitive database boilerplate for Kotlin applications, removing the need to manually manage JDBC connections, raw SQL queries, and entity-to-model mapping for common data access tasks.
Core Features & Use Cases
- Type-Safe Query Patterns: Use Exposed's DSL for SQL-like type-safe queries or DAO pattern for entity lifecycle management, covering all common CRUD operations.
- Production-Ready Setup: Includes ready-to-use configurations for HikariCP connection pooling, Flyway database migrations, and coroutine-safe transaction handling.
- Use Case: A Kotlin microservice team can use this Skill to implement a fully testable user repository with pagination, JSONB metadata support, and in-memory H2 testing in a fraction of the time it would take to build from scratch.
Quick Start
Use the kotlin-exposed-patterns skill to implement a coroutine-safe user repository with pagination and JSONB metadata support for a Kotlin PostgreSQL service.