Go goose

From metalagman/agent-skills · View interactive version

Go goose is an AI agent skill from the GitHub repository metalagman/agent-skills. Use this skill to plan, write, or run database migrations with the pressly/goose CLI and Go library (SQL/Go migrations, env vars, provider API, embedded migrations).

How to use this skill

Skill file

go-goose

Expert guidance for using pressly/goose to create and run database migrations via the CLI or Go library.

When to trigger

Core rules

Workflow

  1. Clarify context: target DB/dialect, driver, migration directory, SQL vs Go migration needs, and desired command (create/up/down/status/etc).
  2. Choose interface:
  1. Author migrations:
  1. Run migrations:
  1. Versioning + ordering:

Output expectations

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.