fix-tests-ensure-coverage

Automates test running, failure analysis, patching, and coverage enforcement.

Updated Dec 6, 2025
One-click install
npx skills add https://github.com/anchapin/CI-fixer --skill fix-tests-ensure-coverage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-tests-ensure-coverage
Source: https://github.com/anchapin/CI-fixer/tree/main/.claude/skills/fix-tests-ensure-coverage
Command: npx skills add https://github.com/anchapin/CI-fixer --skill fix-tests-ensure-coverage

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of running tests, analyzing failures, patching code, and ensuring coverage targets are met, reducing debugging time.

Core Features & Use Cases

  • Automatic test-fixing: Run unit, integration, and e2e tests and apply iterative fixes.
  • Coverage enforcement: Run coverage reports and add tests to reach thresholds (85% lines, 80% branches).
  • Use Case: If your repo has flaky tests or low coverage, this skill will fix failures and improve coverage automatically.

Quick Start

Run npm run fix-tests or tsx scripts/fix-tests-ensure-coverage.ts to start the automation.