test-prerequisite-detection

Classify test failures into prerequisite, environment, and feature defects.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/mdmagnuson-creator/helm-ade-toolkit --skill test-prerequisite-detection
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-prerequisite-detection
Source: https://github.com/mdmagnuson-creator/helm-ade-toolkit/tree/main/skills/test-prerequisite-detection
Command: npx skills add https://github.com/mdmagnuson-creator/helm-ade-toolkit --skill test-prerequisite-detection

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers and testers quickly identify the root cause of test failures, distinguishing between genuine feature bugs, environment issues, and setup problems, thereby reducing debugging time.

Core Features & Use Cases

  • Failure Classification: Automatically categorizes test failures into 'Prerequisite', 'Feature', 'Test Invalid', or 'Environment' types.
  • Environment Issue Detection: Identifies and suggests recovery for infrastructure-level problems like port conflicts or zombie processes.
  • Blocker Tracking: Manages and tracks recurring prerequisite failures in test-debt.json for efficient resolution.
  • Use Case: When an automated test fails, this Skill analyzes the error output to determine if the login prerequisite failed, if a UI element for the feature is missing, or if a port conflict is preventing the test from running.

Quick Start

Use the test-prerequisite-detection skill to classify the latest test failure.

Frequently Asked Questions about test-prerequisite-detection

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

FAQPage Schema
How do I classify test failures to distinguish environment issues from feature defects?

Test failure classification analyzes error output and test file markers to categorize failures into 'Prerequisite', 'Feature', 'Test Invalid', or 'Environment' types, distinguishing genuine bugs from setup problems. This reduces debugging time by pinpointing the exact root cause.

What is test debt and how do I track recurring prerequisite blockers?

Test debt refers to persistent prerequisite failures that block testing. This Skill tracks recurring prerequisite blockers in a dedicated JSON file, managing and recording these failures for efficient resolution and continuous visibility.

How do I detect environment issues like port conflicts or zombie processes during automated testing?

Environment issue detection identifies infrastructure-level problems like port conflicts or zombie processes by analyzing test error output. It recognizes these specific failures and suggests automated recovery actions to restore the testing environment.

Does test failure classification work without external dependencies or frameworks?

Yes, test failure classification operates without external dependencies. It utilizes heuristic pattern matching on error output and test file markers internally to categorize failures and generate structured output for clear identification.

Why do my automated tests fail when the login prerequisite fails instead of showing a feature bug?

Automated tests fail when login prerequisites fail because the feature test cannot execute properly. This Skill analyzes error output to determine if a prerequisite failed, a UI element is missing, or a port conflict prevents execution.

Can I automate recovery for environment issues detected during test failure classification?

Yes, you can automate recovery for environment issues. The Skill identifies infrastructure-level problems during classification and suggests automated recovery actions to resolve environment failures and allow test execution to proceed.