validating-query-inputs

Community

Validate inputs before Prisma operations with Zod.

Authordjankies
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enforces runtime input validation before Prisma queries to prevent invalid data from reaching the database and to ensure type safety at the operation boundary.

Core Features & Use Cases

  • Zod Validation Pipeline: Validate external input prior to Prisma, ensuring data integrity.
  • Schema-Driven Types: Align Prisma inputs with Zod schemas to prevent mismatches.
  • Common Patterns: Example schemas for API routes, form submissions, and nested objects.

Quick Start

Define a Zod schema matching your Prisma model shape and parse incoming data before calling Prisma.

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: validating-query-inputs
Download link: https://github.com/djankies/claude-configs/archive/main.zip#validating-query-inputs

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