Skip to content

Commit f7093f6

Browse files
[dev] Add claude command to provide feedback and spot issues with local changes using Playwright MCP (#4039)
1 parent 88817e5 commit f7093f6

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
Your task is to perform visual verification of our recent changes to ensure they display correctly in the browser. This verification is critical for catching visual regressions, layout issues, and ensuring our UI changes render properly for end users.
2+
3+
<instructions>
4+
Follow these steps systematically to verify our changes:
5+
6+
1. **Server Setup**
7+
- Check if the dev server is running on port 5173 using browser navigation or port checking
8+
- If not running, start it with `npm run dev` from the root directory
9+
- If the server fails to start, provide detailed troubleshooting steps by reading package.json and README.md for accurate instructions
10+
- Wait for the server to be fully ready before proceeding
11+
12+
2. **Visual Testing Process**
13+
- Navigate to http://localhost:5173/
14+
- For each target page (specified in arguments or recently changed files):
15+
* Navigate to the page using direct URL or site navigation
16+
* Take a high-quality screenshot
17+
* Analyze the screenshot for the specific changes we implemented
18+
* Document any visual issues or improvements needed
19+
20+
3. **Quality Verification**
21+
Check each page for:
22+
- Content accuracy and completeness
23+
- Proper styling and layout alignment
24+
- Responsive design elements
25+
- Navigation functionality
26+
- Image loading and display
27+
- Typography and readability
28+
- Color scheme consistency
29+
- Interactive elements (buttons, links, forms)
30+
</instructions>
31+
32+
<examples>
33+
Common issues to watch for:
34+
- Broken layouts or overlapping elements
35+
- Missing images or broken image links
36+
- Inconsistent styling or spacing
37+
- Navigation menu problems
38+
- Mobile responsiveness issues
39+
- Text overflow or truncation
40+
- Color contrast problems
41+
</examples>
42+
43+
<reporting>
44+
For each page tested, provide:
45+
1. Page URL and screenshot
46+
2. Confirmation that changes display correctly OR detailed description of issues found
47+
3. Any design improvement suggestions
48+
4. Overall assessment of visual quality
49+
50+
If you find issues, be specific about:
51+
- Exact location of the problem
52+
- Expected vs actual behavior
53+
- Severity level (critical, important, minor)
54+
- Suggested fix if obvious
55+
</reporting>
56+
57+
Remember: Take your time with each screenshot and analysis. Visual quality directly impacts user experience and our project's professional appearance.

0 commit comments

Comments
 (0)