Skip to content
Agentmart
Submit a tool
This entry duplicates interactive-diff-review, which is the one we list in search.

interactive-diff-review

Guarded patch inspection, regression analysis, memory safety review, and pre-commit diff auditing.

Skill by M4F-S

IndexedApache-2.0
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/m4f-s-interactive-diff-review-dd9aed

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Guarded patch inspection, regression analysis, memory safety review, and pre-commit diff auditing.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
interactive-diff-review
Description
Guarded patch inspection, regression analysis, memory safety review, and pre-commit diff auditing.
License
Apache-2.0
Instructions
33 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Interactive Diff Review & Pre-Commit Audit Protocol

## Objective
Thoroughly inspect all staged or unstaged code mutations before committing. Guarantee zero regressions, deterministic resource management, and strict conformance to repository standards.

## Execution Steps

1. **Diff Extraction**:
   - Run `git_status` to identify modified, added, or untracked files.
   - Run `git_diff` with `staged=false` for working copy changes or `staged=true` for staged changes.
   - For focused inspections, provide the exact `path` parameter to `git_diff`.

2. **Multi-Vector Audit**:
   - **Functional Correctness**: Verify the diff directly addresses the user request without scope creep or unintended side effects.
   - **Memory & Resource Safety**:
     - Check every `malloc`/`calloc` has a non-NULL check and corresponding deterministic `free`.
     - Check file descriptors, SQLite statements, sockets, and child processes are reaped on all exit paths.
     - Verify buffer bounds and ensure no unbounded string functions (`strcpy`, `sprintf`) are introduced.
   - **Error Propagation**: Ensure error return codes are checked, not silently swallowed.
   - **Style & Documentation**: Preserve existing comments, formatting, and public interface signatures.

3. **Compilation & Test Gating**:
   - Run the project test suite (`bash` with `make test` or equivalent) to verify 100% clean execution.
   - If ASan/UBSan targets are available, run sanitizer builds to verify 0 memory leaks and 0 undefined behaviors.

4. **Structured Review Report**:
   - Present a clear summary categorized by:
     - **Files Changed**: List of files and lines added/deleted.
     - **Safety Assessment**: Clean / Warnings / Blockers.
     - **Verification Evidence**: Test commands executed and exit codes.
     - **Recommended Action**: Proceed to commit or patch fixes required.

From M4F-S/Belya, Apache-2.0.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Oct 13, 2026 (16 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from M4F-S

Cite this page

interactive-diff-review skill. Agent Mart. https://agentmart.dev/skills/m4f-s-interactive-diff-review-dd9aed (last updated 2026-10-24)