with one click
fix-test
Debug and fix failing bashdep tests systematically
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Debug and fix failing bashdep tests systematically
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Add a new bashdep:: lifecycle command with TDD
Stage and commit changes using conventional commits format
Coverage gap analysis for the bashdep public API plus a bashdep::doctor audit
Fetch a GitHub issue, create a branch, plan and implement with TDD, then open a PR
Push branch and create a GitHub PR following the bashdep PR template
Run a comprehensive pre-release validation checklist for bashdep
| name | fix-test |
| description | Debug and fix failing bashdep tests systematically |
| allowed-tools | Read, Edit, Bash, Grep, Glob |
Systematically debug and fix failing test(s) in tests/unit/bashdep_test.sh.
make test 2>&1
# Or, narrower:
lib/bashunit tests --filter <test_name>
Parse: which test functions fail, what assertions, what the actual vs expected was.
set_up reset, leaky statebashdep doesn't match expected behavior$TEST_DIR, hardcoded path that doesn't
exist, missing fixtureBASHDEP_* global from a prior test wasn't resetset_upbashdep, follow TDD
(regression test must already exist or be added now)lib/bashunit --update-snapshots tests/. Review the diff before committing/tmp/... outside
snapshot tests.claude/rules/bash-style.md)set_up, or scope the change to
the single testlib/bashunit tests --filter <test_name> # Specific test
make test # Full suite
make sa && make lint # Static checks
dry-run, silent, verbose, force)--filter "test_name" to run a single test in isolationprintf 'DEBUG: %s\n' "$var" >&2 temporarily — strip before commitBASHDEP_* global; reset in set_up