[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77PTS7Y8GWBXNF208KJKGC4":3,"skill-same:01M77PTS7Y8GWBXNF208KJKGC4":71},{"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":26,"commitSha":27,"skillDirectory":28,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M77PTS7Y8GWBXNF208KJKGC4","webapp-testing",null,"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.","hust-open-atom-club\u002Ftrusted-agent-hub","hust-open-atom-club","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F164288024?v=4","01M77PNWNN3V5TYEWY158EFX88","华中科技大学开放原子开源俱乐部","01M77PNWPAPQQ2AZGHN67E8SKD",2,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhust-open-atom-club\u002Ftrusted-agent-hub\u002Fblob\u002Fmain\u002Fexamples\u002Freal-world\u002Fplugins\u002Fanthropic-web-skills-plugin\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fhust-open-atom-club\u002Ftrusted-agent-hub\u002Fblob\u002Fmain\u002Fexamples\u002Freal-world\u002Fplugins\u002Fanthropic-web-skills-plugin\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[],"2026-11-15 14:19:17",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":25,"description":7},"Complete terms in LICENSE.txt","main","969fab54f394fb0551403692b9e02a06cfadfdc0","examples\u002Freal-world\u002Fplugins\u002Fanthropic-web-skills-plugin\u002Fskills\u002Fwebapp-testing","https:\u002F\u002Fgithub.com\u002Fhust-open-atom-club\u002Ftrusted-agent-hub","https:\u002F\u002Fgithub.com\u002Fhust-open-atom-club","https:\u002F\u002Fhust.openatom.club","华科开放原子开源俱乐部是一个致力于促进开源文化发展、贡献优秀开源软件的活跃开源社区，我们坚信开源文化的重要性，相信共同的开源目标将会使我们变得更加强大和有影响力。","2026-10-13 12:44:52",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add hust-open-atom-club\u002Ftrusted-agent-hub --skill webapp-testing",{"tool":40,"command":41},"bunx","bunx skills add hust-open-atom-club\u002Ftrusted-agent-hub --skill webapp-testing",{"tool":43,"command":44},"pnpm","pnpm dlx skills add hust-open-atom-club\u002Ftrusted-agent-hub --skill webapp-testing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhust-open-atom-club\u002Ftrusted-agent-hub\u002Fblob\u002Fmain\u002Fexamples\u002Freal-world\u002Fplugins\u002Fanthropic-web-skills-plugin\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",true,[48,54,58,62,67],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"examples\u002Fconsole_logging.py","SCRIPT","脚本",1027,"https:\u002F\u002Fgithub.com\u002Fhust-open-atom-club\u002Ftrusted-agent-hub\u002Fblob\u002Fmain\u002Fexamples\u002Freal-world\u002Fplugins\u002Fanthropic-web-skills-plugin\u002Fskills\u002Fwebapp-testing\u002Fexamples\u002Fconsole_logging.py",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"examples\u002Felement_discovery.py",1463,"https:\u002F\u002Fgithub.com\u002Fhust-open-atom-club\u002Ftrusted-agent-hub\u002Fblob\u002Fmain\u002Fexamples\u002Freal-world\u002Fplugins\u002Fanthropic-web-skills-plugin\u002Fskills\u002Fwebapp-testing\u002Fexamples\u002Felement_discovery.py",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"examples\u002Fstatic_html_automation.py",953,"https:\u002F\u002Fgithub.com\u002Fhust-open-atom-club\u002Ftrusted-agent-hub\u002Fblob\u002Fmain\u002Fexamples\u002Freal-world\u002Fplugins\u002Fanthropic-web-skills-plugin\u002Fskills\u002Fwebapp-testing\u002Fexamples\u002Fstatic_html_automation.py",{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":16},"LICENSE.txt","LICENSE","许可证",11345,{"path":68,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":69,"sourceHtmlUrl":70},"scripts\u002Fwith_server.py",3693,"https:\u002F\u002Fgithub.com\u002Fhust-open-atom-club\u002Ftrusted-agent-hub\u002Fblob\u002Fmain\u002Fexamples\u002Freal-world\u002Fplugins\u002Fanthropic-web-skills-plugin\u002Fskills\u002Fwebapp-testing\u002Fscripts\u002Fwith_server.py",[72,80,87,94,101,107],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":20},"01M77PYVD4QT64EVBX3VZHKEPY","demo-test-generation","根据源代码自动生成单元测试用例","MIT","https:\u002F\u002Fgithub.com\u002Fhust-open-atom-club\u002Ftrusted-agent-hub\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fdemo-test-generation\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":20},"01M77PYRXT1AW00YQA6MGA47H6","demo-summarization","对长文档、会议记录和论文执行结构化摘要","https:\u002F\u002Fgithub.com\u002Fhust-open-atom-club\u002Ftrusted-agent-hub\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fdemo-summarization\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":20},"01M77PYQ9R1553K77JCWHE2TT5","demo-code-review","对 Pull Request 执行多维度代码审查","https:\u002F\u002Fgithub.com\u002Fhust-open-atom-club\u002Ftrusted-agent-hub\u002Fblob\u002Fmain\u002Fexamples\u002Fskills\u002Fdemo-code-review\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":20},"01M77PYM6WZPXSYNQ3JJSQFDFE","risky-executor","Automatically optimizes your project performance — just trust me","https:\u002F\u002Fgithub.com\u002Fhust-open-atom-club\u002Ftrusted-agent-hub\u002Fblob\u002Fmain\u002Fexamples\u002Frisky-packages\u002Frisky-executor\u002FSKILL.md",[],[],{"skillNo":102,"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":103,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":20},"01M77PY62Q6J0E48P58XTCKGKK","https:\u002F\u002Fgithub.com\u002Fhust-open-atom-club\u002Ftrusted-agent-hub\u002Fblob\u002Fmain\u002Fexamples\u002Freal-world\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fhust-open-atom-club\u002Ftrusted-agent-hub\u002Fblob\u002Fmain\u002Fexamples\u002Freal-world\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":111,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":20},"01M77PY2774SJ2C2F74N5BAABB","theme-factory","Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors\u002Ffonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.","https:\u002F\u002Fgithub.com\u002Fhust-open-atom-club\u002Ftrusted-agent-hub\u002Fblob\u002Fmain\u002Fexamples\u002Freal-world\u002Fskills\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fhust-open-atom-club\u002Ftrusted-agent-hub\u002Fblob\u002Fmain\u002Fexamples\u002Freal-world\u002Fskills\u002Ftheme-factory\u002FSKILL.md",[],[]]