CtrlK
BlogDocsLog inGet started
Tessl Logo

netlify-database

Guide for using Netlify Database — the GA managed Postgres product built into Netlify. Use when a project needs any kind of dynamic, structured, or relational data. Covers provisioning via @netlify/database, Drizzle ORM (@beta) setup, migrations, preview branching, and safe production data handling. Blobs is only for file/asset storage — any dynamic data belongs in the database.

90

1.40x
Quality

88%

Does it follow best practices?

Impact

94%

1.40x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Evaluation results

100%

76%

Bookmarking Service Database Setup

Drizzle ORM setup for Netlify Database

Criteria
Without context
With context

drizzle-orm @beta tag

0%

100%

drizzle-kit @beta tag

0%

100%

@netlify/database dependency

0%

100%

netlify-db adapter import

0%

100%

No connection string in client

0%

100%

Migrations output directory

0%

100%

db:generate script

100%

100%

db:migrate script

0%

100%

snake_case column names

100%

100%

schema.ts location

100%

100%

89%

7%

Blog Platform — Author Profile Refactor

Breaking schema change with expand-and-contract

Criteria
Without context
With context

Expand step present

100%

100%

Contract step present

100%

100%

No combined rename/drop

100%

100%

Migrations directory

100%

100%

No direct DDL instruction

100%

100%

No drizzle-kit push/migrate

100%

100%

Local apply command

0%

0%

Deploy applies hosted migrations

0%

70%

Final schema accuracy

100%

100%

snake_case migration columns

100%

100%

94%

-3%

Product Catalog — URL Slug Backfill

Production DML migration for data backfill

Criteria
Without context
With context

DML migration file created

100%

100%

No direct DB connection instruction

100%

100%

Deploy applies to production

100%

100%

Preview branch verification

100%

100%

Correct migrations directory

100%

100%

No drizzle-kit push/migrate

100%

100%

SQL targets NULL slugs only

100%

100%

Idempotent or guarded SQL

100%

100%

Local apply command

50%

0%

Migration naming convention

100%

100%

Repository
netlify/context-and-tools
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.