跳到正文
cccskills
免费在 GitHub 公开

verifying-in-browser

After making code changes, start the dev server, open the app in Cursor's built-in browser, and verify everything works — check rendering, console errors, and network health. Use proactively after any UI or API change.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Verify in Browser

Use this skill proactively after making code changes to verify the app actually works. Don't just trust that the code is correct — launch it and check.

Steps

  1. Start the dev server in the background — check if one is already running by listing terminals. If not:

    npm run dev
    

    Set block_until_ms: 0 to run it in the background. Then poll until you see the "ready" message with the localhost URL.

  2. Open in the side browser — launch the app beside your code:

    Tool: browser_navigate
    Arguments: { "url": "http://localhost:3000", "position": "side", "take_screenshot_afterwards": true }
    
  3. Quick health check — run these three checks:

    Console errors:

    Tool: browser_console_messages
    

    Flag any errors. Warnings about deprecations can be noted but aren't blockers.

    Network failures:

    Tool: browser_network_requests
    

    Flag any 4xx/5xx responses, failed fetches, or CORS errors.

    Visual check: Review the screenshot. Does the page render? Is the layout correct? Are there any blank screens or loading spinners that never resolve?

  4. Navigate to the changed page — if your changes are on a specific route, navigate there and repeat the checks.

  5. Test interactions — if you changed a form, button, or interactive element:

    • Take a browser_snapshot to get element refs
    • Click, fill, or hover on the changed elements
    • Take another screenshot to verify the result
  6. Report the verdict — tell the user:

    • "Verified in browser — page renders correctly, no console errors, all network requests healthy."
    • Or: "Found issues: [list of problems]"

When to Use This

  • After changing any React component, CSS, or layout code
  • After modifying API routes or data fetching
  • After updating environment variables or configuration
  • After installing or removing dependencies
  • Before committing — as a final sanity check

Notes

  • Use position: "side" to see code and browser at the same time.
  • If the dev server is already running, skip step 1 and go straight to navigating.
  • For SSR apps, check both the initial server-rendered HTML and the client-hydrated state.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use Cursor's browser aria snapshots to audit a page for accessibility issues — missing labels, broken tab order, contrast, and ARIA misuse.

中文简介正在准备中。当前显示原文说明。

0xAidan/polymarket-bot-test42026年9月4日 更新

Add PostHog analytics to a web application, including event tracking, page views, feature flags, and session replay.

中文简介正在准备中。当前显示原文说明。

0xAidan/polymarket-bot-test42026年9月4日 更新

Generate OpenAPI/Swagger documentation for an API, including endpoint schemas, request/response types, and interactive docs UI.

中文简介正在准备中。当前显示原文说明。

0xAidan/polymarket-bot-test42026年9月4日 更新

Add authentication to a web application using NextAuth.js (Auth.js), including OAuth providers, session management, and protected routes.

中文简介正在准备中。当前显示原文说明。

0xAidan/polymarket-bot-test42026年9月4日 更新

Dockerize an application with a production-ready Dockerfile, docker-compose setup, and .dockerignore.

中文简介正在准备中。当前显示原文说明。

0xAidan/polymarket-bot-test42026年9月4日 更新

Set up Playwright end-to-end testing in a project, including test configuration, example tests, and CI integration.

中文简介正在准备中。当前显示原文说明。

0xAidan/polymarket-bot-test42026年9月4日 更新

查看 0xAidan 的全部技能

报告此技能的问题