database-schema

Validate database schema awareness before coding to prevent column name errors.

1|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/aberrantCode/llm_skills --skill database-schema-aberrantcode
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: database-schema
Source: https://github.com/aberrantCode/llm_skills/tree/main/claude/skills/database-schema
Command: npx skills add https://github.com/aberrantCode/llm_skills --skill database-schema-aberrantcode

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Claude forgets schema details mid-session, leading to wrong column names, missing fields, and type mismatches.

Core Features & Use Cases

  • Enforces schema-first development by requiring you to read schema files before coding.
  • Guides type generation and validation across Drizzle, Prisma, SQLAlchemy, and raw SQL workflows.
  • Provides a structured workflow for TDD and schema-aware coding to reduce runtime errors.

Quick Start

Read the project schema and reference documents before starting any database work.

Frequently Asked Questions about database-schema

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent database column name errors and type mismatches when using an ORM?

To prevent database column errors during TDD, read your central schema source and reference documents before writing tests. This schema-aware approach validates generated types against your ORM configuration, ensuring test accuracy and reducing runtime errors.

How do I enforce schema awareness for TypeScript and Python database workflows?

You can enforce schema awareness by reading and validating against a central schema source, such as src/db/schema.ts or prisma/schema.prisma, before coding. This workflow prevents wrong column names and missing fields across Drizzle, Prisma, Supabase, and SQLAlchemy.

Does schema-first code generation work with Drizzle, Prisma, and raw SQL?

Yes, schema-first development supports Drizzle, Prisma, Supabase, SQLAlchemy, and raw SQL workflows. It validates generated types and queries against a central schema source, preventing type mismatches and missing fields across these platforms.

Why does my ORM code have missing database fields during long coding sessions?

Missing database fields and wrong column names occur when schema details are forgotten mid-session. Enforcing a schema-first workflow that reads central schema files before coding maintains schema awareness and prevents these structural errors.