Home / thoughtbot / rails-consultant · skills/socratic-review/SKILL.md · GitHub

socratic-review skillA

socratic-review is agent-read markdown (skill) from thoughtbot/rails-consultant: Socratic code review and refactoring session — whether it's your own code, a teammate's PR, or something you inherited. Leads you to see the issues through questions, names smells and moves precisely, then closes with a concrete plan..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

## Behavior

This is a pairing session, not a report. Do not produce structured output. Do not list issues or moves upfront. Lead with questions that make the user do the seeing — then guide them to act on what they found.

### Step 0: Silent Assessment

Before saying anything, build a thorough understanding of the code across every problem space in the question bank below. How you gather that understanding depends on the size of what you're reviewing:

- **A small, self-contained target** (a single method, a short snippet, a focused diff) — read it yourself, inline. Spinning up subagents would cost more than it returns.
- **A larger or unfamiliar target** (a multi-file PR, a SHA touching several layers, or inherited code whose call sites you'd need to trace) — dispatch general-purpose subagents in parallel (via the `Agent` tool) to explore, then synthesise their findings. This is the default for anything beyond a single file.
…

Read the whole file at its exact version.

How to install

Latest version
mdr add thoughtbot/rails-consultant/socratic-review@git:20260729.47262f4
Exact content
mdr add thoughtbot/rails-consultant/socratic-review@sha256:ee8c6bfcfd18d622

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_6cdvedpctu74ylo4.svg)](https://markdownregistry.com/a/art_6cdvedpctu74ylo4)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260729.47262f4 latest2026-07-29 47262f4 14,507 BA view · diff
git:20260612.e87d9822026-06-12 e87d982 14,432 BA view · diff
git:20260324.3e392022026-03-24 3e39202 13,071 BA view · diff
git:20260320.f5a524c2026-03-20 f5a524c 12,740 BA view · diff
git:20260313.e2ed4a02026-03-13 e2ed4a0 12,295 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (14507 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

thoughtbot/rails-consultant · 26 stars · license MIT · pushed 2026-09-18 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_6cdvedpctu74ylo4
GET https://markdownregistry.com/api/v1/resolve?ref=thoughtbot/rails-consultant/socratic-review
GET https://markdownregistry.com/api/v1/blob/ee8c6bfcfd18d622ac0290e712b63ddb6e648fc0204404021081528882e35314

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from thoughtbot/rails-consultant

challenge skill
thoughtbot/rails-consultant · skills/challenge/SKILL.md · Pressure-test an assumption, decision, or inherited constraint — Socratic cross-examination that forces you to defend…
git:20260320.c372a42 · audit A · 26 stars
explain skill
thoughtbot/rails-consultant · skills/explain/SKILL.md · Explain what a piece of code does — a specific file, class, or method in close detail, or a user-facing flow as a…
git:20260320.c9c920e · audit A · 26 stars
feature-dev skill
thoughtbot/rails-consultant · skills/feature-dev/SKILL.md · Take one new feature slice from idea to reviewed, committed code in a single guided pass — scope it into the smallest…
git:20260730.4e2addb · audit A · 26 stars
git-commit skill
thoughtbot/rails-consultant · skills/git-commit/SKILL.md · Turn the working changes into one or more atomic commits with well-written messages. Use whenever the user runs…
git:20260717.8fbb8df · audit A · 26 stars
hard-news skill
thoughtbot/rails-consultant · skills/hard-news/SKILL.md · Prepare to deliver difficult technical news to a client — a conversational prep session before the hard conversation…
git:20260313.e9f2976 · audit A · 26 stars
offboard skill
thoughtbot/rails-consultant · skills/offboard/SKILL.md · Walk through the Designer/Developer wrap-up checklist for offboarding a client engagement — conversationally, one item…
git:20260320.0cc9cbc · audit A · 26 stars
prior-art skill
thoughtbot/rails-consultant · skills/prior-art/SKILL.md · Discover how a codebase already handles a specific concern — search broadly, find every instance, and assess…
git:20260313.e2ed4a0 · audit A · 26 stars
rubber-duck skill
thoughtbot/rails-consultant · skills/rubber-duck/SKILL.md · Think out loud about a problem, decision, or approach — Socratic friction to help you find clarity, not sympathy
git:20260325.3769383 · audit A · 26 stars
slice skill
thoughtbot/rails-consultant · skills/slice/SKILL.md · Turn a feature into well-defined, independently shippable slices — whether it's an epic that needs breaking apart or a…
git:20260730.9807306 · audit A · 26 stars
standup skill
thoughtbot/rails-consultant · skills/standup/SKILL.md · Write a client update — identify what was done, what's next, and surface risks before they become surprises. End of…
git:20260313.e2ed4a0 · audit A · 26 stars
test-driven-development skill
thoughtbot/rails-consultant · skills/test-driven-development/SKILL.md · Strict red-green-refactor TDD workflow for implementing features, fixing bugs, or changing behavior in Rails…
git:20260612.60eb9ca · audit A · 26 stars

Every file in thoughtbot/rails-consultant

Browse by kind, by grade A, or by owner.