rspec-testing

This skill should be used when the user asks to "write specs", "create spec", "add RSpec tests", "fix failing spec", or mentions RSpec, describe blocks, it blocks, expect syntax, test doubles, or matchers. Should also be used when editing *_spec.rb files, working in spec/ directory, planning implementation phases that include tests (TDD/RGRC workflow), writing Testing Strategy or Success Criteria sections, discussing unit or integration tests, or reviewing spec output and test failures. Comprehensive RSpec and FactoryBot reference with best practices, ready-to-use patterns, and examples.

$ Instalar

git clone https://github.com/hoblin/claude-code-rails-skills /tmp/claude-code-rails-skills && cp -r /tmp/claude-code-rails-skills/rspec ~/.claude/skills/claude-code-rails-skills

// tip: Run this command in your terminal to install the skill