pilinux/gorest · Archived

migration-helper

Analyze GORM model changes, estimate resulting schema (DDL) differences, and propose safe migration steps with verification guidance.

First seen Mar 2, 2026

Installation

$ npx skills add pilinux/gorest --skill migration-helper

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from pilinux/gorest · top by installs.

npx skills add pilinux/gorest

Browse all from pilinux/gorest

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 502
License LICENSE
Default branch main
Open issues 0
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

LicenseMIT
More metadata
mode
diagnostics
purpose
migration

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,429 B
  • docs SUMMARY.md 157 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 2 installs

SKILL.md

Migration Helper

When to Use

  • A model change (field add/remove/type change) or migration code is proposed and you need a safe rollout plan.

Rules

  • Start with a non-destructive assessment and clearly call out destructive operations (drops, type narrows, index changes).
  • Recommend backups, staging verification, and zero-downtime considerations for risky changes.

Project-Specific Paths

  • Core migration: database/migrate/
  • Example app migration: example2/internal/database/migrate/
  • Core models: database/model/ (Auth, TwoFA, TwoFABackup, TempEmail)

Workflow

  1. Locate migration entrypoints in the paths above.
  2. Map model edits to likely DDL changes and affected queries.
  3. Recommend migration steps and verification commands (local + staging).

Output

  • Affected models: path:line entries.
  • Schema updates: likely DDL changes and risk level (low/medium/high).
  • Verification: steps and test commands.

Examples

  • "Adding a Role field to Auth model - what migration is needed?"
  • "Changing IDAuth from uint64 to uint32 - what are the risks?"

Related Skills

  • db-infra-mocks, test-runner, patch-applier