
from ordinary-claude-skills11
Patterns, fixtures, and best practices for writing maintainable shell-script tests using Bats (Bash Automated Testing System).
Provides comprehensive guidance and test patterns for using Bats to write unit and integration tests for shell scripts. Covers installation, test file structure, assertion patterns, setup/teardown, fixtures, mocking/stubbing, CI integration, and advanced testing scenarios to help agents produce robust test suites and CI workflows.
Use this skill when writing or reviewing tests for shell scripts, setting up TDD workflows for utilities, adding script tests to CI pipelines, or porting tests across shell dialects (bash, sh, dash). Triggers on requests about shell testing, Bats, fixtures, CI test automation, and test patterns.
{}
Pure documentation skill covering Bats (Bash Automated Testing System) patterns and best practices. No bundled scripts — the skill is a comprehensive reference guide with code examples for assertions, mocking, fixtures, CI integration, and shell compatibility testing. Well-structured content with clear triggers and practical examples, but lacks executable tooling or output contracts.
Clean skill with no security concerns. Well-written documentation but monolithic — everything lives in one SKILL.md with no scripts or references directory. The source path 'skills_categorized/mobile/bats-testing-patterns' is odd since Bats testing has nothing to do with mobile development.