
Neki
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
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
NK013errors
Install
$ npx -y skills add planetscale/database-skills --skill neki -yInstalls 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 4Similar to Neki
More Databases
postgresplanetscale/database-skills8.6K installsPostgreSQL best-practices guide with PlanetScale-specific references for schema, query, and connection work.
vitessplanetscale/database-skills1.7K installsVitess best practices covering VSchema, sharding, schema changes, and query routing for PlanetScale databases.
postgres-best-practicesneondatabase/postgres-skills2.1K installsComprehensive Postgres guidance covering schema design, indexing, query tuning, and replication for PostgreSQL 14 through 18.
neon-postgresneondatabase/agent-skills313.1K installsNeon Postgres guidance for connections, branching, migrations, and egress cost control on Lakebase Postgres.
neon-serverless-postgresbobmatnyc/claude-mpm-skills156 installsServerless Postgres guidance covering autoscaling, instant branching, and zero-downtime deployments on Neon.
supabase-postgres-best-practicessupabase/agent-skills488.4K installsPostgres best-practices guide covering query performance, connections, RLS, schema, locking, and advanced features.