shellspec

Comprehensive unit testing framework for Bash and POSIX shell scripts using ShellSpec with TDD/BDD best practices. Use when writing tests for shell scripts, debugging test failures, refactoring scripts for testability, setting up test infrastructure, mocking external dependencies, or implementing test-driven development for Bash/shell projects. Covers test structure, isolation, mocking, output capture, coverage, CI integration, and troubleshooting.

$ 安裝

git clone https://github.com/OleksandrKucherenko/e-bash /tmp/e-bash && cp -r /tmp/e-bash/.claude/skills/shellspec ~/.claude/skills/e-bash

// tip: Run this command in your terminal to install the skill