Kysely - Type-Safe SQL Query Builder

Community

Type-safe SQL for TypeScript.

AuthorMacPhobos
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a robust solution for building type-safe SQL queries in TypeScript, ensuring that your database interactions are secure and predictable, bridging the gap between raw SQL power and TypeScript's static typing.

Core Features & Use Cases

  • End-to-end Type Safety: Guarantees type consistency from your database schema all the way to your query results.
  • Zero Runtime Overhead: Compiles directly to plain SQL, offering maximum performance.
  • Database Agnostic: Supports PostgreSQL, MySQL, SQLite, and MSSQL.
  • Migration System: Includes built-in tools for managing database schema evolution.
  • Plugin Ecosystem: Extensible with plugins for CTEs, JSON operations, geospatial data, and more.
  • Use Case: A developer needs to build a complex reporting query involving multiple joins, aggregations, and CTEs. Using Kysely, they can write this query in TypeScript with full type safety, ensuring the output structure matches their expectations and preventing runtime errors.

Quick Start

Use the Kysely skill to define your database schema types and create a type-safe query instance.

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: Kysely - Type-Safe SQL Query Builder
Download link: https://github.com/MacPhobos/research-mind/archive/main.zip#kysely-type-safe-sql-query-builder

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 223,000+ vetted skills library on demand.