Diff Reviewer: Review Your Local Git Changes Like a Pull Request
dsh-plugin-diff-reviewer is a DSH community plugin maintained by thegabopacheco-sudo (admin-security, v0.1.0, MIT). It leverages the MCP tools `status` and `review` to inspect local Git diffs for file-level and line-level issues, including exposed keys, `console.log` statements, TODO comments, lockfile changes, and a risk checklist with a computed score. To install, go to DSH Settings → Plugins, or run `dsh plugin --profile` to add `github:thegabopacheco-sudo/dsh-plugin-diff-reviewer`. The plugin operates in read-only mode by default; any write operation requires explicit confirmation. You can enforce read-only behavior via the environment variable `DSH_DIFF_REVIEWER_MODE=read-only`. Audit logs are written to `cache/diff-reviewer/audit.jsonl`. It is well suited for aligning review conclusions with an Agent prior to committing.
Read More