Awesome Reviewers checks + prompts

verify / ruby

Verifying Ruby changes

Files: .rb. Run the checks under every change, add the checks for what your diff touches, then apply the review prompts for what the tools miss. Usage is measured across 5 scanned repositories that write Ruby; prompts come from 66 review discussions.

raw .md .json

Run on every change

the tool most Ruby repositories run for each check

  • Formatting Layout drift that buries the real change in the diff.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Linting Bug-prone patterns, unused code and conventions the formatter does not cover.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Type checking Wrong types, unhandled null or None, call signatures broken across modules.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Unit and integration tests Behaviour regressions on the paths the tests exercise.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

Review prompts for every change 11 in total

  • discourse/discourse Naming Conventions Ruby app-frameworks
    raw open
  • mastodon/mastodon Naming Conventions Ruby app-frameworks
    raw open
  • rails/rails Naming Conventions Ruby app-frameworks
    raw open
  • chef/chef Code Style Ruby cloud-infra
    raw open
  • chef/chef Naming Conventions Ruby cloud-infra
    raw open

Add when the change touches

open the ones that describe your diff

Authentication, input handling, secrets, permissions codeqlsecret scanningdependency audit 5 prompts
  • Security scanning Injection, unsafe APIs and tainted data reaching a sink.
    codeql

    runs via GitHub Action github/codeql-action/analyze

    exit codes, docs, alternatives, where it runs
  • Secret scanning Credentials and tokens committed to the repository.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Dependency audit Known-vulnerable or disallowed dependencies and licenses.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • discourse/discourse Security Ruby app-frameworks
    raw open
  • chef/chef Security Ruby cloud-infra
    raw open
  • rails/rails Security Ruby app-frameworks
    raw open
  • Homebrew/brew Security Ruby devtools
    raw open
  • mastodon/mastodon Security Ruby app-frameworks
    raw open
Public APIs, signatures, error paths, nullability type checkingunit and integration testsproperty-based tests 15 prompts
  • Type checking Wrong types, unhandled null or None, call signatures broken across modules.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Unit and integration tests Behaviour regressions on the paths the tests exercise.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Property-based tests Edge-case inputs nobody wrote a test for; invariants over generated data.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Homebrew/brew Null Handling Ruby devtools
    raw open
  • chef/chef Error Handling Ruby cloud-infra
    raw open
  • Homebrew/brew API Ruby devtools
    raw open
  • rails/rails API Ruby app-frameworks
    raw open
  • Homebrew/brew Error Handling Ruby devtools
    raw open

10 more in API, Error Handling, Null Handling — the playbook lists the top 12.

Service and framework code unit and integration testsci-matrix
Algorithms, parsers, data transforms property-based testsfuzzingmutation testingproofs and specifications 5 prompts
  • Property-based tests Edge-case inputs nobody wrote a test for; invariants over generated data.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Fuzzing Crashes, panics and hangs on malformed input, especially in parsers and decoders.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Mutation testing Tests that keep passing whatever the code does.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Proofs and specifications Design-level bugs in protocols and algorithms, checked against a specification.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Homebrew/brew Algorithms Ruby devtools
    raw open
  • chef/chef Algorithms Ruby cloud-infra
    raw open
  • rails/rails Algorithms Ruby app-frameworks
    raw open
  • mastodon/mastodon Algorithms Ruby app-frameworks
    raw open
  • discourse/discourse Algorithms Ruby app-frameworks
    raw open
Threads, async code, locks, shared state concurrency model checkingundefined-behaviour detectionproperty-based tests
  • Concurrency model checking Races and orderings that fail only under specific interleavings.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Undefined-behaviour detection Memory-safety and aliasing violations in unsafe code.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Property-based tests Edge-case inputs nobody wrote a test for; invariants over generated data.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

Network calls, retries, timeouts, protocols unit and integration testsfuzzing 3 prompts
  • Unit and integration tests Behaviour regressions on the paths the tests exercise.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Fuzzing Crashes, panics and hangs on malformed input, especially in parsers and decoders.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • chef/chef Networking Ruby cloud-infra
    raw open
  • Homebrew/brew Networking Ruby devtools
    raw open
  • mastodon/mastodon Networking Ruby app-frameworks
    raw open
UI components and pages end-to-end browser testslinting
  • End-to-end browser tests User flows broken across components, routing and the network.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Linting Bug-prone patterns, unused code and conventions the formatter does not cover.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

Databases, migrations, caching unit and integration testsci-matrix 5 prompts
  • rails/rails Database Ruby app-frameworks
    raw open
  • discourse/discourse Migrations Ruby app-frameworks
    raw open
  • mastodon/mastodon Database Ruby app-frameworks
    raw open
  • discourse/discourse Database Ruby app-frameworks
    raw open
  • mastodon/mastodon Migrations Ruby app-frameworks
    raw open
Hot paths and performance 5 prompts

No tool-based check applies. The review prompts below are the verification.

  • rails/rails Performance Optimization Ruby app-frameworks
    raw open
  • Homebrew/brew Performance Optimization Ruby devtools
    raw open
  • chef/chef Performance Optimization Ruby cloud-infra
    raw open
  • mastodon/mastodon Performance Optimization Ruby app-frameworks
    raw open
  • discourse/discourse Performance Optimization Ruby app-frameworks
    raw open
Model, prompt and LLM code unit and integration tests
  • Unit and integration tests Behaviour regressions on the paths the tests exercise.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

Logging, metrics, tracing 1 prompts

No tool-based check applies. The review prompts below are the verification.

  • discourse/discourse Logging Ruby app-frameworks
    raw open
CI workflows and configuration files ci workflow lintingfile hygiene 7 prompts
  • CI workflow linting Broken GitHub Actions syntax, script injection, over-broad token permissions.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • File hygiene Invalid JSON, YAML or TOML, merge markers, trailing whitespace, oversized files.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • mastodon/mastodon Configurations Ruby app-frameworks
    raw open
  • rails/rails Configurations Ruby app-frameworks
    raw open
  • chef/chef Configurations Ruby cloud-infra
    raw open
  • discourse/discourse Configurations Ruby app-frameworks
    raw open
  • Homebrew/brew Configurations Ruby devtools
    raw open

2 more in CI/CD, Configurations — the playbook lists the top 7.

Dependencies and lockfiles dependency auditlockfile consistencyci-matrix
The tests themselves mutation testingci-matrix 5 prompts
  • rails/rails Testing Ruby app-frameworks
    raw open
  • discourse/discourse Testing Ruby app-frameworks
    raw open
  • mastodon/mastodon Testing Ruby app-frameworks
    raw open
  • chef/chef Testing Ruby cloud-infra
    raw open
  • Homebrew/brew Testing Ruby devtools
    raw open
Documentation and comments docs buildspelling 4 prompts
  • Docs build Broken cross-references, links and markup in documentation.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • Spelling Typos in identifiers, comments and docs.

    No scanned repository in this language runs a tool for this. Lean on the review prompts.

  • chef/chef Documentation Ruby cloud-infra
    raw open
  • rails/rails Documentation Ruby app-frameworks
    raw open
  • Homebrew/brew Documentation Ruby devtools
    raw open
  • aws/aws-sdk-js Documentation Ruby cloud-infra
    raw open

Where this comes from

5 scanned repositories with at least a fifth of their prompts in Ruby

rails/rails1 · mastodon/mastodon5 · discourse/discourse3 · Homebrew/brew3 · chef/chef0