claude/marketplace/plugins/sorah-guides/skills/ruby/SKILL.md
This skill should be used when writing or reviewing Ruby code, or when the project uses "Ruby", "RSpec", "service objects", "Struct", "Data class", or Ruby class/module patterns. Provides Ruby coding conventions, patterns, and best practices. Project-specific conventions always take priority.
npx skillsauth add sorah/config rubyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Coding conventions and best practices for Ruby projects. Project-specific conventions (CLAUDE.md, style guides) always take priority over this guidance.
require statements at top of filelib/my_app/user_service.rb for MyApp::UserService)SCREAMING_SNAKE_CASEinclude for instance behavior, extend for class behaviordef self.method_name for class methodsattr_reader over direct instance variable accessHash#fetch and Array#fetch for required keys/indexes{foo:} instead of {foo: foo}Aws::S3::Errors::NoSuchKey), never rescue Exception or bare rescue&.) vs fetch with defaultsfetch to surface unexpected missing keys earlylet (lazy) vs let! (eager) semanticsenvironment: parameterActiveSupport::SecurityUtils.secure_compare or equivalent for secret comparisondevelopment
This skill should be used when writing or reviewing TypeScript or TSX code, or when the project uses "TypeScript", "React", "tsx", "SWR", "Vite", "Next.js", or TypeScript type patterns. Provides TypeScript coding conventions, React patterns, and best practices. Project-specific conventions always take priority.
development
This skill should be used when the user asks about "spec file format", "spec conventions", "spec vs docs", "current status section", "specification structure", "how to write a spec", "spec deliverables", or "self-contained spec". Provides conventions for writing implementation-ready specification documents.
testing
This skill should be used when conducting spec interviews or implementing specs for Ruby projects, or when the spec mentions "Ruby", "RSpec", "service objects", "Struct", or Ruby class/module patterns. Provides Ruby-specific interview and implementation checklist items.
testing
This skill should be used when conducting spec interviews or implementing specs for Ruby on Rails projects, or when the spec mentions "Rails", "ActiveRecord", "ActiveJob", "concerns", "migrations", "Rails.configuration", or "request specs". Provides Rails-specific interview and implementation checklist items.