review-staged-changes SKILL.md skillA

review-staged-changes from sfrangulov/claude-code-handbook-ru is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add sfrangulov/claude-code-handbook-ru/review-staged-changes@git:20260606.f5f34ce

Pins git:20260606.f5f34ce in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
sfrangulov/claude-code-handbook-ru
Path
examples/skills/review-staged-changes/SKILL.md
Versions recorded
2
Latest version
git:20260606.f5f34ce, committed Jun 6, 2026
First version recorded
May 13, 2026
Size
6,298 bytes
Repository stars
91
License
CC0-1.0

Use when the user wants a review of currently staged git changes before committing. Triggers on phrases like "review staged", "посмотри что я застейджил", "review before commit", "проверь изменения перед коммитом". Returns a structured findings list focused on correctness, security, and conventions — not style nitpicks.

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

# Review Staged Changes

Скилл, который проверяет staged изменения в git и выдаёт findings до того, как пользователь сделает коммит. Это не полный код-ревью — это последний sanity check.

## Когда вызывается

- Пользователь явно просит: «отревьюй staged», «проверь что я застейджил», «review before commit».
- Перед формированием commit message (если есть отдельная команда /commit).

## Что делать

### 1. Собрать контекст

Запустить:
- `git diff --cached --stat` — обзор изменений.
- `git diff --cached` — сам diff.
- `git log -1 --format="%s"` — последний коммит для понимания контекста.

Если `--cached` пусто — сказать «нет staged изменений, нечего ревьюить» и закончить.

### 2. Прогнать структурированные проверки

Для каждого изменённого файла проверить:

**Безопасность (HIGH priority):**
- Захардкоженные секреты, API-ключи, токены, пароли, приватные ключи.
- `.env` файлы или их фрагменты в diff.
- SQL без параметризации (конкатенация переменных в строку запроса).
- Запуск процессов с shell-evaluation и user input.
- Небезопасная вставка HTML без санитизации.
- Динамическая исполнимая интерпретация строк с пользовательским вводом.

**Корректность (HIGH priority):**
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add sfrangulov/claude-code-handbook-ru/review-staged-changes@sha256:9c88a1db63124738

The line at the top of this page pins the label git:20260606.f5f34ce, 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_mzyjblbqk54o3yah.svg)](https://markdownregistry.com/a/art_mzyjblbqk54o3yah)

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

Versions

The registry has recorded 2 versions of this file, between May 13, 2026 and Jun 6, 2026, about one every 24 days.

versioncommittedcommitsizeaudit
git:20260606.f5f34ce latest2026-06-06 f5f34ce 6,298 BA view · diff
git:20260513.5a7a75b2026-05-13 5a7a75b 6,297 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 (6298 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

sfrangulov/claude-code-handbook-ru · 91 stars · license CC0-1.0 · pushed 2026-11-02 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_mzyjblbqk54o3yah
GET https://markdownregistry.com/api/v1/resolve?ref=sfrangulov/claude-code-handbook-ru/review-staged-changes
GET https://markdownregistry.com/api/v1/blob/9c88a1db63124738f5e76b29656d84122d141fc162045ba6c8840123fe03c675

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 sfrangulov/claude-code-handbook-ru

AGENTS.md AGENTS.md file
sfrangulov/claude-code-handbook-ru · AGENTS.md
git:20260521.0881f9f · audit A · 91 stars
CLAUDE.md CLAUDE.md file
sfrangulov/claude-code-handbook-ru · CLAUDE.md
git:20260521.0881f9f · audit A · 91 stars
llms-full.txt llms.txt file
sfrangulov/claude-code-handbook-ru · llms-full.txt
git:20261102.0b02232 · audit C · 91 stars
llms.txt llms.txt file
sfrangulov/claude-code-handbook-ru · llms.txt
git:20261029.0fae7b1 · audit A · 91 stars

Every file in sfrangulov/claude-code-handbook-ru

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