near-miss

Isolate and fix individual failing tests while preventing regressions in passing suites.

1|Updated Dec 26, 2025
One-click install
npx skills add https://github.com/DammianMiller/universal-agent-memory --skill near-miss
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: near-miss
Source: https://github.com/DammianMiller/universal-agent-memory/tree/main/.factory/skills/near-miss
Command: npx skills add https://github.com/DammianMiller/universal-agent-memory --skill near-miss

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the common scenario where a test suite has a high pass rate but still contains a few failures, preventing full completion. It provides a structured approach to isolate and fix these specific failing tests efficiently.

Core Features & Use Cases

  • Targeted Debugging: Focuses solely on the failing tests identified by the test runner.
  • Regression Prevention: Emphasizes fixing issues without negatively impacting already passing tests.
  • Iterative Improvement: Encourages a methodical, one-fix-at-a-time approach.
  • Use Case: When your CI pipeline shows 9 out of 10 tests passing, use this Skill to quickly pinpoint and resolve the single failing test to achieve full test suite success.

Quick Start

Use the near-miss skill to fix the specific failing tests identified in the latest test run output.

Frequently Asked Questions about near-miss

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

FAQPage Schema
How do I fix failing tests without breaking passing ones in my test suite?

To fix failing tests without breaking passing ones, isolate and diagnose individual test failures iteratively. Apply a targeted debugging strategy that resolves specific errors while strictly preventing regressions in the existing passing test suite.

What is the best way to resolve a few failing tests when the CI/CD pipeline has a high pass rate?

The best way to resolve a few failing tests in a high-pass-rate CI/CD pipeline is targeted debugging. This method focuses solely on isolating the specific failing tests identified by the runner and fixing them one at a time.

How do I isolate and debug a specific failing test identified by pytest?

You isolate and debug a specific failing test by implementing an iterative refinement strategy. Focus exclusively on the failing test output, diagnose the individual failure, and apply a fix without altering code that maintains passing tests.

Can I use this targeted debugging approach for any test framework in a CI/CD pipeline?

Yes, this targeted debugging approach applies to any testing scenario within a CI/CD pipeline where a significant majority of tests pass. It isolates specific failures and ensures code quality through iterative refinement regardless of the specific framework.

Why does fixing one failing test cause regressions in previously passing tests?

Fixing one failing test causes regressions in passing tests when changes are too broad. Prevent this by using a targeted debugging strategy that isolates the specific failure and strictly prevents negative impacts on the existing passing test suite.