원클릭으로
verify
Verify UI changes in the browser using Shiplight MCP tools.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Verify UI changes in the browser using Shiplight MCP tools.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Compliance review and testing: evaluate your application against HIPAA, SOC 2, PCI-DSS, and GDPR technical requirements with browser-based validation and YAML regression tests for continuous compliance.
Spec-driven E2E test creation: plan what to test through structured discovery phases, then scaffold a local Shiplight test project and write YAML tests by walking through the app in a browser.
UI and design review: evaluate visual quality, responsive behavior, accessibility, color/contrast, typography, layout consistency, and i18n readiness using browser-based validation against industrial standards.
Generative Engine Optimization review: evaluate your content's visibility to AI-powered search engines — citation-worthiness, content structure, authority signals, llms.txt, entity clarity, and AI retrieval readiness.
Performance review and testing: evaluate Core Web Vitals, page load times, bundle sizes, runtime performance, resource optimization, and rendering efficiency with browser-based measurement and benchmarking.
Privacy review and testing: evaluate PII handling, data flows, tracking inventory, consent mechanisms, storage practices, and data leakage risks with browser-based validation against GDPR, CCPA, and industry best practices.
| name | verify |
| description | Verify UI changes in the browser using Shiplight MCP tools. |
Use the Shiplight MCP browser tools to visually verify that your code changes look and behave correctly in a real browser.
Use /verify after making UI changes to confirm they render correctly. This is useful for:
Skip /verify when changes don't affect UI rendering:
The following steps are a general guideline — adapt based on what makes sense for the specific changes:
Understand what changed — analyze the code changes and build a verification plan:
This is the most important step — it determines your test coverage. Balance thoroughness with cost.
Start the dev server (if not already running) — check if the app's dev server is running. If not, start it in the background using the appropriate command (e.g. npm run dev, yarn dev). Wait a few seconds for it to be ready.
Open a browser session — call new_session with the starting_url pointing to the page you want to verify. If you want to generate a report afterwards, set record_evidence: true. Multiple concurrent sessions are supported — you can open several to compare different pages or states.
Inspect the page — call inspect_page to get the DOM tree with element indices and a screenshot. Always read the DOM file first — it provides the element indices needed for act and consumes far fewer tokens. Only view the screenshot when you specifically need visual information (layout, colors, images), as screenshots consume significantly more tokens than DOM.
Interact and verify — use act to simulate user actions based on the element indices from inspect_page. Use act with verify actions to assert expected UI state (e.g. text is visible, element exists).
Check for errors — call get_browser_console_logs to check for any JavaScript errors that may have been introduced.
Report findings — summarize what you verified:
Close the session — call close_session when done. It returns local_video_path and local_trace_path.
Generate the report — if the session was started with record_evidence: true, call generate_html_report with the local paths:
{
"session_id": "<session_id>",
"local_video_path": "<local_video_path from close_session>",
"local_trace_path": "<local_trace_path from close_session>",
"title": "...",
"summary": "...",
"checks": [...]
}
Show the returned file_path to the user so they can open and review it.
Upload the report for sharing — when the user wants a shareable link (e.g. to attach to a PR), and upload_html_report is available:
{
"report_path": "<file_path from generate_html_report>",
"local_video_path": "<local_video_path from close_session>",
"local_trace_path": "<local_trace_path from close_session>"
}
This uploads the video, trace, and report HTML to Shiplight cloud, patches the HTML with cloud URLs, and returns a permanent shareable report_url.
If the app requires authentication, log in once and save the session so future sessions skip the login step:
new_session at the app's login page.save_storage_state to save cookies and localStorage to ~/.shiplight/<site_url>/storage-state.json (e.g. ~/.shiplight/http_localhost_3000/storage-state.json).storage_state_path to new_session to restore the authenticated state instantly.If a saved storage state file already exists, use it automatically. If authentication fails with a saved state (page redirects to login, auth errors in console), the state is likely expired — ask the user to log in again and re-save.