Curated library of 42 public AI agent skills for Ruby on Rails development, plus 5 callable workflow skills. Organized by category: planning, testing, code-quality, ddd, engines, infrastructure, api, patterns, context, orchestration, and workflows. Covers code review, architecture, security, testing (RSpec), engines, service objects, DDD patterns, and TDD automation.
96
96%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Risky
Do not use without reviewing
Executable RSpec examples for common engine testing scenarios.
# spec/requests/my_engine/root_spec.rb
require 'rails_helper'
RSpec.describe 'MyEngine mount', type: :request do
it 'mounts the engine and returns success for the engine root' do
get my_engine.root_path
expect(response).to have_http_status(:ok)
end
end# spec/my_engine/configuration_spec.rb
RSpec.describe MyEngine::Configuration do
around do |example|
original = MyEngine.config.widget_count
MyEngine.config.widget_count = 3
example.run
MyEngine.config.widget_count = original
end
it 'uses configured value' do
expect(MyEngine.config.widget_count).to eq(3)
end
end# spec/generators/my_engine/install_generator_spec.rb
require 'rails_helper'
require 'generators/my_engine/install/install_generator'
RSpec.describe MyEngine::Generators::InstallGenerator, type: :generator do
destination File.expand_path('../tmp', __dir__)
before { prepare_destination }
it 'copies the initializer' do
run_generator
expect(file('config/initializers/my_engine.rb')).to exist
end
it 'is idempotent' do
2.times { run_generator }
expect(file('config/initializers/my_engine.rb')).to exist
end
end# spec/my_engine/reload_safety_spec.rb
RSpec.describe 'MyEngine reload safety' do
it 'applies decorator after reload without duplication' do
ActiveSupport::Reloader.to_prepare {}
expect(User.ancestors).to include(MyEngine::UserDecorator)
expect(User.ancestors.count(MyEngine::UserDecorator)).to eq(1)
end
endbuild
docs
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