con un clic
triage
// Use when analyzing a git diff to build structured review briefs for subagents. Reads the diff, project config, and reference docs, then groups changes into review units and produces briefs using the review-brief template.
// Use when analyzing a git diff to build structured review briefs for subagents. Reads the diff, project config, and reference docs, then groups changes into review units and produces briefs using the review-brief template.
Use when merging reports from multiple review subagents into a single consolidated output with deduplication, structured ID assignment, cross-unit findings, and a final verdict.
Use when considering whether review findings or engineer responses suggest the project's living reference docs need updating. Proposes changes explicitly and requires engineer confirmation before writing.
| name | triage |
| description | Use when analyzing a git diff to build structured review briefs for subagents. Reads the diff, project config, and reference docs, then groups changes into review units and produces briefs using the review-brief template. |
Analyze the current git diff and produce structured review briefs that subagents can act on without needing to re-analyze the raw diff themselves. This skill runs in the main context (not as a subagent).
/code-reviewer:review (or /review) or phase-specific review invocation, after the setup guard passesBefore doing any analysis, check that both exist:
.cursor/code-reviewer/config.md (project config).cursor/code-reviewer/reference/ directory with at least one reference docIf either is missing, stop and tell the user:
"No project configuration found. Run
/code-reviewer:setupfirst to analyze your codebase and generate reference docs."
.cursor/code-reviewer/config.md to get base_branch (default: auto-detect main or master)git diff {base_branch}...HEAD --stat to get the file list and change summarygit diff {base_branch}...HEAD to get the full diffgit log {base_branch}..HEAD --oneline to get commit messages.cursor/code-reviewer/config.md — parse YAML frontmatter for config, read markdown body for project context.cursor/code-reviewer/reference/:
style-guide.mdtesting-practices.mdsecurity-posture.md (if exists)api-conventions.md (if exists)Using your judgment based on the diff, config, and project context:
languages and key_paths config fields as hints, but use your judgmentFor very large diffs (50+ files or very extensive changes), warn the user:
"This diff is very large ({N} files changed). I'll split it into {M} review units. For faster feedback, consider reviewing in smaller batches by committing incrementally."
For each review unit, fill in the .cursor/code-reviewer/templates/review-brief.md template:
Create an additional brief for the adversarial reviewer that contains:
Return: