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

explain skillA

explain is agent-read markdown (skill) from thoughtbot/rails-consultant: Explain what a piece of code does — a specific file, class, or method in close detail, or a user-facing flow as a concise system overview. What it does and why, not whether it's good..

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

Explain `$ARGUMENTS`. Do the research and deliver the explanation in one pass.

Determine the mode from the argument:

- **If the argument is a file path, class name, or method** — this is a **code explanation**. Follow the Code Explanation section.
- **If the argument is a user action, feature, or flow description** (e.g. "password reset", "checkout", "authentication") — this is a **flow explanation**. Follow the Flow Explanation section.

---

## Code Explanation

Start by checking the git history for the file: `git log --oneline -15 <file>` and `git log -1 -p <file>` for the most recent change. Commit messages often reveal the "why" that the code itself doesn't — a bug that was fixed, a refactor that simplified something, a workaround for an external constraint. Note anything that reframes the code before diving into it.

Then read the code carefully and explain in this order:

### 1. What it does — in one paragraph

Plain English. No jargon, no code. Describe what this code accomplishes from the outside — what goes in, what comes out, what changes as a result. Write it the way you'd explain it to the client who asked for the feature.
…

Read the whole file at its exact version.

How to install

Latest version
mdr add thoughtbot/rails-consultant/explain@git:20260320.c9c920e
Exact content
mdr add thoughtbot/rails-consultant/explain@sha256:017f182739990d0b

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_t47vmodvfgsalnls.svg)](https://markdownregistry.com/a/art_t47vmodvfgsalnls)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260320.c9c920e latest2026-03-20 c9c920e 4,871 BA view · diff
git:20260313.e2ed4a02026-03-13 e2ed4a0 2,579 BA view · diff
git:20260313.e9f29762026-03-13 e9f2976 2,573 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 (4871 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_t47vmodvfgsalnls
GET https://markdownregistry.com/api/v1/resolve?ref=thoughtbot/rails-consultant/explain
GET https://markdownregistry.com/api/v1/blob/017f182739990d0b76686aa910f4345dd8cabfbb04468f3700bcf05a00e75848

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
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
socratic-review skill
thoughtbot/rails-consultant · skills/socratic-review/SKILL.md · Socratic code review and refactoring session — whether it's your own code, a teammate's PR, or something you inherited…
git:20260729.47262f4 · 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

Other files named explain

explain skill
dcouple/pane · main/src/services/paneChatBundle/skills/explain/SKILL.md · Use when the person wants to understand a concept or how something works today. Never plans.
git:20260924.17234b5 · audit A · 483 stars
explain skill
gkaria/vibe-learn · adapters/cursor/skills/explain/SKILL.md · Guided code tour of a file or subsystem this session touched — entry point, the load-bearing pieces, the edges, and…
git:20260906.370fea8 · audit A · 56 stars
explain skill
gkaria/vibe-learn · adapters/copilot-cli/skills/explain/SKILL.md · Guided code tour of a file or subsystem this session touched — entry point, the load-bearing pieces, the edges, and…
git:20260912.81d40ed · audit A · 56 stars
explain skill
saadshahd/moo.md · hope/skills/explain/SKILL.md · Put one settled thing in the user's head, plainly. Use when the user does not hold something already settled.
git:20260817.f04083f · audit A · 34 stars
explain skill
verymath/verymath-textbook-copilot · skills/explain/SKILL.md · 根据当前教材解释概念、公式、推导与应用,回应学生的理解困难;用于讲解内容、解释原因、补全步骤和比较易混概念。
git:20260911.7bee855 · audit A · 13 stars
explain skill
marcel-bich/marcel-bich-claude-marketplace · plugins/credo/skills/explain/SKILL.md · Explain something in depth on request. Use when the user writes "???" - alone, or placed directly after a reference…
git:20260819.44b672c · audit A · 12 stars
explain skill
harnessprotocol/harness-kit · plugins/explain/skills/explain/SKILL.md · Use when user invokes /explain with a file path, directory path, function/class name, or natural language concept. Also…
git:20260316.44e1f9c · audit A · 10 stars
explain skill
ramboz/jig · hosts/claude/skills/explain/SKILL.md · Explain jig vocabulary and artifacts in plain language. Three modes: term mode defines one lexicon term; artifact mode…
git:20260715.7d538ea · audit A · 7 stars

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