# Database Design

> Equips your coding agent with a database architect, a SQL specialist and a PostgreSQL table-design skill.

Database Design is a plugin from Seth Hobson's agents collection (wshobson/agents), a community project. It adds two subagents and one skill for designing the data layer: a database architect for choosing a technology, modeling schemas and planning for scale, a SQL specialist for writing and tuning queries, and a skill with rules for PostgreSQL tables.

What's inside
- database-architect: recommends a database technology with its trade-offs, models schemas (normalization, NoSQL patterns, multi-tenancy, temporal and hierarchical data), plans indexes, caching, partitioning, sharding and replication, and draws ERDs as Mermaid diagrams. It plans migrations as recommendations rather than running them.
- sql-pro: writes and optimizes SQL across cloud and hybrid OLTP/OLAP databases, from analytical and cohort queries to time-series analysis and migrations between databases.
- postgresql-table-design (skill): rules for PostgreSQL schemas: primary keys, data types to use and to avoid, constraints, indexing, partitioning and PostgreSQL gotchas, with worked DDL examples.

How to install
In Claude Code, run /plugin marketplace add wshobson/agents, then /plugin install database-design@claude-code-workflows. Codex CLI uses codex plugin marketplace add wshobson/agents. The repository also has install routes for Cursor, OpenCode, Antigravity CLI, GitHub Copilot and Pi.

Good to know
- It's a community plugin, not a database vendor's.
- It doesn't connect to your database; it guides your agent's design and SQL work.

- Type: Plugin
- Made by: wshobson
- Category: Databases
- Formats: Claude plugins
- Version: 1.2.1
- Website: https://github.com/wshobson/agents
- Source: https://github.com/wshobson/agents/tree/HEAD/plugins/database-design
- Page: https://pluginboard.ai/plugins/database-design

## Works with

- Claude
- GitHub Copilot
- Claude Code
- OpenClaw

## Install

### Claude

In Claude (web or desktop): Customize → Plugins → Add → Add marketplace, enter wshobson/agents, then add database-design

### Claude Code

In Claude Code:

```text
/plugin marketplace add wshobson/agents
/plugin install database-design@claude-code-workflows
```

---
From Pluginboard (https://pluginboard.ai).
