CtrlK
BlogDocsLog inGet started
Tessl Logo

tech-drizzle

Drizzle ORM schema design, relational queries, and migration patterns. Use when working with Drizzle ORM, writing database queries, or managing Drizzle migrations.

Install with Tessl CLI

npx tessl i github:ravnhq/ai-toolkit --skill tech-drizzle
What are skills?

71

1.35x

Quality

56%

Does it follow best practices?

Impact

100%

1.35x

Average score across 3 eval scenarios

Optimize this skill with Tessl

npx tessl skill review --optimize ./skills/framework/tech-drizzle/SKILL.md
SKILL.md
Review
Evals

Evaluation results

100%

30%

Database Schema Setup for a Content Platform

Schema organization and type inference

Criteria
Without context
With context

One table per file

100%

100%

Relations in separate file

0%

100%

Index exports base tables first

100%

100%

Index exports relations last

0%

100%

Junction table export order

100%

100%

$inferSelect type exported

100%

100%

$inferInsert type exported

100%

100%

No manual interface duplicates

100%

100%

Relations file imports all tables

0%

100%

README explains structure

100%

100%

Without context: $0.5842 · 2m 32s · 34 turns · 40 in / 7,267 out tokens

With context: $1.1116 · 3m 52s · 46 turns · 1,829 in / 14,072 out tokens

100%

4%

Data Access Layer for an E-commerce Dashboard

Relational queries and N+1 prevention

Criteria
Without context
With context

db.query used for relations

100%

100%

No manual JOIN for relations

100%

100%

with clause for eager loading

100%

100%

Root-level column selection

66%

100%

Nested column selection

100%

100%

Sensitive fields excluded

100%

100%

No N+1 loop pattern

100%

100%

NOTES.md references eager loading

100%

100%

Without context: $0.4103 · 2m 10s · 25 turns · 32 in / 5,807 out tokens

With context: $0.6160 · 2m 4s · 32 turns · 947 in / 7,139 out tokens

100%

43%

Analytics Reporting Module and Schema Migration

Aggregation queries and migration safety

Criteria
Without context
With context

db.select for aggregations

100%

100%

Aggregation functions imported

100%

100%

GROUP BY used correctly

100%

100%

db:push for local dev

0%

100%

db:generate before commit

60%

100%

SQL review step included

100%

100%

RENAME vs DROP+ADD check

33%

100%

NOT NULL DEFAULT check

0%

100%

CONCURRENTLY for large table indexes

0%

100%

No relational API for aggregations

100%

100%

Without context: $0.4105 · 1m 47s · 22 turns · 27 in / 5,628 out tokens

With context: $0.6474 · 2m 8s · 32 turns · 829 in / 7,784 out tokens

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.