test-fix

Diagnose failing tests, apply formatting and linting fixes, and re-run the test suite.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Aitronos-Development/aitronos-standards --skill test-fix-aitronos-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-fix
Source: https://github.com/Aitronos-Development/aitronos-standards/tree/main/skills/test-fix
Command: npx skills add https://github.com/Aitronos-Development/aitronos-standards --skill test-fix-aitronos-development

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Diagnoses failing tests in a project and automatically applies fixes to restore green status.

Core Features & Use Cases

  • Detects failing tests and categorizes errors (assertion failures, import errors, type mismatches, etc.)
  • Applies automatic fixes including formatting, import sorting, and linting adjustments, then re-runs the test suite
  • Provides manual fix suggestions for complex or edge-case failures and a final summary

Quick Start

Run the /test-fix command in your Claude Code session to automatically diagnose and repair failing tests.

Frequently Asked Questions about test-fix

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

FAQPage Schema
How do I automatically fix failing tests in my project?

To automatically fix failing tests, the tool runs your project's test suite, categorizes errors like import issues or assertion failures, applies formatting and linting adjustments, then re-runs tests to verify results.

What types of test failures can be automatically diagnosed and repaired?

Automated test fixing handles common failure patterns including assertion failures, import errors, and type mismatches by applying import sorting and linting adjustments to resolve them.

Do I need a specific configuration file to run automated test repairs?

Yes, automated test repair requires a project.config.yaml file to define the commands, ensuring the tool knows exactly how to execute and validate your test suite.

What happens when automated test fixing cannot resolve a complex failure?

When automated test fixing cannot resolve complex or edge-case failures, it produces a summary with manual fix suggestions and guidance for remediation to help you address remaining issues.

Can test fixing also apply formatting and linting adjustments to my codebase?

Yes, test fixing applies formatting, import sorting, and linting adjustments across typical codebases while diagnosing failing tests, then re-runs the suite to verify all changes.