add-executable-smoke-tests-for-shell-scripts-and-clis-before-ref

Solid

Use Bats-core when an agent needs to turn fragile shell scripts or command-line workflows into something it can verify repeatedly after edits. The agent writes focused Bash tests for success paths, failure paths, and output contracts, then runs them locally or in CI before a refactor, release, or incident fix goes out.

AI & Automation 19 stars 14 forks Updated today MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
43
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
45
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Add executable smoke tests for shell scripts and CLIs before refactors ship Use Bats-core when an agent needs to turn fragile shell scripts or command-line workflows into something it can verify repeatedly after edits. The agent writes focused Bash tests for success paths, failure paths, and output contracts, then runs them locally or in CI before a refactor, release, or incident fix goes out. ## Prerequisites Bash plus Bats-core and the shell scripts or CLI commands under test ## Installation No source-backed install or usage instructions could be extracted automatically. Review the upstream project before running this skill in a sensitive workflow. - Source: https://github.com/bats-core/bats-core ## Documentation - https://bats-core.readthedocs.io/en/stable/ ## Source - [Agent Skill Exchange](https://agentskillexchange.com/skills/add-shell-and-cli-smoke-tests-before-refactors-ship/)

Details

Author
agentskillexchange
Repository
agentskillexchange/skills
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category