Skip to content

Blog

Ruby and Rails Standards: Language 10

Coding Standards now covers 10 languages with the addition of Ruby (including Rails-specific standards).

Ruby standards (lang-10) cover idiomatic Ruby patterns: method naming, block usage, exception handling, Sorbet/RBS typing, and RuboCop configuration. The standard follows community conventions — snake_case methods, ? and ! suffixes, frozen string literals.

Ruby on Rails standards (lang-11) complement the base Ruby standard and address Rails-specific patterns: Active Record best practices, controller/service object boundaries, view helpers vs. presenters, Action Cable conventions, and Rails security (strong parameters, CSRF, SQL injection via Active Record).

Both standards include security sections with Brakeman for SAST and bundler-audit for dependency scanning.

Adding Ruby required renumbering some existing standards to maintain alphabetical ordering within the lang-XX prefix scheme. The restructure keeps the numbering consistent and leaves room for future additions.

With Ruby and Rails, the framework now covers:

Python, Java, Kotlin, Swift, Dart, TypeScript, JavaScript, Rust, Zig, Ruby/Rails

All 10 language standards share the same structure: naming conventions, architecture patterns, testing requirements, error handling, and a security section referencing the P0-P2 severity model.

See the standards: Ruby | Ruby on Rails

Introducing Coding Standards: One Framework, Every AI Agent

We’re excited to announce the public release of Coding Standards — a unified framework that keeps every AI coding assistant on the same page.

Development teams today use multiple AI coding tools: Cursor, GitHub Copilot, Claude Code, OpenAI Codex, Gemini CLI. Each tool needs its own configuration, and without a shared source of truth, they generate inconsistent code.

Coding Standards provides a single repository of standards — covering 9 programming languages, Clean Architecture patterns, and development processes — that automatically syncs to every AI agent in your workflow.

Install it in seconds:

Terminal window
curl -fsSL https://raw.githubusercontent.com/c65llc/coding-standards/main/install.sh | bash
  • 9 language standards: Python, Java, Kotlin, Swift, Dart, TypeScript, JavaScript, Rust, Zig
  • 5 AI agent configs: Cursor, Copilot, Claude Code/Aider, Codex, Gemini CLI
  • Architecture standards: Clean Architecture, SOLID principles, and more
  • Process standards: Git workflow, documentation, code review
  • Automation: One-command setup, git hooks that report standards updates, Make targets

Check out the Quick Start guide to get up and running in 5 minutes, learn how it works under the hood, or browse the full documentation for all installation options.

We welcome feedback via GitHub Issues. If these standards don’t fit your team perfectly, fork the repo and customize them.