What problem does it solve?
This Skill scaffolds a bats-core testing setup into a repository that has little or no tests, creating the tests/ layout (suite/helpers/scaffold), wiring helper libraries via bats_load_library, installing the meta-test generator, adding a starter test, and configuring CI to validate the setup. Use when a repo has no tests yet or an outdated test setup: "set up bats", "add tests to this repo", "scaffold bats testing", "get bats working here", "stand up a test suite", "add a test harness", or when porting another repo to this repo's bats conventions. Follows rules/bats.md.
Core Features & Use Cases
- Automated layout creation: establishes tests/, suite/, helpers/ scaffolding following bats conventions.
- Library wiring: wires helper libraries via bats_load_library for deterministic tests.
- Starter test & CI readiness: adds a starter test, installs meta-test generator, and sets up CI hooks to run tests.
Quick Start
Run bats-setup in your repository to initialize a bats testing suite.