# rubocop/ruby-style-guide

A community-driven Ruby coding style guide

Repository: https://github.com/rubocop/ruby-style-guide
Canonical: https://ross.abutalabs.com/products/ruby-style-guide
Homepage: https://rubystyle.guide
License Family: other
Topics: ruby, style-guide, rubocop
Last push: 2026-07-20T10:56:34+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 93, release rhythm 35, longevity 100
- inputs: {"age_days": 5469, "days_push": 44, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license, no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 16548, forks 3336 (observed 2026-08-28T04:11:16.709840+00:00)

## What it is
A community-driven Ruby coding style guide published as a website (rubystyle.guide), covering layout, naming, idioms, and language usage conventions. It serves as the reference standard that the RuboCop linter enforces.

## Use cases
- how should I format Ruby code
- Ruby naming conventions for methods and classes
- should I use tabs or spaces in Ruby
- Ruby best practices for conditionals and loops
- style rules enforced by RuboCop
- community Ruby coding standards

## When to choose
- you want an authoritative, community-accepted reference for Ruby code style
- you are configuring or interpreting RuboCop cop behavior
- you are onboarding Ruby developers to a shared style standard

## When to avoid
- you need an executable linter or formatter rather than a document (use RuboCop itself)
- your team already has its own style guide that diverges from community norms

## Facets
- artifact type: learning-resource
- maturity: active
- function: documentation, linter, developer-tools
- domain: developer-tools, programming-languages, documentation
- platform: cross-platform
- tags: ruby, style-guide, coding-standards, rubocop, best-practices, code-style

## Member repositories
- rubocop/ruby-style-guide (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:16.709840+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-29T17:04:52.398876+00:00, confidence not recorded.
  - homepage: https://rubystyle.guide (fetched 2026-08-29T08:02:30.092996+00:00, sha 2eef0fba65ce)
- Data as of 2026-08-30T08:39:29.467469+00:00.
