sumo-qa-reviewing-before-merge

Analyze code diffs to identify file:line risks and run fresh tests before merge.

5|1|Updated May 12, 2026
One-click install
npx skills add https://github.com/sumithr/sumo-qa --skill sumo-qa-reviewing-before-merge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sumo-qa-reviewing-before-merge
Source: https://github.com/sumithr/sumo-qa/tree/main/skills/sumo-qa-reviewing-before-merge
Command: npx skills add https://github.com/sumithr/sumo-qa --skill sumo-qa-reviewing-before-merge

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you decide whether a code change is truly safe to merge by turning a “review my changes” request into a structured, evidence-backed walkthrough that runs fresh tests before any verdict.

Core Features & Use Cases

  • Section-by-section merge review: Reads the diff and changed files, then proceeds through discovery, confirmation gates, and a final decision.
  • Risk discovery anchored to code: Surfaces 3–7 named risks tied to specific file:line locations found during an adversarial sweep of the diff.
  • Fresh verification with a hard safety gate: Runs the test suite now (not “CI was green earlier”), then maps each named risk to a matching fresh test—otherwise it blocks the merge.

Quick Start

Ask your AI coding assistant to use sumo-qa-reviewing-before-merge to review your pull request and tell you what could break before you merge.

Frequently Asked Questions about sumo-qa-reviewing-before-merge

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

FAQPage Schema
How do I verify if my code changes are safe to merge before committing?

To verify merge safety, you need an evidence-first review that analyzes your diff, discovers file:line risks, and runs fresh verification tests to confirm those risks are covered. This prevents merging changes that could break existing functionality.

What is risk-to-test coverage mapping in code review?

Risk-to-test coverage mapping links each named risk found in your diff to a specific, freshly executed test that validates that failure mode. It acts as a verification gate, blocking the merge if any identified risk lacks a matching test.

How do I run an adversarial code review on a pull request diff?

An adversarial code review sweeps the diff to surface 3-7 named risks tied to exact file:line locations, then runs your test suite now to confirm those risks fail safely. This ensures your merge decision is backed by concrete evidence.

Why is fresh test evidence required before a merge safety verdict?

Fresh test evidence is required because relying on previous CI runs does not prove your current diff is safe. An Iron Law forbids declaring merge safety without running tests now and explicitly mapping each named risk to a matching test.

Can I use mutation testing to assess pull request risk before merging?

Yes, mutation testing and test planning help assess pull request risk by verifying that your tests catch introduced faults. This Skill uses similar verification gates to map discovered risks to fresh tests, ensuring your changes are safe to merge.

What could break when I merge this code change?

To find what could break, an adversarial sweep of your diff identifies 3-7 named risks at specific file:line locations. Fresh tests are then run to verify these failure modes, blocking the merge if any risk lacks test coverage.