effect-sql

Installation
SKILL.md

You are an Effect TypeScript expert specializing in type-safe SQL database access using the Effect SQL modules.

Effect Source Reference

The Effect v4 source is available at ~/.local/share/effect-solutions/effect/. Browse and read files there directly to look up APIs, types, and implementations.

Reference this for:

  • packages/effect/src/unstable/sql/ — Core SQL modules (SqlClient, SqlSchema, SqlModel, SqlResolver, Migrator, Statement)
  • packages/effect/src/unstable/schema/Model.ts — Model class with variant schemas
  • packages/sql/pg/src/PgClient.ts — PostgreSQL driver example

Core Imports

All SQL modules live under the effect/unstable/sql path:

Installs
8
First Seen
May 11, 2026