ruby-rules

Installation
SKILL.md
Contains Shell Commands

This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.

Ruby Rules

These rules come from app/rules/ruby/ in ai-toolkit. They cover the project's standards for coding style, frameworks, patterns, security, and testing in Ruby. Apply them when writing or reviewing Ruby code.

Ruby Coding Style

Naming

  • PascalCase: classes, modules.
  • snake_case: methods, variables, file names, directories.
  • UPPER_SNAKE: constants (MAX_RETRIES = 3).
  • Prefix boolean methods with predicate: empty?, valid?, admin?.
  • Suffix dangerous methods with !: save!, sort!, strip!.
  • Use _ prefix for intentionally unused variables: _unused.
Installs
9
GitHub Stars
175
First Seen
May 16, 2026
ruby-rules — softspark/ai-toolkit