Review generated or changed test code against universal testing rules before it ships. Best used reactively after an agent writes, edits, generates, or refactors tests, before presenting, committing, or merging them. Use for pytest (test_*.py, *_test.py), PHPUnit/Pest (*Test.php), Jest/Vitest (*.test.ts, *.spec.js), Go (*_test.go), files under tests/, __tests__/, or spec/, and review requests like 'write tests for X', 'add tests', 'test this', 'review these tests', or PR diffs containing tests. Can also guide test writing when explicitly invoked before the work. This skill is the quality gate that prevents AI-generated test bloat. DO NOT USE for production or implementation code review (use clean-code-guard), CI or test-runner configuration, running or debugging tests, or general architecture discussion.
$npx -y skills add amelnagdy/guard-skills --skill test-guardInstalls into the current project.
Run `npx skills use "https://github.com/amelnagdy/guard-skills" --skill "amelnagdy/guard-skills/test-guard"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/amelnagdy/guard-skills" that are relevant to the current task. Run `npx skills add "https://github.com/amelnagdy/guard-skills"` and select the relevant skills, then follow their instructions.