[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73B2AY5AD7EDYJ030Q0184Q":3,"skill-same:01M73B2AY5AD7EDYJ030Q0184Q":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":38,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":41,"updatedAt":42,"install":43,"resources":56},"01M73B2AY5AD7EDYJ030Q0184Q","web-testing",null,"Playwright automation, Chrome DevTools debugging, and browser interaction testing. Use for E2E\u002Funit tests, capturing screenshots, inspecting network\u002Fconsole logs, or validating user flows in web applications.","bg-szy\u002FTOP-SKILLS","bg-szy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F106576190?v=4","01M73A4E8KPV67SFXRY8XZGNBX","ShuZhiyong","01M73A4E96MQ294MHM74TZBVQD",6,"MIT","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fagent-skills\u002Fweb-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fagent-skills\u002Fweb-testing\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: web-testing\nversion: \"2.0\"\nlast_updated: 2026-09-08\ntags: [web, testing, workflow, automation, guidance]\ndescription: \"Playwright automation, Chrome DevTools debugging, and browser interaction testing. Use for E2E\u002Funit tests, capturing screenshots, inspecting network\u002Fconsole logs, or validating user flows in web applications.\"\n---\n# Web Application Testing & Debugging\n\nComprehensive toolkit for testing and debugging web applications using Playwright automation and Chrome DevTools.\n\n- Leverage native parallel subagent dispatch and 200k+ context windows where available.\n\n\n\n## Activation Conditions\n\nUse symptom -> action triggers: when one matches, apply this skill and verify with the protocol below.\n\n**Playwright Testing:**\n- Testing frontend functionality in a real browser\n- Verifying UI behavior and interactions\n- Debugging web application issues\n- Capturing screenshots for documentation or debugging\n- Inspecting browser console logs\n- Validating form submissions and user flows\n- Checking responsive design across viewports\n\n**Chrome DevTools Debugging:**\n- Interacting with web pages through automated controls\n- Taking screenshots, and analyzing network traffic\n- Navigating pages, clicking elements, filling forms, handling dialogs\n- Emulating network conditions or devices\n- Running JavaScript in page context, capturing console messages\n- Performance profiling and identifying bottlenecks\n\n## Part 1: Playwright Testing\n\n### Core Capabilities\n\n#### Browser Automation\n```typescript\nimport { test, expect, Page, Browser } from '@playwright\u002Ftest';\n\n\u002F\u002F Navigate to URLs\nawait page.goto('https:\u002F\u002Fexample.com');\nawait page.waitForLoadState('networkidle');\n\n\u002F\u002F Click buttons and links\nawait page.click('#submit-button');\nawait page.click('text=Continue');\n\n\u002F\u002F Fill form fields\nawait page.fill('#email', 'user@example.com');\nawait page.fill('#password', 'securepassword');\n\n\u002F\u002F Select dropdowns\nawait page.selectOption('#country', 'United States');\n\n\u002F\u002F Handle dialogs and alerts\npage.on('dialog', async dialog => {\n  await dialog.accept(); \u002F\u002F or dialog.dismiss()\n});\n```\n\n#### User Flow Testing\n```typescript\ntest('complete checkout flow', async ({ page }) => {\n  \u002F\u002F Add to cart\n  await page.goto('\u002Fproducts');\n  await page.click('text=Add to Cart');\n\n  \u002F\u002F Navigate to cart\n  await page.goto('\u002Fcart');\n\n  \u002F\u002F Verify item in cart\n  await expect(page.locator('.cart-item')).toHaveCount(1);\n\n  \u002F\u002F Checkout\n  await page.click('text=Checkout');\n  await page.fill('#email', 'test@example.com');\n  await page.fill('#shipping-address', '123 Main St');\n  await page.click('text=Place Order');\n\n  \u002F\u002F Verify success\n  await expect(page.locator('.success-message')).toBeVisible();\n});\n```\n\n#### Form Validation Testing\n```typescript\ntest('form validation', async ({ page }) => {\n  await page.goto('\u002Fregister');\n\n  \u002F\u002F Submit empty form - should show errors\n  await page.click('text=Submit');\n\n  \u002F\u002F Check error messages\n  await expect(page.locator('.error-email')).toBeVisible();\n  await expect(page.locator('.error-password')).toBeVisible();\n\n  \u002F\u002F Fill valid data\n  await page.fill('#email', 'valid@example.com');\n  await page.fill('#password', 'securePass123!');\n  await page.click('text=Submit');\n\n  \u002F\u002F Verify no errors and success\n  await expect(page.locator('.error-email')).not.toBeVisible();\n  await expect(page.locator('.success-message')).toBeVisible();\n});\n```\n\n### Responsive Testing\n\n```typescript\ntest.describe('Responsive Design', () => {\n  const viewports = [\n    { name: 'Mobile', width: 375, height: 667 },\n    { name: 'Tablet', width: 768, height: 1024 },\n    { name: 'Desktop', width: 1280, height: 720 },\n  ];\n\n  viewports.forEach(({ name, width, height }) => {\n    test(`layout on ${name} (${width}x${height})`, async ({ page }) => {\n      await page.setViewportSize({ width, height });\n      await page.goto('\u002F');\n\n      \u002F\u002F Check navigation is visible and accessible\n      const nav = page.locator('nav');\n      await expect(nav).toBeVisible();\n\n      \u002F\u002F On mobile, check hamburger menu is present\n      if (width \u003C 768) {\n        await expect(page.locator('.mobile-menu-toggle')).toBeVisible();\n      } else {\n        await expect(page.locator('.mobile-menu-toggle')).not.toBeVisible();\n      }\n\n      \u002F\u002F Screenshot for comparison\n      await page.screenshot({\n        path: `screenshots\u002F${name.toLowerCase()}-layout.png`,\n        fullPage: true,\n      });\n    });\n  });\n});\n```\n\n### Console & Network Inspection\n\n```typescript\ntest('console errors and warnings', async ({ page, context }) => {\n  const errors: string[] = [];\n\n  \u002F\u002F Listen for console errors\n  page.on('console', msg => {\n    if (msg.type() === 'error') {\n      errors.push(msg.text());\n    }\n  });\n\n  await page.goto('\u002F');\n\n  \u002F\u002F Assertions\n  expect(errors).toEqual([]);\n});\n\ntest('network requests monitoring', async ({ page }) => {\n  const requests: string[] = [];\n\n  page.on('request', request => {\n    requests.push(request.url());\n  });\n\n  await page.goto('\u002F');\n\n  \u002F\u002F Verify API calls\n  const apiRequests = requests.filter(url => url.includes('\u002Fapi\u002F'));\n  expect(apiRequests.length).toBeGreaterThan(0);\n\n  \u002F\u002F Verify no 404s\n  const failedResponses: any[] = [];\n  page.on('response', response => {\n    if (response.status() === 404) {\n      failedResponses.push(response.url());\n    }\n  });\n\n  await page.click('a[href=\"\u002Fabout\"]');\n  expect(failedResponses).toEqual([]);\n});\n```\n\n### Accessibility Testing\n\n```typescript\ntest('basic accessibility checks', async ({ page }) => {\n  \u002F\u002F Check heading hierarchy\n  const headings = await page.locator('h1, h2, h3').all();\n  expect(headings[0]).toHaveText('Main Heading'); \u002F\u002F h1 should be first\n\n  \u002F\u002F Check images have alt text\n  const imagesWithoutAlt = await page.locator('img:not([alt])').count();\n  expect(imagesWithoutAlt).toBe(0);\n\n  \u002F\u002F Check form labels\n  const inputs = await page.locator('input, select, textarea').all();\n  for (const input of inputs) {\n    const hasLabel = await input.evaluate(el => {\n      return el.labels.length > 0 || el.getAttribute('aria-label');\n    });\n    expect(hasLabel).toBeTruthy();\n  }\n\n  \u002F\u002F Check keyboard navigation\n  await page.keyboard.press('Tab');\n  const focusedElement = await page.evaluate(() => document.activeElement?.tagName);\n  expect(['INPUT', 'BUTTON', 'A']).toContain(focusedElement);\n});\n```\n\n### Visual Regression Testing\n\n```typescript\nimport { compareScreenshots } from '.\u002Fvisual-utils';\n\ntest('visual regression - home page', async ({ page }) => {\n  await page.goto('\u002F');\n\n  \u002F\u002F Wait for all images and fonts to load\n  await page.waitForLoadState('networkidle');\n  await page.waitForTimeout(1000);\n\n  \u002F\u002F Take screenshot\n  const screenshot = await page.screenshot({\n    fullPage: true,\n  });\n\n  \u002F\u002F Compare with baseline\n  const diff = await compareScreenshots(screenshot, 'baseline\u002Fhome.png');\n  expect(diff.pixelDifference).toBeLessThan(100); \u002F\u002F Threshold\n});\n```\n\n---\n\n## Part 2: Chrome DevTools Integration\n\n### Tool Categories\n\n#### Navigation & Page Management\n```javascript\n\u002F\u002F Open new page\nawait chrome.newPage();\n\n\u002F\u002F Navigate to URL\nawait chrome.navigatePage('https:\u002F\u002Fexample.com');\n\n\u002F\u002F Reload current page\nawait chrome.navigatePage({ action: 'reload' });\n\n\u002F\u002F Navigate history\nawait chrome.navigatePage({ action: 'back' });\nawait chrome.navigatePage({ action: 'forward' });\n\n\u002F\u002F List all open pages\nconst pages = await chrome.listPages();\nawait chrome.selectPage(pages[0].id);\n\n\u002F\u002F Close specific page\nawait chrome.closePage('page-id-here');\n\n\u002F\u002F Wait for text to appear\nawait chrome.waitFor('Welcome to the site');\n```\n\n#### Input & Interaction\n```javascript\n\u002F\u002F Take snapshot to get element IDs\nconst snapshot = await chrome.takeSnapshot();\n\n\u002F\u002F Find element by uid\nconst submitButton = snapshot.elements.find(el => el.text === 'Submit');\n\n\u002F\u002F Click element\nawait chrome.click(submitButton.uid);\n\n\u002F\u002F Fill single field\nawait chrome.fill(inputUid, 'value@example.com');\n\n\u002F\u002F Fill multiple fields at once\nawait chrome.fillForm([\n  { uid: emailInputUid, value: 'test@example.com' },\n  { uid: passwordInputUid, value: 'password123' },\n  { uid: nameInputUid, value: 'John Doe' },\n]);\n\n\u002F\u002F Hover over element\nawait chrome.hover(buttonUid);\n\n\u002F\u002F Press keyboard shortcuts\nawait chrome.pressKey('Enter');\nawait chrome.pressKey('Control+C');\n\n\u002F\u002F Drag and drop\nawait chrome.drag(sourceUid, targetUid);\n\n\u002F\u002F Handle browser dialogs\nawait chrome.handleDialog('accept');\nawait chrome.handleDialog('dismiss');\n```\n\n#### Debugging & Inspection\n```javascript\n\u002F\u002F Get accessibility tree (best for finding elements)\nconst snapshot = await chrome.takeSnapshot();\n\n\u002F\u002F Take visual screenshot\nconst screenshot = await chrome.takeScreenshot();\n\n\u002F\u002F List all console messages\nconst messages = await chrome.listConsoleMessages();\n\n\u002F\u002F Get messages by level\nconst errors = await chrome.listConsoleMessages('error');\nconst warnings = await chrome.listConsoleMessages('warning');\n\n\u002F\u002F Get specific message details\nconst message = await chrome.getConsoleMessage(messageId);\n\n\u002F\u002F Evaluate JavaScript in page context\nconst result = await chrome.evaluateScript('document.title');\nconst userInfo = await chrome.evaluateScript(`\n  JSON.parse(localStorage.getItem('user'))\n`);\n\n\u002F\u002F List network requests\nconst requests = await chrome.listNetworkRequests();\n\n\u002F\u002F Get failed requests\nconst failedRequests = requests.filter(req =>\n  req.status >= 400 || req.status === 0\n);\n\n\u002F\u002F Get specific request details\nconst requestDetails = await chrome.getNetworkRequest(requestId);\n```\n\n#### Emulation & Performance\n```javascript\n\u002F\u002F Resize viewport\nawait chrome.resizePage({ width: 375, height: 667 }); \u002F\u002F Mobile\n\n\u002F\u002F Emulate network conditions\nawait chrome.emulate({\n  network: 'offline'    \u002F\u002F 'slow-3g', 'fast-3g', 'online'\n});\n\n\u002F\u002F Emulate geolocation\nawait chrome.emulate({\n  geolocation: { lat: 40.7128, lon: -74.0060 }\n});\n\n\u002F\u002F Start performance trace\nawait chrome.performanceStartTrace({ reload: true });\n\n\u002F\u002F Stop trace after navigation\nawait chrome.waitFor('Page loaded');\nconst trace = await chrome.performanceStopTrace();\n\n\u002F\u002F Get insights\nconst insights = await chrome.performanceAnalyzeInsight();\nconsole.log('LCP:', insights.largestContentfulPaint);\nconsole.log('CLS:', insights.cumulativeLayoutShift);\n```\n\n### Common Debugging Patterns\n\n#### Pattern A: Identifying Elements (Snapshot-First)\n\nAlways prefer snapshot over screenshot for finding elements:\n\n```javascript\n\u002F\u002F 1. Get current page structure\nconst snapshot = await chrome.takeSnapshot();\n\n\u002F\u002F 2. Find the target element by its uid\nconst element = snapshot.elements.find(el => el.text === 'Continue');\n\n\u002F\u002F 3. Use the uid for interaction\nawait chrome.click(element.uid);\n```\n\n#### Pattern B: Troubleshooting Errors\n\nWhen a page is failing, check both console and network:\n\n```javascript\n\u002F\u002F 1. Check console messages for JavaScript errors\nconst errors = await chrome.listConsoleMessages('error');\nconsole.log('JavaScript Errors:', errors);\n\n\u002F\u002F 2. Check network requests for failures\nconst requests = await chrome.listNetworkRequests();\nconst failed = requests.filter(r => r.status >= 400);\nconsole.log('Failed Requests:', failed);\n\n\u002F\u002F 3. Check specific values via JavaScript\nconst apiResponse = await chrome.evaluateScript(`\n  window.lastApiResponse\n`);\nconsole.log('Last API Response:', apiResponse);\n```\n\n#### Pattern C: Performance Profiling\n\nIdentify why a page is slow:\n\n```javascript\n\u002F\u002F 1. Start performance trace with reload\nawait chrome.performanceStartTrace({ reload: true, autoStop: true });\n\n\u002F\u002F 2. Wait for trace to complete\nconst timeout = 10000;\nawait new Promise(resolve => setTimeout(resolve, timeout));\n\n\u002F\u002F 3. Get performance insights\nconst insights = await chrome.performanceAnalyzeInsight();\n\nconsole.log('Performance Issues:', insights.issues);\nconsole.log('LCP:', insights.largestContentfulPaint);\nconsole.log('CLS:', insights.cumulativeLayoutShift);\nconsole.log('FID:', insights.firstInputDelay);\n\n\u002F\u002F 4. Identify bottlenecks\nif (insights.largestContentfulPaint > 2500) {\n  console.warn('LCP is slow - consider optimizing images and CSS');\n}\nif (insights.cumulativeLayoutShift > 0.1) {\n  console.warn('CLS is high - avoid layout shifts');\n}\n```\n\n## Part 3: Testing Best Practices\n\n### Test Structure\n\n```typescript\ntest.describe('User Authentication', () => {\n  test.beforeEach(async ({ page }) => {\n    \u002F\u002F Setup: login fresh each test\n    await page.goto('\u002Flogin');\n  });\n\n  test('successful login with valid credentials', async ({ page }) => {\n    await test.step('Enter credentials', async () => {\n      await page.fill('#email', 'valid@example.com');\n      await page.fill('#password', 'correct-password');\n    });\n\n    await test.step('Submit form', async () => {\n      await page.click('text=Login');\n    });\n\n    await test.step('Verify redirected to dashboard', async () => {\n      await expect(page).toHaveURL('\u002Fdashboard');\n    });\n  });\n\n  test('shows error for invalid credentials', async ({ page }) => {\n    await page.fill('#email', 'invalid@example.com');\n    await page.fill('#password', 'wrong-password');\n    await page.click('text=Login');\n\n    await expect(page.locator('.error-message')).toBeVisible();\n    await expect(page).toHaveURL('\u002Flogin');\n  });\n});\n```\n\n### Page Object Model\n\n```typescript\n\u002F\u002F pages\u002FLoginPage.ts\nexport class LoginPage {\n  constructor(private page: Page) {}\n\n  async goto() {\n    await this.page.goto('\u002Flogin');\n  }\n\n  async login(email: string, password: string) {\n    await this.page.fill('#email', email);\n    await this.page.fill('#password', password);\n    await this.page.click('text=Login');\n  }\n\n  async getErrorMessage() {\n    return await this.page.locator('.error-message').textContent();\n  }\n\n  assertVisible() {\n    expect(this.page.locator('h1')).toHaveText('Login');\n  }\n}\n\n\u002F\u002F Tests\ntest('login flow', async ({ page }) => {\n  const loginPage = new LoginPage(page);\n\n  loginPage.goto();\n  await loginPage.login('user@example.com', 'password');\n\n  await expect(page).toHaveURL('\u002Fdashboard');\n});\n```\n\n### Parallel Testing\n\n```typescript\n\u002F\u002F playwright.config.ts\nexport default defineConfig({\n  workers: process.env.CI ? 2 : 4, \u002F\u002F Parallel execution\n\n  projects: [\n    {\n      name: 'chromium',\n      use: { browserName: 'chromium' },\n    },\n    {\n      name: 'firefox',\n      use: { browserName: 'firefox' },\n    },\n    {\n      name: 'webkit',\n      use: { browserName: 'webkit' },\n    },\n  ],\n});\n```\n\n---\n\n## Part 4: Debugging Toolset\n\n### Quick Reference\n\n| Task | Playwright | Chrome DevTools |\n|------|-----------|-----------------|\n| Browser Automation | Yes | Yes |\n| Page Navigation | `page.goto()` | `navigate_page()` |\n| Click Elements | `page.click()` | `click(uid)` |\n| Fill Forms | `page.fill()` | `fill(uid, value)` |\n| Screenshots | `page.screenshot()` | `take_screenshot()` |\n| Console Logs | `page.on('console')` | `list_console_messages()` |\n| Network Requests | `page.on('request')` | `list_network_requests()` |\n| JavaScript Eval | `page.evaluate()` | `evaluate_script()` |\n| Viewport Resize | `page.setViewportSize()` | `resize_page()` |\n| Performance | Trace API | `performance_*` tools |\n| Device Emulation | `deviceDescriptor` | `emulate()` |\n\n### Common Debugging Commands\n\n```bash\n# Run Playwright tests\nnpx playwright test\n\n# Run tests with UI (helps debugging)\nnpx playwright test --ui\n\n# Run tests in headed mode (watch browser)\nnpx playwright test --headed\n\n# Debug specific test\nnpx playwright test tests\u002Flogin.spec.ts --debug\n\n# Generate codegen from browser actions\nnpx playwright codegen https:\u002F\u002Fexample.com\n```\n\n---\n\n\u003C!-- MCP:START -->\n\n\u003C!-- PORTABILITY:START -->\n## Cross-Client Portability\n\nThis skill is written to stay usable across GitHub Copilot, Claude Code, and Codex.\n\n- GitHub Copilot: keep the folder in a Copilot-visible skill path or wrap the\n  workflow in project instructions when folder discovery is unavailable.\n- Claude Code: keep the folder in a local skills directory or a compatible plugin source.\n- Codex: install or sync the folder into\n  `$CODEX_HOME\u002Fskills\u002Fweb-testing` and restart Codex after major changes.\n\n\u003C!-- PORTABILITY:END -->\n\n## MCP Availability And Fallback\n\nPreferred MCP Server: Playwright MCP, Chrome DevTools MCP (optional)\n\n- Fallback prompt: \"Use the Web Application Testing & Debugging skill without MCP. Follow the documented local or manual fallback, show the selected tool surface, and report the verification evidence.\"\n- Use Playwright CLI (`npx playwright test`, headed mode, or codegen) and browser devtools when MCP browser tools are unavailable.\n- Keep screenshots, console logs, and network traces as test evidence when reproducing issues manually.\n- Do not claim an MCP operation was used when the active host does not expose it.\n\n\u003C!-- MCP:END -->\n\n## Anti-Patterns\n\n- Starting without a clear success condition: The skill becomes advice-shaped instead of workflow-shaped.\n- Skipping the bundled references or scripts: You lose the proven path the catalog is trying to preserve.\n- Claiming completion without concrete evidence: A future agent or reviewer cannot trust the result or resume the work safely.\n\n## Verification Protocol\n\nBefore claiming \"skill applied successfully\":\n\n1. Pass\u002Ffail: The Web Testing implementation names the target runtime, framework version, and affected files.\n2. Pass\u002Ffail: Build, lint, test, or equivalent local validation is run for the changed surface.\n3. Pass\u002Ffail: Edge cases for errors, dependency drift, and environment differences are addressed or explicitly out of scope.\n4. Pressure-test scenario: Apply the workflow to a change that passes happy-path tests but fails one boundary condition.\n5. Success metric: Zero untested success claims; every implementation claim maps to a command or artifact.\n\n## Testing Checklist\n\n### Functionality\n- [ ] All user flows work end-to-end\n- [ ] Form validation tested for success and failure cases\n- [ ] Error handling verified\n- [ ] Edge cases covered\n\n### Responsive Design\n- [ ] Tested on mobile (375px, 414px)\n- [ ] Tested on tablet (768px, 1024px)\n- [ ] Tested on desktop (1280px, 1440px)\n- [ ] Navigation accessible on mobile\n- [ ] No horizontal scrollbars\n\n### Cross-Browser\n- [ ] Tested in Chrome\n- [ ] Tested in Firefox\n- [ ] Tested in Safari\u002FWebKit\n- [ ] Tested in Edge\n\n### Accessibility\n- [ ] All interactive elements keyboard accessible\n- [ ] Focus states visible\n- [ ] ARIA labels on icon-only buttons\n- [ ] Form fields have labels\n- [ ] Images have alt text (except decorative)\n- [ ] Touch targets ≥ 44x44px on mobile\n\n### Performance\n- [ ] Page load time \u003C 3 seconds\n- [ ] LCP \u003C 2.5 seconds\n- [ ] CLS \u003C 0.1\n- [ ] No layout shifts on interaction\n- [ ] Images optimized (WebP, lazy load)\n\n### Error Handling\n- [ ] Console errors logged and reviewed\n- [ ] Failed network requests identified\n- [ ] 404s checked and fixed\n- [ ] 500 errors investigated\n- [ ] User-friendly error messages shown\n\n---\n\n## References & Resources\n\n### Documentation\n- [Playwright Selectors](.\u002Freferences\u002Fplaywright-selectors.md) — All selector types with decision tree and priority order\n- [Test Patterns](.\u002Freferences\u002Ftest-patterns.md) — Page Object Model, fixtures, auth reuse, API mocking, and accessibility patterns\n\n### Scripts\n- [Test Scaffold](.\u002Fscripts\u002Ftest-scaffold.ps1) — PowerShell Playwright test file generator for e2e, visual, and accessibility tests\n\n### Examples\n- [E2E Recipe App Tests](.\u002Fexamples\u002Fe2e-recipe-app-tests.md) — Kitchen Odyssey test suite with Page Objects and CI configuration\n\n---\n\n## Related Skills\n\n- [development-workflow](..\u002Fdevelopment-workflow\u002FSKILL.md): Use it when the workflow also needs planning, quality gates, and delivery tracking.\n- [documentation-quality](..\u002Fdocumentation-quality\u002FSKILL.md): Use it when the workflow also needs documentation review standards and quality gates.\n- [verification-before-completion](..\u002Fverification-before-completion\u002FSKILL.md): Use it when the workflow also needs final evidence checks before claiming completion.\n- [code-quality](..\u002Fcode-quality\u002FSKILL.md): Use it when the workflow also needs two-stage review (spec compliance first, then code quality), maintainability, and refactoring guidance.\n","# Web Application Testing & Debugging\n\nComprehensive toolkit for testing and debugging web applications using Playwright automation and Chrome DevTools.\n\n- Leverage native parallel subagent dispatch and 200k+ context windows where available.\n\n\n\n## Activation Conditions\n\nUse symptom -> action triggers: when one matches, apply this skill and verify with the protocol below.\n\n**Playwright Testing:**\n- Testing frontend functionality in a real browser\n- Verifying UI behavior and interactions\n- Debugging web application issues\n- Capturing screenshots for documentation or debugging\n- Inspecting browser console logs\n- Validating form submissions and user flows\n- Checking responsive design across viewports\n\n**Chrome DevTools Debugging:**\n- Interacting with web pages through automated controls\n- Taking screenshots, and analyzing network traffic\n- Navigating pages, clicking elements, filling forms, handling dialogs\n- Emulating network conditions or devices\n- Running JavaScript in page context, capturing console messages\n- Performance profiling and identifying bottlenecks\n\n## Part 1: Playwright Testing\n\n### Core Capabilities\n\n#### Browser Automation\n```typescript\nimport { test, expect, Page, Browser } from '@playwright\u002Ftest';\n\n\u002F\u002F Navigate to URLs\nawait page.goto('https:\u002F\u002Fexample.com');\nawait page.waitForLoadState('networkidle');\n\n\u002F\u002F Click buttons and links\nawait page.click('#submit-button');\nawait page.click('text=Continue');\n\n\u002F\u002F Fill form fields\nawait page.fill('#email', 'user@example.com');\nawait page.fill('#password', 'securepassword');\n\n\u002F\u002F Select dropdowns\nawait page.selectOption('#country', 'United States');\n\n\u002F\u002F Handle dialogs and alerts\npage.on('dialog', async dialog => {\n  await dialog.accept(); \u002F\u002F or dialog.dismiss()\n});\n```\n\n#### User Flow Testing\n```typescript\ntest('complete checkout flow', async ({ page }) => {\n  \u002F\u002F Add to cart\n  await page.goto('\u002Fproducts');\n  await page.click('text=Add to Cart');\n\n  \u002F\u002F Navigate to cart\n  await page.goto('\u002Fcart');\n\n  \u002F\u002F Verify item in cart\n  await expect(page.locator('.cart-item')).toHaveCount(1);\n\n  \u002F\u002F Checkout\n  await page.click('text=Checkout');\n  await page.fill('#email', 'test@example.com');\n  await page.fill('#shipping-address', '123 Main St');\n  await page.click('text=Place Order');\n\n  \u002F\u002F Verify success\n  await expect(page.locator('.success-message')).toBeVisible();\n});\n```\n\n#### Form Validation Testing\n```typescript\ntest('form validation', async ({ page }) => {\n  await page.goto('\u002Fregister');\n\n  \u002F\u002F Submit empty form - should show errors\n  await page.click('text=Submit');\n\n  \u002F\u002F Check error messages\n  await expect(page.locator('.error-email')).toBeVisible();\n  await expect(page.locator('.error-password')).toBeVisible();\n\n  \u002F\u002F Fill valid data\n  await page.fill('#email', 'valid@example.com');\n  await page.fill('#password', 'securePass123!');\n  await page.click('text=Submit');\n\n  \u002F\u002F Verify no errors and success\n  await expect(page.locator('.error-email')).not.toBeVisible();\n  await expect(page.locator('.success-message')).toBeVisible();\n});\n```\n\n### Responsive Testing\n\n```typescript\ntest.describe('Responsive Design', () => {\n  const viewports = [\n    { name: 'Mobile', width: 375, height: 667 },\n    { name: 'Tablet', width: 768, height: 1024 },\n    { name: 'Desktop', width: 1280, height: 720 },\n  ];\n\n  viewports.forEach(({ name, width, height }) => {\n    test(`layout on ${name} (${width}x${height})`, async ({ page }) => {\n      await page.setViewportSize({ width, height });\n      await page.goto('\u002F');\n\n      \u002F\u002F Check navigation is visible and accessible\n      const nav = page.locator('nav');\n      await expect(nav).toBeVisible();\n\n      \u002F\u002F On mobile, check hamburger menu is present\n      if (width \u003C 768) {\n        await expect(page.locator('.mobile-menu-toggle')).toBeVisible();\n      } else {\n        await expect(page.locator('.mobile-menu-toggle')).not.toBeVisible();\n      }\n\n      \u002F\u002F Screenshot for comparison\n      await page.screenshot({\n        path: `screenshots\u002F${name.toLowerCase()}-layout.png`,\n        fullPage: true,\n      });\n    });\n  });\n});\n```\n\n### Console & Network Inspection\n\n```typescript\ntest('console errors and warnings', async ({ page, context }) => {\n  const errors: string[] = [];\n\n  \u002F\u002F Listen for console errors\n  page.on('console', msg => {\n    if (msg.type() === 'error') {\n      errors.push(msg.text());\n    }\n  });\n\n  await page.goto('\u002F');\n\n  \u002F\u002F Assertions\n  expect(errors).toEqual([]);\n});\n\ntest('network requests monitoring', async ({ page }) => {\n  const requests: string[] = [];\n\n  page.on('request', request => {\n    requests.push(request.url());\n  });\n\n  await page.goto('\u002F');\n\n  \u002F\u002F Verify API calls\n  const apiRequests = requests.filter(url => url.includes('\u002Fapi\u002F'));\n  expect(apiRequests.length).toBeGreaterThan(0);\n\n  \u002F\u002F Verify no 404s\n  const failedResponses: any[] = [];\n  page.on('response', response => {\n    if (response.status() === 404) {\n      failedResponses.push(response.url());\n    }\n  });\n\n  await page.click('a[href=\"\u002Fabout\"]');\n  expect(failedResponses).toEqual([]);\n});\n```\n\n### Accessibility Testing\n\n```typescript\ntest('basic accessibility checks', async ({ page }) => {\n  \u002F\u002F Check heading hierarchy\n  const headings = await page.locator('h1, h2, h3').all();\n  expect(headings[0]).toHaveText('Main Heading'); \u002F\u002F h1 should be first\n\n  \u002F\u002F Check images have alt text\n  const imagesWithoutAlt = await page.locator('img:not([alt])').count();\n  expect(imagesWithoutAlt).toBe(0);\n\n  \u002F\u002F Check form labels\n  const inputs = await page.locator('input, select, textarea').all();\n  for (const input of inputs) {\n    const hasLabel = await input.evaluate(el => {\n      return el.labels.length > 0 || el.getAttribute('aria-label');\n    });\n    expect(hasLabel).toBeTruthy();\n  }\n\n  \u002F\u002F Check keyboard navigation\n  await page.keyboard.press('Tab');\n  const focusedElement = await page.evaluate(() => document.activeElement?.tagName);\n  expect(['INPUT', 'BUTTON', 'A']).toContain(focusedElement);\n});\n```\n\n### Visual Regression Testing\n\n```typescript\nimport { compareScreenshots } from '.\u002Fvisual-utils';\n\ntest('visual regression - home page', async ({ page }) => {\n  await page.goto('\u002F');\n\n  \u002F\u002F Wait for all images and fonts to load\n  await page.waitForLoadState('networkidle');\n  await page.waitForTimeout(1000);\n\n  \u002F\u002F Take screenshot\n  const screenshot = await page.screenshot({\n    fullPage: true,\n  });\n\n  \u002F\u002F Compare with baseline\n  const diff = await compareScreenshots(screenshot, 'baseline\u002Fhome.png');\n  expect(diff.pixelDifference).toBeLessThan(100); \u002F\u002F Threshold\n});\n```\n\n---\n\n## Part 2: Chrome DevTools Integration\n\n### Tool Categories\n\n#### Navigation & Page Management\n```javascript\n\u002F\u002F Open new page\nawait chrome.newPage();\n\n\u002F\u002F Navigate to URL\nawait chrome.navigatePage('https:\u002F\u002Fexample.com');\n\n\u002F\u002F Reload current page\nawait chrome.navigatePage({ action: 'reload' });\n\n\u002F\u002F Navigate history\nawait chrome.navigatePage({ action: 'back' });\nawait chrome.navigatePage({ action: 'forward' });\n\n\u002F\u002F List all open pages\nconst pages = await chrome.listPages();\nawait chrome.selectPage(pages[0].id);\n\n\u002F\u002F Close specific page\nawait chrome.closePage('page-id-here');\n\n\u002F\u002F Wait for text to appear\nawait chrome.waitFor('Welcome to the site');\n```\n\n#### Input & Interaction\n```javascript\n\u002F\u002F Take snapshot to get element IDs\nconst snapshot = await chrome.takeSnapshot();\n\n\u002F\u002F Find element by uid\nconst submitButton = snapshot.elements.find(el => el.text === 'Submit');\n\n\u002F\u002F Click element\nawait chrome.click(submitButton.uid);\n\n\u002F\u002F Fill single field\nawait chrome.fill(inputUid, 'value@example.com');\n\n\u002F\u002F Fill multiple fields at once\nawait chrome.fillForm([\n  { uid: emailInputUid, value: 'test@example.com' },\n  { uid: passwordInputUid, value: 'password123' },\n  { uid: nameInputUid, value: 'John Doe' },\n]);\n\n\u002F\u002F Hover over element\nawait chrome.hover(buttonUid);\n\n\u002F\u002F Press keyboard shortcuts\nawait chrome.pressKey('Enter');\nawait chrome.pressKey('Control+C');\n\n\u002F\u002F Drag and drop\nawait chrome.drag(sourceUid, targetUid);\n\n\u002F\u002F Handle browser dialogs\nawait chrome.handleDialog('accept');\nawait chrome.handleDialog('dismiss');\n```\n\n#### Debugging & Inspection\n```javascript\n\u002F\u002F Get accessibility tree (best for finding elements)\nconst snapshot = await chrome.takeSnapshot();\n\n\u002F\u002F Take visual screenshot\nconst screenshot = await chrome.takeScreenshot();\n\n\u002F\u002F List all console messages\nconst messages = await chrome.listConsoleMessages();\n\n\u002F\u002F Get messages by level\nconst errors = await chrome.listConsoleMessages('error');\nconst warnings = await chrome.listConsoleMessages('warning');\n\n\u002F\u002F Get specific message details\nconst message = await chrome.getConsoleMessage(messageId);\n\n\u002F\u002F Evaluate JavaScript in page context\nconst result = await chrome.evaluateScript('document.title');\nconst userInfo = await chrome.evaluateScript(`\n  JSON.parse(localStorage.getItem('user'))\n`);\n\n\u002F\u002F List network requests\nconst requests = await chrome.listNetworkRequests();\n\n\u002F\u002F Get failed requests\nconst failedRequests = requests.filter(req =>\n  req.status >= 400 || req.status === 0\n);\n\n\u002F\u002F Get specific request details\nconst requestDetails = await chrome.getNetworkRequest(requestId);\n```\n\n#### Emulation & Performance\n```javascript\n\u002F\u002F Resize viewport\nawait chrome.resizePage({ width: 375, height: 667 }); \u002F\u002F Mobile\n\n\u002F\u002F Emulate network conditions\nawait chrome.emulate({\n  network: 'offline'    \u002F\u002F 'slow-3g', 'fast-3g', 'online'\n});\n\n\u002F\u002F Emulate geolocation\nawait chrome.emulate({\n  geolocation: { lat: 40.7128, lon: -74.0060 }\n});\n\n\u002F\u002F Start performance trace\nawait chrome.performanceStartTrace({ reload: true });\n\n\u002F\u002F Stop trace after navigation\nawait chrome.waitFor('Page loaded');\nconst trace = await chrome.performanceStopTrace();\n\n\u002F\u002F Get insights\nconst insights = await chrome.performanceAnalyzeInsight();\nconsole.log('LCP:', insights.largestContentfulPaint);\nconsole.log('CLS:', insights.cumulativeLayoutShift);\n```\n\n### Common Debugging Patterns\n\n#### Pattern A: Identifying Elements (Snapshot-First)\n\nAlways prefer snapshot over screenshot for finding elements:\n\n```javascript\n\u002F\u002F 1. Get current page structure\nconst snapshot = await chrome.takeSnapshot();\n\n\u002F\u002F 2. Find the target element by its uid\nconst element = snapshot.elements.find(el => el.text === 'Continue');\n\n\u002F\u002F 3. Use the uid for interaction\nawait chrome.click(element.uid);\n```\n\n#### Pattern B: Troubleshooting Errors\n\nWhen a page is failing, check both console and network:\n\n```javascript\n\u002F\u002F 1. Check console messages for JavaScript errors\nconst errors = await chrome.listConsoleMessages('error');\nconsole.log('JavaScript Errors:', errors);\n\n\u002F\u002F 2. Check network requests for failures\nconst requests = await chrome.listNetworkRequests();\nconst failed = requests.filter(r => r.status >= 400);\nconsole.log('Failed Requests:', failed);\n\n\u002F\u002F 3. Check specific values via JavaScript\nconst apiResponse = await chrome.evaluateScript(`\n  window.lastApiResponse\n`);\nconsole.log('Last API Response:', apiResponse);\n```\n\n#### Pattern C: Performance Profiling\n\nIdentify why a page is slow:\n\n```javascript\n\u002F\u002F 1. Start performance trace with reload\nawait chrome.performanceStartTrace({ reload: true, autoStop: true });\n\n\u002F\u002F 2. Wait for trace to complete\nconst timeout = 10000;\nawait new Promise(resolve => setTimeout(resolve, timeout));\n\n\u002F\u002F 3. Get performance insights\nconst insights = await chrome.performanceAnalyzeInsight();\n\nconsole.log('Performance Issues:', insights.issues);\nconsole.log('LCP:', insights.largestContentfulPaint);\nconsole.log('CLS:', insights.cumulativeLayoutShift);\nconsole.log('FID:', insights.firstInputDelay);\n\n\u002F\u002F 4. Identify bottlenecks\nif (insights.largestContentfulPaint > 2500) {\n  console.warn('LCP is slow - consider optimizing images and CSS');\n}\nif (insights.cumulativeLayoutShift > 0.1) {\n  console.warn('CLS is high - avoid layout shifts');\n}\n```\n\n## Part 3: Testing Best Practices\n\n### Test Structure\n\n```typescript\ntest.describe('User Authentication', () => {\n  test.beforeEach(async ({ page }) => {\n    \u002F\u002F Setup: login fresh each test\n    await page.goto('\u002Flogin');\n  });\n\n  test('successful login with valid credentials', async ({ page }) => {\n    await test.step('Enter credentials', async () => {\n      await page.fill('#email', 'valid@example.com');\n      await page.fill('#password', 'correct-password');\n    });\n\n    await test.step('Submit form', async () => {\n      await page.click('text=Login');\n    });\n\n    await test.step('Verify redirected to dashboard', async () => {\n      await expect(page).toHaveURL('\u002Fdashboard');\n    });\n  });\n\n  test('shows error for invalid credentials', async ({ page }) => {\n    await page.fill('#email', 'invalid@example.com');\n    await page.fill('#password', 'wrong-password');\n    await page.click('text=Login');\n\n    await expect(page.locator('.error-message')).toBeVisible();\n    await expect(page).toHaveURL('\u002Flogin');\n  });\n});\n```\n\n### Page Object Model\n\n```typescript\n\u002F\u002F pages\u002FLoginPage.ts\nexport class LoginPage {\n  constructor(private page: Page) {}\n\n  async goto() {\n    await this.page.goto('\u002Flogin');\n  }\n\n  async login(email: string, password: string) {\n    await this.page.fill('#email', email);\n    await this.page.fill('#password', password);\n    await this.page.click('text=Login');\n  }\n\n  async getErrorMessage() {\n    return await this.page.locator('.error-message').textContent();\n  }\n\n  assertVisible() {\n    expect(this.page.locator('h1')).toHaveText('Login');\n  }\n}\n\n\u002F\u002F Tests\ntest('login flow', async ({ page }) => {\n  const loginPage = new LoginPage(page);\n\n  loginPage.goto();\n  await loginPage.login('user@example.com', 'password');\n\n  await expect(page).toHaveURL('\u002Fdashboard');\n});\n```\n\n### Parallel Testing\n\n```typescript\n\u002F\u002F playwright.config.ts\nexport default defineConfig({\n  workers: process.env.CI ? 2 : 4, \u002F\u002F Parallel execution\n\n  projects: [\n    {\n      name: 'chromium',\n      use: { browserName: 'chromium' },\n    },\n    {\n      name: 'firefox',\n      use: { browserName: 'firefox' },\n    },\n    {\n      name: 'webkit',\n      use: { browserName: 'webkit' },\n    },\n  ],\n});\n```\n\n---\n\n## Part 4: Debugging Toolset\n\n### Quick Reference\n\n| Task | Playwright | Chrome DevTools |\n|------|-----------|-----------------|\n| Browser Automation | Yes | Yes |\n| Page Navigation | `page.goto()` | `navigate_page()` |\n| Click Elements | `page.click()` | `click(uid)` |\n| Fill Forms | `page.fill()` | `fill(uid, value)` |\n| Screenshots | `page.screenshot()` | `take_screenshot()` |\n| Console Logs | `page.on('console')` | `list_console_messages()` |\n| Network Requests | `page.on('request')` | `list_network_requests()` |\n| JavaScript Eval | `page.evaluate()` | `evaluate_script()` |\n| Viewport Resize | `page.setViewportSize()` | `resize_page()` |\n| Performance | Trace API | `performance_*` tools |\n| Device Emulation | `deviceDescriptor` | `emulate()` |\n\n### Common Debugging Commands\n\n```bash\n# Run Playwright tests\nnpx playwright test\n\n# Run tests with UI (helps debugging)\nnpx playwright test --ui\n\n# Run tests in headed mode (watch browser)\nnpx playwright test --headed\n\n# Debug specific test\nnpx playwright test tests\u002Flogin.spec.ts --debug\n\n# Generate codegen from browser actions\nnpx playwright codegen https:\u002F\u002Fexample.com\n```\n\n---\n\n\u003C!-- MCP:START -->\n\n\u003C!-- PORTABILITY:START -->\n## Cross-Client Portability\n\nThis skill is written to stay usable across GitHub Copilot, Claude Code, and Codex.\n\n- GitHub Copilot: keep the folder in a Copilot-visible skill path or wrap the\n  workflow in project instructions when folder discovery is unavailable.\n- Claude Code: keep the folder in a local skills directory or a compatible plugin source.\n- Codex: install or sync the folder into\n  `$CODEX_HOME\u002Fskills\u002Fweb-testing` and restart Codex after major changes.\n\n\u003C!-- PORTABILITY:END -->\n\n## MCP Availability And Fallback\n\nPreferred MCP Server: Playwright MCP, Chrome DevTools MCP (optional)\n\n- Fallback prompt: \"Use the Web Application Testing & Debugging skill without MCP. Follow the documented local or manual fallback, show the selected tool surface, and report the verification evidence.\"\n- Use Playwright CLI (`npx playwright test`, headed mode, or codegen) and browser devtools when MCP browser tools are unavailable.\n- Keep screenshots, console logs, and network traces as test evidence when reproducing issues manually.\n- Do not claim an MCP operation was used when the active host does not expose it.\n\n\u003C!-- MCP:END -->\n\n## Anti-Patterns\n\n- Starting without a clear success condition: The skill becomes advice-shaped instead of workflow-shaped.\n- Skipping the bundled references or scripts: You lose the proven path the catalog is trying to preserve.\n- Claiming completion without concrete evidence: A future agent or reviewer cannot trust the result or resume the work safely.\n\n## Verification Protocol\n\nBefore claiming \"skill applied successfully\":\n\n1. Pass\u002Ffail: The Web Testing implementation names the target runtime, framework version, and affected files.\n2. Pass\u002Ffail: Build, lint, test, or equivalent local validation is run for the changed surface.\n3. Pass\u002Ffail: Edge cases for errors, dependency drift, and environment differences are addressed or explicitly out of scope.\n4. Pressure-test scenario: Apply the workflow to a change that passes happy-path tests but fails one boundary condition.\n5. Success metric: Zero untested success claims; every implementation claim maps to a command or artifact.\n\n## Testing Checklist\n\n### Functionality\n- [ ] All user flows work end-to-end\n- [ ] Form validation tested for success and failure cases\n- [ ] Error handling verified\n- [ ] Edge cases covered\n\n### Responsive Design\n- [ ] Tested on mobile (375px, 414px)\n- [ ] Tested on tablet (768px, 1024px)\n- [ ] Tested on desktop (1280px, 1440px)\n- [ ] Navigation accessible on mobile\n- [ ] No horizontal scrollbars\n\n### Cross-Browser\n- [ ] Tested in Chrome\n- [ ] Tested in Firefox\n- [ ] Tested in Safari\u002FWebKit\n- [ ] Tested in Edge\n\n### Accessibility\n- [ ] All interactive elements keyboard accessible\n- [ ] Focus states visible\n- [ ] ARIA labels on icon-only buttons\n- [ ] Form fields have labels\n- [ ] Images have alt text (except decorative)\n- [ ] Touch targets ≥ 44x44px on mobile\n\n### Performance\n- [ ] Page load time \u003C 3 seconds\n- [ ] LCP \u003C 2.5 seconds\n- [ ] CLS \u003C 0.1\n- [ ] No layout shifts on interaction\n- [ ] Images optimized (WebP, lazy load)\n\n### Error Handling\n- [ ] Console errors logged and reviewed\n- [ ] Failed network requests identified\n- [ ] 404s checked and fixed\n- [ ] 500 errors investigated\n- [ ] User-friendly error messages shown\n\n---\n\n## References & Resources\n\n### Documentation\n- [Playwright Selectors](.\u002Freferences\u002Fplaywright-selectors.md) — All selector types with decision tree and priority order\n- [Test Patterns](.\u002Freferences\u002Ftest-patterns.md) — Page Object Model, fixtures, auth reuse, API mocking, and accessibility patterns\n\n### Scripts\n- [Test Scaffold](.\u002Fscripts\u002Ftest-scaffold.ps1) — PowerShell Playwright test file generator for e2e, visual, and accessibility tests\n\n### Examples\n- [E2E Recipe App Tests](.\u002Fexamples\u002Fe2e-recipe-app-tests.md) — Kitchen Odyssey test suite with Page Objects and CI configuration\n\n---\n\n## Related Skills\n\n- [development-workflow](..\u002Fdevelopment-workflow\u002FSKILL.md): Use it when the workflow also needs planning, quality gates, and delivery tracking.\n- [documentation-quality](..\u002Fdocumentation-quality\u002FSKILL.md): Use it when the workflow also needs documentation review standards and quality gates.\n- [verification-before-completion](..\u002Fverification-before-completion\u002FSKILL.md): Use it when the workflow also needs final evidence checks before claiming completion.\n- [code-quality](..\u002Fcode-quality\u002FSKILL.md): Use it when the workflow also needs two-stage review (spec compliance first, then code quality), maintainability, and refactoring guidance.\n",{"name":5,"tags":25,"version":31,"description":7,"last_updated":32},[26,27,28,29,30],"web","testing","workflow","automation","guidance","2.0",1788825600000,"master","fd76f882a04e445e899d5cfb2732f2105ea054ee","skills\u002Fagent-skills\u002Fweb-testing",0,"https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS","https:\u002F\u002Fbg-szy.github.io\u002FTOP-SKILLS\u002F","https:\u002F\u002Fgithub.com\u002Fbg-szy","https:\u002F\u002Fwww.ecust.edu.cn\u002F","a student of East China University of Science and Technology","2026-11-15 03:38:02",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add bg-szy\u002FTOP-SKILLS --skill web-testing",{"tool":49,"command":50},"bunx","bunx skills add bg-szy\u002FTOP-SKILLS --skill web-testing",{"tool":52,"command":53},"pnpm","pnpm dlx skills add bg-szy\u002FTOP-SKILLS --skill web-testing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fagent-skills\u002Fweb-testing\u002FSKILL.md",true,[57,63],{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"CHANGELOG.md","REFERENCE","参考文档",6573,"https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fagent-skills\u002Fweb-testing\u002FCHANGELOG.md",{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":16},"LICENSE.txt","LICENSE","许可证",1069,[69,77,84,91,98,105],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":76},"01M7DXW9N826PKXK174PVW3038","serpmaven","Scrape Google search results (SERP) to JSON with SERP Maven (serpmaven) - a real Chrome browser on a residential proxy with sticky sessions. Run it as a CLI, a Python library, a local HTTP search API (`serve`), an MCP server or a Docker image; set the proxy login, workers, pages and cost tracking. Use when the user wants Google results, rank tracking, a self-hosted SERP API, or live Google search for an AI agent.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fserpmaven\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":76},"01M7DXVHSTWDV65475QEQ915M7","revnu-landing-page-audit","Find out why a landing page isn't turning visitors into signups, demos or sales. Audits one page against what the ad, post or search that sends people there promised, then checks the first screen, proof, call to action, friction and mobile. Returns at most 7 prioritized fixes, plus what is fine and what could not be checked; rewrites specific lines and fixes the page in the repo when asked. Never promises a conversion lift. Works without a Revnu account. Use when the user says or asks: \"audit my landing page\", \"why isn't this page converting\", \"review my homepage\", \"my ads get clicks but no signups\", \"people bounce from the pricing page\", \"CRO review\", \"improve conversion rate\", \"is my hero section clear\", \"roast my landing page\", \"rewrite my headline\", \"what's wrong with this page\", \"landing page feedback\", \"make the signup page convert better\". Not for SEO or AI-search audits, page speed engineering on its own, or building a new page from scratch.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-landing-page-audit\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":76},"01M7DXV8X2D7B3VTD4HHYYHTGR","revnu-growth-context","Write down once who buys, what they're stuck on, what it costs, what proof you have and what you've already tried, so every growth task starts from facts instead of a questionnaire. Creates or updates .agents\u002Frevnu-growth.md from the repo, the live site and the user, and imports an existing product-marketing.md. Use when the user says \"set up our marketing context\", \"who is our ideal customer\", \"write our ICP\", \"describe the product for marketing\", \"positioning doc\", \"what's our brand voice\", \"remember this about our customers\", \"log what we tried\", \"what have we learned from marketing\", \"we changed pricing, update the context\", \"update our growth notes\", \"summarize the business for the agent\", \"import my product-marketing.md\", \"start a growth doc\", or before a first marketing, SEO, outreach or launch task when no context file exists. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-growth-context\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":76},"01M7DXV0DGJ1G0A60PAHC6J3C5","revnu-get-listed","Get onto the third-party pages AI answers and search cite when buyers ask for the best tool in your category: \"best X\" roundups, directories, review sites, GitHub awesome lists, community threads and comparison pages. Finds which ones are cited, ranks them by fit and effort, and drafts each submission, PR or pitch by the target's own rules. Use when the user says \"get us listed\", \"which directories should we submit to\", \"how do we get into best-of lists\", \"why does ChatGPT recommend competitors and not us\", \"get mentioned in AI answers\", \"submit to awesome lists\", \"get on G2\", \"where are our competitors listed\", \"pitch listicle authors\", \"find backlink opportunities\", \"launch directories\", \"get into roundups\", \"Product Hunt alternatives\", \"where should we be listed\", \"get cited by Perplexity\". Never submits, pays or posts without a yes. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-get-listed\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":76},"01M7DXTSPMGT9D6DSS0HP9BSTA","revnu-ai-readiness-audit","Audit whether your website gives ChatGPT, Perplexity, Claude, Gemini and Google's AI Overviews something worth quoting, and fix the pages that don't. Use when the user says or asks \"is my site ready for AI search\", \"audit my site for AI answers\", \"AEO audit\", \"GEO audit\", \"why doesn't ChatGPT quote our pricing\", \"make our pages citable by AI\", \"do I need llms.txt\", \"does schema help with ChatGPT\", \"check our structured data\", \"is our content visible without JavaScript\", \"AI SEO audit\", \"optimize our homepage for AI answers\", \"LLM SEO check\", \"why does AI get our product wrong\", \"fix our site for AI Overviews\". Checks fetchability and indexability, answers in the raw HTML, entity facts, schema (including JS-injected markup), headings, dates and llms.txt, then gives at most 10 prioritised fixes and edits the repo when asked. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-ai-readiness-audit\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":76},"01M7DXSZHCVTRS620GC3S97JZV","proxy-troubleshooting","Diagnose residential proxy failures, with NodeMaven's gateway as the reference - 407 with correct credentials, 406, 410, 500, a connection that hangs, ERR_TUNNEL_CONNECTION_FAILED in a browser, Playwright or Puppeteer ignoring proxy credentials, a sticky session that changes IP, geo-targeting that is silently ignored, passwords with special characters, and unexpected traffic from headless Chrome. Use when a proxy connection fails, returns the wrong location, or costs more traffic than expected.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fproxy-troubleshooting\u002FSKILL.md",[],[]]