[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FBD7K79CF2R0SFYK18M6TG":3,"skill-same:01M7FBD7K79CF2R0SFYK18M6TG":79},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":13,"repositoryHtmlUrl":39,"repositoryHomepageUrl":6,"ownerHtmlUrl":40,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":41,"install":42,"resources":55},"01M7FBD7K79CF2R0SFYK18M6TG","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.","hienpham0344\u002FAgent-kit","hienpham0344","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F202117481?v=4","01M7FAXAHS9A2VJ6F0AF1W8EY7","01M7FAXAJDAEP8NEG7B0KFTS90",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fengineering-core\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fengineering-core\u002Fwebapp-testing\u002FSKILL.md",[],[],"2026-11-16 10:05:34",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.\ntriggers: [playwright, browser test, ui testing, e2e, screenshot, console logs]\nrisk_level: low\nrequired_tools: [terminal, python3, playwright]\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":24,"triggers":25,"risk_level":32,"description":7,"required_tools":33},"Complete terms in LICENSE.txt",[26,27,28,29,30,31],"playwright","browser test","ui testing","e2e","screenshot","console logs","low",[34,35,26],"terminal","python3","main","98e910e6f821daa03a9eebb76d4c12b94fdb2699","skills\u002Fengineering-core\u002Fwebapp-testing","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit","https:\u002F\u002Fgithub.com\u002Fhienpham0344","2026-11-13 02:55:47",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add hienpham0344\u002FAgent-kit --skill webapp-testing",{"tool":48,"command":49},"bunx","bunx skills add hienpham0344\u002FAgent-kit --skill webapp-testing",{"tool":51,"command":52},"pnpm","pnpm dlx skills add hienpham0344\u002FAgent-kit --skill webapp-testing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fengineering-core\u002Fwebapp-testing\u002FSKILL.md",true,[56,62,66,70,75],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"examples\u002Fconsole_logging.py","SCRIPT","脚本",1027,"https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fengineering-core\u002Fwebapp-testing\u002Fexamples\u002Fconsole_logging.py",{"path":63,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":64,"sourceHtmlUrl":65},"examples\u002Felement_discovery.py",1463,"https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fengineering-core\u002Fwebapp-testing\u002Fexamples\u002Felement_discovery.py",{"path":67,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":68,"sourceHtmlUrl":69},"examples\u002Fstatic_html_automation.py",953,"https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fengineering-core\u002Fwebapp-testing\u002Fexamples\u002Fstatic_html_automation.py",{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":15},"LICENSE.txt","LICENSE","许可证",11345,{"path":76,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":77,"sourceHtmlUrl":78},"scripts\u002Fwith_server.py",3693,"https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fengineering-core\u002Fwebapp-testing\u002Fscripts\u002Fwith_server.py",[80,89,97,105,113,121],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":84,"licenseFileUrl":85,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7FBMYVF3BFPBVFC5W2VYX14","spec-forge","Specification system for creating, auditing, and propagating requirements docs (PRD, IEEE 830 SRS, tech design, feature specs, and test plans).","MIT","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fplanning-grilling\u002Fspec-forge\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fplanning-grilling\u002Fspec-forge\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":84,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7FBMR12AAHSXDNZNDQ492F5","problem-based-srs","Complete Problem-Based Software Requirements Specification methodology following Gorski & Stadzisz research. Use when you need to perform requirements engineering from business problems to functional requirements with full traceability.","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fplanning-grilling\u002Fproblem-based-srs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fplanning-grilling\u002Fproblem-based-srs\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":101,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M7FBCCE5QWSQ1SG4NXJQX5V1","mcp-builder","Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node\u002FTypeScript (MCP SDK).","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fengineering-core\u002Fmcp-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fengineering-core\u002Fmcp-builder\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":109,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":19},"01M7FBBDDQNKYEXDGHSEKY94XN","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fdocuments-media\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fdocuments-media\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":84,"licenseFileUrl":117,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":19},"01M7FB8SXSJ8XF8QD5HQHKWJT7","ui-styling","Build accessible user interfaces using shadcn\u002Fui (Radix UI + Tailwind CSS), utility-first styling, dark mode themes, and consistent design system tokens.","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fdesign-uiux\u002Fui-styling\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fdesign-uiux\u002Fui-styling\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":84,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":19},"01M7FB7K5DEAQS82EWV9Y7E1NQ","design-system","Token architecture, component specifications, and slide generation. Three-layer tokens (primitive→semantic→component), CSS variables, spacing\u002Ftypography scales, component specs, strategic slide creation. Use for design tokens, systematic design, brand-compliant presentations.","https:\u002F\u002Fgithub.com\u002Fhienpham0344\u002FAgent-kit\u002Fblob\u002Fmain\u002Fskills\u002Fdesign-uiux\u002Fdesign-system\u002FSKILL.md",[],[]]