thoughtbotthoughtbotOfficialยท1 Agent Skills Included

rails-audit-thoughtbot

Comprehensive Ruby on Rails code audits and quality reports

Audits Ruby on Rails applications for security vulnerabilities, code smells, missing tests, and database issues. Detects fat controllers, fat models, N+1 queries, and Rails antipatterns using thoughtbot best practices. Optionally runs SimpleCov and RubyCritic to measure real test coverage and code complexity. Generates a detailed markdown report with severity-ranked findings and refactoring recommendations.
npx skills add thoughtbot/rails-audit-thoughtbot --all -g -y

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install rails-audit-thoughtbot?โ–ผ

Run `npx skills add thoughtbot/rails-audit-thoughtbot --all -g -y` in your terminal to install the skill globally.

How to audit a Ruby on Rails application?โ–ผ

Run the skill from your Rails project root to get a full audit covering testing, security, models, controllers, and code design. You can also target specific files or directories for a focused review.

Does it measure real test coverage?โ–ผ

Yes. It can optionally run SimpleCov to capture actual line and branch coverage, and RubyCritic to measure complexity, duplication, and code smells.

What does the audit report include?โ–ผ

It generates a RAILS_AUDIT_REPORT.md file grouped by category with severity levels from Critical to Low, plus concrete refactoring recommendations based on thoughtbot best practices.

Will it modify my Rails project?โ–ผ

Only temporarily and with your permission. If SimpleCov or RubyCritic are missing, it asks first, backs up your Gemfile, and restores everything after collecting metrics.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’