.claude/skills/add-assertion/SKILL.md
Add new assertion function with comprehensive tests following TDD
npx skillsauth add TypedDevs/bashunit add-assertionInstall 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.
Add a new assertion function to bashunit following strict TDD methodology.
.tasks/YYYY-MM-DD-add-assertion-name.mdtests/unit/assert_test.sh and src/assertions.shAsk user: assertion name, parameters, success/failure behavior, error messages.
Document acceptance criteria and test inventory in task file.
Read src/assertions.sh and tests/unit/assert_test.sh to understand:
For each test in inventory, follow RED -> GREEN -> REFACTOR:
assert_failssrc/bashunit.sh if createdexport -f the assertion function./bashunit tests/make sa && make lint && shfmt -w .development
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