database-migration
About
This Claude Skill automatically generates database migration files with both schema changes and rollback SQL when developers mention tasks like creating migrations or modifying schemas. It produces timestamped files with validated SQL that follows conventions for tools like Knex, Prisma, and TypeORM. The skill handles the complete migration workflow including up/down scripts and syntax validation.
Quick Install
Claude Code
Recommended/plugin add https://github.com/alekspetrov/navigatorgit clone https://github.com/alekspetrov/navigator.git ~/.claude/skills/database-migrationCopy and paste this command in Claude Code to install this skill
Documentation
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
- Generates migration file with timestamp
- Creates schema change SQL (up migration)
- Creates rollback SQL (down migration)
- Validates SQL syntax
- 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 Repository
Related Skills
llamaindex
MetaLlamaIndex 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.
csv-data-summarizer
MetaThis skill automatically analyzes CSV files to generate comprehensive statistical summaries and visualizations using Python's pandas and matplotlib/seaborn. It should be triggered whenever a user uploads or references CSV data without prompting for analysis preferences. The tool provides immediate insights into data structure, quality, and patterns through automated analysis and visualization.
hybrid-cloud-networking
MetaThis 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.
Excel Analysis
MetaThis skill enables developers to analyze Excel files and perform data operations using pandas. It can read spreadsheets, create pivot tables, generate charts, and conduct data analysis on .xlsx files and tabular data. Use it when working with Excel files, spreadsheets, or any structured tabular data within Claude Code.
