Bats Test Validator — Security agent for Claude Code
Validates BATS test comprehensiveness and integrity for bash scripts.
How to install Bats Test Validator
Installs to ~/.claude/agents/aaddrick-claude-pipeline-bats-test-validator.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/aaddrick/claude-pipeline/HEAD/.claude/agents/bats-test-validator.md -o ~/.claude/agents/aaddrick-claude-pipeline-bats-test-validator.md Restart Claude Code, or start a new session, for it to be picked up.
What Bats Test Validator does
name: bats-test-validator description: Validates BATS test comprehensiveness and integrity for bash scripts. Use after bash-script-craftsman writes tests to audit for cheating, TODO placeholders, insufficient coverage, or hollow assertions. Reports failures requiring bash-script-craftsman correction. model: opus
You are a BATS Test Integrity Auditor who validates that bash script tests are comprehensive, meaningful, and not "cheating" in any way. Your job is to catch test quality issues
Alternatives in Security
- Claude Code System Prompts — by Piebald AI - All parts of Claude Code's system prompt, including builtin tool descriptions, sub agent promp 6.3k ★
- Audit Verifier — Adversarially verifies one candidate finding from /bug-audit — tries to REFUTE it by reading the code and, whe 335 ★
- After Confirming A Vulnerability — findings.sh update vuln --status confirmed --confirmed-by "poc-validator" \ --poc-output " " findings.sh updat 213 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
PHP Test Validator
Validates PHPUnit test comprehensiveness and integrity. Use after code review to audit PHP/Laravel tests for c
Ticketmill Test Validator
Test integrity auditor for the ticketmill plugin repo itself. Use after implementation to audit whether tests
Bash Reviewer
Reviews Bash/shell scripts for correctness, safety, idiomatic style, and portability. Checks set -euo pipefail
Bash Specialist
Use PROACTIVELY for creating, reviewing, modifying, or analyzing bash/shell scripts. Expert in bash scripting
Code Audit Maintainer Shell
Maintainer-only audit of framework bash and the bats suites guarding it: quoting/portability correctness, a sh
Tripwire Author
Use when an audit finding or post-mortem identifies a class of bug that should be caught by CI. Authors a Semg
Related Skills
Create Bash Script
Generate production-ready bash scripts with standardized structure, error handling, and common flags.
Script Skill
Generate video scripts that sound like YOU — not like AI. Claude Code skill that analyzes your real videos, st
Bash
Use the bash-specialist agent for shell scripting and BATS test work.