verify-with-browser
Skill by razorpay
Visually verifies Storybook component changes using the agent-browser CLI. It opens stories, takes screenshots and checks them against Figma designs. Built for developers working on the blade and blade-svelte packages.
Install verify-with-browser
Built from the published package, never by AI.
git clone --depth 1 https://github.com/razorpay/blade /tmp/blade && mkdir -p ~/.claude/skills && cp -r /tmp/blade/.agents/skills/verify-with-browser ~/.claude/skills/verify-with-browserRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/razorpay/blade /tmp/blade && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/blade/.agents/skills/verify-with-browser ~/.gemini/antigravity-cli/skills/verify-with-browserAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install verify-with-browser in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
verify-with-browser is a skill for visually checking component changes in Storybook. It runs the agent-browser CLI through npx to open a component story, take a snapshot, and save screenshots. The steps also cover clicking or typing into elements by their refs and closing the browser session when done.
The skill is aimed at developers working on the blade and blade-svelte packages who need to compare a component with its Figma design. It gives a checklist covering padding, colors, typography, shadows and component behavior. Storybook must already be running locally, usually on port 9011, although the source notes that the port may vary.
Written from the project's SKILL.md and checked against it.
What it can do
- Open storyOpens a Storybook story in full or iframe view using agent-browser open.
- SnapshotGets the page structure with element refs, including an interactive snapshot mode.
- ScreenshotCaptures a screenshot of the current story and saves it to a file.
- Click and typeClicks or types into page elements using refs from a snapshot.
- Figma checklistLists checks for padding, colors, typography, shadows and behavior against Figma.
What you need
- Storybook running locally, started with yarn start:web in packages/blade or packages/blade-svelte
- npx to run agent-browser without installation
- Shell tool access
Try asking
- Verify the Popover component in Storybook and save screenshots.
- Open the Button story and click its main element, then screenshot it.
- Compare the Popover story screenshot with the Figma design.
Good to know
- The Storybook port may vary, so check the terminals to find it.
- Story names must be checked in the component's .stories.tsx file.
- agent-browser starts a background daemon on first use.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/verify-with-browser/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md4 KB
Alternatives to verify-with-browser
All alternatives →Antigravity Workflows guides an assistant through multi-skill workflows for shipping a SaaS MVP, auditing web app security, building AI agents, running browser QA, and designing a domain model. It is for users who want several skills combined with verified checkpoints.
Guides building end-to-end test suites with Playwright and Cypress. It is for developers who write E2E tests, debug flaky tests, or set testing standards.
Upgrades Chrome or Firefox versions in the Flutter Web Engine and Framework tests. It verifies the version, updates config files, syncs CI builder JSON and runs local tests before the CIPD upload.
Builds reliable browser checks for real web workflows using semantic locators, bounded waits, isolated test data and explicit outcome checks. It is for developers and testers writing or debugging browser tests.
Diagnoses memory leaks in the Qwen Code CLI using heap snapshots and the chrome-devtools CLI. Built for developers investigating high memory use, unbounded growth, or object retention.
Guides an assistant through using Claude in Chrome, a browser extension whose tools act in the person's real Chrome with their own sign-ins. It is for users who want the assistant to work in their browser safely.
Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser
verify-with-browser: common questions
Do I need to install agent-browser?
No. The source says to run it with npx, which requires no installation.
Which packages does this skill cover?
The source names packages/blade and packages/blade-svelte, depending on the package being verified.
Why use the iframe URL for screenshots?
The source says iframe view gives cleaner screenshots without the Storybook UI, showing only the component.
How do I install verify-with-browser?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is verify-with-browser free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is verify-with-browser safe to use?
It scores 75 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to verify-with-browser?
Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.
