Catalog
fauziyasin-s2m4qw/review-changes

fauziyasin-s2m4qw

review-changes

Review uncommitted or recently committed documentation changes for correctness, coherence, and style compliance. Use before creating a PR to catch issues. "review my changes", "review the diff", "check the fix before submitting", "does this look right".

v1.0LATEST
NewUpdated Nov 27, 2026

Review Changes

Evaluate whether the changes correctly and completely solve the stated problem, without introducing new issues. Start with no assumptions — the change may contain mistakes. Your job is to catch what the writer missed, not to rubber-stamp the diff.

1. Identify what changed

Determine the scope of changes to review:

# Uncommitted changes
git diff --name-only

# Last commit
git diff --name-only HEAD~1

# Entire branch vs main
git diff --name-only main...HEAD

Pick the right comparison for what's being reviewed. If reviewing a branch, use main...HEAD to see all changes since the branch diverged.

2. Read each changed file in full

Do not just read the diff. For every changed file, read the entire file to understand the full context the change lives in. A diff can look correct in isolation but contradict something earlier on the same page.

Then read the diff for the detailed changes:

# Adjust the comparison to match step 1
git diff --unified=10              # uncommitted
git diff --unified=10 HEAD~1       # last commit
git diff --unified=10 main...HEAD  # branch

3. Follow cross-references

For each changed file, check what links to it and what it links to:

  • Search for other pages that reference the changed content (grep for the filename, heading anchors, or key phrases)
  • Read linked pages to verify the change doesn't create contradictions across pages
  • Check that anchor links in cross-references still match heading IDs

A change that's correct on its own page can break the story told by a related page.

4. Verify factual accuracy

Don't assume the change is factually correct just because it reads well.

  • If the change describes how a feature behaves, verify against upstream docs or source code
  • If the change includes a URL, check that it resolves
  • If the change references a CLI flag, option, or API field, confirm it exists

5. Evaluate as a reader

Consider someone landing on this page from a search result, with no prior context:

  • Does the page make sense on its own?
  • Is the changed section clear without having read the issue or diff?
  • Would a reader be confused by anything the change introduces or leaves out?

Accuracy alone doesn't justify an addition. For each substantive addition, ask:

  • Does it help readers act, choose, or understand a consequence?
  • Does it belong under this heading and at this point in the explanation?
  • Does it interrupt a procedure, example, or explanation already in progress?
  • Is the detail proportional to its value here, or would a link suffice?
  • Would removing it improve the page without losing necessary guidance?

Recommend shortening, moving, or deleting accurate text when it doesn't serve the page's task. When reviewing multiple commits, check both each change in context and the combined diff for repeated explanations.

6. Review code and template changes

For non-Markdown changes (JS, HTML, CSS, Hugo templates):

  • Trace through the common execution path
  • Trace through at least one edge case (no stored preference, Alpine fails to load, first visit vs returning visitor)
  • Ask whether the change could produce unexpected browser or runtime behavior that no automated tool would catch

7. Decision

Approve if the change is correct, coherent, complete, and factually accurate.

Request changes if:

  • The change does not correctly solve the stated problem
  • There is a factual error or contradiction (on-page or cross-page)
  • A cross-reference is broken or misleading
  • A reader would be confused
  • An addition duplicates guidance or disrupts the page without enough reader value

When requesting changes, be specific: quote the exact text that is wrong, explain why, and suggest the correct fix.

Overall Score

82/100

Grade

B

Good

Grades are signals, not a certification. Always review a skill yourself before use.

Safety

88

Quality

82

Clarity

85

Completeness

72

Summary

This skill guides an AI agent to review uncommitted or recently committed documentation changes for correctness, coherence, and style compliance. It provides a structured 7-step review process: identifying the scope of changes, reading full context, following cross-references, verifying factual accuracy, evaluating reader experience, checking code/template changes, and making an approval decision with specific feedback.

Detected Capabilities

git command executionfile readingfilesystem search/grepURL validationcode tracing and analysis

Trigger Keywords

Phrases that agents use to match this skill to user intent.

review documentation changescheck diff before PRvalidate cross-referencesfact-check docsreview commit changes

Risk Signals

INFO

git diff and git log commands to read uncommitted changes and commit history

Section 1 and 2
INFO

No file writes, deletions, or privilege escalation

Throughout
INFO

No network requests or credential access

Throughout
INFO

No shell command injection risk — commands are literal

Bash blocks

Use Cases

  • Catch documentation errors before creating pull requests
  • Verify cross-references and anchor links in multi-page docs
  • Validate factual accuracy of technical documentation updates
  • Ensure reader clarity and completeness of doc changes
  • Review code and template changes in documentation repositories
  • Check that hyperlinks in documentation still resolve
  • Identify duplicate or redundant explanations across related pages

Quality Notes

  • Strength: Clear 7-step process with well-defined scope — reviewing documentation changes only
  • Strength: Explicitly instructs agent to read full files and follow cross-references, not just diffs
  • Strength: Provides concrete evaluation criteria (factual accuracy, reader clarity, proportionality)
  • Strength: Includes edge case guidance (e.g., tracing code paths for first-time vs. returning visitors)
  • Strength: Specifies what 'done' looks like — explicit Approve vs. Request Changes decision point
  • Strength: Good use of bash code blocks to show git commands without requiring execution
  • Limitation: Does not specify what file extensions or directories the agent should focus on (Markdown vs. all files)
  • Limitation: No guidance on handling large diffs or when to defer review to multiple passes
  • Limitation: Error handling not explicitly documented (e.g., what to do if git commands fail)
  • Limitation: No mention of version control best practices (e.g., checking git blame for context)
Model: claude-haiku-4-5-20251001Analyzed: Nov 27, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Use fauziyasin-s2m4qw/review-changes in your dev environment

Command Palette

Search for a command to run...