code-review
Что он делает
Этот скилл проверяет код на структуру и качество дизайна. Он нужен разработчикам, которые хотят взглянуть на свои изменения опытным взглядом со стороны.
Когда использовать
- ✓Когда вы хотите проверить файл или изменение на проблемы дизайна и структуры.
- ✓Когда код трудно тестировать и вы хотите понять почему.
- ✓Когда вы хотите сверить изменение со стандартами кодирования перед слиянием.
Ссылка на скилл
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/code-review/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Проверь этот файл боевой системы на проблемы архитектуры и тестируемости.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Скилл читает целевой код и сверяет его со стандартами кодирования и принципами дизайна, такими как SOLID, тестируемость и производительность. Он сообщает о находках с указанием конкретных частей кода, которых они касаются.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys automation
Code Review
Every AskUserQuestion call follows .claude/docs/automation-modes.md
(collaborative asks always · guided major-only · autonomous logs and proceeds;
automation_always_ask categories always prompt).
Insufficient input — check this before producing any report
If the inputs this skill needs do not exist, the answer is "could not run" — not a filled-in report. Check first, and stop if the check fails.
- List the inputs this skill reads (data files, prior reports, profiler output, test results, registries, source code).
- For each, record
FOUNDorABSENT— not "assumed present". - If any input required for a section is ABSENT, that section is
NOT ASSESSED — NO DATA. Do not estimate it, do not infer it from an adjacent artifact, and do not leave a mandated cell to be filled by whoever reads the template next. - If every required input is ABSENT, stop and report
NOT ASSESSED — NO DATAas the whole verdict, naming what was missing and which skill produces it.
A verdict of NOT ASSESSED is a success. It is the correct, useful answer to
"what does the data say?" when there is no data. The failure mode this prevents is
specific: a report whose verdict enum has no "could not run" state produces
false clean passes — an asset audit returning COMPLIANT on a project with no
assets and no standards, or a performance profile reporting ">99% headroom against
a 16.67ms budget" with zero profiler data and no budget ever set.
Absence of evidence is never evidence of absence. A scan that finds no matches because there are no files to scan has not verified anything. Say which of the two happened — a reader cannot tell from a green result.
Phase 1: Load Target Files
Read the target file(s) in full. Read CLAUDE.md for project coding standards.
Phase 2: Identify Engine Specialists
Read the specialists block from project.yaml; if it is absent, fall back to the ## Engine Specialists section of .claude/docs/technical-preferences.md. Note:
- The Primary specialist —
<engine>-specialistderived fromengine.name(Godot→godot-specialist, Unity→unity-specialist, Unreal→unreal-specialist); used for architecture and broad engine concerns - The Language/Code Specialist —
specialists.code— used when reviewing the project's primary language files - The Shader Specialist —
specialists.shader— used when reviewing shader files - The UI Specialist —
specialists.ui— used when reviewing UI code
A value of null means UNSET — treat that key as absent and skip its
specialist. Never spawn it as an agent name. The v1.0 migration writes null
for any specialist the legacy file did not name, and it writes the whole block
whenever one member is set — so a project that configured only its code
specialist carries shader: null and ui: null. The config reader returns the
four-character string "null" for these, which is not empty and therefore reads
as configured. null, empty, and missing are the same state here.
If no engine is configured (no engine.name in project.yaml, and technical-preferences.md reads [TO BE CONFIGURED] or is missing), skip engine specialist steps. Record Engine validation: NOT ASSESSED — no engine configured (`engine.name` unset in `project.yaml`) in this run's output. A skipped check that says nothing is indistinguishable from a check that passed; the reader cannot tell engine guidance was never sought.
Phase 3: ADR Compliance Check
Argument: /code-review [file(s)] may optionally include a story file path as the last argument (e.g., /code-review Assets/Scripts/Combat/Attack.cs production/epics/combat/story-001.md). If a story path is provided, read it to extract the governing ADR reference.
Search for ADR references in, in priority order:
- The story file (if provided as argument)
- Header comments at the top of the implementation files
- Commit messages referencing these files (
git log --oneline -- [file])
Look for patterns like ADR-NNNN or docs/architecture/adr- (either case).
If no ADR references found, note: "No ADR references found — ADR compliance check skipped. For full ADR compliance review, provide the story path: /code-review [files] [story-path]."
For each referenced ADR, load **only the sections this check needs — never an unbounded f
Частые вопросы
На чём он в первую очередь сосредоточен?
На архитектуре и качестве дизайна: стандартах, принципах SOLID и тестируемости.
Это проверка безопасности?
Нет. Он фокусируется на архитектуре, стандартах и поддерживаемости.
Может ли он исправить код?
Он сообщает о находках, а любые исправления — отдельный шаг, который выбираете вы.
Подробности
Оригинальное описание автора
Architectural code review — coding standards, SOLID, testability, performance concerns.
Популярность
- Звёзды на GitHub
- 33k
- Место в рейтинге
- #8445
- Лицензия
- MIT
- Обновлён
- 18.10.2026
Комментарии
- …
Другие скиллы из этого репозитория
adopt
33kПроверяет, соответствуют ли документы игрового проекта шаблону студии, и пишет пронумерованный план миграции для устранения пробелов.
architecture-decision
33kЗаписывает архитектурное решение по техническому выбору: контекст, альтернативы и последствия, с проверкой нужными техническими ролями.
architecture-review
33kПроверяет, что технические решения покрывают все требования дизайна, не конфликтуют между собой и подходят версии движка, и выдаёт понятный вердикт.
art-bible
33kПишет арт-библию, которая определяет визуальную идентичность игры, чтобы создание ассетов следовало одному понятному набору правил стиля.
Похожие скиллы
diffs
394kПозволяет агенту создать настоящее сравнение правок в виде ссылки или файла изображения, которым можно поделиться, вместо ручной сводки.
coding-agent
394kПомогает агенту передать большую задачу по коду в Codex, Claude Code или OpenCode как фоновому исполнителю, а затем проверять ее ход.
gh-issues
394kПомогает агенту находить задачи GitHub, выбирать, над какими работать, и открывать запросы на слияние с исправлениями, включая ответы на комментарии рецензентов.