
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.
Documentation-only skill for pressly/goose database migrations. No scripts to execute. SKILL.md is well-structured with clear triggers, a 5-step workflow, and references to external docs for CLI, SQL annotations, Go migrations, library/Provider API, and versioning. Pure guidance — no security concerns. Niche but practical for Go teams using goose.
Clean documentation skill. No scripts, no security issues. Good progressive disclosure pattern with references/. Would benefit from bundling reference content for offline use or verification.