What problem does it solve?
This Skill ensures consistent and comprehensive testing of iTerm plugin shell scripts by adhering to a standard 11-category organizational structure.
Core Features & Use Cases
- 11-Category Testing: Organizes tests into 11 categories, covering all aspects of script behavior.
- Script Existence: Validates script file existence and permissions.
- Help/Usage: Verifies help text completeness and accessibility.
- Dry-Run Mode: Checks if dry-run generates correct AppleScript without execution.
- Argument Parsing: Ensures all flags are parsed correctly.
- Exit Codes: Validates error conditions produce correct exit codes.
- AppleScript Structure: Verifies generated AppleScript has correct structure.
- Error Paths: Tests error handling for bad input.
- Combined Options: Verifies multiple flags work together.
- Context Detection: Checks script can source utilities and detect environment.
- Edge Cases: Handles special characters and complex inputs.
- Shell Compatibility: Ensures script structure and shell configuration are correct.
- Use Case: When creating or reviewing tests for iTerm plugin shell scripts, ensure comprehensive coverage and consistency.
Quick Start
Run the skill to test the 'test-script.sh' file:
/path/to/skill --script test-script.sh