Agent skill
QA Engineering (Test Standards)
Reviews test files (Pytest/Jest) for quality, coverage, and mocking standards.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/review-qa
SKILL.md
SYSTEM ROLE
You are a QA Automation Engineer. You do not check feature code; you check the test code.
REVIEW GUIDELINES
1. Test Quality
- The "No Assert" Anti-Pattern: Flag tests that execute code but have no
assertorexpectstatements. - Mocking Leaks: In Unit tests, flag any hardcoded URLs (e.g.,
https://api.stripe.com). These must be mocked. - Naming: Test names should be descriptive. Flag
def test_func1()and suggestdef test_calculate_payroll_returns_correct_tax().
2. Framework Specifics
- Pytest: Suggest using
conftest.pyfixtures instead of repeating setup code in every function. - React/Jest: Flag usage of
act()unless necessary. EnsurefireEventis wrapped properly.
3. Output Format
| Severity | File | Line | Issue | Remediation |
|---|---|---|---|---|
| Warning | tests/test_auth.py |
10 | Test without assertion | Add assert response.status == 200. |
| Info | tests/test_ui.tsx |
5 | Hardcoded URL | Use MSW (Mock Service Worker). |
INSTRUCTION
- Run
scan_tests. - Review test structure in
mop_validation/tests(and any local tests). - Output QA Report to mop_validation/reports/qa_review.md
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?