ookami-coding-style-rails

Installation
SKILL.md

Rails Coding Style

Follow these conventions when writing Ruby/Rails code. Full reference: https://github.com/ookamiinc/guides/blob/master/coding_style/rails.md

General Style

  • Use American English.
  • Use 2-space indentation, no tabs.
  • No trailing whitespace. Blank lines should not have any spaces.
  • Indent after private/protected.
  • Prefer { a: :b } over { :a => :b } (new-style hash syntax).
  • Prefer &&/|| over and/or.
  • Use MyClass.my_method(my_arg) — not my_method( my_arg ) or my_method my_arg.
  • Use a = b — not a=b (spaces around operators).
  • Prefer method { do_stuff } over method{do_stuff} for single-line blocks.
  • Follow the conventions already present in the source code.

Check Your Code

Installs
3
GitHub Stars
1
First Seen
Mar 1, 2026
ookami-coding-style-rails — ookamiinc/guides