[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ACFS4WH80NY93G4HSBCGFB":3,"skill-same:01M6ACFS4WH80NY93G4HSBCGFB":99},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":51,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M6ACFS4WH80NY93G4HSBCGFB","webapp-testing","Web 应用自动化测试","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","使用 Playwright 与本地 Web 应用交互并进行测试的工具包。支持验证前端功能、调试 UI 行为、捕获浏览器截图以及查看浏览器日志。","Significant-Gravitas\u002FAutoGPT","Significant-Gravitas","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F130738209?v=4","01M6AC83EPDGBFN19MWYRREJD0","AutoGPT","01M6ACEM7Y5EQA3BMQDXZ3TSP9",188027,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSignificant-Gravitas\u002FAutoGPT\u002Fblob\u002Fmaster\u002Fautogpt_platform\u002Fbackend\u002Ftest\u002Ffixtures\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSignificant-Gravitas\u002FAutoGPT\u002Fblob\u002Fmaster\u002Fautogpt_platform\u002Fbackend\u002Ftest\u002Ffixtures\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39],"testing","webapp testing","frontend","screenshots","playwright","web","debugging","toolkit","browser","2026-11-12 13:55:43",false,"---\nname: webapp-testing\ndescription: Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.\nlicense: Complete terms in LICENSE.txt\n---\n\n# Web Application Testing\n\nTo test local web applications, write native Python Playwright scripts.\n\n**Helper Scripts Available**:\n- `scripts\u002Fwith_server.py` - Manages server lifecycle (supports multiple servers)\n\n**Always run scripts with `--help` first** to see usage. DO NOT read the source until you try running the script first and find that a customized solution is abslutely necessary. These scripts can be very large and thus pollute your context window. They exist to be called directly as black-box scripts rather than ingested into your context window.\n\n## Decision Tree: Choosing Your Approach\n\n```\nUser task → Is it static HTML?\n    ├─ Yes → Read HTML file directly to identify selectors\n    │         ├─ Success → Write Playwright script using selectors\n    │         └─ Fails\u002FIncomplete → Treat as dynamic (below)\n    │\n    └─ No (dynamic webapp) → Is the server already running?\n        ├─ No → Run: python scripts\u002Fwith_server.py --help\n        │        Then use the helper + write simplified Playwright script\n        │\n        └─ Yes → Reconnaissance-then-action:\n            1. Navigate and wait for networkidle\n            2. Take screenshot or inspect DOM\n            3. Identify selectors from rendered state\n            4. Execute actions with discovered selectors\n```\n\n## Example: Using with_server.py\n\nTo start a server, run `--help` first, then use the helper:\n\n**Single server:**\n```bash\npython scripts\u002Fwith_server.py --server \"npm run dev\" --port 5173 -- python your_automation.py\n```\n\n**Multiple servers (e.g., backend + frontend):**\n```bash\npython scripts\u002Fwith_server.py \\\n  --server \"cd backend && python server.py\" --port 3000 \\\n  --server \"cd frontend && npm run dev\" --port 5173 \\\n  -- python your_automation.py\n```\n\nTo create an automation script, include only Playwright logic (servers are managed automatically):\n```python\nfrom playwright.sync_api import sync_playwright\n\nwith sync_playwright() as p:\n    browser = p.chromium.launch(headless=True) # Always launch chromium in headless mode\n    page = browser.new_page()\n    page.goto('http:\u002F\u002Flocalhost:5173') # Server already running and ready\n    page.wait_for_load_state('networkidle') # CRITICAL: Wait for JS to execute\n    # ... your automation logic\n    browser.close()\n```\n\n## Reconnaissance-Then-Action Pattern\n\n1. **Inspect rendered DOM**:\n   ```python\n   page.screenshot(path='\u002Ftmp\u002Finspect.png', full_page=True)\n   content = page.content()\n   page.locator('button').all()\n   ```\n\n2. **Identify selectors** from inspection results\n\n3. **Execute actions** using discovered selectors\n\n## Common Pitfall\n\n❌ **Don't** inspect the DOM before waiting for `networkidle` on dynamic apps\n✅ **Do** wait for `page.wait_for_load_state('networkidle')` before inspection\n\n## Best Practices\n\n- **Use bundled scripts as black boxes** - To accomplish a task, consider whether one of the scripts available in `scripts\u002F` can help. These scripts handle common, complex workflows reliably without cluttering the context window. Use `--help` to see usage, then invoke directly. \n- Use `sync_playwright()` for synchronous scripts\n- Always close the browser when done\n- Use descriptive selectors: `text=`, `role=`, CSS selectors, or IDs\n- Add appropriate waits: `page.wait_for_selector()` or `page.wait_for_timeout()`\n\n## Reference Files\n\n- **examples\u002F** - Examples showing common patterns:\n  - `element_discovery.py` - Discovering buttons, links, and inputs on a page\n  - `static_html_automation.py` - Using file:\u002F\u002F URLs for local HTML\n  - `console_logging.py` - Capturing console logs during automation","# Web Application Testing\n\nTo test local web applications, write native Python Playwright scripts.\n\n**Helper Scripts Available**:\n- `scripts\u002Fwith_server.py` - Manages server lifecycle (supports multiple servers)\n\n**Always run scripts with `--help` first** to see usage. DO NOT read the source until you try running the script first and find that a customized solution is abslutely necessary. These scripts can be very large and thus pollute your context window. They exist to be called directly as black-box scripts rather than ingested into your context window.\n\n## Decision Tree: Choosing Your Approach\n\n```\nUser task → Is it static HTML?\n    ├─ Yes → Read HTML file directly to identify selectors\n    │         ├─ Success → Write Playwright script using selectors\n    │         └─ Fails\u002FIncomplete → Treat as dynamic (below)\n    │\n    └─ No (dynamic webapp) → Is the server already running?\n        ├─ No → Run: python scripts\u002Fwith_server.py --help\n        │        Then use the helper + write simplified Playwright script\n        │\n        └─ Yes → Reconnaissance-then-action:\n            1. Navigate and wait for networkidle\n            2. Take screenshot or inspect DOM\n            3. Identify selectors from rendered state\n            4. Execute actions with discovered selectors\n```\n\n## Example: Using with_server.py\n\nTo start a server, run `--help` first, then use the helper:\n\n**Single server:**\n```bash\npython scripts\u002Fwith_server.py --server \"npm run dev\" --port 5173 -- python your_automation.py\n```\n\n**Multiple servers (e.g., backend + frontend):**\n```bash\npython scripts\u002Fwith_server.py \\\n  --server \"cd backend && python server.py\" --port 3000 \\\n  --server \"cd frontend && npm run dev\" --port 5173 \\\n  -- python your_automation.py\n```\n\nTo create an automation script, include only Playwright logic (servers are managed automatically):\n```python\nfrom playwright.sync_api import sync_playwright\n\nwith sync_playwright() as p:\n    browser = p.chromium.launch(headless=True) # Always launch chromium in headless mode\n    page = browser.new_page()\n    page.goto('http:\u002F\u002Flocalhost:5173') # Server already running and ready\n    page.wait_for_load_state('networkidle') # CRITICAL: Wait for JS to execute\n    # ... your automation logic\n    browser.close()\n```\n\n## Reconnaissance-Then-Action Pattern\n\n1. **Inspect rendered DOM**:\n   ```python\n   page.screenshot(path='\u002Ftmp\u002Finspect.png', full_page=True)\n   content = page.content()\n   page.locator('button').all()\n   ```\n\n2. **Identify selectors** from inspection results\n\n3. **Execute actions** using discovered selectors\n\n## Common Pitfall\n\n❌ **Don't** inspect the DOM before waiting for `networkidle` on dynamic apps\n✅ **Do** wait for `page.wait_for_load_state('networkidle')` before inspection\n\n## Best Practices\n\n- **Use bundled scripts as black boxes** - To accomplish a task, consider whether one of the scripts available in `scripts\u002F` can help. These scripts handle common, complex workflows reliably without cluttering the context window. Use `--help` to see usage, then invoke directly. \n- Use `sync_playwright()` for synchronous scripts\n- Always close the browser when done\n- Use descriptive selectors: `text=`, `role=`, CSS selectors, or IDs\n- Add appropriate waits: `page.wait_for_selector()` or `page.wait_for_timeout()`\n\n## Reference Files\n\n- **examples\u002F** - Examples showing common patterns:\n  - `element_discovery.py` - Discovering buttons, links, and inputs on a page\n  - `static_html_automation.py` - Using file:\u002F\u002F URLs for local HTML\n  - `console_logging.py` - Capturing console logs during automation",{"name":5,"license":45,"description":7},"Complete terms in LICENSE.txt","master","72dc9b4339d5f630bc3360a1ec7818ae9b9dc67f","autogpt_platform\u002Fbackend\u002Ftest\u002Ffixtures\u002Fskills\u002Fwebapp-testing",45865,"https:\u002F\u002Fgithub.com\u002FSignificant-Gravitas\u002FAutoGPT","https:\u002F\u002Fagpt.co","https:\u002F\u002Fgithub.com\u002FSignificant-Gravitas","agpt.co",null,"2026-11-15 06:21:09",{"source":9,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add Significant-Gravitas\u002FAutoGPT --skill webapp-testing",{"tool":62,"command":63},"bunx","bunx skills add Significant-Gravitas\u002FAutoGPT --skill webapp-testing",{"tool":65,"command":66},"pnpm","pnpm dlx skills add Significant-Gravitas\u002FAutoGPT --skill webapp-testing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSignificant-Gravitas\u002FAutoGPT\u002Fblob\u002Fmaster\u002Fautogpt_platform\u002Fbackend\u002Ftest\u002Ffixtures\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",true,[70,76,80,84,89,95],{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"examples\u002Fconsole_logging.py","SCRIPT","脚本",1027,"https:\u002F\u002Fgithub.com\u002FSignificant-Gravitas\u002FAutoGPT\u002Fblob\u002Fmaster\u002Fautogpt_platform\u002Fbackend\u002Ftest\u002Ffixtures\u002Fskills\u002Fwebapp-testing\u002Fexamples\u002Fconsole_logging.py",{"path":77,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":78,"sourceHtmlUrl":79},"examples\u002Felement_discovery.py",1463,"https:\u002F\u002Fgithub.com\u002FSignificant-Gravitas\u002FAutoGPT\u002Fblob\u002Fmaster\u002Fautogpt_platform\u002Fbackend\u002Ftest\u002Ffixtures\u002Fskills\u002Fwebapp-testing\u002Fexamples\u002Felement_discovery.py",{"path":81,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":82,"sourceHtmlUrl":83},"examples\u002Fstatic_html_automation.py",953,"https:\u002F\u002Fgithub.com\u002FSignificant-Gravitas\u002FAutoGPT\u002Fblob\u002Fmaster\u002Fautogpt_platform\u002Fbackend\u002Ftest\u002Ffixtures\u002Fskills\u002Fwebapp-testing\u002Fexamples\u002Fstatic_html_automation.py",{"path":85,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":88,"sourceHtmlUrl":17},"LICENSE.txt","LICENSE","许可证",11345,{"path":90,"resourceType":91,"resourceTypeDesc":92,"sizeBytes":93,"sourceHtmlUrl":94},"README.md","REFERENCE","参考文档",676,"https:\u002F\u002Fgithub.com\u002FSignificant-Gravitas\u002FAutoGPT\u002Fblob\u002Fmaster\u002Fautogpt_platform\u002Fbackend\u002Ftest\u002Ffixtures\u002Fskills\u002Fwebapp-testing\u002FREADME.md",{"path":96,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":97,"sourceHtmlUrl":98},"scripts\u002Fwith_server.py",3693,"https:\u002F\u002Fgithub.com\u002FSignificant-Gravitas\u002FAutoGPT\u002Fblob\u002Fmaster\u002Fautogpt_platform\u002Fbackend\u002Ftest\u002Ffixtures\u002Fskills\u002Fwebapp-testing\u002Fscripts\u002Fwith_server.py",[100],{"skillNo":101,"name":102,"nameZh":103,"description":104,"descriptionZh":105,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":106,"licenseFileUrl":54,"sourceHtmlUrl":107,"categories":108,"keywords":115,"publishedAt":127},"01M6ACFERARFCFVNG6HCC5XX68","vercel-react-best-practices","React\u002FNext.js 性能优化指南","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","来自 Vercel 工程团队的 React 和 Next.js 性能优化指南。在编写、审查或重构 React\u002FNext.js 代码以确保最佳性能模式时应使用此技能。触发于涉及 React 组件、Next.js 页面、数据获取、包优化或性能改进的任务。","MIT","https:\u002F\u002Fgithub.com\u002FSignificant-Gravitas\u002FAutoGPT\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Fvercel-react-best-practices\u002FSKILL.md",[109,112],{"categoryNo":110,"categoryName":111,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":113,"categoryName":114,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRASNPVNJVQQJ4KZX8XM5D","前端开发与界面实现",[116,117,118,119,120,121,122,123,124,125,126],"react","vercel react best practices","best practices","react best practices","writing","performance","components","react components","guidelines","tasks","code","2026-11-10 10:12:30"]