Skip to content
pproenca avatar

Rails Testing

Comprehensive RSpec and Rails testing guide covering test design, factories, system tests, and suite performance.

CCM score
48 of 100
skills.sh installs
313
GitHub stars
228
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers 46 rules across 8 categories, ordered by impact from test design and data management down to suite organization
  • Includes guidance on four-phase test structure, FactoryBot traits and sequences, Capybara page objects, and Sidekiq fake mode
  • Enforces rules such as one assertion per test, no mystery guests, no conditional logic, and no sleep in system tests
  • Designed for writing, reviewing, or refactoring Rails specs alongside rails-dev, ruby-optimise, and ruby-refactor

Install

$ npx -y skills add pproenca/dot-skills --skill rails-testing -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Community Ruby on Rails Testing Best Practices

Comprehensive testing guide for Ruby on Rails applications, maintained by Community. Contains 46 rules across 8 categories, prioritized by impact to guide automated test generation, review, and refactoring.

When to Apply

Reference these guidelines when:

  • Writing new RSpec specs for models, requests, system tests, or jobs
  • Setting up FactoryBot factories with traits and sequences
  • Writing Capybara system tests for user journeys
  • Testing background jobs with Sidekiq or Active Job
  • Reviewing test code for anti-patterns (mystery guests, flaky tests, slow specs)
  • Optimizing test suite performance and CI pipeline speed
  • Organizing test files, shared examples, and custom matchers

Rule Categories by Priority

Details

Repository
github.com/pproenca/dot-skills
Categories
Testing & QA, AI Agents & LLM Apps
First seen
Jun 3, 2026

Questions

What is rails-testing?

rails-testing is an agent skill listed on Claude Marketplaces in the Testing & QA category. The listing describes rails-testing like this: Ruby on Rails testing best practices for writing effective, maintainable test suites with RSpec.

How do I install rails-testing?

Run npx -y skills add pproenca/dot-skills --skill rails-testing -y in a project to install rails-testing. After that, the agent can use rails-testing in that project.

Which category is rails-testing in?

rails-testing is in the Testing & QA category on Claude Marketplaces. Other listings in that category next to rails-testing include tdd, migrate-to-shoehorn and test-driven-development.

Where is the source code of rails-testing?

The source code of rails-testing is on GitHub at https://github.com/pproenca/dot-skills. The pproenca account on GitHub publishes rails-testing.

More from pproenca/dot-skills

All 100

Similar to Rails Testing

More Testing & QA