Skip to content
Development
Command

/add-database-railway

Set up PostgreSQL database with Prisma ORM and complete data layer.

shell
$ npx -y skills add LarouexNonprofitConsulting/larouex-fullstack-plugin --agent claude-code

Ships with larouex-fullstack-builder. Installing the plugin gets this command.

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/add-database-railway

Context preview

What this command does when you run it.

Set up PostgreSQL database with Prisma ORM and complete data layer.

Command definition

add-database-railway.md

Set up PostgreSQL database with Prisma ORM and complete data layer.

Create:

  • Prisma schema with models, relations, and indexes (schema.prisma)
  • Database migrations using Prisma Migrate
  • Prisma client initialization with connection pooling
  • CRUD operations in Express API routes
  • Query helpers for complex database operations
  • Railway database environment variable configuration (DATABASE_URL)
  • Database seeding script for development data
  • Error handling for database operations (unique constraint, not found, timeout)
  • Database utility functions in /server/utils
  • README.md with database schema documentation

Include proper transaction handling, connection pooling configuration, and best practices for Prisma queries. Set up Railway PostgreSQL plugin if needed.

Read it on GitHub โ†—
Ships withlarouex-fullstack-builder

A comprehensive Claude Code plugin with 81 commands and 12 specialized AI agents for building modern, full-stack web applications with Next.js 15, Azure, Railway, Bootstrap, and TypeScript.

Get the whole plugin, auto-invoked