Skip to content
Back to skills

Drizzle

ASecurity

Drizzle ORM patterns, migrations, type-safe queries, and database schema design.

  • 1,760 stars
  • 0 votes
  • 2 copies
  • 4 views
  • Added September 2, 2026
ai-agentstypescriptbashsqlnextjsdatabasebackendfullstack

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 2, 2026

npx -y skills add a5c-ai/babysitter --skill drizzle --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Drizzle?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Drizzle
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/a5c-ai-drizzle-babysitter/badge)](https://www.skillsdirectory.com/skills/a5c-ai-drizzle-babysitter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: drizzle
description: Drizzle ORM patterns, migrations, type-safe queries, and database schema design.
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
graph:
  domains: [domain:web-development]
  specializations: [specialization:web-development]
  skillAreas: [skill-area:object-relational-mapping, skill-area:backend-data-persistence]
  roles: [role:backend-engineer, role:fullstack-engineer]
  topics: [topic:active-record]

---

# Drizzle Skill

Expert assistance for database operations with Drizzle ORM.

## Capabilities

- Define type-safe database schemas
- Write performant SQL queries
- Handle migrations
- Implement relations
- Configure multiple database dialects

## Schema Definition

```typescript
import { pgTable, text, timestamp, uuid, varchar } from 'drizzle-orm/pg-core';
import { relations } from 'drizzle-orm';

export const users = pgTable('users', {
  id: uuid('id').primaryKey().defaultRandom(),
  name: varchar('name', { length: 255 }).notNull(),
  email: varchar('email', { length: 255 }).notNull().unique(),
  createdAt: timestamp('created_at').defaultNow().notNull(),
});

export const posts = pgTable('posts', {
  id: uuid('id').primaryKey().defaultRandom(),
  title: varchar('title', { length: 255 }).notNull(),
  content: text('content'),
  authorId: uuid('author_id').references(() => users.id),
});

export const usersRelations = relations(users, ({ many }) => ({
  posts: many(posts),
}));
```

## Queries

```typescript
// Select with relations
const result = await db.query.users.findMany({
  with: { posts: true },
  where: eq(users.name, 'John'),
});

// Insert
await db.insert(users).values({ name: 'John', email: 'john@example.com' });

// Update
await db.update(users).set({ name: 'Jane' }).where(eq(users.id, id));
```

## Target Processes

- database-setup
- backend-development
- nextjs-full-stack

Files in this skill

  • README.md488 B
  • SKILL.md1.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.