# Database schema design (/database--schema)

/database--schema is a Claude Code skill in the Data section. Designs or reviews a database schema covering normalization, keys, constraints and indexes, and delivers SQL plus an ER diagram.

- Web version: https://skills.sgomez.dev/en/s/database--schema
- Section: [Data](https://skills.sgomez.dev/en/data.md)
- Author: Santiago Gómez de la Torre
- License: MIT
- Source: https://github.com/sgomez-dev/claude-skills/blob/main/skills/database/schema.md
- Updated 26 Mar 2026

## How to ask for it

- `/database--schema design the schema for a to-do app`
- `/database--schema review whether my schema is properly normalized`
- `/database--schema suggest indexes for my most-queried tables`

## Install

macOS · Linux:

```
curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bash
```

Windows:

```
irm https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.ps1 | iex
```

Claude Code plugin:

```
/plugin marketplace add sgomez-dev/claude-skills
/plugin install database-skills@claude-skills-collection
```

## Permissions

- Reads: `**/*`
- Writes: `**/*`
- Runs: —
- Network: No
- Destructive: No

## Author's description

Design or review database schema with proper normalization and indexing

- [How we review this](https://skills.sgomez.dev/en/methodology.md)
