cmd-workflow-diff-review

Review code diffs for bugs, security risks, and maintainability issues.

2|Updated Jan 3, 2026
One-click install
npx skills add https://github.com/jlaws/dotfiles --skill cmd-workflow-diff-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cmd-workflow-diff-review
Source: https://github.com/jlaws/dotfiles/tree/main/.agents/skills/cmd-workflow-diff-review
Command: npx skills add https://github.com/jlaws/dotfiles --skill cmd-workflow-diff-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a disciplined, multi-perspective framework for diff and PR reviews, helping teams catch bugs, security gaps, and maintainability issues before merging.

Core Features & Use Cases

  • Phase-based review: Context, High-Level, Line-by-Line, and Summary phases to structure thorough analysis.
  • Multi-perspective checks: code quality, security, testing gaps, and language-specific gotchas.
  • Pre-Submission Diff Review: ensures diffs align with project conventions and patterns before opening a PR.

Quick Start

Run the pre-submission diff review to evaluate your current branch against main.

Frequently Asked Questions about cmd-workflow-diff-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform a multi-perspective code review on a pull request before merging?

Multi-perspective code review analyzes pull request diffs across security, quality, and testing lenses. It structures the analysis through Context, High-Level, Line-by-Line, and Summary phases to identify bugs, security risks, and maintainability issues before merging.

What is the best way to check a local git diff for security risks and testing gaps?

Checking a local git diff for security risks involves reading the local git state and applying a structured review protocol. This process evaluates code quality, security vulnerabilities, and testing gaps to deliver a structured findings report and a go/no-go decision guide.

Does automated diff review work with language-specific code patterns and project conventions?

Yes, automated diff review works with language-specific patterns by analyzing context, scope, and language-specific gotchas. It evaluates whether your code changes align with existing project conventions and patterns before you open a pull request.

Can I get a structured go/no-go merge decision guide directly from my branch diff?

Yes, you can get a structured go/no-go decision guide directly from your branch diff. The review workflow reads local git state, identifies performance concerns and maintainability issues, and outputs a clear decision guide for merging.

How do I review my branch against main before opening a PR?

To review your branch against main before opening a PR, run a pre-submission diff review. This evaluates your current changes across multiple perspectives to ensure they align with project conventions and catch bugs before submission.

What are the limitations of using a structured workflow for PR diff analysis?

The structured PR diff analysis workflow relies on reading local git state and the structured protocol in SKILL.md. Limitations include its dependency on local repository availability and the need to manually interpret the generated findings report for complex architectural decisions.