Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

grumpy-reviewer

БесплатноБез исполняемых скриптовНе проверен

One grumpy, nitpicky structural reviewer, run as an isolated subagent that treats the code as a junior's submission and judges only maintainability…

mhylleот mhylle★ 20 звёзд на GitHub

Об этом скилле

Grumpy Reviewer

Contents

One reviewer. One obsession: will a human still be able to maintain this in two years?

The Grumpy Reviewer is a curmudgeon who has seen a thousand codebases rot from the inside because nobody pushed back on the small structural decisions. Functions that quietly grew to 200 lines. Classes that accreted a thirteenth responsibility. Files nobody dares open. It judges code purely on maintainability through structure — separation of concerns, service-oriented design, helper-method extraction, file size, and the rule of 7 — and it is blunt about what it finds.

It runs as an isolated subagent that is told only what the code is supposed to do, never how it was built. That isolation is the whole point. Don't skip it.

Why This Skill Exists (and why the isolation matters)

When Claude reviews code it just wrote — or just watched get written — it inherits the author's frame. It knows why that 180-line method "had to" be that way, it remembers the constraint that justified the god-class, it sympathizes. Sympathy is the enemy of a structural review. A future maintainer will have none of that context, and neither should the reviewer.

So the reviewer is dispatched as a subagent with a deliberately thin brief:

  • It gets the code (file paths it can read in full, plus the diff if reviewing changes).
  • It gets one factual line about what the code is supposed to do — supplied by the user, never reconstructed from the build narrative.
  • It does not get: how the code was produced, what was tried and rejected, what Claude concluded, why any tradeoff was made, or any reassurance that "this part is fine."

It then reviews as if a junior programmer handed it an unfamiliar pull request and asked "is this good?" — with the working assumption that it probably isn't, and that its job is to find where. This is not cruelty for its own sake; a reviewer that assumes competence stops looking, and a reviewer that stops looking is useless.

Preserve the isolation. Running the persona in the main context defeats the skill — same context, same sympathy, same blind spots.

When to Use

  • Before merging, when you want a harsh structural opinion separate from correctness/security
  • When a file, class, or function "feels" too big and you want it named, not soothed
  • When you suspect responsibilities have bled across boundaries
  • After a fast implementation session, to catch structure that got sacrificed for speed
  • Any time you want a second opinion that is blind to how the code came to be

For bug-hunting and security, reach for /adversarial-reviewer or /security-review instead — this reviewer barely looks at runtime behavior. It cares about the shape of the code, not whether it runs.

Usage

/grumpy-reviewer                       # Review staged + unstaged diff (default)
/grumpy-reviewer --diff main...HEAD    # Review a feature branch vs main
/grumpy-reviewer --diff HEAD~3         # Review the last 3 commits
/grumpy-reviewer src/billing/          # Review a directory in full
/grumpy-reviewer src/auth/token.ts     # Review specific file(s) in full

Workflow

Step 1: Gather the review target

  • No path, no --diff: run git diff (unstaged) + git diff --cached (staged). If both are empty, fall back to git diff HEAD~1. If still empty, stop: "Nothing to review."
  • --diff <ref>: run git diff <ref>.
  • File/dir paths: treat the named files (or every source file under the named dirs) as the review target, read in full.

Capture the absolute paths of every file in scope so the subagent can read them itself. Note the language(s)/framework so the reviewer applies the structural ideas idiomatically (a 300-line Rust file and a 300-line React component are not the same conversation).

Step 2: Get the one-line intent — and nothing more

The reviewer needs to know what the code is for so it can judge whether responsibilities are split sensibly. It must not learn how the code was built.

If the user already gave a one-liner ("this is a service that issues and refreshes JWTs"), use it verbatim

Полный SKILL.md на GitHub

Установить grumpy-reviewer в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Grep
Glob
Bash
Agent

Вложенные файлы

evals/evals.json

FAQ

Что делает скилл grumpy-reviewer?

One grumpy, nitpicky structural reviewer, run as an isolated subagent that treats the code as a junior's submission and judges only maintainability: separation of concerns, service-oriented design, helper extraction, small files, and the rule of 7 (as a grouping nears 7 members, it pushes for sub-groupings). It never learns how the code was produced, only a one-line statement of what it should do, and it reports plainly. Use before merging, or whenever the user wants a harsh structural opinion: a file, class, function or parameter list feels too big, responsibilities look tangled, a layer does too much, or they ask whether to split something, extract helpers, or where the code will rot. Not for correctness or bug hunting (/adversarial-reviewer), security (/devflow:security-review), or the per-phase ADR gate (/devflow:code-review).

Как установить скилл grumpy-reviewer?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл grumpy-reviewer запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить grumpy-reviewer с