Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By thoughtbot Verified OrgMITIn 1 marketplace
Audits a Rails app against thoughtbot's Ruby Science and Testing Rails practices across tests, security and database indexes. Optional SimpleCov and RubyCritic metrics temporarily edit the Gemfile and prompt you before running.
Trending plugins
7-day copy clicks
Claude hands work to one, or you mention it with @.
1 marketplace, most starred first
rails-audit, code-review, rspec, best-practices, simplecov, audit, review
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code skill that performs comprehensive code audits of Ruby on Rails applications based on thoughtbot's Ruby Science and Testing Rails best practices.
This skill analyses Rails applications and generates detailed audit reports covering:
Add the thoughtbot marketplace to Claude Code:
/plugin marketplace add thoughtbot/skills
Install the plugin:
/plugin install rails-audit-thoughtbot@skills
Copy the skill directory to your Claude Code skills folder:
cp -r rails-audit-thoughtbot ~/.claude/skills/
Or clone directly:
git clone https://github.com/thoughtbot/rails-audit-thoughtbot ~/.claude/skills/rails-audit-thoughtbot
If you are in your terminal and not in a Claude session, you can invoke the skill directly by using the below. You need to be in the root directory of your Rails project.
claude audit
If you are in a Claude session, you can reference the skill directly:
/rails-audit-thoughtbot
In a Claude session you can also run targeted audits:
/rails-audit-thoughtbot audit controllers
This focuses the audit on specific files or directories.
During the audit, the skill offers to run optional data-collection steps that enrich the report with tool-measured metrics. Each step is opt-in — you will be prompted before anything is installed or executed. If the tool is already in your Gemfile, the skill uses it directly without modifying your project.
Runs your test suite with SimpleCov to capture actual line and branch coverage percentages. The report will include per-directory coverage breakdowns, lowest-coverage files, and zero-coverage files.
simplecov to the Gemfile (if not already present)Runs RubyCritic to measure code complexity, duplication, and code smells using Reek, Flay, and Flog. The report will include per-file ratings (A-F), worst-rated files, most common smells, and most complex files.
rubycritic to the Gemfile (if not already present)app/ and lib/ (or targeted paths)The skill includes reference documentation based on thoughtbot best practices. All the materials are compacted information from the books mentioned above.
Recommendations of PORO objects are based on different thoughtbot sources and Service objects are poorly-named models.
7-day copy clicks
rails-audit-thoughtbot@skills is listed by thoughtbot/skills — review the source before installing
npx claudepluginhub thoughtbot/skills --plugin rails-audit-thoughtbotBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground