Agent skill · software engineering · aj-geddes

ruby-rails-application

Develop Ruby on Rails applications with models, controllers, views, Active Record ORM, authentication, and RESTful routes. Use when building Rails applications, managing database relationships, and implementing MVC architecture.

Why this skill is useful

Provides detailed guidance on building Rails applications, including specific Active Record patterns and authentication methods not commonly known.

What it needs

Requires postgresql, rails installed locally. About 1k tokens when loaded. Last updated 2026-03-04. 307 stars on the source repository.

What this skill does

Ruby Rails Application Table of Contents Overview When to Use Quick Start Reference Guides Best Practices Overview Build comprehensive Ruby on Rails applications with proper model associations, RESTful controllers, Active Record queries, authentication systems, middleware chains, and view rendering following Rails conventions. When to Use Building Rails web applications Implementing Active Record models with associations Creating RESTful controllers and actions Integrating authentication and authorization Building complex database relationships Implementing Rails middleware and filters Quick Start Minimal working example: Reference Guides Detailed implementations in the references/ directory: Guide Contents --- --- Rails Project Setup Rails Project Setup Models with Active Record Models with Active Record Database Migrations Database Migrations Controllers with RESTful Actions Controllers with RESTful Actions Authentication with JWT Authentication with JWT Active Record Queries Active Record Queries Serializers Serializers Best Practices ✅ DO Use conventions over configuration Leverage Active Record associations Implement proper scopes for queries Use strong parameters for security Implement authentication in ApplicationController Use services for complex business logic Implement proper error handling Use database migrations for schema changes Validate all inputs at model level Use beforeaction filters appropriately ❌ DON'T Use raw SQL without parameterization Implement business logic in controllers Trust user input without validation Store secrets in code Use select \ without specifying columns Forget N+1 query problems (use includes/joins) Implement authentication in each controller Use global variables Ignore database constraints

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aj-geddes/ruby-rails-application

View the source on GitHub

Browse the @skills marketplace