skills/unity-review-pr/SKILL.md
Use this skill to review Unity GitHub pull requests. Use when the user provides a PR URL/number, or asks to "review PR", "pull request", "merge", "is this ready".
npx skillsauth add cuozg/oh-my-skills unity-review-prInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Complete end-to-end workflow for reviewing Unity GitHub pull requests.
references/output-template.md. Do not bundle multiple issues into one comment, do not summarize an issue without the template, and do not invent alternate prose formats.gh pr view {pr} --json {number,author,labels,files,commits,headRefOid}.Group files by type (.cs, .prefab, .unity, .mat, .shader). Ignore .meta.
Build a map from PR file patches: { path, line, side }. Only inline comment if the line exists in the patch hunk. If the patch is null or line is not commentable, move the finding to the review body (avoids "Line could not be resolved").
Spawn parallel reviewers for each file type with a strict schema. See unity-standards/references/review/parallel-review-criteria.md. Split work for big scopes.
Validate only high-confidence findings. Deduplicate by (path, line).
Before submitting review, convert findings into two groups: inline_comments only for commentable PR patch lines, and body_findings for large files, hidden patches, or non-commentable lines.
*** MANDATORY ***
Follow references/output-template.md exactly for the review payload, review body, and every issue comment.
Before submission, run a strict format preflight:
body_findings as its own small comment-formatted block using the same issue-comment template.gh api repos/{owner}/{repo}/pulls/{pr}/reviews --method POST --input review.json.COMMENT that still includes every issue as its own small comment-formatted block from references/output-template.md.tools
Generate Unity raster image assets through Unity MCP: game sprites, item art, backgrounds, UI icons, portraits, concept images, transparent cutouts, image edits, upscales, background removal, and Unity scene or Game View screenshots. Use when a Unity project needs image files imported under Assets or screenshots captured from the editor. Do not use for meshes, audio, animation, materials, gameplay code, UI Toolkit layout, or generic non-Unity image generation.
tools
Create Unity technical solution documents from user requirements, feature ideas, bug goals, specs, or codebase problems. Use when the user asks for a technical approach, architecture, implementation strategy, solution options, feasibility analysis, system design, or "how should we build/fix this" for Unity runtime, Editor, tools, assets, data, UI, WebGL, SDKs, or production pipelines.
tools
Orchestrate Unity Editor via MCP (Model Context Protocol) tools and resources. Use when working with Unity projects through MCP for Unity - creating/modifying GameObjects, editing scripts, managing scenes, running tests, or any Unity Editor automation. Provides best practices, tool schemas, and workflow patterns for effective Unity-MCP integration.
development
Convert a spec document into an implementation TODO list in the same spec folder. U se when the user says goal-todo, todo from spec, generate tasks from spec, turn this spec into todos, create implementation checklist, extract tasks, or asks to read a Docs/Specs design doc and produce what must be implemented. Includes UI/UX review and codebase investigation before writing the checklist. Do not use for implementing the tasks, creating new goal files, writing test cases, or verifying completed work.