Ruby rails application
Skill ulpi-io/plugin-marketplace/plugins/aj-geddes/skills/ruby-rails-application
A curated collection of 7,800+ agent skills for Claude Desktop, sourced from skills.sh
npx -y skills add ulpi-io/plugin-marketplace --skill ruby-rails-applicationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
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.
SKILL.md
2.6 KB, 480 tokens by cl100k_base, as published. Nobody here has run it
Ruby Rails Application
Table of Contents
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:
rails new myapp --api --database=postgresql
cd myapp
rails db:create
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 before_action 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
What ships with it: 9 files
10.9 KB alongside SKILL.md, 1 of them executable
references/
scripts/
- validate-schema.shruns426 B