关于
This skill provides professional guidance and implementation patterns for Bats (Bash Automated Testing System), enabling developers to build robust, test-driven shell scripts. It covers the complete lifecycle of shell testing—from basic assertions and exit code validation to complex mocking, stubbing of external commands, and cross-shell compatibility testing. Whether you are building simple automation scripts or complex CI/CD pipelines, this skill ensures your shell utilities are reliable, maintainable, and production-ready through standardized testing practices.