kysely
Installation
SKILL.md
Kysely
Type-safe TypeScript SQL query builder with zero runtime overhead. Immutable builders, full autocompletion, and compile-time error detection.
Sub-Skill Routing
| Need | Load Skill | Trigger Phrases |
|---|---|---|
| SELECT, joins, where, expressions, aggregates | kysely-querying |
selectFrom, innerJoin, eb(), fn.count, where, having |
| INSERT, UPDATE, DELETE, upserts, transactions | kysely-writes-transactions |
insertInto, updateTable, deleteFrom, onConflict, transaction, savepoint |
| Schema DDL, migrations, Migrator setup | kysely-schema-migrations |
createTable, addColumn, Migrator, FileMigrationProvider, migration |
| Cross-dialect portability, feature detection | kysely-dialect-portability |
PostgresDialect, MysqlDialect, supportsReturning, jsonArrayFrom, plugin |
| CTEs, window functions, raw SQL, streaming | kysely-advanced-sql |
with(), sql``, DynamicModule, CASE, over(), stream, CTE |
Load the specific sub-skill for detailed patterns and examples. This router skill covers the mental model, type system, and non-negotiable rules.