drizzle-orm

Community

Automate Drizzle ORM conventions, code with confidence.

AuthorJasonPaff
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill eliminates inconsistencies and manual enforcement of Drizzle ORM coding conventions, ensuring all database queries, schemas, and migrations adhere to Head Shakers' strict patterns for type safety, permission filtering, pagination, and resilience.

Core Features & Use Cases

  • Consistent Query Patterns: Automatically applies standardized query structures, context handling, and return values.
  • Automated Permission & Soft Delete Filtering: Ensures all user-visible data is filtered by permissions and soft-delete flags.
  • Resilience Integration: Enforces the use of circuit breaker and retry logic for robust database operations.
  • Use Case: When creating a new query to fetch user data, this Skill ensures the query extends BaseQuery, uses createUserQueryContext, applies buildBaseFilters for permissions, and handles pagination with applyPagination, all automatically.

Quick Start

Generate a new Drizzle ORM query file for the 'Product' entity, ensuring all Head Shakers coding conventions are applied for type safety, permission filtering, and pagination.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: drizzle-orm
Download link: https://github.com/JasonPaff/head-shakers/archive/main.zip#drizzle-orm

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