database-schema-validator

Community

Ensure database integrity, effortlessly.

AuthorB16B1RD
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Manual database schema validation is error-prone and time-consuming, leading to data inconsistencies, migration failures, and production bugs. This skill automates the rigorous checking of your database schema, Kysely types, and migrations, preventing costly errors before they happen.

Core Features & Use Cases

  • Schema Type Validation: Automatically verify Kysely schema type definitions, column consistency, and foreign key relationships.
  • Migration Safety Analysis: Detect unsafe migrations (e.g., data loss risks), validate file structure, and ensure rollback compatibility.
  • Best Practices Enforcement: Check for proper indexing, primary key definitions, and naming convention compliance.
  • Use Case: Before deploying a new feature, use this skill to automatically scan your entire database setup. It will flag any type mismatches, missing foreign keys, or potentially destructive migrations, allowing you to fix them proactively and avoid production outages.

Quick Start

Validate the database schema and all pending migrations for the current project.

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: database-schema-validator
Download link: https://github.com/B16B1RD/cc-craft-kit/archive/main.zip#database-schema-validator

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