跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Migrate Create

技能 已验证 活跃

Create a new sequentially numbered database migration with up/down SQL files

目的

To streamline the process of creating database schema changes by automating migration numbering, SQL file generation, and metadata tracking.

功能

  • Generates sequentially numbered migrations
  • Creates up/down SQL files
  • Selects SQL templates based on migration name
  • Stores migration metadata
  • Automates file path scanning and numbering

使用场景

  • When needing to create a new database migration for schema changes like creating tables or adding columns.
  • When ensuring consistent, sequential numbering for database migrations.
  • When needing to generate both forward and backward SQL scripts for each migration.
  • When automating the process of adding new migrations to a project.

非目标

  • Executing migrations against a database
  • Managing or applying existing migrations
  • Validating the correctness of the generated SQL syntax beyond basic templating
  • Providing a full schema migration framework

工作流

  1. Scan migration directory to determine next sequential number
  2. Select appropriate SQL template based on migration name
  3. Generate 'up' migration SQL with idempotency checks
  4. Generate 'down' migration SQL with idempotency checks
  5. Search for similar past migration patterns
  6. Store migration metadata using MCP
  7. Report on created files and patterns found

实践

  • Database Migration Management
  • Code Generation
  • Developer Workflow Automation

先决条件

  • Access to file system for migration directory
  • Claude Code environment with necessary tools (Glob, Bash, MCP)

安装

请先添加 Marketplace

/plugin marketplace add ruvnet/ruflo
/plugin install ruflo-migrations@ruflo

质量评分

已验证
99 /100
1 day ago 分析

信任信号

最近提交1 day ago
星标50.2k
许可证MIT
状态
查看源代码

类似扩展

Migrate Validate

100

Validate pending migrations for foreign key consistency, rollback safety, and best practices

技能
ruvnet

Dsql

100

Build with Aurora DSQL — manage schemas, execute queries, handle migrations, diagnose query plans, and develop applications with a serverless, distributed SQL database. Covers IAM auth, multi-tenant patterns, MySQL-to-DSQL migration, DDL operations, query plan explainability, and SQL compatibility validation. Triggers on phrases like: DSQL, Aurora DSQL, create DSQL table, DSQL schema, migrate to DSQL, distributed SQL database, serverless PostgreSQL-compatible database, DSQL query plan, DSQL EXPLAIN ANALYZE, why is my DSQL query slow.

技能
awslabs

Cli Creator

100

Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script. Use when the user wants Codex to create a command-line tool that can run from any repo, expose composable read/write commands, return stable JSON, manage auth, and pair with a companion skill.

技能
openai

Sql Optimization

100

Universal SQL performance optimization assistant for comprehensive query tuning, indexing strategies, and database performance analysis across all SQL databases (MySQL, PostgreSQL, SQL Server, Oracle). Provides execution plan analysis, pagination optimization, batch operations, and performance monitoring guidance.

技能
github

DBHub Database Query Guide

100

DBHub MCP 服务器查询数据库指南。每当您需要通过 DBHub 的 MCP 工具(search_objects、execute_sql)来探索数据库模式、检查表或运行 SQL 查询时,请使用此技能。在任何数据库查询任务、模式探索、数据检索或通过 MCP 执行 SQL 时激活,即使用户只说“检查数据库”或“为我查找一些数据”。此技能可确保您遵循正确的先探索后查询的工作流程,而不是猜测表结构。

技能
bytebase

V3 Memory Unification

99

Unify 6+ memory systems into AgentDB with HNSW indexing for 150x-12,500x search improvements. Implements ADR-006 (Unified Memory Service) and ADR-009 (Hybrid Memory Backend).

技能
ruvnet