Solid template for writing pytest tests against Typer CLI apps. You get ready-made fixtures for temp storage and sample data, patterns for handling confirmations (the y/n/--force dance), and a breakdown by command type (CRUD operations). The AAA structure examples are clean, and it covers the annoying edge cases like invalid IDs and empty states. Really shines when you're adding test coverage to an existing CLI or want consistent patterns across commands. The CliRunner examples with input strings for confirmations save you from hunting through docs. If you're building task managers, note apps, or any stateful CLI tool, this gets you from zero to decent coverage fast.
npx -y skills add https-deeplearning-ai/sc-agent-skills-files --skill generating-cli-tests --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
prisma/skills
firebase/agent-skills
Dexploarer/hyper-forge
itsmostafa/aws-agent-skills
prisma/skills