Skip to content

Skills

RailsCTO is built from 16 specialized skills that attach to Claude Code and run automatically based on what files your agent touches. Each skill has a narrow focus, a clear trigger, and a single job.

Engineering

Skills that shape how Rails code gets written.

SkillWhat it does
rails-ctoOrchestrator — loads core context, routes work to specialized skills, enforces mandatory QA gates
rails-cto-engineerCore Rails philosophy — 37signals patterns, One Person Framework, code simplification
rails-cto-apiRESTful JSON APIs under Api:: namespace, OpenAPI 3.x conventions
rails-cto-restfulThin controllers, 7 standard REST actions, nested resources over custom routes
rails-cto-erbERB template formatting, attribute alignment, scannable view files
rails-cto-stimulusStimulus controllers, Turbo integration, reuse-first philosophy
rails-cto-tailwindTailwind CSS conventions, dark mode, responsive, design system
rails-cto-view-componentViewComponent patterns with Hotwire, Lookbook previews
rails-cto-minitestMinitest::Spec DSL, parallel tests, SimpleCov coverage thresholds

Quality

Skills that act as mandatory gates on every change.

SkillWhat it does
rails-cto-qaThe main quality gate — linting, tests, and code review on every .rb change
rails-cto-static-analysisReek, Flog, Flay — code smells, complexity, duplication; auto-refactors when issues are found
rails-cto-securityBrakeman and bundler-audit — code-level vulnerabilities and CVE scanning

Git Workflow

Skills for shipping code safely.

SkillWhat it does
rails-cto-commitStage and commit with a human-friendly message; optional push
rails-cto-pull-requestCreate a PR from the current branch into staging
rails-cto-production-prMerge staging into main for a production release

Other

SkillWhat it does
rails-cto-upgradeAnalyze Rails upgrade paths, fetch upgrade notes, perform selective merges

How they fit together

When you start a Claude Code session in a Rails project, the orchestrator (rails-cto) loads first. It pulls in the core engineering context (rails-cto-engineer) and then watches for file changes and user intent. As soon as something happens that matches a specialized skill's trigger, that skill activates.

Three routes are mandatory and cannot be skipped:

  • Any .rb change → rails-cto-qa must run before the task is considered done.
  • Any .html.erb change → rails-cto-erb + rails-cto-tailwind must run.
  • Any implementation plan → must include rails-cto-qa as the final step.

See Skill Routing for the full routing table.

Released under the MIT License.