About
The RSpec Test Writer skill automates the creation of high-quality test suites for Rails projects, covering everything from models and background jobs to complex system and request specs. It adheres to a strict 'fixtures-over-factories' philosophy and enforces modern RSpec syntax to ensure your codebase remains maintainable and aligned with Rails conventions. By analyzing your source code and existing test data, it determines the optimal testing strategy and iterates on the code until tests pass using a fail-fast execution pattern.