nextjs-postgres-container
SKILL.md
Next.js + PostgreSQL + Containerized App
Overview
Build and maintain production-grade Next.js applications backed by PostgreSQL, shipped as Docker images (and optionally via Docker Compose).
Priorities:
- Correctness for money/decimal math (no floats)
- Safe DB access (pooling, migrations, transactions)
- Reproducible container builds (multi-stage, minimal runtime image)
Version targets (verified 2026-01-16)
- Next.js: 16.1.x (latest stable observed: 16.1.2)
- PostgreSQL: 18.x (current minor observed: 18.1)
Guidance:
- Prefer staying on the latest minor for your chosen Postgres major.
- Treat Next.js security advisories as “upgrade now” events.