golang-gin-psql-dba

Installation
SKILL.md

golang-gin-psql-dba — PostgreSQL DBA / Architect

Make PostgreSQL architecture decisions for Go Gin APIs. Schema design, migration safety, index strategy, query optimization, and extension selection. Uses raw SQL via sqlx — for ORM patterns, see the golang-gin-database skill.

When to Use

  • Designing a new PostgreSQL schema (tables, types, constraints, naming)
  • Evaluating whether an ALTER TABLE is safe to run on a live database
  • Choosing the right index type for a query pattern
  • Reading EXPLAIN ANALYZE output and fixing slow queries
  • Sizing connection pools or tuning autovacuum
  • Selecting a PostgreSQL extension (search, vectors, geospatial, time-series)
  • Deciding on partitioning strategy

golang-gin-psql-dba vs golang-gin-database: golang-gin-database covers GORM/sqlx wiring, repository pattern, and migrations tooling (golang-migrate). golang-gin-psql-dba covers the PostgreSQL decisions behind those patterns — what data types to pick, which index to create, how to ALTER TABLE safely, and when to reach for an extension.

Schema Design Quick Rules

| Rule | Do | Don't |

Related skills

More from cylixlee/cortex

Installs
2
Repository
cylixlee/cortex
First Seen
Apr 16, 2026