smithery.ai

postgres-migrations

Database migration playbook/checklist for schema changes and sqlc query generation/maintenance in Go projects.

First seen Mar 21, 2026

Installation

$ npx skills add https://smithery.ai

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 smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

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 Declared

Skill metadata

Parsed from SKILL.md frontmatter.

LicenseMIT
Compatibilityopencode
Declared agents opencode
More metadata
audience
backend-dev
workflow
db+sqlc

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 812 B
  • docs SUMMARY.md 137 B

History

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

SKILL.md

What I do

  • Summarize steps for creating .up.sql/.down.sql migrations, using golang-migrate
  • Provide guidance for keeping sqlc queries (queries.sql) in sync with DB state
  • Highlight test patterns for migrations to avoid accidental destructive changes

When to use me

Use when growing/changing your schema or when generating new go types with sqlc. Ensures teamwide discipline and repeatability in DB evolution.

Example Usage

Reference when editing files in backend/internal/db/migrations/ and regenerating code with sqlc after migration deployment.