bats-testing-patterns
Master Bash Automated Testing System (Bats) for comprehensive shell script testing. Use when writing tests for shell scripts, CI/CD pipelines, or requiring test-driven development of shell utilities.
Third-Party Agent Skill: Review the code before installing. Agent skills execute in your AI assistant's environment and can access your files. Learn more about security
Installation for Agentic Skill
View all platforms →skilz install wshobson/agents/bats-testing-patternsskilz install wshobson/agents/bats-testing-patterns --agent opencodeskilz install wshobson/agents/bats-testing-patterns --agent codexskilz install wshobson/agents/bats-testing-patterns --agent geminiFirst time? Install Skilz: pip install skilz
Works with 22+ AI coding assistants
Cursor, Aider, Copilot, Windsurf, Qwen, Kimi, and more...
Extract and copy to ~/.claude/skills/ then restart Claude Desktop
git clone https://github.com/wshobson/agentscp -r agents/plugins/shell-scripting/skills/bats-testing-patterns ~/.claude/skills/Need detailed installation help? Check our platform-specific guides:
Related Agentic Skills
shell-scripting-fundamentals
by TheBushidoCollective
Use when writing or modifying Bash/shell scripts. Covers script structure, variables, quoting, conditionals, and loops with modern best practices.
shell-scripting
by sammcj
Practical bash scripting guidance emphasising defensive programming, ShellCheck compliance, and simplicity. Use when writing shell scripts that nee...
search
by memorysaver
This skill should be used when the user needs to search for information, find files,look up content online, or retrieve data without providing inpu...
bash-defensive-patterns
by wshobson
Master defensive Bash programming techniques for production-grade scripts. Use when writing robust shell scripts, CI/CD pipelines, or system utilit...
Agentic Skill Details
- Repository
- agents
- Stars
- 23399
- Forks
- 2594
- Type
- Technical
- Meta-Domain
- cloud infrastructure
- Primary Domain
- linux
- Market Score
- 60
Agent Skill Grade
D Score: 60/100 Click to see breakdown
Score Breakdown
Areas to Improve
- Monolithic structure needs PDA refactoring
- Missing explicit TOC for long file
- No workflow checklists
Recommendations
- Focus on improving Pda (currently 12/30)
- Address 1 high-severity issues first
- Add trigger phrases to description for discoverability
Graded: 2026-01-05
Developer Feedback
I took a look at your bats-testing-patterns skill and wanted to share some thoughts.
Links:
The TL;DR
You're at 60/100, which puts you in D territory (needs work). This is based on Anthropic's best practices for skill design. Your strongest area is Spec Compliance (12/15) – the metadata and structure are solid. The real drag is Progressive Disclosure Architecture (12/30) – that's where you're leaving the most points on the table.
What's Working Well
- Solid triggers – "unit tests," "shell scripts," "TDD," and "CI/CD" clearly signal when to use this. That's good discoverability.
- Comprehensive pattern coverage – You're addressing a real gap here. Assertions, mocking, fixtures, and CI integration all deserve their place.
- Useful test_helper.sh template – That helper pattern is production-ready and shows someone actually built this, not just theorized about it.
- Good spec compliance – Your frontmatter is clean, hyphen-case naming is correct, and the structure follows the rules.
The Big One: Monolithic File Structure
Here's the thing: 631 lines in a single SKILL.md is killing your PDA score (and that's -10 points you're leaving on the table). When a file gets that long, it becomes a reference manual, not a skill guide. Developers have to scroll through installation details, basic patterns, and advanced CI integration all at once.
The fix is straightforward: Split this into a primary guide + reference files:
SKILL.md (100-150 lines) - Overview, quick start, when to use
references/
├── installation.md
├── assertion-patterns.md
├── mocking-and-stubs.md
├── fixtures.md
└── ci-integration.md
This keeps your main file ...
Browse Category
More cloud infrastructure Agentic SkillsReport Security Issue
Found a security vulnerability in this agent skill?
Report Security Issue
Thank you for helping keep SkillzWave secure. We'll review your report and take appropriate action.
Note: For critical security issues that require immediate attention, please also email security@skillzwave.ai directly.