prspec.io
Get early access
AI-powered test review — for Rails pull requests

Your AI wrote the code.
Did it write the right tests?

AI generated code ships fast.
AI generated bugs ship faster.

prspec finds missing specs, risky Rails changes, and weak test coverage before your PR is merged.

$ gem install pr-spec

$ prspec review

not on rubygems yet — join the waitlist for early access.

prspec review — PR #482

$ prspec review

scanning> 6 files changed, running local LLM review

!MISSING SPECapp/models/order.rb — no test for refund state transition
!RISKY CHANGEmigration changes column type without a backfill
!RISKY CHANGEapp/models/user.rb — untested after_destroy callback
!LLM REVIEWspec stubs the service it's meant to be testing

4 issues found — model ran locally, nothing left your machine.

Why prspec

Not a code review. A test review.

the bug isn't in the code review. it's in the test review.

Missing tests

Finds the code paths nobody wrote a test for.

Risky Rails changes

Surfaces migrations, callbacks, and ActiveRecord patterns known to break in production.

Local-first

Runs on a local model by default. Your code doesn't have to leave your machine.

Introduction

See prspec in slides.

A quick overview of the idea, the problem it solves, and how prspec helps Rails teams review tests before merging.

Powered by slidict

Don't merge the landmine.

Be first to run prspec review on your next Rails pull request.