db-migrate

Create Neon PostgreSQL migration scripts and update Prisma schema.

Updated Dec 27, 2025
One-click install
npx skills add https://github.com/AppleLamps/nick-shirley --skill db-migrate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: db-migrate
Source: https://github.com/AppleLamps/nick-shirley/tree/main/.claude/skills/db-migrate
Command: npx skills add https://github.com/AppleLamps/nick-shirley --skill db-migrate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides creating database migrations that are safe, repeatable, and aligned with project patterns.

Core Features & Use Cases

  • Migration scripts: Create scripts in scripts/ with template for Neon PostgreSQL migrations.
  • DB.ts and Prisma: Update type definitions and Prisma schema as part of migration changes.
  • Examples: Provide common migration tasks like adding a column or index.

Quick Start

Create a migration script in scripts/ directory named <action>-<description>.mjs and update related code and schema. For example add-views-column.mjs.