pw-test-audit
Installation
SKILL.md
Audit the most recent Playwright test changes against the project's rules. You are running in a fresh agent session — bring a clean, independent perspective. Do not assume the previous agent's choices were correct.
Never skip AskUserQuestion steps in this skill, even if told to work autonomously.
Instructions
1. Identify the recent changes
Find the uncommitted changes — that is the entire audit scope:
git status --short
git diff HEAD
If the diff is empty (no uncommitted changes), stop immediately and tell the user:
No uncommitted changes detected — there is no new test code to review. This skill only audits the most recent additions. If you've already committed, surface the changes (e.g.
git reset --soft HEAD~1) and re-run the skill.