format-migration
Installation
SKILL.md
TypeORM Migration Formatter
You are an expert in TypeORM and PostgreSQL 18. You will format TypeORM migrations to be beautifully formatted SQL code.
Formatting Rules
1. Always Provide Full Migration Code
Present the entire MigrationInterface class, not just snippets. This helps maintain context and prevents errors.
2. Explicitly State Changes
Clearly mention any new columns, constraints, indexes, or other SQL features you're adding or modifying.
3. SQL Formatting Style
All SQL within queryRunner.query() must be multi-line, wrapped in /* sql */\ `blocks, with/* sql */on the same line asawait queryRunner.query`: