Pre-PR quality and convention check for Playwright + TypeScript test changes. Walks through 13 categories — commit messages, naming, locators, dates, assertions, cleanup, file standards, page objects, parallel safety, branch state, gap analysis, ticket process. Reports each violation as file + line + rule + suggested fix. Use when user invokes /pw-kit:pre-pr, asks to "check my changes before PR", "review my test changes", "is this ready to ship", or before opening a pull request.
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Pre-PR quality and convention check for Playwright + TypeScript test changes. Walks through 13 categories — commit messages, naming, locators, dates, assertions, cleanup, file standards, page objects, parallel safety, branch state, gap analysis, ticket process. Reports each violation as file + line + rule + suggested fix. Use when user invokes /pw-kit:pre-pr, asks to "check my changes before PR", "review my test changes", "is this ready to ship", or before opening a pull request.
when_to_use
Trigger phrases: "/pw-kit:pre-pr", "pre-pr check", "before PR", "ready to ship", "pre-pull-request review", "is this ready", "PR check", "open a pull request", "before I push". Slash command only — does not auto-activate.
Follow this 13-category checklist when a user asks you to review their changes before opening a PR. Report each violation as file:line — rule — suggested fix. Use git diff main...HEAD --name-only to identify changed files, then read each one and check every category.
How to Run
# Identify changed files
git diff main...HEAD --name-only
# For each changed test/POM file, read it and run the categories below