.claude/skills/fix-test/SKILL.md
Debug and fix failing tests systematically
npx skillsauth add TypedDevs/bashunit fix-testInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Systematically debug and fix failing test(s).
./bashunit tests/ 2>&1
Parse: which files, which functions, error messages.
src/, follow TDDset_up / fixtures$temp_dir for isolation, wait for async./bashunit path/to/fixed_test.sh # Specific test
./bashunit tests/ # Full suite
./bashunit --parallel tests/ # Isolation check
Document root cause. Consider adding edge case tests to prevent recurrence.
--filter "test_name" to run single testecho "DEBUG: $var" >&2 temporarilyls tests/fixtures/assert_have_been_called mock_namedevelopment
Run complete TDD red-green-refactor cycle for a test
tools
Run pre-release validation and execute the release process
testing
Run comprehensive pre-release validation checklist
testing
Push branch and create a GitHub PR with concise, issue-linked description