# Drizzle ORM D1

> Type-safe ORM for Cloudflare D1 databases using Drizzle. Use when: building D1 database schemas, writing type-safe SQL queries, managing migrations with Drizzle Kit, defining table relations, implementing prepared statements, using D1 batch API, or encountering D1ERROR, transaction errors, foreign key constraint failures, or schema inference issues.

## Facts
- Page: https://tashan.sh/capability/plugin-secondsky-claude-skills-drizzle-orm-d1
- tashan id: plugin:secondsky/claude-skills/drizzle-orm-d1
- Source: https://github.com/secondsky/claude-skills
- Type: plugin
- Category: database
- tashan score: 45.0 / 100
- Adoption: 7.0
- Upkeep: 100.0
- Freshness: 100.0
- Evidence coverage: 84% of the inputs this score can use
- Health: active
- Instruction depth: not yet graded
- License: MIT
- Official: no

## Install

```sh
/plugin marketplace add secondsky/claude-skills
/plugin install drizzle-orm-d1@claude-skills
```

## Security audit
Not scanned. We audit npm-published capabilities; this one has no npm package we can resolve, or has not reached the queue. This is not a clean bill of health.

---
Measured 2026-11-24 by tashan (https://tashan.sh) from public evidence. Scorer s5.
