Thoughtbot's Chad Pytel demonstrates the open-source rails-audit-thoughtbot Claude skill, which encodes thoughtbot's Rails best practices into a SKILL.md file for automated code audits via Claude Code. Running it against a 10+ year old internal Rails app produced a structured report in ~5 minutes, covering testing, security, models, controllers, code design, and views with severity levels. The stream highlights genuine hits (god class detection, PORO refactor suggestions, positive testing culture callouts) and misses (false-positive missing specs, clean-bill items surfaced as findings). The skill has since been updated with agentic support for SimpleCov and RubyCritic. It's experimental, open-source, and invites community contributions.
Table of contents
What are Claude Skills?What goes into rails-audit-thoughtbot?Installing and running the skillWhat the Hub run looked likeWhere human judgment still mattersHow a thoughtbot services audit goes deeperTest it out yourselfGet in touchIf you enjoyed this post, you might also like:Sort: