Redundancy Detection Skill

Detect redundant test scenarios across seven programming languages using equivalence classes.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ai-sand-castles/local-marketplace --skill redundancy-detection-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Redundancy Detection Skill
Source: https://github.com/ai-sand-castles/local-marketplace/tree/main/test-automation-plugin/skills/redundancy-detection
Command: npx skills add https://github.com/ai-sand-castles/local-marketplace --skill redundancy-detection-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Redundancy in test generation leads to wasted effort and bloated test suites. This skill provides a principled way to detect and prevent generating tests that cover the same equivalence-class of inputs for the same function.

Core Features & Use Cases

  • Equivalence-class definitions and normalization rules for 7 languages
  • Cross-file and same-file redundancy detection workflow
  • Actionable blocking messages when a redundancy is detected
  • Edge-case awareness to ensure critical scenarios are tested

Quick Start

Run the redundancy-detection workflow to classify proposed tests and compare them against existing coverage, blocking only when a true redundancy is detected.

Frequently Asked Questions about Redundancy Detection Skill

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

FAQPage Schema
How do I prevent redundant test generation across multiple programming languages?

Detect overlapping test scenarios by mapping proposed test inputs to language-agnostic equivalence classes, comparing them against existing coverage across Python, JavaScript/TypeScript, Java, C#, Go, and C++.

What is equivalence class mapping in software testing?

Equivalence class mapping normalizes proposed test inputs into language-agnostic categories to identify functionally similar scenarios. This mechanism detects cross-file and same-file overlaps to block redundant tests from being generated.

Does the redundancy detection workflow support Go and C++ files?

Yes, the redundancy detection workflow supports Go and C++ files. It applies equivalence-class definitions and normalization rules across seven languages including Python, JavaScript, TypeScript, Java, C#, Go, and C++.

How do I run a cross-file redundancy check for test scenarios?

Run the redundancy-detection workflow to classify proposed tests and compare them against existing coverage. It performs cross-file and same-file analysis, surfacing actionable blocking messages when a true redundancy is detected.

Why does my test generator keep creating duplicate test cases for edge cases?

Duplicate edge cases occur without equivalence-class normalization. Using a conservative threshold to map inputs to language-agnostic classes identifies and blocks redundant test scenarios while ensuring critical edge cases are still tested.