FO

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.zip

Installs 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.
142 charsno explicit “when” trigger
Beginner

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

You give it
Unformatted TypeORM migration file
You get back
Formatted migration code with standard SQL blocks

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.

SkillInstallsUpdatedSafetyDifficulty
format-migration (this skill)18moNo flagsBeginner
drizzle-orm323moNo flagsIntermediate
database-design68moReviewIntermediate
prisma-expert128moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry