Skip to content
Back to skills

Regression Guard

ASecurity

Guard a landed fix against regression by analyzing its diff for test-coverage gaps. Use after a bug fix lands, or when asked whether a fix is covered, what tests it needs, or how the bug could have been caught earlier.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agentsgit

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add nuroctane/nur-cli --skill regression-guard --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Regression Guard?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Regression Guard
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nuroctane-regression-guard/badge)](https://www.skillsdirectory.com/skills/nuroctane-regression-guard)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: regression-guard
description: Guard a landed fix against regression by analyzing its diff for test-coverage gaps. Use after a bug fix lands, or when asked whether a fix is covered, what tests it needs, or how the bug could have been caught earlier.
---

# Regression guard

A fix without a test for its cause will regress silently. Work from the
landed diff, not from the bug report's memory of it.

1. **Read the diff.** `git diff` or `git show` for the fix commit. List
   every behavior the diff changed, including edge cases it touched
   indirectly (bounds, empty inputs, error paths, ordering).
2. **Map coverage.** For each changed behavior, find the test that covers
   it. A test that passes with the fix and fails without it is coverage;
   a test that passes either way is not. Name the uncovered behaviors
   explicitly.
3. **Generate the missing tests.** Write a unit or regression test per
   uncovered behavior, smallest first. Each test names the behavior, the
   input, and the expected output, and fails without the fix.
4. **Audit how the bug could have been caught earlier.** Ask, per
   uncovered behavior: what test, check, or review step would have caught
   it before it shipped? Record the answer as a concrete addition (a
   test, a lint rule, a checklist item), not as a general lesson.
5. **Report.** Ranked list: covered behaviors, uncovered behaviors with
   their new tests, and the earlier-catch additions. Change nothing
   beyond the tests the user picks, unless the user asked for the full
   guard pass.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.