ruvnet avatar

Migrate Create

This generates sequentially numbered database migration files with paired up/down SQL, scanning your existing migrations to pick the next number and choosing templates based on naming conventions. It looks at your migration name to figure out if you're creating a table, adding columns, dropping something, or making an index, then writes both directions with proper IF NOT EXISTS guards for idempotency. The pattern search against past migrations is a nice touch for consistency, and it logs everything to the agentdb memory system under a migrations namespace. If you're hand-rolling migrations instead of using an ORM, this handles the tedious numbering and boilerplate part so you can focus on writing the actual SQL.

skills.sh installs
730
GitHub stars
81.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add ruvnet/ruflo --skill migrate-create --agent claude-code

Installs into .claude/skills of the current project.

Files

Migrate Create

Generate a new database migration with sequential numbering and up/down SQL file pair.

When to use

When you need to create a new database migration for schema changes such as creating tables, adding columns, creating indexes, or modifying constraints.

Steps

Sponsors

Details

Repository
github.com/ruvnet/ruflo
Categories
Backend & APIs, Databases
First seen
Jun 3, 2026

More from ruvnet/ruflo

All 236
1mindrally avatarkoa-typescriptmindrally/skillsGuidelines for building modern APIs with Koa.js and TypeScript, featuring the onion middleware model and async/await patterns728skills.sh installs
2machina-sports avatarcfb-datamachina-sports/sports-skillsCollege Football (CFB) data via ESPN public endpoints and the NCAA's official endpoints — scores, standings, rosters, schedules, game summaries, play-by-play, r727skills.sh installs
3davila7 avatarcontext7-auto-researchdavila7/claude-code-templatesAutomatically fetch latest library/framework documentation for Claude Code via Context7 API724skills.sh installs
4mindrally avataraws-developmentmindrally/skillsAWS development best practices for Lambda, SAM, CDK, DynamoDB, IAM, and serverless architecture using Infrastructure as Code.724skills.sh installs
5ovachiever avatarreact-hook-form-zodovachiever/droid-tingsBuild type-safe validated forms in React using React Hook Form and Zod schema validation. Single schema works on both client and server for DRY validation with 724skills.sh installs
6dotnet avatarmcp-csharp-createdotnet/skillsCreate MCP servers using the C# SDK and .NET project templates. Covers scaffolding, tool/prompt/resource implementation, and transport configuration for stdio a722skills.sh installs