code-review SKILL.md skillA

code-review from dzhng/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add dzhng/skills/code-review@git:20261021.8e74252

Pins git:20261021.8e74252 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
dzhng/skills
Path
skills/engineering/code-review/SKILL.md
Versions recorded
6
Latest version
git:20261021.8e74252, committed Oct 21, 2026
First version recorded
Jul 8, 2026
Size
22,327 bytes
Repository stars
1,377
License
MIT

Review changed code for naming, stale references, unnecessary complexity, and comment quality. Use after completing implementation work, before committing, or when the user asks to review or audit code.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Code Review

Review the diff or specified files against these principles.

## 1. Names must reflect current reality

- Variable and function names should describe what they ARE, not what they used to be.
- If the underlying mechanism changed (e.g. FUSE → NFS), all related names must update.
- Ask: would a new reader be confused by this name?

## 2. No stale references

- After refactoring, grep for references to the old approach — dead detection logic, abandoned feature flags, comments mentioning removed code.
- If something was tried and reverted, remove ALL traces. The codebase should look like the current approach was always the plan.

## 3. Simplify detection and guard logic

- A gate like "can this feature run" should check the ONE thing that actually matters.
- Don't chain fallback detections (binary exists OR source exists OR toolchain exists) when one check covers it.

## 4. Comments document WHY, not WHAT HAPPENED

- **Keep:** non-obvious technical discoveries, platform quirks, "if you remove this, X breaks because Y."
  - Good: `// com.apple.provenance causes SIGKILL when spawned as child process`
  - Good: `// umount while server is alive panics the macOS NFS client`
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add dzhng/skills/code-review@sha256:5b7c5de0b735d878

The line at the top of this page pins the label git:20261021.8e74252, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

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

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 6 versions of this file, between Jul 8, 2026 and Oct 21, 2026, about one every 21 days.

