Kysely llms.txt · AI Docs Browser · mdream

[llms.txt Tools](https://mdream.dev/llms-txt/kysely/llms-txt)

# Kysely llms.txt

Browse Kysely documentation as markdown. Click any page in the sidebar to view it, or copy the full llms.txt for your AI tools.

kysely.dev/llms.txt

[Raw llms.txt](https://kysely.dev/llms.txt) [Raw llms-full.txt](https://kysely.dev/llms-full.txt)

Copy Markdown [](https://kysely.dev/llms.txt)

llms.txt

search

Search the documentation

docs

Dialects

Inserts, updates and deletions

Simple selects

Single row

Complex values

Insert subquery

Multiple rows

Returning data

Single row

Aliased inner join

Complex join

Simple inner join

Subquery join

Source row existence

Temporary changes table

A single column

Aliases

All columns

All columns of a table

Column with a table

Complex selections

Distinct

Distinct on

Function calls

Generic find query

Multiple columns

Nested array

Nested object

Not null

Controlled transaction

Controlled transaction /w savepoints

Simple transaction

Complex values

MySQL joins

Single row

Complex where clause

Conditional where calls

Object filter

OR where

Simple where clause

Where in

Execution flow

Generating types

Getting started

LLMs

Supabase

Introduction

Migrations

Playground

Plugin system

Conditional selects

Data types

Deduplicate joins

Dealing with the Type instantiation is excessively deep and possibly infinite error

Expressions

Extending kysely

Introspecting relation metadata

Logging

Raw SQL

Relations

Reusable helpers

Working with schemas

Splitting query building and execution

Browser

Running on Deno

## What is Kysely's llms.txt?

Kysely publishes an `/llms.txt` file that provides AI systems with a structured index of its documentation. It follows the [llms.txt specification](https://llmstxt.org), organizing links to guides, API references, and tutorials under section headings so that LLMs like ChatGPT, Claude, and Gemini can quickly understand what Kysely offers and where to find details.

Issues

Spec

2

Sections

67

Links

13.7 KB

Size

~3.5k

Tokens

Sections: search · docs

## Add Kysely Docs to Your AI Assistant

Select your tool to see how to add Kysely's llms.txt as a documentation source.

Cursor

 Windsurf

 Claude Code

 ChatGPT

 Zed

 Copilot

1. 1

   Open any chat or composer panel
2. 2

   Type @Docs and select "Add new doc"
3. 3

   Paste the URL: https://kysely.dev/llms.txt
4. 4

   Wait for the green dot (indexing complete)
5. 5

   Reference @Docs in chat when asking about Kysely

Cursor crawls the URL and indexes all subpages. Add a trailing slash to index child pages too.

## Spec Compliance 38 errors

## Frequently Asked Questions

Where is Kysely's llms.txt file?

Kysely publishes its llms.txt at https://kysely.dev/llms.txt. This file provides a structured, markdown-formatted index of Kysely's documentation that AI systems can consume to understand the project's APIs, guides, and references.

How do I use Kysely's llms.txt with AI coding assistants?

Copy the llms.txt content and paste it into your AI assistant (Cursor, Windsurf, Claude, ChatGPT) as context. This gives the AI an accurate map of Kysely's documentation so it can provide better code suggestions and answers about Kysely.

What does Kysely's llms.txt contain?

Kysely's llms.txt contains 2 sections and 67 documentation links in 13.7 KB (~3.5k tokens). Key sections include search, docs.

How many tokens does Kysely's llms.txt use?

The concise llms.txt index is approximately 3.5k tokens (13.7 KB). Most AI assistants can fit this within their context window. For the full expanded documentation, look for an llms-full.txt variant which embeds all content inline.

What is Kysely?

The type-safe SQL query builder for TypeScript. Kysely's llms.txt file helps AI systems understand this by providing a structured overview of its documentation, making it easier for developers to get accurate AI-assisted help when working with Kysely.

Can I generate an llms.txt for my own project?

Yes. Use the free llms.txt generator at mdream.dev/tools/llms-txt/generator to crawl your site and produce a spec-compliant llms.txt file. You can also validate existing files with the llms.txt validator.

## Browse More llms.txt Files

[Wagmi React Hooks for Ethereum](https://mdream.dev/llms-txt/kysely/llms-txt/wagmi) [Apollo GraphQL The GraphQL developer platform](https://mdream.dev/llms-txt/kysely/llms-txt/apollo-graphql) [Remotion Make videos programmatically with React](https://mdream.dev/llms-txt/kysely/llms-txt/remotion) [SWR React Hooks for Data Fetching](https://mdream.dev/llms-txt/kysely/llms-txt/swr) [Tiptap The headless rich text editor framework](https://mdream.dev/llms-txt/kysely/llms-txt/tiptap) [Zustand Bear necessities for state management in React](https://mdream.dev/llms-txt/kysely/llms-txt/zustand) [NativeWind Tailwind CSS for React Native](https://mdream.dev/llms-txt/kysely/llms-txt/nativewind) [Effect A powerful TypeScript library for complex programs](https://mdream.dev/llms-txt/kysely/llms-txt/effect)

[View all 99 projects ](https://mdream.dev/llms-txt/kysely/llms-txt)

## Related Tools

[<h3>llms.txt Generator</h3>Generate an llms.txt for your own project.](https://mdream.dev/llms-txt/kysely/tools/llms-txt/generator) [<h3>llms.txt Validator</h3>Validate your llms.txt against the official spec.](https://mdream.dev/llms-txt/kysely/tools/llms-txt/validator)

© 2026 [Harlan Wilton](https://github.com/harlan-zw) · [MIT](https://github.com/harlan-zw/mdream/blob/main/license)

[GitHub](https://github.com/harlan-zw/mdream) [Discord](https://discord.com/invite/275MBUBvgP)