kodykendall/llamabot/rails-migration

Claude Code and agent skill by kodykendall/llamabot

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Safely write and run a Rails database migration. Use when the user asks to add or change a column, table, or index, or mentions "migration", "schema", or "db:migrate".

Install

npx vskill@latest install kodykendall/llamabot/rails-migration

SKILL.md

Rails migration

A focused playbook for changing the database schema in a LlamaPress Rails app.

Steps

  1. Generate the migration: bin/rails g migration <DescriptiveName> (e.g. AddPublishedAtToPosts).
  2. Edit the generated file under db/migrate/. Prefer a reversible change method; use

up/down only when the change can't be auto-reversed.

  1. Run it: bin/rails db:migrate. Confirm db/schema.rb updated as expected.
  2. If it fails, bin/rails db:rollback, fix the migration, and re-run.

Rules & gotchas

  • NEVER edit a migration that has already run in production — add a new migration instead.
  • Adding a NOT NULL column to an existing table needs a default (or a backfill + a

follow-up migration) or it will fail on non-empty tables.

  • For large tables, adding an index can lock writes — call it out to the user before running.
  • After migrating, restart is usually not required (Rails reloads in dev), but if models

don't pick up the change, use the hard restart tool.

Verify

  • bin/rails runner "puts <Model>.column_names" to confirm the column exists.
  • Re-read db/schema.rb to confirm the schema version bumped.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
241
Repository forks
53
7-day trend score
27

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/kodykendall/llamabot/rails-migration/badge)](https://verified-skill.com/skills/kodykendall/llamabot/rails-migration)

Something wrong with this skill or its page? Tell us.