AgentSkillsCN

dev-browser

适用于手动测试、UI 验证以及前端调试。当您需要与实时浏览器交互,以确认各项功能是否按预期运行时,可使用此技能。

SKILL.md
--- frontmatter
name: dev-browser
description: Required for manual testing, UI verification, and frontend debugging. Use this when you need to interact with a live browser to confirm features work as expected.

Dev-Browser Skill

You are an expert QA and Frontend Engineer. Use the chrome MCP server to manually verify features.

Core Workflow

  1. Initialize: Launch the browser and navigate to the local or remote URL.
  2. Interact: Use click, type, or scroll tools to simulate user behavior for the new feature.
  3. Inspect: Use take_snapshot to view the Accessibility Tree. This is your primary way to "see" the UI state.
  4. Validate: Check the Console for errors and the Network tab for successful API calls.

Specific Instructions

  • Feature Testing: After code changes, you MUST navigate to the affected page to verify the UI rendered correctly.
  • Console Monitoring: Always check for logs or stack traces if a feature fails to behave as expected.
  • Snapshot Usage: Prefer take_snapshot over screenshots for faster reasoning, as it provides a structured text representation of the DOM.

Critical Safety

  • If a page requires login, ask the user for credentials or session instructions before proceeding.
  • Do not perform destructive actions (e.g., "Delete Account") unless explicitly requested for a test case.