Skip to content
Back to skills

Ruby Conventions Reference

ASecurity

Worked GOOD/BAD examples for Ruby style and OOP conventions — naming, idioms, safe navigation, freeze, SRP, dependency injection, Tell-Don't-Ask, Law of Demeter, duck typing, composition over inheritance. CONSULT when you need an idiomatic Ruby example or are unsure how a style/OOP rule looks in code. Reference loaded on demand — the always-apply rules themselves live in the `ruby-style` and `ruby-oop` rules.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 5, 2026
ai-agentsgoruby

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add mik2win/foureyes --skill ruby-conventions-reference --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ruby Conventions Reference?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ruby Conventions Reference
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mik2win-ruby-conventions-reference/badge)](https://www.skillsdirectory.com/skills/mik2win-ruby-conventions-reference)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ruby-conventions-reference
description: >-
  Worked GOOD/BAD examples for Ruby style and OOP conventions — naming, idioms, safe
  navigation, freeze, SRP, dependency injection, Tell-Don't-Ask, Law of Demeter, duck
  typing, composition over inheritance.
  CONSULT when you need an idiomatic Ruby example or are unsure how a style/OOP rule looks
  in code. Reference loaded on demand — the always-apply rules themselves live in the
  `ruby-style` and `ruby-oop` rules.
allowed-tools:
  - Read
  - Grep
  - Glob
---

# Ruby conventions — worked examples

Companion to the `ruby-style` and `ruby-oop` rules. Read the reference file (in this skill's
folder) for the topic you need:

- **Style** — naming, quoting, safe navigation, `Time.current`, freeze, idiomatic Ruby →
  `references/style.md`
- **OOP** — SRP, dependency injection, Tell-Don't-Ask, Law of Demeter, duck typing,
  Open/Closed, composition over inheritance → `references/oop.md`

Files in this skill

  • SKILL.md966 B
  • references/oop.md8.9 KB
  • references/style.md10.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…