Skip to content
Back to skills

Migration And Schema Harness

ASecurity

Manage database, schema, and API evolution safely. Use when a repo has migrations, database schemas, public API schemas, seed data, fixtures, compatibility requirements, rollback conventions, or needs scripts/check-migrations.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 12, 2026
devopsapidatabase

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 12, 2026

npx -y skills add pax-k/pax-fullstack-harness --skill migration-and-schema-harness --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Migration And Schema Harness?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Migration And Schema Harness
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pax-k-migration-and-schema-harness/badge)](https://www.skillsdirectory.com/skills/pax-k-migration-and-schema-harness)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: migration-and-schema-harness
description: Manage database, schema, and API evolution safely. Use when a repo has migrations, database schemas, public API schemas, seed data, fixtures, compatibility requirements, rollback conventions, or needs scripts/check-migrations.
---

# Migration And Schema Harness

## Purpose

Make schema changes reversible, validated, and compatible with tests, fixtures, and release plans.

## Inspect First

- database config, migrations, schema files, API schemas, seed data, fixtures, ORM config, migration scripts, release docs, and CI

## Procedure

1. Identify schema ownership.
   - Database tables, API contracts, event schemas, generated clients, and fixtures.

2. Define migration rules.
   - Forward migration expectations.
   - Rollback or mitigation expectations.
   - Backward compatibility requirements.
   - Seed and fixture update rules.

3. Add checks.
   - Create target repo `scripts/check-migrations`.
   - Use `scripts/check_migrations.py` for lightweight inventory.
   - Keep dependency, build, and generated directories excluded by default; use `--include-ignored` only to debug scanner behavior.
   - Include migration checks in `scripts/validate` when relevant.

4. Document.
   - `docs/development/migrations.md`
   - Link release rollback notes when migrations affect deployment.

## Validation

- Run migration validation commands when safe.
- Confirm fixtures and seeds match schema changes.
- Confirm rollback or mitigation notes exist.

## Completion Criteria

- Agents know how to change schemas without breaking compatibility or release safety.

Files in this skill

  • SKILL.md1.6 KB
  • agents/openai.yaml222 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.