Skip to content

Guide · Agent skill

How to use the Architectural Code Review agent skill (code-review)

Updated · written with AI from the project's own documentation and checked against our catalogue data

The Architectural Code Review skill is a packaged set of instructions that tells an AI coding agent how to review source files against a fixed checklist: coding standards, architecture rules and SOLID principles. This guide is for developers and teams who may never have used agent skills before. By the end you will know what the skill does, how to install it, how to ask for a review in plain language, and what it needs to run properly.

Architectural Code ReviewDonchitos/Claude-Code-Game-Studios · MIT

Quick start

  1. 1Download the ZIP. Download the code-review skill ZIP from this page and unzip it. You should see a folder containing SKILL.md.
  2. 2Choose the install location. Place the folder in ~/.claude/skills/ for personal use, or in your project's .claude/skills/ for a shared install.
  3. 3Or upload in the Claude apps. In the Claude apps, go to Settings, then Capabilities, then Skills, and upload the skill.
  4. 4Confirm the requirements. Make sure you are using Claude Code in a project with the Claude Code Game Studios structure, and that bash and git are available.
  5. 5Ask for a review. Request a review of a file or folder in plain words, or run /code-review with a path.
  6. 6Read the verdict. Check each section for PASS-style findings, violations, or NOT ASSESSED entries, and verify any finding against the cited file and line.

What is an agent skill and what does this one make the agent do?

An agent skill is a folder containing a SKILL.md file that gives an AI agent specific instructions for a task. When you ask your agent to review code, this skill makes it check the files against a fixed checklist rather than writing a free-form opinion.

The checklist covers three areas. Coding standards include doc comments on public methods and classes, cyclomatic complexity under 10 per method, no method longer than 40 lines (excluding data declarations), injected dependencies rather than static singletons for game state, and configuration loaded from data files. Architecture rules include correct dependency direction, no circular dependencies between modules, proper layer separation so UI does not own game state, and events or signals for cross-system communication. SOLID checks cover single responsibility, open/closed, Liskov substitution, interface segregation and dependency inversion.

If the project keeps architecture decision records (ADRs), the skill also looks for ADR references in the story file, the header comments of the implementation files and git commit messages, then checks whether the code follows the referenced decisions. Deviations are classified as ARCHITECTURAL VIOLATION (blocking), ADR DRIFT (warning) or MINOR DEVIATION (info).

Install the code-review skill from a ZIP file

Download the ZIP for the skill from this page and unzip it. The folder you get contains SKILL.md. Where you put it depends on how you want to use it.

For a personal install available across your projects, unzip the skill into ~/.claude/skills/. For a single project, unzip it into that project's .claude/skills/ folder so it is shared with everyone who works in the repository.

If you use the Claude apps instead of the command line, you can upload the skill in Settings, then Capabilities, then Skills.

  • Personal install: ~/.claude/skills/code-review/
  • Project install: .claude/skills/code-review/ inside your project
  • Claude apps: Settings → Capabilities → Skills, then upload

Check the requirements before you run it

This skill is designed for Claude Code working inside the Claude Code Game Studios project structure. It expects the hooks/yaml-helper.sh script and the .claude/docs files that the template provides. It also needs bash for its configuration helper script and git, because ADR lookup reads commit history.

The skill runs scripts and does not use the network. Its allowed tools are Read, Glob, Grep, Agent, AskUserQuestion and a small set of git log and config-helper commands.

  • Claude Code
  • Claude Code Game Studios project structure (hooks/yaml-helper.sh and .claude/docs files)
  • bash
  • git

How to trigger a review with a natural request

The skill takes an optional path argument: a file or a directory. You can invoke it directly, or describe what you want in ordinary words and let the agent select the skill.

If you want to add ADR checking to a file review, include the story file path as the last argument. The skill reads that story to find the governing ADR reference.

  • Review Assets/Scripts/Combat/Attack.cs against our coding standards
  • Do an architectural review of the combat folder and check it against SOLID
  • Check the inventory system code against the ADRs
  • Review this file for dependency direction and testability
/code-review Assets/Scripts/Combat/Attack.cs production/epics/combat/story-001.md

Read the output honestly: NOT ASSESSED is a valid result

The skill is strict about missing inputs. Before producing a report, it records whether each input it needs is FOUND or ABSENT. If a required input is missing, the affected section is reported as NOT ASSESSED rather than filled with an invented clean result. If every required input is missing, the whole verdict is NOT ASSESSED, and the report names what was missing.

This matters for reading results. A green result from a scan that had no files to scan has verified nothing, and the skill is designed to say which situation occurred.

  • Engine validation is reported as NOT ASSESSED when no engine is configured in project.yaml
  • ADR Compliance reports NO ADRS FOUND when no references exist, which is different from NOT ASSESSED
  • Findings are expected to include file and line, quoted evidence and a confidence level

Safety notes: scripts and what they touch

The skill runs a configuration helper script, resolve_config from hooks/yaml-helper.sh, when it loads. Read the SKILL.md and the script before installing it in a shared repository, so you know what runs on your machine. The skill does not use the network.

Review the findings yourself before acting on them. The skill is instructed to verify specialist findings before reporting them, but a report is still a reasoned judgement, not a guarantee.

Tips for useful reviews

Narrow the scope. A single file or one folder gives more precise findings than the whole repository. Provide the story path when your team uses ADRs, since without it the ADR check relies on references found in code and commits.

Keep the studio folder structure intact. Removing hooks, docs or project.yaml will leave setup steps and referenced docs missing, and those parts will be reported as not assessed.

  • Start with one file to see the report format
  • Add the story path to enable full ADR compliance review
  • Expect NOT ASSESSED where your project lacks the expected files

What people use it for

  • Reviewing a combat script for method length, complexity and dependency injection before merging
  • Checking that a gameplay system does not depend on UI classes or create circular module dependencies
  • Verifying that new code follows the architecture decision records referenced in a story file
  • Running a SOLID review of a service class during a team code review

Frequently asked questions

How do I install the code-review agent skill?

Download the ZIP from this page and unzip it. Put the folder in ~/.claude/skills/ for personal use, or in your project's .claude/skills/ folder for a shared install. In the Claude apps you can instead upload it under Settings, then Capabilities, then Skills.

What do I need to run the code-review skill?

You need Claude Code working in a Claude Code Game Studios project structure, including hooks/yaml-helper.sh and the .claude/docs files, plus bash for the configuration helper and git for reading commit history used in ADR lookup.

Is the code-review skill free?

The skill is published under the MIT licence. This page does not state pricing for Claude Code or the Claude apps, so check those providers for their own terms.

Does the code-review skill work outside the Claude Code Game Studios template?

It is built for that template structure. Without the hooks, docs and project.yaml files, the setup step and referenced docs will be missing, and parts of the review will be reported as NOT ASSESSED.

Is code-review a linter?

No. It is an architectural review that reads files and reasons about them. It does not run a linter, so use a dedicated linting tool for quick style and formatting checks.

Why did my review say NOT ASSESSED?

A required input was missing, such as an engine setting, a referenced ADR file or a data source the skill expects. The skill reports NOT ASSESSED instead of a clean pass. Check which input was reported as absent and add it, or accept that the section cannot be verified.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

Use this skill if you work in the Claude Code Game Studios template or a similar structure, want consistent architectural reviews of files and folders, or record decisions as ADRs. Pick something else if you only need quick style or lint checks, or if your project lacks the surrounding studio folder structure, since many checks will come back as not assessed.

Download the skill