What problem does it solve?
Provides an end-to-end setup for a TypeScript backend that uses Docker Compose (Postgres + Redis) and Prisma, removing friction when onboarding, recovering a broken local database, or initializing a fresh development environment. It addresses common failures such as Docker daemon hangs, workspace protocol dependency issues, missing environment files, migration troubles, and seed script failures.
Core Features & Use Cases
- Docker orchestration & recovery: Detects Docker health, restarts Docker Desktop if hung, and brings up required containers.
- Environment wiring: Reads prisma schema and docker-compose to create a .env with DATABASE_URL and REDIS_URL and checks gitignore hygiene.
- Dependency & Prisma workflow: Chooses the correct package manager (bun/pnpm/npm) for workspace protocols, installs deps from the monorepo root, generates the Prisma client, runs migrations, and executes seed scripts.
- Use Case: Onboard a new developer to a backend service with docker-compose + Prisma or recover a developer's local DB after corruption.
Quick Start
Point this skill at the service root containing docker-compose.yml and prisma to start containers, generate the Prisma client, run migrations, and seed the database.