kotlin-exposed-patterns

Implement Kotlin Exposed ORM patterns with HikariCP and Flyway migrations.

3|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/rlagycks/oh-my-forge --skill kotlin-exposed-patterns-rlagycks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kotlin-exposed-patterns
Source: https://github.com/rlagycks/oh-my-forge/tree/main/skills/kotlin-exposed-patterns
Command: npx skills add https://github.com/rlagycks/oh-my-forge --skill kotlin-exposed-patterns-rlagycks

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires HikariCP, flyway, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies and standardizes database interactions in Kotlin, enabling developers to implement efficient, safe, and maintainable data access layers.

Core Features & Use Cases

  • DSL and DAO Usage: Provides patterns for constructing database queries using native Kotlin syntax and entity management.
  • Configuration and Migrations: Demonstrates setting up connection pooling with HikariCP and managing database schema updates with Flyway.
  • Use Case: Develops a production-grade Kotlin backend that manages complex relational data with transactional safety, reliable migrations, and ORM flexibility.

Quick Start

Use the Kotlin Exposed Patterns skill to create a database connection, set up migration scripts, and perform CRUD operations within coroutine-supported transactions.

Frequently Asked Questions about kotlin-exposed-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage database transactions safely in Kotlin?

Database transactions in Kotlin are managed safely by wrapping CRUD operations within coroutine-supported transaction blocks, ensuring relational data integrity and scalable access in production environments.

What's the best way to set up database migrations with Kotlin and Flyway?

Database migrations with Kotlin and Flyway are set up by configuring connection pooling via HikariCP and applying schema update scripts, resulting in reliable and standardized database schema management.

When do I need to use DSL versus DAO patterns for Kotlin database access?

You need DSL patterns for constructing type-safe database queries using native Kotlin syntax, whereas DAO patterns are required when you need structured entity management for complex relational data.

Does HikariCP work well with Kotlin for connection pooling?

HikariCP works with Kotlin to provide connection pooling, which establishes efficient database connections that enable scalable and safe data access layers in production-grade backend environments.

How to perform CRUD operations using Kotlin Exposed ORM?

CRUD operations using the Kotlin ORM are performed by utilizing DSL and DAO patterns within coroutine-supported transactions, enabling efficient creation, retrieval, updates, and deletion of relational data.