home/categories/testing/https-deeplearning-ai-sc-agent-skills-files-l6-claude-skills-generating-cli-tests-skill-md
testingtesting-security
generating-cli-tests
Generate pytest tests for Typer CLI commands. Includes fixtures (temp_storage, sample_data), CliRunner patterns, confirmation handling (y/n/--force), and edge case coverage. Use when user asks to "write tests for", "test my CLI", "add test coverage", or any CLI + test request.
maintainer
https-deeplearning-ai
Updated 1/28/2026
Stars
1004
Forks
423
quick start
Installation and usage
Generate pytest tests for Typer CLI commands. Includes fixtures (temp_storage, sample_data), CliRunner patterns, confirmation handling (y/n/--force), and edge case coverage. Use when user asks to "write tests for", "test my CLI", "add test coverage", or any CLI + test request.
Installation
$ install --globalskills.sh
Usage
Once installed, you can use this skill by running the following command in your terminal:
skills use generating-cli-tests