[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ARGX5KD779JQ43884BASGG":3,"skill-same:01M7ARGX5KD779JQ43884BASGG":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":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M7ARGX5KD779JQ43884BASGG","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.","rakib-nyc\u002Fskillassay","rakib-nyc","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F28086727?v=4","01M7ARC1K63WPEN98FJZ0P4QAC","Rakib","01M7ARC1M6C8GGMPAST86D4N95",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Frakib-nyc\u002Fskillassay\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fanthropic-official\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Frakib-nyc\u002Fskillassay\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fanthropic-official\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","3877296fd29b4b22f08196aab291498706dac782","test\u002Ffixtures\u002Fanthropic-official\u002Fskills\u002Fwebapp-testing",2,"https:\u002F\u002Fgithub.com\u002Frakib-nyc\u002Fskillassay","https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fskillassay","https:\u002F\u002Fgithub.com\u002Frakib-nyc","2026-08-17 06:19:47",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add rakib-nyc\u002Fskillassay --skill webapp-testing",{"tool":40,"command":41},"bunx","bunx skills add rakib-nyc\u002Fskillassay --skill webapp-testing",{"tool":43,"command":44},"pnpm","pnpm dlx skills add rakib-nyc\u002Fskillassay --skill webapp-testing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frakib-nyc\u002Fskillassay\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fanthropic-official\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\u002Frakib-nyc\u002Fskillassay\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fanthropic-official\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\u002Frakib-nyc\u002Fskillassay\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fanthropic-official\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\u002Frakib-nyc\u002Fskillassay\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fanthropic-official\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\u002Frakib-nyc\u002Fskillassay\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fanthropic-official\u002Fskills\u002Fwebapp-testing\u002Fscripts\u002Fwith_server.py",[72,79,86,91,96,103],{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":20},"01M7ARJZJ2RRWEGGGDGFTFWM0W","shared-lint","Runs the repo linter. Use when the user asks to lint or format the monorepo.","https:\u002F\u002Fgithub.com\u002Frakib-nyc\u002Fskillassay\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fmulti-harness\u002Fskills\u002Fshared\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":20},"01M7ARJX9ZGAWQ8D95ZK9JXCS4","deploy","Deploys a service to production. Use when the user asks to ship, release, or roll back.","https:\u002F\u002Fgithub.com\u002Frakib-nyc\u002Fskillassay\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fmulti-harness\u002F.gemini\u002Fskills\u002Fdeploy\u002FSKILL.md",[],[],{"skillNo":87,"name":81,"nameZh":6,"description":82,"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":20},"01M7ARJV9NMX596Q2ZXBZBF9GY","https:\u002F\u002Fgithub.com\u002Frakib-nyc\u002Fskillassay\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fmulti-harness\u002F.codex\u002Fskills\u002Fdeploy\u002FSKILL.md",[],[],{"skillNo":92,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":20},"01M7ARJS8EMEAXM4KTBMDXKW19","https:\u002F\u002Fgithub.com\u002Frakib-nyc\u002Fskillassay\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fmulti-harness\u002F.claude\u002Fskills\u002Fdeploy\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":20},"01M7ARJPQP2AD2G6ZPS9A5YQ4M","skill-creator","Scaffolds a new agent skill directory. Use when the user asks to create a skill or add a new capability.","https:\u002F\u002Fgithub.com\u002Frakib-nyc\u002Fskillassay\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fknown-duplicates\u002F.claude\u002Fskills\u002Fskill-creator\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":20},"01M7ARJKE30TENG7PWBBAQT06F","skill-creator-v2","Generates a new agent skill from a template. Use when the user asks to build a skill or add agent capabilities.","https:\u002F\u002Fgithub.com\u002Frakib-nyc\u002Fskillassay\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fknown-duplicates\u002F.claude\u002Fskills\u002Fskill-creator-v2\u002FSKILL.md",[],[]]