rspec

Assess Rails RSpec coverage gaps and generate strengthened specs.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/reckerswartz/resume_builder --skill rspec-reckerswartz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rspec
Source: https://github.com/reckerswartz/resume_builder/tree/main/.devin/skills/rspec
Command: npx skills add https://github.com/reckerswartz/resume_builder --skill rspec-reckerswartz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Write or improve Rails RSpec test coverage. Assess gaps, fill coverage, and strengthen existing specs using FactoryBot, Capybara, and Rails testing best practices. Part of the continuous Red → Green → Refactor cycle.

Core Features & Use Cases

  • Assess current coverage against application code and identify thin or missing specs across models, controllers, services, presenters, policies, and components.
  • Generate or update specs to cover gaps, improve edge cases, and enforce factory usage with FactoryBot and Capybara-driven integration tests.
  • Support the full testing lifecycle: assess-only, fill-gaps, strengthen, and full-cycle iterations within Rails projects.

Quick Start

Invoke the rspec skill on your Rails project to identify coverage gaps and begin the Red → Green → Refactor cycle.

Frequently Asked Questions about rspec

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find missing RSpec tests in my Rails application?

To find missing RSpec tests in your Rails app, analyze the `app/` and `spec/` directories to compare implementation code against existing specs, identifying thin or missing coverage across models, controllers, and services.

How do I improve Rails test coverage using FactoryBot and Capybara?

Improve Rails test coverage by generating or updating specs to fill gaps and enforce edge case testing, utilizing FactoryBot for data setup and Capybara for driving integration tests.

Can I assess existing RSpec specs without generating new tests?

Yes, you can perform an assess-only baseline evaluation of your current RSpec specs against application code to identify thin or missing coverage without immediately generating new tests.

What Rails components are supported for RSpec test gap analysis?

RSpec test gap analysis supports Rails models, controllers, services, presenters, policies, and view components, reading the application's `app/` and `spec/` directories to drive test generation.

Do I need an existing RSpec setup to start filling test coverage gaps?

Yes, you need an existing RSpec, FactoryBot, and Capybara setup in your Rails project before analyzing implementation code and driving test generation to fill coverage gaps.

What is the best way to strengthen weak RSpec specs in a Rails project?

The best way to strengthen weak RSpec specs is running a full-cycle coverage iteration that assesses gaps, fills missing tests, and enforces Rails testing best practices within your project.