Rails dev

From pproenca/dot-skills · View interactive version

Rails dev is an AI agent skill from the GitHub repository pproenca/dot-skills. Ruby on Rails performance and maintainability optimization guidelines for building backend APIs and frontend web applications. This skill should be used when writing, reviewing, or refactoring Ruby on Rails code to ensure optimal patterns for controllers, models, ActiveRecord queries, caching, views

How to use this skill

Skill file

Community Ruby on Rails Development Best Practices

Comprehensive performance and maintainability optimization guide for Ruby on Rails applications, maintained by Community. Contains 45 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.

When to Apply

Reference these guidelines when:

Rule Categories by Priority

| Priority | Category | Impact | Prefix |

|----------|----------|--------|--------|

| 1 | Database & ActiveRecord | CRITICAL | db- |

| 2 | Controllers & Routing | CRITICAL | ctrl- |

| 3 | Security | HIGH | sec- |

| 4 | Models & Business Logic | HIGH | model- |

| 5 | Caching & Performance | HIGH | cache- |

| 6 | Views & Frontend | MEDIUM-HIGH | view- |

| 7 | API Design | MEDIUM | api- |

| 8 | Background Jobs & Async | LOW-MEDIUM | job- |

Quick Reference

1. Database & ActiveRecord (CRITICAL)

2. Controllers & Routing (CRITICAL)

3. Security (HIGH)

4. Models & Business Logic (HIGH)

5. Caching & Performance (HIGH)

6. Views & Frontend (MEDIUM-HIGH)

7. API Design (MEDIUM)

8. Background Jobs & Async (LOW-MEDIUM)

How to Use

Read individual reference files for detailed explanations and code examples:

Reference Files

| File | Description |

|------|-------------|

| references/_sections.md | Category definitions and ordering |

| assets/templates/_template.md | Template for new rules |

| metadata.json | Version and reference information |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.