Curated library of 28 public AI agent skills for Ruby on Rails development. Organized by category: testing, code-quality, engines, infrastructure, api, and context. Covers code review, architecture, security, testing (RSpec), engines, Hotwire, and TDD automation. Shared Ruby skills (YARD docs, DDD, service objects) have moved to ruby-core-skills. Repository agents remain documented in GitHub but are intentionally excluded from the Tessl tile.
93
95%
Does it follow best practices?
Impact
93%
1.78xAverage score across 28 eval scenarios
Passed
No known issues
Orchestrates safe database migration development and deployment with safety checks, testing at each stage, and production monitoring to ensure schema changes don't cause downtime or data loss.
ALTER TABLEdown migration; always test against production-like data volumes; never skip stagingObjective: Plan migration for production safety before writing code.
skills/infrastructure/review-migration — This skill assesses lock behavior, rollback strategy, backfill requirements, and performance impact (EXPLAIN queries). If the skill is unavailable, perform these checks manually: identify table lock duration, confirm a rollback path exists, enumerate any backfill steps, and run EXPLAIN ANALYZE on affected queries.HARD GATE — Migration Safety Check:
EXPLAINIf gate fails: Redesign the migration approach before proceeding.
Objective: Create the migration and verify it in development.
rails generate migration AddStatusToOrders status:stringclass AddStatusToOrders < ActiveRecord::Migration[7.1]
# Step 1 of expand-contract: add nullable, no default
def up
add_column :orders, :status, :string
add_index :orders, :status
# Backfill in batches before adding constraint
Order.in_batches(of: 10_000).update_all(status: 'pending')
change_column_null :orders, :status, false
change_column_default :orders, :status, 'pending'
end
def down
remove_column :orders, :status
end
endrails db:migrate && rails db:rollback && rails db:migrate
bundle exec rspec spec/models/order_spec.rb spec/features/order_flow_spec.rbHARD GATE — Development Tests:
If gate fails: Fix migration or application code before proceeding.
Objective: Verify migration on production-like data.
Prerequisites: Staging DB must match production in size, data shape, and PostgreSQL version.
RAILS_ENV=staging bundle exec rails db:migrate
# Run smoke tests
curl https://staging.example.com/api/health
curl https://staging.example.com/api/orders
# Test rollback
RAILS_ENV=staging bundle exec rails db:rollbackHARD GATE — Staging Verification:
If gate fails: Do not proceed to production. Fix and re-deploy to staging.
Objective: Deploy with monitoring and rollback readiness.
Pre-deployment checklist:
RAILS_ENV=production bundle exec rails db:migrate
# Monitor in real-time
tail -f log/production.log
heroku pg:diagnostics --app production-app
# Smoke tests
curl https://api.example.com/health
curl https://api.example.com/api/orders
# Rollback if needed
# RAILS_ENV=production bundle exec rails db:rollbackHARD GATE — Production Monitoring (first 15 minutes):
If gate fails: Roll back immediately if error rate or latency exceeds thresholds. Investigate before redeploying.
Migration fails in production:
rails db:rollback RAILS_ENV=production)Rollback itself fails:
| Predecessor | This Agent | Successor |
|---|---|---|
| review-migration | migration | deployment |
| load-context | migration | production-monitoring |
| None (standalone) | migration | quality |
Use review-migration alone if you only need to assess migration safety without running the full deployment lifecycle.
agents
docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10
scenario-11
scenario-12
scenario-13
scenario-14
scenario-15
scenario-16
scenario-17
scenario-18
scenario-19
scenario-20
scenario-21
scenario-22
scenario-23
scenario-24
scenario-25
scenario-26
scenario-27
scenario-28
skills
api
generate-api-collection
implement-graphql
code-quality
apply-code-conventions
apply-stack-conventions
assets
snippets
code-review
refactor-code
review-architecture
security-check
context
load-context
setup-environment
engines
create-engine
create-engine-installer
document-engine
extract-engine
release-engine
review-engine
test-engine
upgrade-engine
infrastructure
implement-background-job
implement-hotwire
optimize-performance
review-migration
seed-database
version-api
testing
plan-tests
test-service
write-tests