be-kysely

Community

Type-safe SQL with Kysely for TS backends

AuthorConradmaker
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Kysely-based persistence in TypeScript backends often suffers from scattered typings and inconsistent query shapes. This guide consolidates best practices for defining stable Database interfaces, proper typing for queries, and safe migrations to reduce errors and drift.

Core Features & Use Cases

  • Type-safe database schema design using Database interfaces and Generated/ColumnType-based typings.
  • SQL-first query construction with explicit shapes for select, insert, update, joins, CTEs, and transactions.
  • Migration lifecycle guidance and codegen references to manage schema evolution safely.

Quick Start

Define a Database interface and start building typed queries with selectFrom and insertInto to enforce type safety, then plan migrations for schema changes.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: be-kysely
Download link: https://github.com/Conradmaker/copilot-cockpit/archive/main.zip#be-kysely

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.