
Add Scrut Cli Tests
- 2 repo stars
- Updated July 24, 2026
- cboone/agent-harness-plugins
Set up scrut snapshot-based CLI integration testing for a CLI project.
About
Add-scrut-cli-tests sets up scrut snapshot-based integration testing for a CLI project. It wires up the harness so command invocations and their output are captured and asserted as snapshots, catching regressions in CLI behavior. A testing/QA skill specifically for command-line tools.
- Scrut snapshot testing
- CLI integration tests
- Captures command output
- Sets up the harness
Add Scrut Cli Tests by the numbers
- Data as of Jul 25, 2026 (Skillselion catalog sync)
/plugin marketplace add cboone/agent-harness-plugins/plugin install add-scrut-cli-tests@agent-harness-pluginsAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| repo stars | ★ 2 |
|---|---|
| Last updated | July 24, 2026 |
| Repository | cboone/agent-harness-plugins ↗ |
What it does
Set up scrut snapshot-based CLI integration testing for a CLI project.
README.md
Add Scrut CLI Tests
Set up scrut snapshot-based CLI integration testing for a CLI project.
Type: Skill
Trigger: /add-scrut-cli-tests
Installation
See the marketplace install instructions.
What It Does
Adds scrut snapshot-based CLI integration testing to an existing CLI project. Detects the project language (Go, Swift, Rust, Zig, Python, Ruby, shell), creates a tests/scrut/ directory with starter test files for help and version output, adds Makefile targets for running and updating tests, and configures the CI workflow to install scrut and run CLI tests.
Usage
/add-scrut-cli-tests
The skill detects the project type and binary name from existing project files and generates test files accordingly.
Examples
- "add scrut tests": sets up scrut testing in the current project
- "add CLI tests": same behavior
- "set up scrut": same behavior
- "add e2e tests for my CLI": same behavior
See Also
- Write Scrut Tests: style conventions for writing scrut test files
- Lint and Fix: run linters and formatters
- Scaffold Go CLI: scaffold a new Go CLI project (includes build targets compatible with this skill)
- All plugins