unity-code-review
Two-axis review of the current Git index (staged changes):
- Standards: does the code conform to this repo's documented coding standards?
- Spec: does the code faithfully implement the originating task / spec?
Both axes run as parallel sub-agents so they don't pollute each other's context, then this skill aggregates their findings.
Process
1. Establish the staged review set
Inspect git status --short and capture the review diff with git diff --cached, including staged additions, modifications, deletions, and renames. Record the staged file list with git diff --cached --name-status.
If there are no staged changes, report exactly No staged changes to review. and stop before spawning sub-agents.
The staged diff is the review boundary. Read staged file contents with git show :<path> so partially staged files are reviewed as they exist in the index, not the working tree. Read related files only as context; unstaged and untracked changes are outside the review scope.