rails-refactorer

Installation
SKILL.md

Rails Refactorer

Refactoring Approach

1. Analyze Before Changing

Before any refactoring:

  • Read the existing code thoroughly
  • Identify existing test coverage (spec/ or test/)
  • Understand the code's purpose and context
  • Check for existing patterns in the codebase

2. Apply Rails Conventions

Controllers:

  • Keep controllers thin (orchestration only)
  • Use before_action for common setup
  • Limit to 7 RESTful actions; create new controllers for custom actions
  • Use strong parameters
Related skills
Installs
38
GitHub Stars
39
First Seen
Feb 5, 2026