payload-drizzle

Official

Fast direct Drizzle access for PayloadCMS.

Authorperimetre
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Payload developers need to perform high-volume database operations without triggering Payload's full lifecycle, hooks, and access checks. This skill guides how to safely combine Payload's local API with direct Drizzle access to optimize performance for migrations, bulk operations, and advanced SQL tasks while preserving safety defaults.

Core Features & Use Cases

  • Dual-API workflow: use the safe local Payload API for standard ops and direct Drizzle for bulk or complex queries.
  • Join-table management guidance: explicitly handle hasMany join tables when bypassing the local API.
  • Type-safety and tooling: leverage generated Drizzle schemas to enable strong typing in direct DB work.

Quick Start

Run a bulk update against the Payload database using payload.db.drizzle with proper join-table management.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: payload-drizzle
Download link: https://github.com/perimetre/ai-toolkit/archive/main.zip#payload-drizzle

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.