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.
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
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