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) OR old-line-start/old-line-end (for deleted lines). Never both. If neither pair is present, it's a file-level comment.
  • viewed attribute: Set to true for all files (the AI "viewed" them all).
  • path on renames: For renamed files (change-type="renamed"), path is the new path.
  • change-type values: 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
Installs
1
GitHub Stars
19
First Seen
Mar 10, 2026