plugin.market
← All plugins

migration-lint

v1.0.3

Reviews SQL migrations for lock-heavy DDL, missing indexes on new foreign keys, and irreversible operations before they hit production.

2 skills

by Quiet River OSSBSD-3-Clause1.1kupdated 5 months ago

Install

git clone https://github.com/quietriver/migration-lint

Clone into your agent client’s plugin directory — components are discovered from fixed locations per the spec.

Layout

migration-lint/
├── plugin.json
└── skills/
├── review-migration/
└── SKILL.md
└── rollback-plan/
└── SKILL.md

Skills2

review-migrationskills/review-migration/

Lint a migration file for table locks, full rewrites, and unindexed foreign keys, with per-engine notes.

rollback-planskills/rollback-plan/

Produce a tested down-migration or a documented reason why the change is irreversible.

Manifest

plugin.json
{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "migration-lint",
  "version": "1.0.3",
  "description": "Reviews SQL migrations for lock-heavy DDL, missing indexes on new foreign keys, and irreversible operations before they hit production.",
  "author": {
    "name": "Quiet River OSS"
  },
  "repository": "https://github.com/quietriver/migration-lint",
  "license": "BSD-3-Clause",
  "keywords": [
    "database",
    "sql",
    "migrations",
    "code-review"
  ]
}