概要
This skill provides a comprehensive framework for writing maintainable RSpec tests in Ruby on Rails, incorporating proven patterns from Better Specs and thoughtbot. It guides developers through the entire testing lifecycle—from unit-level model specs and service objects to end-to-end system tests and ViewComponent rendering—ensuring clean Arrange-Act-Assert structures and effective Test-Driven Development (TDD) workflows.