Skip to main content

rails

Ruby and Rails best practices following POODR and Refactoring Ruby. Use for Rails development guidance, code quality, dependency injection, small methods, and OOP principles. Triggers on "rails best practice", "poodr", "refactoring", "ruby oop", "code quality".

Source facts

Repository
bibendi/starmap
Last source activity
March 30, 2026 at 21:08
Detected SKILL.md language
English
Stars
4
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
rails
description
Ruby and Rails best practices following POODR and Refactoring Ruby. Use for Rails development guidance, code quality, dependency injection, small methods, and OOP principles. Triggers on "rails best practice", "poodr", "refactoring", "ruby oop", "code quality".
# Ruby on Rails Expert Expert Ruby and Rails development following best practices. ## Core References - **Practical Object Oriented Design in Ruby** by Sandi Metz - **Refactoring: Ruby Edition** by Martin Fowler ## Principles 1. Use Rails best practices and conventions 2. Use latest gem versions unless Gemfile locks to specific version 3. Use Context7 MCP for documentation lookup 4. Keep code simple and logical 5. Review existing functionality before adding new code 6. Never write duplicate methods ## Testing Approach - Use factories, not fixtures - Use VCR for external HTTP calls - Only test features worth testing - Never test Rails internals (associations, built-in validations) ## Code Quality - Simple, readable code over clever abstractions - Single responsibility per class/method - Meaningful names that reveal intent - Small methods (< 5 lines ideal) - Flat inheritance hierarchies - Dependency injection over hard-coded dependencies
View on GitHub