{
  "markdown": "# rails-cto\n\nOpinionated 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.\n\n## Help wanted — early days\n\nrails-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).\n\n## Skills\n\nrails-cto covers the full Rails development lifecycle:\n\n- Plans multi-step features before code is written — scoping, gem research, edge cases, and step-by-step implementation plans\n- Writes idiomatic Rails code for controllers, models, RESTful routes, JSON APIs, and command/service objects\n- Builds the front-end with ERB, ViewComponents, Stimulus, Turbo, and Tailwind\n- Writes Minitest tests targeting full or near-full coverage — Spec DSL, parallel execution, and SimpleCov reports to verify it\n- Auto-formats and lints Ruby with RuboCop and ERB with Herb — fixes what it can, flags what it can't\n- Enforces code quality with Reek (code smells), Flog (complexity), and Flay (duplication)\n- Scans for security issues using Brakeman and bundler-audit\n- Guides Rails version upgrades with selective diffs and upgrade notes\n- Automates the git workflow — clean commits, PRs targeting staging, and production release PRs\n- Enforces QA gates at every step so nothing ships without tests, lint, and review\n\nStart every session with `/rails-cto` — the orchestrator skill handles session init, routes to specialist skills, enforces QA gates, and runs the completion checklist. Browse `skills/` for the full list of individual skills.\n\n## Installation\n\n### Install from the marketplace\n\n```bash\n/plugin marketplace add mattsears/rails-cto\n/plugin install rails-cto@rails-cto\n```\n### Install the companion gem\n\nThe plugin's skills rely on a quality toolchain (RuboCop, Reek, Flog, Flay, Brakeman, bundler-audit, SimpleCov, Herb) and a set of matching config files. Rather than installing and configuring all of that by hand, add the companion [`rails-cto` gem](https://github.com/mattsears/rails-cto-gem) to your Rails project:\n\n```ruby\ngroup :development, :test do\n  gem \"rails-cto\"\nend\n```\nThen bootstrap the project:\n\n```bash\nbundle install\nbundle exec rails-cto init\n```\n\n### Install marketplace dependencies\n\nThe Stimulus skill depends on `better-stimulus@obie-skills`. Install it from the [obie/skills](https://github.com/obie/skills) marketplace:\n\n```bash\n/plugin marketplace add obie/skills\n/plugin install better-stimulus@obie-skills\n```\n\n### Node-side Herb tools\n\nHerb's Node-side formatter and linter aren't part of the gem. Add them to your `package.json` devDependencies:\n\n```json\n\"@herb-tools/formatter\": \"0.9.2\",\n\"@herb-tools/linter\": \"0.9.2\"\n```\n\nThen run `yarn install` (or `npm install`).\n\n### GitHub CLI\n\nThe `rails-cto-pull-request` and `rails-cto-production-pr` skills use the [`gh` CLI](https://cli.github.com/) to open PRs. Install it (`brew install gh` on macOS, or see the install guide for other platforms) and authenticate once:\n\n```bash\ngh auth login\n```\n\n## Updating\n\nRefresh the marketplace manifest so Claude Code picks up the latest published version:\n\n```bash\n/plugin marketplace update rails-cto\n```\n\n## Uninstalling\n\n```bash\n/plugin uninstall rails-cto@rails-cto\n```\n\nTo also remove the marketplace reference:\n\n```bash\n/plugin marketplace remove mattsears/rails-cto\n```\n",
  "bytes": 3791,
  "sha": "2e9e862bde4e5af1a7941e69d662e56d31b8967e70af2da4a2e6b35ae31c7683",
  "repo_slug": "mattsears/rails-cto",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_mattsears_rails_cto_railscto_5ed5bbb9/readme"
}