format-migration
Formats TypeORM migration files with standardized, readable SQL code blocks.
Install
mkdir -p .claude/skills/format-migration && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/3911" && unzip -o skill.zip -d .claude/skills/format-migration && rm skill.zipInstalls to .claude/skills/format-migration
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Format TypeORM migrations with beautifully formatted SQL code. Use this skill after generating migrations to ensure consistent SQL formatting.Key capabilities
- →Format SQL queries within TypeORM migrations
- →Standardize ALTER TABLE syntax
- →Apply multi-line formatting to queryRunner calls
- →Ensure consistent index handling
- →Present complete MigrationInterface classes
How it works
The skill applies specific formatting rules to TypeORM migration files, ensuring SQL queries are wrapped in multi-line blocks and constraints are defined consistently.
Inputs & outputs
When to use format-migration
- →Format SQL inside TypeORM migrations
- →Standardize ALTER TABLE syntax in migrations
- →Refactor migration code for readability
About format-migration
Standardizes SQL formatting within TypeORM migrations, ensuring queryRunner calls use proper multi-line blocks and clear ALTER TABLE syntax. It requires the inclusion of full migration classes for better code context.
Format TypeORM migrations with beautifully formatted SQL code. Use this skill after generating migrations to ensure consistent SQL formatting.
When not to use it
- →When providing only code snippets instead of full migration classes
Limitations
- →Does not automatically fix schema drift
- →Requires manual review for best practice suggestions
How it compares
It enforces a standardized, readable SQL structure for migrations that is more consistent than manual formatting.
Compared to similar skills
format-migration side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| format-migration (this skill) | 1 | 8mo | No flags | Beginner |
| drizzle-orm | 32 | 3mo | No flags | Intermediate |
| database-design | 6 | 8mo | Review | Intermediate |
| prisma-expert | 12 | 8mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by dailydotdev
View all by dailydotdev →You might also like
drizzle-orm
EpicenterHQ
Drizzle ORM patterns for type branding and custom types. Use when working with Drizzle column definitions, branded types, or custom type conversions.
database-design
davila7
Database design principles and decision-making. Schema design, indexing strategy, ORM selection, serverless databases.
prisma-expert
davila7
Prisma ORM expert for schema design, migrations, query optimization, relations modeling, and database operations. Use PROACTIVELY for Prisma schema issues, migration problems, query performance, relation design, or database connection issues.
database-schema-designer
davila7
Design robust, scalable database schemas for SQL and NoSQL databases. Provides normalization guidelines, indexing strategies, migration patterns, constraint design, and performance optimization. Ensures data integrity, query performance, and maintainable data models.
database-migration
wshobson
Execute database migrations across ORMs and platforms with zero-downtime strategies, data transformation, and rollback procedures. Use when migrating databases, changing schemas, performing data transformations, or implementing zero-downtime deployment strategies.
database-migrations-sql-migrations
sickn33
SQL database migrations with zero-downtime strategies for PostgreSQL, MySQL, SQL Server