mattsears/rails-cto
7 stars · Last commit 2026-04-25
A opiniated skills toolkit for Rails applications
README preview
# rails-cto Opinionated Claude Code plugin that turns Claude into a senior-engineer-grade Ruby on Rails collaborator. It guides every layer of the stack and enforces strict quality, security, and test gates so nothing ships without review. ## Help wanted — early days rails-cto is in active early development. The vision is a fully integrated Rails workflow that makes Claude the best collaborator a Ruby on Rails developer can have — see [railscto.com](https://railscto.com) for the bigger picture. There's a lot of ground still to cover, and a helping hand goes a long way. If you write Rails and have opinions about what a senior-engineer-grade Claude should do, contributions, issues, and feedback are all welcome on [GitHub](https://github.com/mattsears/rails-cto/issues). ## Skills rails-cto covers the full Rails development lifecycle: - Plans multi-step features before code is written — scoping, gem research, edge cases, and step-by-step implementation plans - Writes idiomatic Rails code for controllers, models, RESTful routes, JSON APIs, and command/service objects - Builds the front-end with ERB, ViewComponents, Stimulus, Turbo, and Tailwind - Writes Minitest tests targeting full or near-full coverage — Spec DSL, parallel execution, and SimpleCov reports to verify it - Auto-formats and lints Ruby with RuboCop and ERB with Herb — fixes what it can, flags what it can't - Enforces code quality with Reek (code smells), Flog (complexity), and Flay (duplication) - Scans for security issues using Brakeman and bundler-audit - Guides Rails version upgrades with selective diffs and upgrade notes