Sharded Postgres guidance for PlanetScale's Neki, covering routing, shard keys, transactions, and resharding.

skills.sh installs
1.7K
GitHub stars
744
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers connecting, data topology and shard keys, query routing and fanout, cross-shard transactions, schema changes, and resharding or migration
  • Includes reference guides for architecture, sharding readiness, query planning, transactions, error codes, indexing, replication, backup, and monitoring
  • Enforces single-shard transactions, since atomic distributed transactions are not supported in the Platform Preview
  • Designed for teams scaling Postgres on PlanetScale who need sharding guidance or help reading NK013 errors

Install

$ npx -y skills add planetscale/database-skills --skill neki -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

PlanetScale Neki

Docs: https://planetscale.com/docs/neki · https://neki.dev/

Platform Preview: Neki is in PlanetScale Platform Preview (a Beta Feature under the PlanetScale Terms of Service; no SLA). Single-instance, non-HA configurations are not supported during the preview. See Platform preview limitations.

Overview

Neki is distributed (sharded) Postgres by PlanetScale. Every shard is real Postgres; Neki places a router in front of the shards and adds per-instance sidecars and a control plane (topology service, admin, Replicator) to route, coordinate, and operate Postgres across many shards — all behind one Postgres connection string on port 5432. Applications use standard Postgres clients, drivers, and ORMs.

Details

Repository
github.com/planetscale/database-skills
Categories
Databases, Backend & APIs
First seen
May 16, 2026

More from planetscale/database-skills

All 4

Similar to Neki

More Databases