# uohzxela/clean-code-ruby

🛁 Clean Code concepts adapted for Ruby

Repository: https://github.com/uohzxela/clean-code-ruby
Canonical: https://ross.abutalabs.com/products/clean-code-ruby
Language: Ruby
License: MIT
License Family: permissive
Topics: clean-code, ruby, best-practices
Last push: 2022-09-10T02:38:29+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3282, "days_push": 1454, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1597, forks 161 (observed 2026-08-28T04:05:09.247627+00:00)

## What it is
A curated guide adapting Robert C. Martin's Clean Code principles to the Ruby programming language, with annotated good/bad code examples covering variables, methods, classes, SOLID, testing, and error handling. It is a reference document rather than an executable library or tool.

## Use cases
- learn clean code principles in ruby
- improve readability of my ruby codebase
- ruby best practices for naming variables and methods
- guide for writing refactorable ruby code
- onboarding resource for ruby developers on code quality
- examples of SOLID principles in ruby

## When to choose
- you write Ruby and want actionable, example-driven guidance on writing readable, maintainable code
- you are onboarding junior Ruby developers and want a shared code-quality reference
- you are reviewing or refactoring a Ruby codebase and want principles to assess quality

## When to avoid
- you need an executable linter or automated formatter - use RuboCop instead
- you need idiomatic Ruby style rules rather than general clean-code concepts, since examples are ported from JavaScript and may not be idiomatic
- you work in a language other than Ruby

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: documentation, developer-tools
- domain: developer-tools, tutorials, programming-languages
- platform: ruby
- tags: clean-code, best-practices, code-quality, ruby, software-craftsmanship, style-guide, refactoring

## Member repositories
- uohzxela/clean-code-ruby (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:09.247627+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:54:01.169493+00:00, confidence not recorded.
  - readme: https://github.com/uohzxela/clean-code-ruby (fetched 2026-08-28T04:05:09.247627+00:00, sha 82f2d939b28c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
