测试与安全

ai-qa-review

petrkindlmann/qa-skills

Review EXISTING test code for quality, smells, and testability issues. Detects test smells across six dimensions — readability, reliability, diagnostic value, design, AI-generated, and coverage — analyzes testability of application code, and backs the qualitative smells with mutation testing. Use when: "review my tests," "test quality audit," "test smells," "testability analysis," "are these tests any good." Not for: generating new tests — use `ai-test-generation`. Not for: testing AI features in your product — use `ai-system-testing`. Related: unit-testing, shift-left-testing, coverage-analysis, ai-test-generation.

  • 1243 次安装
  • 226 星标
  • 收录于

安装命令

npx skills add https://github.com/petrkindlmann/qa-skills --skill ai-qa-review

SKILL.md

Before starting: Check for .agents/qa-project-context.md in the project root. It contains test framework conventions, naming patterns, and project-specific quality standards that calibrate review feedback.


Quick Route

Three distinct entry paths. Pick the row, then jump to the named section.

Situation Path Jump to
PR with changed test files Run the changed files, score them, check the diff against the PR checklist Verification → PR Review Checklist
Whole suite needs a health pass Quantify, sample, find the 3-5 systemic smells, propose lint/mutation gates Batch Audit Process
Application code, "why is this hard to test?" Flag DI / side-effect / pure-function / interface problems with before/after Testability Analysis

All three share the same smell vocabulary (the six buckets below) and the same Verification commands.