sql-architect
CommunitySQL standards for scalable, safe databases.
Authorralvarezdev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Database design governance: standardizes SQL practices to reduce defects and improve maintainability across schemas.
Core Features & Use Cases
- Schema design rules: primary keys, foreign keys, NOT NULL, CHECK constraints, audit columns, soft delete.
- Naming conventions: tables, columns, FKs, indexes, constraints, sequences.
- Indexing strategy: index all FK columns, use appropriate index types, partial indexes for soft-deletes.
- Query patterns: parameter binding, explicit column lists, RETURNING, upserts, cursor-based pagination, CTEs.
- Migrations & security: forward-only migrations, role-based access, RLS; security guidelines.
- Performance & JSON: EXPLAIN ANALYZE, performance tuning, JSON guidance.
- Engine-specific notes: PostgreSQL 18 primary; MySQL 9 and SQLite 3.53 notes.
Quick Start
Initialize your project with UUID v7 primary keys, NOT NULL and CHECK constraints, soft delete via deleted_at, and forward-only migrations to enforce a scalable schema.
Dependency Matrix
Required Modules
None requiredComponents
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: sql-architect Download link: https://github.com/ralvarezdev/ralvaskills/archive/main.zip#sql-architect Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.