data-integrity-guards

Community

Defense-in-depth validation.

Authorkrwhynot
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Implements a four-layer validation pattern (API boundary, form state, database, and instrumentation) to prevent data corruption and ensure consistent behavior across the system.

Core Features & Use Cases

  • Layered validation: Zod-based API boundary validation, form defaults via schema, and strict object handling.
  • Database guards: RLS policies and soft-delete strategy to preserve data integrity and auditability.
  • Instrumentation: Diagnostic logging to aid debugging across layers.

Quick Start

Implement cross-layer validation for a resource by aligning API boundary validation, form defaults, DB rules, and instrumentation, then verify end-to-end integrity with tests.

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: data-integrity-guards
Download link: https://github.com/krwhynot/crispy-crm/archive/main.zip#data-integrity-guards

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.