← Back to Skills Marketplace
leonaaardob

Drizzle ORM Complete Documentation

by leonaaardob · GitHub ↗ · v0.1.0
cross-platform ✓ Security Clean
2759
Downloads
5
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install lb-drizzle-skill
Description
Complete Drizzle ORM documentation in markdown format. Use when working with Drizzle ORM - covers schema definition, queries, migrations, database connections (PostgreSQL, MySQL, SQLite), integrations (Neon, Supabase, PlanetScale, Cloudflare D1, Turso), column types, relations, transactions, and framework usage (Next.js, SvelteKit, Astro).
README (SKILL.md)

Drizzle ORM Documentation

Complete Drizzle ORM documentation embedded in markdown. Read from references/ to answer questions about schema design, querying, migrations, and database integrations.

Documentation Structure

All documentation is in references/ organized by topic:

Getting Started (references/get-started/)

  • Installation and setup
  • Schema definition basics
  • Database connections
  • First queries

Database Connections (references/connect-*.mdx)

Connect to various databases and platforms:

  • PostgreSQL: connect-neon.mdx, connect-supabase.mdx, connect-effect-postgres.mdx, connect-pglite.mdx
  • MySQL: connect-planetscale.mdx, connect-tidb.mdx
  • SQLite: connect-cloudflare-d1.mdx, connect-turso.mdx, connect-bun-sqlite.mdx, connect-expo-sqlite.mdx, connect-op-sqlite.mdx
  • Serverless: connect-drizzle-proxy.mdx, connect-cloudflare-do.mdx
  • Edge: connect-nile.mdx, connect-sqlite-cloud.mdx

Column Types (references/column-types/)

All database column types and modifiers:

  • PostgreSQL, MySQL, SQLite types
  • Custom types and validators
  • Type safety and inference

Queries & Operations

Core query builder features:

  • select.mdx - Select queries
  • insert.mdx - Insert operations
  • update.mdx - Update operations
  • delete.mdx - Delete operations
  • joins.mdx - Join queries
  • indexes.mdx - Index management
  • views.mdx - Database views
  • batch-api.mdx - Batch operations
  • transactions.mdx - Transaction handling

Relations & Schema (references/relations/)

  • One-to-one, one-to-many, many-to-many
  • Foreign keys and constraints
  • Cascading operations

Migrations (references/migrate/)

Schema migration tools:

  • drizzle-kit usage
  • Migration generation
  • Push vs generate modes
  • Migration deployment

Integrations & Extensions (references/extensions/)

  • Validation (Zod, Valibot, Arktype, Effect)
  • Type safety enhancements
  • Caching strategies

Guides (references/guides/)

Best practices and how-tos:

  • Performance optimization
  • Type-safe queries
  • Testing strategies
  • Production patterns

Tutorials (references/tutorials/)

Step-by-step walkthroughs for common use cases.

Latest Releases (references/latest-releases/)

Version-specific features and updates.

Quick Reference

Common Tasks

Task File to Read
Setup Drizzle references/get-started/
Connect to Neon references/connect-neon.mdx
Connect to Supabase references/connect-supabase.mdx
Connect to PlanetScale references/connect-planetscale.mdx
Connect to Cloudflare D1 references/connect-cloudflare-d1.mdx
Connect to Turso references/connect-turso.mdx
Define schema references/get-started/ + references/column-types/
Run queries references/select.mdx, references/insert.mdx, etc.
Setup relations references/relations/
Run migrations references/migrate/
Validate with Zod references/zod.mdx
Batch operations references/batch-api.mdx
Transactions references/transactions.mdx

When to Use This Skill

  • Setting up Drizzle ORM in a TypeScript project
  • Defining database schemas with type safety
  • Connecting to PostgreSQL, MySQL, or SQLite databases
  • Working with serverless/edge databases (Neon, Supabase, D1, Turso)
  • Writing type-safe queries
  • Managing database migrations
  • Adding validation with Zod/Valibot
  • Questions about Drizzle ORM patterns and best practices

