fix-tests

Use this when you have failing test output. The goal is to fix ALL failing tests, re-run tests, and iterate until everything passes.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "fix-tests" with this command: npx skills add v1-io/v1tamins/v1-io-v1tamins-fix-tests

Fix Failing Tests

Use this when you have failing test output. The goal is to fix ALL failing tests, re-run tests, and iterate until everything passes.

Usage

/fix-tests

Use this after you've pasted test failure output into the conversation.

What It Does

Understands ALL Failures

  • Reads entire test log (pytest / Jest / parallel tests)

  • Checks "Test Results" summary for ALL failing tests (looks for ✗ or FAILED markers)

  • Checks "Failed Test Details" for MULTIPLE failing test groups

  • Notes ALL test groups that failed (backend, frontend, linting, etc.)

  • Creates list of all failures before starting fixes

Fixes EACH Failure

  • For EACH failing service/group:

  • Opens failing test files and implementation files

  • Makes smallest, clearest change

  • Prefers fixing implementation over changing tests

  • Fixes ALL failures before proceeding

Re-runs Tests for EACH Fix

  • Backend: pytest (or with -k for specific tests)

  • Frontend: npm run lint or npm run test

  • Verifies each group passes before moving to next

  • Repeats if tests still fail

Re-runs Full Test Suite

  • CRITICAL: Always re-runs original command used to run tests

  • Catches hidden failures or new failures from fixes

  • Only stops when full suite passes with zero failures

Important Notes

  • Don't stop after fixing one failure - check for multiple failing groups

  • Always re-run full test suite after fixes

  • Parse entire error output - summary AND detailed sections

Testing Commands

Backend (pytest):

pytest # All unit tests pytest -k "pattern" # Specific tests pytest tests/integration/ # Integration tests

Frontend:

npm run lint npm run test

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

interview-me

No summary provided by upstream source.

Repository SourceNeeds Review
General

complexity

No summary provided by upstream source.

Repository SourceNeeds Review
General

write-tests

No summary provided by upstream source.

Repository SourceNeeds Review
General

prompt-engineering

No summary provided by upstream source.

Repository SourceNeeds Review