See it on real schemas: the postgres-schema-gallery
Temporal, Miniflux, Listmonk, Matrix Synapse, Sourcegraph, Cal.com and GitLab (1,429 tables), each reviewed, each with a 3D explorer you can rotate.
ArchLens Postgres for Claude Code

What is this?
It's a Claude Code skill that reads one PostgreSQL DDL file, writes browsable documentation for it, and reviews the design while it is there.
- Is your database schema structurally sound?
- Has anyone reviewed it lately after all those PRs?
- Missing any essential indexes or FK constraints?
- Is it still performant where it needs to be?
I asked those same questions recently on a few of my projects and now we have models that are capable enough to both visualise the overall database schema whilst providing indicators/pointers where things might have gone stale or need attention - so let's leverage that workhorse!
NOTE #1: This is not meant to be a fire-and-forget skill, but one where the model prompts you, the human in the loop, to check your own stuff (an ironic inversion of control). Enjoy and let me know if it helps.
NOTE #2: PostgreSQL only. The parser is PostgreSQL's own, compiled to WebAssembly, so Oracle and MySQL DDL will not parse.
INSTALL AND RUN:
You need Node 24 or newer. The script is TypeScript run directly by Node, with no build step.
1. Register the marketplace:
/plugin marketplace add greenstevester/archlens-postgres
2. Install the skill (adding the marketplace alone doesn't install anything):
/plugin install archlens-postgres@archlens-postgres
Or run /plugin, open the archlens-postgres marketplace, and enable it from the menu. The one dependency, a WebAssembly build of PostgreSQL's parser, installs with the plugin; no compiler needed.
Restart Claude Code, then ask "What database review skills do you have?" to check it loaded. Later, update with /plugin marketplace update archlens-postgres.
3. Run the skill:
/archlens-postgres
What it writes
docs/database/
├── index.html browsable docs, findings inline, filter box, an SVG diagram per domain
├── schema-3d.html the whole schema in 3D: one island per domain, every foreign key an arc,
│ click a table or a line for its detail. Self-contained, about 0.8 MB
├── schema.json the model and the findings, which is what the judgment pass reads
├── README.md markdown index, leading with the schema map
├── schema-map.svg the 3D layout seen from above: islands, tables, one curve per foreign key
├── erd.svg whole-schema entity-relationship diagram, plain SVG
├── FINDINGS.md findings by severity, each with cause, effect and fix SQL
├── REVIEW.md Claude's judgment pass: verdict, claims vs enforcement, what hurts next
└── domains/ one .md page per domain, its own .svg, and a Relationships list
What it checks