0xquinto

Test And Fix — Testing skill for Claude Code

Testing community

Run tests and fix any failures.

How to install Test And Fix

Installs to ~/.claude/commands/0xquinto-bcherny-claude-test-and-fix.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/0xquinto/bcherny-claude/HEAD/.claude/commands/test-and-fix.md -o ~/.claude/commands/0xquinto-bcherny-claude-test-and-fix.md

Restart Claude Code, or start a new session, for it to be picked up.

What Test And Fix does


description: "Run tests and fix any failures"

  1. Run the test suite: npm test (or appropriate test command for the project)
  2. If all tests pass, report success
  3. If tests fail:
    • Analyze each failure carefully
    • Identify the root cause (is it the test or the implementation?)
    • Fix the issue
    • Re-run tests to verify the fix
    • Repeat until all tests pass

Be methodical: fix one test at a time and verify before moving to the next.

Alternatives in Testing

  • Fix Issue — by metabase - Addresses GitHub issues by taking issue number as parameter, analyzing context, implementing sol 46.5k ★
  • Test Runner — Run Python tests with pytest, unittest, or other testing frameworks 23.4k ★
  • Skill Debug — Debug issues methodically — use when stuck on errors, test failures, or unexpected behavior 2.8k ★

Full documentation available on GitHub

View Source Repository