dennisonbertram/go-code/db-migrations
Claude Code and agent skill by dennisonbertram/go-code
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Create, run, and rollback database migrations using goose or golang-migrate. Trigger: when running database migrations, creating migration files, rolling back migrations, using goose, using golang-migrate
Install
npx vskill@latest install dennisonbertram/go-code/db-migrationsSKILL.md
Database Migrations
You are now operating in database migration mode.
Goose (Recommended for Go Projects)
Installation
Create Migrations
This creates timestamped files like migrations/20260310120000_add_users_table.sql.
SQL Migration File Format
Running Migrations
SQLite with Goose
Goose in Go Code (Embedded)
golang-migrate
Installation
Create Migrations
golang-migrate uses paired files: one for up, one for down.
Running Migrations
Simple SQL Migration Pattern (No Tool)
For small projects without a migration tool:
Best Practices
- Always write a
Downmigration that perfectly reverses theUp. - Test the rollback locally before merging.
- Never edit a migration that has already been applied to production.
- Use transactions in SQL migrations when the database supports them.
- Keep migrations small and focused — one logical change per migration.
- Run
statusbeforeupin CI to confirm the expected state.
Migration Status Check
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/db-migrations/SKILL.md
Popularity
- Repository stars
- 1
- Repository forks
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dennisonbertram/go-code/db-migrations)