What problem does it solve? Writing thorough tests for Ansible modules requires knowing pytest mocking patterns for AnsibleModule, exit_json/fail_json capture, check mode behavior, and ansible-test integration conventions. This Skill generates compliant unit and integration tests and audits existing ones against a quality checklist. ## Core Features & Use Cases - Unit Test Generation: Produces pytest test files at tests/unit/plugins/modules/ covering argument validation, success/failure paths, check mode, and idempotency with proper mocking of AnsibleModule. - Integration Test Generation: Creates ansible-test target playbooks following the check mode → create → idempotency → removal sequence with independent state verification. - Test Review Mode: Audits existing module tests against an 8-category checklist (coverage, naming, mocking, assertions, error paths) and scores them on a 1-10 scale with prioritized recommendations. - Use Case: After writing a custom Ansible module for managing cloud resources, invoke this Skill to generate a complete pytest suite that mocks the API client and validates changed status, plus an integration target runnable via ansible-test --docker. ## Quick Start Ask the AI to write unit and integration tests for your Ansible module at plugins/modules/my_module.py.