Curated library of 41 public AI agent skills for Ruby on Rails development. Organized by category: planning, testing, code-quality, ddd, engines, infrastructure, api, patterns, context, and orchestration. Covers code review, architecture, security, testing (RSpec), engines, service objects, DDD patterns, and TDD automation. Repository workflows remain documented in GitHub but are intentionally excluded from the Tessl tile.
95
93%
Does it follow best practices?
Impact
96%
1.77xAverage score across 41 eval scenarios
Passed
No known issues
Reference for complex schema operations beyond add-column and add-index.
Never change a column type in a single migration on a busy table. Use the add-copy-migrate-drop approach:
# Step 1: add new column with new type
add_column :orders, :amount_cents, :bigint
# Step 2: backfill (separate deploy, in batches)
# Order.in_batches.update_all('amount_cents = CAST(amount * 100 AS BIGINT)')
# Step 3: migrate code references to new column, then drop old column
remove_column :orders, :amountAdding a unique index on data that may have duplicates will fail at the database level:
SELECT col, COUNT(*) FROM table GROUP BY col HAVING COUNT(*) > 1disable_ddl_transaction!
add_index :users, :email, unique: true, algorithm: :concurrentAdding a foreign key validates all existing rows by default, which can lock the table:
# Step 1: add without validation (fast, no lock)
add_foreign_key :orders, :users, validate: false
# Step 2 (separate migration): validate after cleaning orphans
validate_foreign_key :orders, :usersRails caches column information. Removing a column without first telling Active Record to ignore it causes ActiveModel::MissingAttributeError during the deploy window.
# Step 1: add to ignored_columns in the model (deploy this first)
class Order < ApplicationRecord
self.ignored_columns += %w[legacy_field]
end
# Step 2 (next deploy): drop the column
remove_column :orders, :legacy_fieldWhen running migrations against a non-primary database, use connects_to in the migration class:
class AddIndexToAnalyticsEvents < ActiveRecord::Migration[7.2]
def connection
AnalyticsEvent.connection
end
def change
disable_ddl_transaction!
add_index :analytics_events, :occurred_at, algorithm: :concurrent
end
enddocs
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
scenario-29
scenario-30
scenario-31
scenario-32
scenario-33
scenario-34
scenario-35
scenario-36
scenario-37
scenario-38
scenario-39
scenario-40
scenario-41
mcp_server
skills
api
generate-api-collection
implement-graphql
code-quality
apply-code-conventions
apply-stack-conventions
assets
snippets
code-review
refactor-code
respond-to-review
review-architecture
security-check
context
load-context
setup-environment
ddd
define-domain-language
model-domain
review-domain-boundaries
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
orchestration
skill-router
patterns
create-service-object
implement-calculator-pattern
write-yard-docs
planning
create-prd
generate-tasks
plan-tickets
testing
plan-tests
test-service
triage-bug
write-tests
workflows