MCP HubMCP Hub
スキル一覧に戻る

database-migration

alekspetrov
更新日 Today
42 閲覧
47
3
47
GitHubで表示
メタdata

について

このClaudeスキルは、開発者がマイグレーションの作成やスキーマ変更などのタスクに言及すると、スキーマ変更とロールバック用SQLの両方を含むデータベースマイグレーションファイルを自動生成します。Knex、Prisma、TypeORMなどのツール向けの規約に従った検証済みSQLを含むタイムスタンプ付きファイルを生成します。このスキルは、アップ/ダウンスクリプトや構文検証を含む完全なマイグレーションワークフローを処理します。

クイックインストール

Claude Code

推奨
プラグインコマンド推奨
/plugin add https://github.com/alekspetrov/navigator
Git クローン代替
git clone https://github.com/alekspetrov/navigator.git ~/.claude/skills/database-migration

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

Database Migration Generator

Generate database migrations with rollback capability for schema changes.

When to Invoke

Auto-invoke when user mentions:

  • "Create migration"
  • "Add table"
  • "Modify schema"
  • "Change database"
  • "Database migration for [change]"

What This Does

  1. Generates migration file with timestamp
  2. Creates schema change SQL (up migration)
  3. Creates rollback SQL (down migration)
  4. Validates SQL syntax
  5. Follows migration tool conventions (Knex, Prisma, TypeORM)

Success Criteria

  • Migration file generated with unique timestamp
  • Up migration creates/modifies schema correctly
  • Down migration rolls back changes
  • SQL syntax is valid
  • Follows naming conventions

Auto-invoke when creating database schema changes 🗄️

GitHub リポジトリ

alekspetrov/navigator
パス: skills/database-migration

関連スキル

content-collections

メタ

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

スキルを見る

polymarket

メタ

This skill enables developers to build applications with the Polymarket prediction markets platform, including API integration for trading and market data. It also provides real-time data streaming via WebSocket to monitor live trades and market activity. Use it for implementing trading strategies or creating tools that process live market updates.

スキルを見る

hybrid-cloud-networking

メタ

This skill configures secure hybrid cloud networking between on-premises infrastructure and cloud platforms like AWS, Azure, and GCP. Use it when connecting data centers to the cloud, building hybrid architectures, or implementing secure cross-premises connectivity. It supports key capabilities such as VPNs and dedicated connections like AWS Direct Connect for high-performance, reliable setups.

スキルを見る

llamaindex

メタ

LlamaIndex is a data framework for building RAG-powered LLM applications, specializing in document ingestion, indexing, and querying. It provides key features like vector indices, query engines, and agents, and supports over 300 data connectors. Use it for document Q&A, chatbots, and knowledge retrieval when building data-centric applications.

スキルを見る