xiaohongshu
xiaohongshu
Verify and test Angular 18 frontend changes using Chrome DevTools MCP. Automatically check console errors, network requests, and visual rendering after implementing tasks or when fixing UI bugs. Use when creating components, debugging visual issues, validating API integration, or ensuring UI requ...
Full skill instructions
Verify Angular 18 frontend using Chrome DevTools MCP - check console, network, and visual rendering.
Photo Map MVP - Angular 18 SPA with geolocation photo management.
Stack:
Constraints:
Authorization: Bearer <token>Automatic Triggers:
After implementing task logic - po ukończeniu implementacji feature
When uncertain about code behavior - gdy wątpliwości czy działa
When fixing UI bugs (iterative) - przy naprawie błędów (sprawdź → napraw → sprawdź)
On explicit request - na żądanie użytkownika
DO NOT use for:
ng test)Check if servers running:
# Check PID files
[ -f scripts/.pid/backend.pid ] && kill -0 $(cat scripts/.pid/backend.pid)
[ -f scripts/.pid/frontend.pid ] && kill -0 $(cat scripts/.pid/frontend.pid)
# Health checks
curl http://localhost:8080/actuator/health # Backend
curl -I http://localhost:4200 # Frontend
Start servers:
./scripts/start-dev.sh # Backend + Frontend
./scripts/start-dev.sh --with-db # Include PostgreSQL
When to restart:
Rebuild & Restart:
./scripts/stop-dev.sh
cd backend && ./mvnw clean package # If backend changes
cd frontend && npm run build # If frontend changes
./scripts/start-dev.sh
→ Full docs: references/server-management.md
Step 0: Verify Servers Running
↓
Step 1: Navigate & Capture State
↓
Step 2: Check Console Errors
↓
Step 3: Check Network Requests
↓
Step 4: Visual Verification
↓
Step 5: Report Results
Step 0: Verify Servers Running
# Check if servers running (PID + health)
[ -f scripts/.pid/backend.pid ] && kill -0 $(cat scripts/.pid/backend.pid)
[ -f scripts/.pid/frontend.pid ] && kill -0 $(cat scripts/.pid/frontend.pid)
# If NOT running OR code changes → restart
./scripts/stop-dev.sh
./scripts/start-dev.sh
Step 1: Navigate & Capture State
list_pages() → check open pagesnavigate_page(url: "http://localhost:4200/path") → go to routetake_snapshot() → accessibility tree (structural check)take_screenshot() → visual representationStep 2: Check Console Errors
list_console_messages(types: ["error", "warn"]) → filter errorsget_console_message(msgid: N) → detailed stack traceStep 3: Check Network Requests
list_network_requests(resourceTypes: ["xhr", "fetch"]) → API callsget_network_request(reqid: N) → headers, payload, responseStep 4: Visual Verification
take_screenshot(fullPage: true) → full page visualresize_page(width, height) → test responsive (375, 768, 1920)hover(uid), click(uid) → test interactionsStep 5: Report Results
Navigation:
list_pages() - list open tabsnavigate_page(url, timeout) - go to URLwait_for(text, timeout) - wait for text to appearState Capture:
take_snapshot(verbose) - accessibility tree (fast, text)take_screenshot(uid, fullPage, format) - visual capture (PNG/JPEG/WebP)evaluate_script(function, args) - execute JS in pageConsole & Network:
list_console_messages(types, pageIdx, pageSize) - get console logsget_console_message(msgid) - detailed error infolist_network_requests(resourceTypes, pageIdx) - list HTTP requestsget_network_request(reqid) - detailed request/responseInteraction:
click(uid, dblClick) - click element by UIDfill(uid, value) - fill input/textareafill_form(elements) - fill multiple fieldshover(uid) - hover over elementEmulation:
resize_page(width, height) - change viewport (mobile: 375x667, tablet: 768x1024, desktop: 1920x1080)emulate_network(throttlingOption) - simulate network (Offline, Slow 3G, Fast 3G, etc.)performance_start_trace(reload, autoStop) - measure Core Web Vitals→ Full docs: references/mcp-tools-reference.md
navigate_page(url: "http://localhost:4200/gallery")
list_console_messages(types: ["error", "warn"])
// ✅ No errors → Component works
// ❌ Errors found → get_console_message(msgid) → Fix
navigate_page(url: "http://localhost:4200/login")
fill_form([{ uid: "input-email", value: "[email protected]" }, { uid: "input-password", value: "test123456" }])
click(uid: "btn-login")
wait_for(text: "Photo Gallery", timeout: 5000)
list_network_requests(resourceTypes: ["fetch"])
get_network_request(reqid: 1)
// → POST /api/auth/login → 200 OK → JWT token ✅
navigate_page(url: "http://localhost:4200/gallery")
take_screenshot(fullPage: true)
resize_page(width: 375, height: 667) // Mobile
take_screenshot()
// → Check: Single column layout on mobile ✅
→ Detailed scenarios: examples/*.md
→ Detailed patterns: references/verification-patterns.md
Always check console first - even if UI looks correct
list_console_messages(types: ["error", "warn"])
Check network for API calls - verify status codes, headers, payloads
list_network_requests(resourceTypes: ["xhr", "fetch"])
Test responsive layouts - mobile (375), tablet (768), desktop (1920)
resize_page(width: 375, height: 667)
Use snapshots for structure, screenshots for visual
Iterative verification for bug fixes
Report actionable issues
Restart servers when code changes
./scripts/stop-dev.sh && ./scripts/start-dev.sh
Proactive Verification:
Comprehensive Checks:
Server Management:
./scripts/start-dev.sh)xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience