code-review
O que ela faz
Esta skill revisa código quanto à qualidade de estrutura e de design. É para desenvolvedores que querem uma segunda análise experiente das suas alterações.
Quando usar
- ✓Quando você quer uma revisão de um arquivo ou de uma alteração em busca de problemas de design e de estrutura.
- ✓Quando o código é difícil de testar e você quer saber o motivo.
- ✓Quando você quer verificar uma alteração contra os padrões de codificação antes de fazer o merge.
Link da skill
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/code-review/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Revise este arquivo do sistema de combate em busca de problemas de arquitetura e de testabilidade.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
Ela lê o código-alvo e o verifica contra padrões de codificação e princípios de design, como SOLID, testabilidade e desempenho. Relata os achados com as partes específicas do código que eles afetam.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
Qual é o foco principal?
Qualidade de arquitetura e de design, como padrões, princípios SOLID e testabilidade.
É uma revisão de segurança?
Não. Ela foca em arquitetura, padrões e manutenibilidade.
Ela pode corrigir o código?
Ela relata os achados, e qualquer correção é uma etapa separada que você escolhe.
Detalhes
Descrição original do autor
Architectural code review — coding standards, SOLID, testability, performance concerns.
Popularidade
- Estrelas no GitHub
- 33 mil
- Posição no ranking
- #8445
- Licença
- MIT
- Atualizada em
- 18/10/2026
Comentários
- …
Mais skills deste repositório
adopt
33 milVerifica se os documentos de um projeto de jogo existente seguem os formatos do template do estúdio e, em seguida, escreve um plano de migração numerado para corrigir as lacunas.
architecture-decision
33 milEscreve um registro de decisão de arquitetura para uma escolha técnica, cobrindo contexto, alternativas e consequências, com revisão pelos papéis técnicos adequados.
architecture-review
33 milVerifica se suas decisões técnicas cobrem todos os requisitos de design, não entram em conflito e se encaixam na versão da engine, com um veredito claro de aprovação ou de preocupação.
art-bible
33 milEscreve um art bible que define a identidade visual do seu jogo, para que a produção de recursos siga um único conjunto claro de regras de estilo.
Skills parecidas
diffs
394 milPermite que seu agente gere um diff real e compartilhável das edições, como link de visualização ou arquivo de imagem, em vez de um resumo escrito à mão.
coding-agent
394 milAjuda seu agente a passar um trabalho grande de programação para o Codex, Claude Code ou OpenCode em segundo plano e acompanhar o andamento.
gh-issues
394 milAjuda seu agente a encontrar issues do GitHub, escolher quais resolver e abrir pull requests com correções, acompanhando os comentários de revisão.