원클릭으로
verify-with-browser
Visually verify component changes in Storybook using the agent-browser CLI tool
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Visually verify component changes in Storybook using the agent-browser CLI tool
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Add React Native support (.native.tsx files) to Blade components that currently only have web implementations. Use when user says "add native support to {Component}", "migrate {Component} to native", or "/migrate-to-rn".
Resolve PR review comments by pushing code fixes or replying with explanations. Use when a PR has review comments that need to be auto-resolved.
Review blade PRs by fetching diff, checking CI status, and getting Storybook URL. Use when reviewing PRs, checking PR status, or getting preview links for razorpay/blade PRs.
Get agentic metrics for the `razorpay/blade` repo.
Perform a task end-to-end when intent is set to 'perform-task-end-to-end' by checking existence of GITHUB__RZP_SWE_AGENT_APP__APP_ID environment variable in the session.
Heal a Blade PR by fixing CI failures, missing changesets, and sanity issues. Use when a PR has failing CI or other sanity problems that need to be auto-fixed.
SOC 직업 분류 기준
| name | verify-with-browser |
| description | Visually verify component changes in Storybook using the agent-browser CLI tool |
Visually verify component changes in Storybook using the agent-browser CLI tool.
/verify-with-browser <ComponentName>
Example:
/verify-with-browser Popover
/verify-with-browser Button
yarn start:web in packages/blade or packages/blade-svelte depending on the package you are verifying)npx agent-browser to run commands (no installation required)Use Shell tool to run these commands with npx:
npx agent-browser --help - Show help for agent-browser commandsnpx agent-browser open <url> - Navigate to a URLnpx agent-browser snapshot - Get current page structure with element refsnpx agent-browser snapshot -i - Interactive snapshot with clickable elementsnpx agent-browser screenshot <filename> - Capture screenshot and save to filenpx agent-browser click @<ref> - Click element using ref from snapshotnpx agent-browser type @<ref> "text" - Type text into elementnpx agent-browser close - Close browser sessionNote: the localhost port number might vary. Find the right port where storybook is running.
Option 1: Full Storybook View
npx agent-browser open "http://localhost:9011/?path=/story/components-<component>--<story>"
Option 2: Iframe View (Recommended for Screenshots)
npx agent-browser open "http://localhost:9011/iframe.html?id=components-<component>--<story>&viewMode=story"
Why use iframe view?
npx agent-browser snapshot
npx agent-browser screenshot <component-name>-<story>.png
# Open the component story in iframe view
npx agent-browser open "http://localhost:9011/iframe.html?id=components-popover--uncontrolled&viewMode=story"
# Get snapshot to see page structure and verify loaded
npx agent-browser snapshot
# Take screenshot for visual verification
npx agent-browser screenshot popover-uncontrolled.png
# If interactive testing needed, get snapshot with refs
npx agent-browser snapshot -i
# Output will show elements like:
# - button "Open Popover" [ref=e1]
# - text "Click to toggle" [ref=e2]
# Click elements using refs
npx agent-browser click @e1
# Take another screenshot of the active state
npx agent-browser screenshot popover-open.png
# Close browser when done
npx agent-browser close
Verify the following match the Figma design:
Storybook runs on http://localhost:9011/ (port may vary, check terminals).
URL Formats:
http://localhost:9011/?path=/story/components-<component>--<story-name>http://localhost:9011/iframe.html?id=components-<component>--<story-name>&viewMode=storyhttp://localhost:9011/?path=/docs/components-<component>--docsStory Name Conversion:
uncontrolledproduct-use-case-2.stories.tsx filenpx agent-browser click and npx agent-browser type to test interactive states