database-schema-reviewer
SolidReviews database schemas for normalization issues, missing indexes, naming inconsistencies, and scalability risks.
API & Backend 9 stars
1 forks Updated 6 days ago MIT
Install
Quality Score: 85/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Database Schema Reviewer
## What this skill does
This skill directs the agent to review a database schema — provided as SQL DDL, an ORM model file (Drizzle, Prisma, SQLAlchemy, ActiveRecord, etc.), or a plain description — and produce a prioritized list of issues. It checks normalization, indexes, constraints, naming conventions, nullable columns, and overall scalability. Every issue includes a concrete SQL or ORM fix.
Use this before deploying a new schema to production, during code review of a migration file, or when a database is growing and you're starting to feel query pain.
## How to use
### Claude Code / Cline
Copy this file to `.agents/skills/database-schema-reviewer/SKILL.md` in your project root.
Then share your schema and ask:
- *"Use the Database Schema Reviewer skill on `shared/schema.ts`."*
- *"Review this SQL migration file for schema issues using the Database Schema Reviewer skill."*
Provide the full schema file, a SQL DDL dump, or paste the relevant CREATE TABLE statements.
### Cursor
Add the "Prompt / Instructions" section to your `.cursorrules` file. Open your schema or migration file and ask Cursor to review it.
### Codex
Paste the schema DDL or ORM model definitions into the chat along with the instructions below. Include any known query patterns if you want index recommendations tailored to your workload.
## The Prompt / Instructions for the Agent
When asked to review a database schema, follow these steps:
1. **Parse the schema.** Accept...
Details
- Author
- Notysoty
- Repository
- Notysoty/openagentskills
- Created
- 5 months ago
- Last Updated
- 6 days ago
- Language
- JavaScript
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
API & Backend Listed
schema-review
Review database or data warehouse schemas for normalization, performance, naming, and query patterns
1 Updated 1 weeks ago
SilviaAre95 API & Backend Listed
postgres-schema-review
Audit an existing PostgreSQL schema and deployed catalog state for integrity, ownership, privileges, search-path exposure, constraints, RLS, partitions, indexes, and operational drift. Use when reviewing current DDL, dumps, migrations, or catalog snapshots. Do not use for greenfield data modeling, one slow-query diagnosis, or applying remediation in production.
0 Updated 3 days ago
genaptic API & Backend Listed
database
This skill should be used when reviewing database queries, migrations, indexes, or schema changes.
18 Updated today
dean0x