test-fixing

Run test suites, group failures by root cause, and fix them.

Updated Jan 8, 2026
One-click install
npx skills add https://github.com/AndyAnh174/BanThuoc-SEO --skill test-fixing-andyanh174
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-fixing
Source: https://github.com/AndyAnh174/BanThuoc-SEO/tree/main/.agent/skills/test-fixing
Command: npx skills add https://github.com/AndyAnh174/BanThuoc-SEO --skill test-fixing-andyanh174

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of identifying, grouping, and fixing failing tests within a project, ensuring a stable and reliable codebase.

Core Features & Use Cases

  • Automated Test Execution: Runs the test suite to identify all failures.
  • Smart Error Grouping: Groups similar errors by type, module, or root cause for efficient debugging.
  • Systematic Fixing: Guides through a step-by-step process to resolve issues, prioritizing infrastructure and API changes before logic bugs.
  • Use Case: After a major refactor, your test suite has numerous failures. This Skill will help you pinpoint the root causes, fix them efficiently, and ensure all tests pass before merging.

Quick Start

Use the test-fixing skill to run make test and fix all failing tests.

Frequently Asked Questions about test-fixing

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

FAQPage Schema
How do I fix failing tests systematically after a major code refactoring?

To fix failing tests systematically after refactoring, you need a process that executes the test suite, groups similar errors by root cause, and prioritizes infrastructure and API changes before logic bugs. This approach pinpoints root causes efficiently to ensure all tests pass before merging.

What is the best way to debug multiple assertion failures and import errors in a test suite?

The best way to debug multiple assertion failures and import errors is using smart error grouping strategies. By grouping similar errors by type or module, you can systematically resolve configuration issues and API changes in batches rather than addressing them individually.

How do I resolve test suite failures caused by dependency updates?

To resolve test suite failures caused by dependency updates, run your test commands to identify all failures, then group the resulting import errors and attribute errors by module. This allows you to systematically modify code and fix configuration issues iteratively until the suite passes.

Can I automate test execution and error grouping for CI/CD pipelines?

Yes, you can automate test execution and error grouping for CI/CD pipelines. Automated test execution identifies all failures, while smart error grouping categorizes them by type or root cause, enabling efficient debugging and stable codebases before deployment.

Does systematic test fixing work for both configuration issues and logic bugs?

Yes, systematic test fixing works for both configuration issues and logic bugs. The process systematically guides you through a step-by-step resolution, deliberately prioritizing infrastructure and API changes before addressing underlying logic bugs to restore codebase stability.

Why should I group similar test errors by root cause instead of fixing them individually?

You should group similar test errors by root cause instead of fixing them individually to maximize debugging efficiency. Smart error grouping identifies shared module failures, allowing you to resolve multiple import errors or attribute errors with a single targeted code modification.