| name | web-ui-review |
| description | Frontend code quality checklist and review automation scripts for PRs touching UI, components, styles, and browser interactions |
Frontend Review
Code Quality Checklist
Based on the project's review standard, adapted for frontend (HTML/CSS/JavaScript/TypeScript/React/Vue/etc.) codebases. Each item is tagged with a review role.
1. Functional Correctness
2. Code Design
3. Code Style
4. Testing & Regression Prevention
5. Security
6. UI/UX Design & Visual Standards
7. Interaction & Usability Quality
8. Accessibility
9. Performance
10. Debugging Standards
11. PR Preparation
Review Workflow
Phase 1 — Understand
- Read the changed files and their surrounding context (parent components, shared hooks, related modules, style files)
- Understand the feature's intent from the linked issue, branch name, and commit messages. Ask questions if unclear.
- Identify how the changes fit into the existing component tree and state management architecture
Phase 2 — Plan
- Produce a test plan blueprint based on the Code Quality Checklist
- Present the blueprint to the user for review. Wait for user confirmation before executing any tests.
Phase 3 — Automated checks
- Run all automated checks:
bash .claude/skills/frontend-review/scripts/run_all.sh <changed-files-or-dir>
- Fix failures and re-run until all checks pass. If a tooling dependency is missing, install and retry up to 3 attempts; after that, skip and record for the final summary.
Phase 4 — Browser & manual review
- Use
/playwright-cli to verify visual and interaction quality (Sections 6, 7, 8)
- Review remaining checklist items that require manual judgment
Phase 5 — Finalize
- Mark the review as complete only when all checks pass
- Present a single consolidated table — one row per check with result and issue description. Only show issues. Include a Skipped Tests section for any checks skipped due to tooling errors. End by asking the user if they want any issues fixed.
See examples/summary.md for the expected output format.