versioncommittedcommitsizeaudit
git:20261021.8e74252 latest2026-10-21 8e74252 22,327 BA view · diff
git:20260805.969b8da2026-08-05 969b8da 22,358 BA view · diff
git:20260719.8325c8f2026-07-19 8325c8f 20,451 BA view · diff
git:20260719.ced8b612026-07-19 ced8b61 19,401 BA view · diff
git:20260717.ff8d6342026-07-17 ff8d634 17,484 BA view · diff
git:20260708.f7ace9d2026-07-08 f7ace9d 14,291 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the 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 (22327 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

dzhng/skills · 1,377 stars · license MIT · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ryfullyjb6osl2hs
GET https://markdownregistry.com/api/v1/resolve?ref=dzhng/skills/code-review
GET https://markdownregistry.com/api/v1/blob/5b7c5de0b735d8788466bc575e8877843c08b1ea02de29fc50fb6124bad03012

Your AI assistant 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.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from dzhng/skills

audit-agents SKILL.md skill
dzhng/skills · skills/authoring/audit-agents/SKILL.md · Audit or rewrite AGENTS.md so it holds only lasting principles. Run it only when the user asks for it by name; never…
git:20261002.5fa4602 · audit A · 1,377 stars
eval-skills SKILL.md skill
dzhng/skills · skills/authoring/eval-skills/SKILL.md · Eval and improve a skill against golden cases — run the target skill blind in a fresh, context-free subagent on each…
git:20260705.adffd39 · audit A · 1,377 stars
write-skills SKILL.md skill
dzhng/skills · skills/authoring/write-skills/SKILL.md · Create or revise agent skills. Use when adding a new skill file, renaming a skill, simplifying an existing skill…
git:20261004.3e02e02 · audit A · 1,377 stars
audit-choices SKILL.md skill
dzhng/skills · skills/engineering/audit-choices/SKILL.md · Audit the choices an implementing agent made, not its diff — a pure decision audit that traces the session's history…
git:20260813.dbb1aa5 · audit A · 1,377 stars
audit-performance SKILL.md skill
dzhng/skills · skills/engineering/audit-performance/SKILL.md · Audit and prioritize performance work through bounded-work and forward-progress checks. Use when asked to find…
git:20261002.8aea537 · audit A · 1,377 stars
audit-tests SKILL.md skill
dzhng/skills · skills/engineering/audit-tests/SKILL.md · Audit whether tests earn their maintenance cost and which suite owns each contract. Use when pruning redundant tests…
git:20260929.2fa832d · audit A · 1,377 stars
auto-research SKILL.md skill
dzhng/skills · skills/engineering/auto-research/SKILL.md · Run fast, progressive experiments to map tunable parameters and their effects. Use when optimizing code, prompts…
git:20260925.120cae1 · audit A · 1,377 stars
claude SKILL.md skill
dzhng/skills · skills/engineering/claude/SKILL.md · Use Claude Code as an independent `claude -p` subagent when the user explicitly asks for Claude, wants a second-agent…
git:20261015.f6819ca · audit A · 1,377 stars
close-spec SKILL.md skill
dzhng/skills · skills/engineering/close-spec/SKILL.md · When a spec under specs/<feature>/ is done shipping (a write-spec build, or any planned task that produced a spec)…
git:20260721.2ee48ec · audit A · 1,377 stars
codex SKILL.md skill
dzhng/skills · skills/engineering/codex/SKILL.md · Use the local Codex CLI as an independent second agent. Two branches — (1) proactively run `codex review` for a second…
git:20261015.f6819ca · audit A · 1,377 stars
eli5 SKILL.md skill
dzhng/skills · skills/engineering/eli5/SKILL.md · Explain a technical spec or proposed change in plain language: what problem it solves, how the solution works, and…
git:20260813.dbb1aa5 · audit A · 1,377 stars
explore-unknowns SKILL.md skill
dzhng/skills · skills/engineering/explore-unknowns/SKILL.md · Guide the user through a quadrant walk that maps the unknowns of a task — open by listing the known knowns, then work…
git:20260930.60ae302 · audit A · 1,377 stars

Every file in dzhng/skills

Other files named code-review

code-review SKILL.md skill
github/awesome-copilot · .github/skills/code-review/SKILL.md · Review pull requests for repository fit, meaningful value, trustworthy provenance, differentiation, and maintainability…
git:20261015.6591322 · audit A · 40,226 stars
code-review SKILL.md skill
kyegomez/swarms · examples/single_agent/capabilities/skills/multiple_skill_dirs/team_skills/code-review/SKILL.md · Review Python code for bugs, missing tests and security issues using the team's shared standards
git:20261001.03c1706 · audit A · 7,284 stars
code-review SKILL.md skill
kyegomez/swarms · examples/single_agent/capabilities/skills/code-review/SKILL.md · Perform comprehensive code reviews focusing on best practices, security vulnerabilities, performance optimization, and…
git:20260707.2e41657 · audit A · 7,284 stars
code-review SKILL.md skill
thinkinaixyz/deepchat · resources/skills/code-review/SKILL.md · Comprehensive code review assistant that analyzes code quality, security, and best practices
git:20260113.8fd50e4 · audit A · 6,371 stars
code-review SKILL.md skill
vinvcn/mattpocock-skills-zh-cn · skills/engineering/code-review/SKILL.md · 从固定点(commit、branch、tag 或 merge-base)开始,按 Standards(代码是否符合本仓库记录的编码标准?)和 Spec(代码是否符合来源 issue/spec…
git:20261008.5be0dc1 · audit A · 5,110 stars
code-review SKILL.md skill
basicmachines-co/basic-memory · .agents/skills/code-review/SKILL.md · Use when reviewing Basic Machines code for house style, architecture risk, pre-merge hardening, or whether a change…
git:20260609.03ba268 · audit A · 4,305 stars
code-review SKILL.md skill
nteract/semiotic · .github/skills/code-review/SKILL.md · Review Semiotic pull requests for behavioral bugs, regressions, contract drift, and missing evidence. Use for GitHub…
git:20260816.653c051 · audit A · 2,716 stars
code-review SKILL.md skill
cbrock84/headcount · plugins/technology/skills/code-review/SKILL.md · Conducts and responds to code review — reviewing a change for correctness, design, and risk, and evaluating review…
git:20260828.f80dcb5 · audit A · 2,076 stars

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