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".

소스 정보

저장소
bibendi/starmap
최근 소스 활동
2026년 3월 30일 21:08
감지된 SKILL.md 언어
영어
스타
4
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
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
GitHub에서 보기