kotlin-exposed-patterns

Standardize Kotlin database access with JetBrains Exposed ORM patterns.

1|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/vrcms/everything-qwen-code --skill kotlin-exposed-patterns-vrcms
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: kotlin-exposed-patterns
Source: https://github.com/vrcms/everything-qwen-code/tree/main/.qwen/skills/kotlin-exposed-patterns
Command: npx skills add https://github.com/vrcms/everything-qwen-code --skill kotlin-exposed-patterns-vrcms

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires org.jetbrains.exposed:exposed-core, org.jetbrains.exposed:exposed-dao, org.jetbrains.exposed:exposed-jdbc, com.zaxxer:HikariCP, org.flywaydb:flyway-core.

What problem does it solve?

This skill addresses the complexity of implementing robust, type-safe database access in Kotlin applications by providing standardized patterns for the Exposed ORM.

Core Features & Use Cases

  • Query Patterns: Implements both DSL and DAO styles for flexible database interactions.
  • Production Configuration: Includes templates for HikariCP connection pooling and Flyway database migrations.
  • Architecture: Demonstrates the repository pattern to decouple business logic from the data layer, ensuring testability with in-memory H2 databases.

Quick Start

Use the kotlin-exposed-patterns skill to generate a repository implementation and table definition for a new user entity in my project.

Frequently Asked Questions about kotlin-exposed-patterns

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

FAQPage Schema
How do I implement the repository pattern with Kotlin Exposed for database access?▼

To implement the repository pattern with Kotlin Exposed, you decouple business logic from the data layer using standardized DSL queries or DAO entities, ensuring testability with in-memory H2 databases for production environments.

Does Kotlin Exposed work with HikariCP for connection pooling and Flyway for migrations?▼

Kotlin Exposed works with HikariCP for connection pooling and Flyway for database migrations, providing production-ready configuration templates that ensure robust, type-safe database access in Kotlin applications.

What is the best way to manage coroutine-safe transactions in Kotlin Exposed?▼

The best way to manage coroutine-safe transactions in Kotlin Exposed is by applying standardized database access patterns that support coroutine-safe transaction management within the repository architecture.

How do I choose between DSL queries and DAO entities in Kotlin Exposed?▼

Choosing between DSL queries and DAO entities in Kotlin Exposed depends on your need for flexible database interactions; this skill implements both styles to standardize query patterns within your Kotlin application architecture.

Can I use Kotlin Exposed patterns to generate table definitions for new entities?▼

You can use Kotlin Exposed patterns to generate a repository implementation and table definition for a new entity in your project, facilitating type-safe database access and architectural decoupling.

Why do I need Flyway database migrations when using the Exposed ORM?▼

You need Flyway database migrations with the Exposed ORM to handle versioned schema changes for production environments, ensuring robust and consistent database state management alongside your Kotlin application logic.