self-review-critique
Installation
SKILL.md
Critique a Git Diff
Analyze a git diff, identify issues, and produce a review.xml file that can be loaded into
self-review via --resume-from for human validation.
XML Reference
Non-obvious semantics (keep in sync with ../self-review-apply/assets/self-review-v1.xsd):
- Line number pairing: A comment has exactly one pair —
new-line-start/new-line-end(for added/context lines) ORold-line-start/old-line-end(for deleted lines). Never both. If neither pair is present, it's a file-level comment. viewedattribute: Set totruefor all files (the AI "viewed" them all).pathon renames: For renamed files (change-type="renamed"),pathis the new path.change-typevalues:added,modified,deleted,renamed.original-code: Must be the exact text at the referenced lines — copied verbatim from the file content. The applying agent uses text matching to locate the replacement target.
1. Parse Arguments
Related skills