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 refa
Install
npx skills add https://github.com/agentskillexchange/skills/tree/main/skills/add-shell-and-cli-smoke-tests-before-refactors-ship
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install agentskillexchange-skills@llmmart
git clone https://github.com/agentskillexchange/skills.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole agentskillexchange/skills collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
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.
Documentation
Source
Files (skills)
-
SKILL.md 1.7 KB
--- name: "Add executable smoke tests for shell scripts and CLIs before refactors ship" slug: "add-shell-and-cli-smoke-tests-before-refactors-ship" description: "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." github_stars: 5974 verification: "listed" source: "https://github.com/bats-core/bats-core" author: "bats-core contributors" publisher_type: "Open Source Project" category: "Developer Tools" framework: "Multi-Framework" tool_ecosystem: github_repo: "bats-core/bats-core" github_stars: 5974 --- # 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/)
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.