schema-iteration
Installation
SKILL.md
Schema Iteration
Analyzes a database schema for structural problems, produces a refactored version, and generates a safe migration that preserves all existing data.
Workflow
1. Ingest the Schema
Accept input in any form:
- Prisma schema (
.prisma) - Raw SQL (
CREATE TABLEstatements) - ORM model definitions (SQLAlchemy, Django, ActiveRecord, TypeORM)
- A prose description of the current tables and fields
If the schema is missing, ask for it. If only a prose description is given, reconstruct a working schema from it before analyzing.