Test And Fix banner
0xquinto 0xquinto

Test And Fix

Testing community

Description

--- 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.

Installation

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.

Full documentation available on GitHub

View Source Repository