スキル一覧に戻る
v1-io

fix-tests

by v1-io

Daily supplements for healthy code - Shared Claude skills, Cursor commands, and MCP configs for the Version1 team

1🍴 1📅 2026年1月19日
GitHubで見るManusで実行

SKILL.md


name: fix-tests description: Systematically fix all failing tests until everything passes allowed-tools:

  • Bash
  • Read
  • Edit
  • Grep

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

  1. 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
  2. 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
  3. 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
  4. 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

スコア

総合スコア

70/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です