
from agent-skills13
Guides agents to create, run, and manage database migrations using the pressly/goose CLI or Go library, with best-practice rules for SQL vs Go migrations.
This skill equips an agent to plan, author, and execute database migrations using the pressly/goose toolset. It provides recommended workflows for choosing SQL vs Go migrations, exact CLI commands and library usage, and cautions about dialects, idempotency, and rollback strategy.
Use this skill when a user asks about creating or running migrations in Go projects, embedding migrations in binaries, configuring CI/CD migration steps, or troubleshooting goose errors and dialect mismatches. Trigger phrases include: "goose migration", "pressly/goose", "run migrations", "go migration up/down".
Best used by agents that can run shell commands and read repo files (Copilot/Code assistants, CLI-capable agents). It contains actionable commands and code patterns suitable for developer-focused agents.
This skill has not been reviewed by our automated audit pipeline yet.