skills/ruby-rails-application/SKILL.md
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.
npx skillsauth add aj-geddes/useful-ai-prompts ruby-rails-applicationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
Minimal working example:
rails new myapp --api --database=postgresql
cd myapp
rails db:create
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 |
development
Implement Zero Trust security model with identity verification, microsegmentation, least privilege access, and continuous monitoring. Use when building secure cloud-native applications.
development
Prevent Cross-Site Scripting (XSS) attacks through input sanitization, output encoding, and Content Security Policy. Use when handling user-generated content in web applications.
tools
Create wireframes and interactive prototypes to visualize user interfaces and gather feedback early. Use tools and techniques to communicate design ideas before development.
development
Implement real-time bidirectional communication with WebSockets including connection management, message routing, and scaling. Use when building real-time features, chat systems, live notifications, or collaborative applications.