fix-test

Diagnose and repair failing Bash tests with a structured debugging workflow.

421|52|Updated Sep 4, 2023
One-click install
npx skills add https://github.com/TypedDevs/bashunit --skill fix-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-test
Source: https://github.com/TypedDevs/bashunit/tree/main/.claude/skills/fix-test
Command: npx skills add https://github.com/TypedDevs/bashunit --skill fix-test

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps engineers systematically diagnose and repair failing Bash tests, reducing time spent on ad-hoc debugging and unstable test runs.

Core Features & Use Cases

  • Structured workflow to identify failing tests and classify root causes (test bugs, implementation bugs, environment issues, race conditions, flaky tests)
  • Guided steps for analysis, fixes, and verification to ensure regression-free changes
  • Documentation-ready outputs to capture root causes, fixes, and verification results

Quick Start

Invoke /fix-test when tests fail to start the guided debugging workflow.

Frequently Asked Questions about fix-test

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

FAQPage Schema
How do I fix failing bash tests in my CI/CD pipeline?

Fix failing bash tests by running a structured debugging workflow that identifies failures, classifies root causes like environment issues or flaky tests, and guides remediation for reproducible outcomes.

What is the best way to debug flaky tests in bashunit?

Debug flaky tests using a structured workflow that classifies root causes including race conditions, implementation bugs, and test bugs to ensure regression-free changes and stable local test suites.

How do I systematically diagnose failing test suites?

Systematically diagnose failing test suites through guided steps for analysis, fixes, and verification, producing documentation-ready outputs that capture root causes and verification results.

Can I use a structured workflow to classify root causes for failing tests?

Yes, you can classify root causes for failing tests into categories like test bugs, implementation bugs, environment issues, race conditions, and flaky tests using a repeatable structured workflow.

Does this debugging workflow work for local test suites built with bashunit?

Yes, this debugging workflow handles both CI/CD and local test suites built with bashunit, providing traceable fixes and clear guidance for identifying, analyzing, and remedying test failures.