graft-sql-migration

Community

Ensure SQL migration integrity in Graft

AuthorGeWuYou
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the process of creating and modifying SQL migration files in Graft, ensuring the integrity of live and legacy migrations, and providing deterministic validation.

Core Features & Use Cases

  • SQL Migration Management: Handle the creation and modification of SQL migration files with Chinese database comments.
  • Version Control: Enforce globally unique versions for live migrations and manage live/legacy boundaries.
  • Validation: Perform deterministic validation on migration SQL files to ensure consistency and compliance.
  • Use Case: When developing new database tables or modifying existing ones, use this Skill to generate and validate migration SQL files, ensuring that all comments are in Chinese and versions are unique.

Quick Start

Run the 'graft-sql-migration' skill to create a new migration file for the 'users' table.

Dependency Matrix

Required Modules

python3scripts/validate_sql_migrations.py

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: graft-sql-migration
Download link: https://github.com/GeWuYou/Graft/archive/main.zip#graft-sql-migration

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.