Skip to content
Agent Orchestration
Skill

/schema-diff

Compare two schema states and surface the risky changes. Use before applying migrations or after a model change.

BOOST
From plugin
loopkit
75553 skills1 agent4 commands2 MCP
Install
$ npx -y skills add Archive228/loopkit --skill schema-diff --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/schema-diff

Context preview

The summary Claude sees to decide when to auto-load this skill.

Compare two schema states and surface the risky changes. Use before applying migrations or after a model change.

SKILL.md

schema-diff.SKILL.md
name: schema-diff
description: Compare two schema states and surface the risky changes. Use before applying migrations or after a model change.
when_to_use: reviewing a migration, "what changed in the schema", pre-deploy check

Schema Diff

Diff old vs new schema. Flag by risk:

  • **Destructive** (high): dropped column/table, narrowed type, new NOT NULL on existing rows, dropped index a query relies on.
  • **Locking** (high at scale): index without CONCURRENTLY, type change that rewrites the table.
  • **Safe**: new nullable column, new table, new index CONCURRENTLY.

For each destructive change: is data lost? is it reversible? is there a backfill? Output a risk-ranked list and a go/no-go with the safe rollout order.

Ships withloopkit

33 battle-tested skills + minimal .claude harness for any coding agent (Claude Code, Cursor, Codex, Gemini CLI).

Get the whole plugin

Other skills on loopkit.