How to Navigate

  1. Start with references/get-started/ for installation and basics
  2. For database setup: Find relevant connect-*.mdx file
  3. For schema design: Check references/column-types/ and references/relations/
  4. For queries: Use query-specific files (select, insert, update, delete, joins)
  5. For migrations: See references/migrate/
  6. For validation: Check references/zod.mdx or other validator files
  7. For best practices: Browse references/guides/

All files are .mdx (Markdown + JSX) but readable as plain markdown.

Usage Guidance
This skill is a documentation bundle only — it reads local .mdx/.md files and answers Drizzle ORM questions. It requests no credentials, binaries, or installs, so it is low-risk from a privilege or exfiltration perspective. Before installing, you may want to: (1) verify provenance (README claims the docs were extracted from the drizzle-team repo) and license (README mentions MIT), (2) be cautious running any copied code examples directly in production without review, and (3) if you need an authoritative/up-to-date source, confirm the documentation version matches the Drizzle version you use.
Capability Analysis
Type: OpenClaw Skill Name: lb-drizzle-skill Version: 0.1.0 The skill bundle is a comprehensive documentation set for Drizzle ORM. All `.mdx` files contain documentation and code examples for various database operations and integrations. The `SKILL.md` and `README.md` are purely descriptive, guiding the AI agent to use the embedded documentation to answer user questions. There is no evidence of prompt injection, malicious execution, data exfiltration, persistence, or obfuscation. All code blocks are clearly marked as examples for user implementation or CLI commands for local development/deployment, not for direct execution by the AI agent.
Capability Assessment
Purpose & Capability
Name/description claim full Drizzle ORM docs and the package contains a large references/ tree with .mdx files covering the exact topics listed (connections, migrations, column types, guides, etc.). No unrelated binaries, env vars, or capabilities are requested.
Instruction Scope
SKILL.md directs the agent to read the local references/ files to answer Drizzle-related questions. It does not instruct the agent to read unrelated system files, fetch secrets, call external endpoints, or perform actions beyond reading bundled documentation.
Install Mechanism
There is no install spec and no code is written to disk by an installer. The skill is instruction-only, which minimizes installation risk.
Credentials
The skill declares no environment variables, credentials, or config paths. That is proportionate for a documentation-only skill.
Persistence & Privilege
always is false and the skill is user-invocable; it does not request permanent presence or elevated platform privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install lb-drizzle-skill
  3. After installation, invoke the skill by name or use /lb-drizzle-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
- Initial release of the drizzle skill with complete Drizzle ORM documentation in markdown. - Covers schema definition, queries, migrations, database connections (PostgreSQL, MySQL, SQLite), and popular integrations. - Includes guides on column types, relations, transactions, and function with frameworks (Next.js, SvelteKit, Astro). - Quick reference table for common tasks and file navigation. - Organized documentation for easy lookup of setup, usage, and best practices.
Metadata
Slug lb-drizzle-skill
Version 0.1.0
License
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Drizzle ORM Complete Documentation?

Complete Drizzle ORM documentation in markdown format. Use when working with Drizzle ORM - covers schema definition, queries, migrations, database connections (PostgreSQL, MySQL, SQLite), integrations (Neon, Supabase, PlanetScale, Cloudflare D1, Turso), column types, relations, transactions, and framework usage (Next.js, SvelteKit, Astro). It is an AI Agent Skill for Claude Code / OpenClaw, with 2759 downloads so far.

How do I install Drizzle ORM Complete Documentation?

Run "/install lb-drizzle-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Drizzle ORM Complete Documentation free?

Yes, Drizzle ORM Complete Documentation is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Drizzle ORM Complete Documentation support?

Drizzle ORM Complete Documentation is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Drizzle ORM Complete Documentation?

It is built and maintained by leonaaardob (@leonaaardob); the current version is v0.1.0.

💬 Comments