[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75WJMNVXKFNR44X4E7KFN70":3,"skill-same:01M75WJMNVXKFNR44X4E7KFN70":118},{"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":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M75WJMNVXKFNR44X4E7KFN70","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.","stevengonsalvez\u002Fainb-toolkit","stevengonsalvez","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9320602?v=4","01M75W59QRYZYANWY3XG8CJB1P","Steven Gonsalvez","01M75W59RD5YW1RT67BDV0EAZF",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[],"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## Browser Tools (Direct Chrome DevTools Control)\n\nThe `{{HOME_TOOL_DIR}}\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools` utility provides lightweight, context-rot-proof browser automation using the Chrome DevTools Protocol directly (no MCP overhead).\n\n**Available Commands**:\n\n```bash\n# Launch browser and get connection details\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools start [--port PORT] [--headless]\n\n# Navigate to URL\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools nav \u003Curl> [--wait-for {load|networkidle|domcontentloaded}]\n\n# Evaluate JavaScript\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools eval \"\u003Cjavascript code>\"\n\n# Take screenshot\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools screenshot \u003Coutput.png> [--full-page] [--selector CSS_SELECTOR]\n\n# Interactive element picker (returns selectors)\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools pick\n\n# Get console logs\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools console [--level {log|warn|error|all}]\n\n# Search page content\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools search \"\u003Cquery>\" [--case-sensitive]\n\n# Extract page content (markdown, links, text)\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools content [--format {markdown|links|text}]\n\n# Get\u002Fset cookies\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools cookies [--set NAME=VALUE] [--domain DOMAIN]\n\n# Inspect element details\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools inspect \u003Ccss-selector>\n\n# Terminate browser session\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools kill\n```\n\n**When to Use Browser-Tools vs Playwright**:\n\n✅ **Use browser-tools when**:\n- Quick inspection\u002Fdebugging of running apps\n- Need to identify selectors interactively (`pick` command)\n- Extracting page content for analysis\n- Running simple JavaScript snippets\n- Monitoring console logs in real-time\n- Taking quick screenshots without writing scripts\n\n✅ **Use Playwright when**:\n- Complex multi-step automation workflows\n- Need full test assertion framework\n- Handling multi-step forms\n- Database integration (Supabase utilities)\n- Comprehensive test coverage\n- Generating test reports\n\n**Example Workflow**:\n\n```bash\n# 1. Start browser pointed at your app\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools start --port 9222\n\n# 2. Navigate to the page\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools nav http:\u002F\u002Flocalhost:3000\n\n# 3. Use interactive picker to find selectors\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools pick\n# Click on elements in the browser, get their selectors\n\n# 4. Inspect specific elements\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools inspect \"button.submit\"\n\n# 5. Take screenshot for documentation\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools screenshot \u002Ftmp\u002Fpage.png --full-page\n\n# 6. Check console for errors\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools console --level error\n\n# 7. Clean up\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools kill\n```\n\n**Benefits**:\n- **No MCP overhead**: Direct Chrome DevTools Protocol communication\n- **Context-rot proof**: No dependency on evolving MCP specifications\n- **Interactive picker**: Visual element selection for selector discovery\n- **Lightweight**: Faster than full Playwright for simple tasks\n- **Pre-compiled binary**: Ready to use, no compilation needed (auto-compiled via create-rule.js)\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 3000 -- 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 8000 \\\n  --server \"cd frontend && npm run dev\" --port 3000 \\\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\nAPP_PORT = 3000  # Match the port from --port argument\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(f'http:\u002F\u002Flocalhost:{APP_PORT}') # 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## Utility Modules\n\nThe skill now includes comprehensive utilities for common testing patterns:\n\n### UI Interactions (`utils\u002Fui_interactions.py`)\n\nHandle common UI patterns automatically:\n\n```python\nfrom utils.ui_interactions import (\n    dismiss_cookie_banner,\n    dismiss_modal,\n    click_with_header_offset,\n    force_click_if_needed,\n    wait_for_no_overlay,\n    wait_for_stable_dom\n)\n\n# Dismiss cookie consent\ndismiss_cookie_banner(page)\n\n# Close welcome modal\ndismiss_modal(page, modal_identifier=\"Welcome\")\n\n# Click button behind fixed header\nclick_with_header_offset(page, 'button#submit', header_height=100)\n\n# Try click with force fallback\nforce_click_if_needed(page, 'button#action')\n\n# Wait for loading overlays to disappear\nwait_for_no_overlay(page)\n\n# Wait for DOM to stabilize\nwait_for_stable_dom(page)\n```\n\n### Smart Form Filling (`utils\u002Fform_helpers.py`)\n\nIntelligently handle form variations:\n\n```python\nfrom utils.form_helpers import (\n    SmartFormFiller,\n    handle_multi_step_form,\n    auto_fill_form\n)\n\n# Works with both \"Full Name\" and \"First\u002FLast Name\" fields\nfiller = SmartFormFiller()\nfiller.fill_name_field(page, \"Jane Doe\")\nfiller.fill_email_field(page, \"jane@example.com\")\nfiller.fill_password_fields(page, \"SecurePass123!\")\nfiller.fill_phone_field(page, \"+447700900123\")\nfiller.fill_date_field(page, \"1990-01-15\", field_hint=\"birth\")\n\n# Auto-fill entire form\nresults = auto_fill_form(page, {\n    'email': 'test@example.com',\n    'password': 'Pass123!',\n    'full_name': 'Test User',\n    'phone': '+447700900123',\n    'date_of_birth': '1990-01-15'\n})\n\n# Handle multi-step forms\nsteps = [\n    {'fields': {'email': 'test@example.com', 'password': 'Pass123!'}, 'checkbox': True},\n    {'fields': {'full_name': 'Test User', 'date_of_birth': '1990-01-15'}},\n    {'complete': True}\n]\nhandle_multi_step_form(page, steps)\n```\n\n### Supabase Testing (`utils\u002Fsupabase.py`)\n\nDatabase operations for Supabase-based apps:\n\n```python\nfrom utils.supabase import SupabaseTestClient, quick_cleanup\n\n# Initialize client\nclient = SupabaseTestClient(\n    url=\"https:\u002F\u002Fproject.supabase.co\",\n    service_key=\"your-service-role-key\",\n    db_password=\"your-db-password\"\n)\n\n# Create test user\nuser_id = client.create_user(\"test@example.com\", \"password123\")\n\n# Create invite code\nclient.create_invite_code(\"TEST2024\", code_type=\"general\")\n\n# Bypass email verification\nclient.confirm_email(user_id)\n\n# Cleanup after test\nclient.cleanup_related_records(user_id)\nclient.delete_user(user_id)\n\n# Quick cleanup helper\nquick_cleanup(\"test@example.com\", \"db_password\", \"https:\u002F\u002Fproject.supabase.co\")\n```\n\n### Advanced Wait Strategies (`utils\u002Fwait_strategies.py`)\n\nBetter alternatives to simple sleep():\n\n```python\nfrom utils.wait_strategies import (\n    wait_for_api_call,\n    wait_for_element_stable,\n    smart_navigation_wait,\n    combined_wait\n)\n\n# Wait for specific API response\nresponse = wait_for_api_call(page, '**\u002Fapi\u002Fprofile**')\n\n# Wait for element to stop moving\nwait_for_element_stable(page, '.dropdown-menu', stability_ms=1000)\n\n# Smart navigation with URL check\npage.click('button#login')\nsmart_navigation_wait(page, expected_url_pattern='**\u002Fdashboard**')\n\n# Comprehensive wait (network + DOM + overlays)\ncombined_wait(page)\n```\n\n### Smart Selectors (`utils\u002Fsmart_selectors.py`) ⭐ NEW\n\nAutomatically try multiple selector strategies to find elements, reducing test brittleness:\n\n```python\nfrom utils.smart_selectors import SelectorStrategies\n\n# Find and fill email field (tries 7 different selector strategies)\nsuccess = SelectorStrategies.smart_fill(page, 'email', 'test@example.com')\n# Output: ✓ Found field via placeholder: input[placeholder*=\"email\" i]\n#         ✓ Filled 'email' with value\n\n# Find and click button (tries 8 different strategies)\nsuccess = SelectorStrategies.smart_click(page, 'Sign In')\n# Output: ✓ Found button via case-insensitive text: button:text-matches(\"Sign In\", \"i\")\n#         ✓ Clicked 'Sign In' button\n\n# Manual control - find input field selector\nselector = SelectorStrategies.find_input_field(page, 'password')\nif selector:\n    page.fill(selector, 'my-password')\n\n# Manual control - find button selector\nselector = SelectorStrategies.find_button(page, 'Submit')\nif selector:\n    page.click(selector)\n\n# Try custom selectors with fallback\nselectors = ['button#submit', 'button.submit-btn', 'input[type=\"submit\"]']\nselector = SelectorStrategies.find_any_element(page, selectors)\n```\n\n**Selector Strategies Tried (in order):**\n\nFor input fields:\n1. Test IDs: `[data-testid*=\"email\"]`\n2. ARIA labels: `input[aria-label*=\"email\"]`\n3. Placeholder: `input[placeholder*=\"email\"]`\n4. Name attribute: `input[name*=\"email\"]`\n5. Type attribute: `input[type=\"email\"]`\n6. ID exact: `#email`\n7. ID partial: `input[id*=\"email\"]`\n\nFor buttons:\n1. Test IDs: `[data-testid*=\"sign-in\"]`\n2. Name attribute: `button[name*=\"Sign In\"]`\n3. Exact text: `button:has-text(\"Sign In\")`\n4. Case-insensitive: `button:text-matches(\"Sign In\", \"i\")`\n5. Link as button: `a:has-text(\"Sign In\")`\n6. Submit input: `input[type=\"submit\"][value*=\"Sign In\"]`\n7. Role button: `[role=\"button\"]:has-text(\"Sign In\")`\n\n**When to use:**\n- ✅ Forms where HTML structure changes frequently\n- ✅ Third-party components with unpredictable selectors\n- ✅ Multi-application test suites\n- ❌ Performance-critical tests (adds 5s timeout per strategy)\n\n**Performance:**\n- Timeout per strategy: 5 seconds (configurable)\n- Max timeout: 10 seconds across all strategies\n- Typical: First strategy works (1-2 seconds)\n\n### Browser Configuration (`utils\u002Fbrowser_config.py`) ⭐ NEW\n\nAuto-configure browser context for testing environments:\n\n```python\nfrom utils.browser_config import BrowserConfig\n\n# Auto-detect CSP bypass for localhost\ncontext = BrowserConfig.create_test_context(\n    browser,\n    'http:\u002F\u002Flocalhost:3000'\n)\n# Output:\n# ============================================================\n#   Browser Context Configuration\n# ============================================================\n#   Base URL: http:\u002F\u002Flocalhost:3000\n#   🔓 CSP bypass: ENABLED (testing on localhost)\n#   ⚠️  HTTPS errors: IGNORED (self-signed certs OK)\n#   📐 Viewport: 1280x720\n# ============================================================\n\n# Production testing (no CSP bypass)\ncontext = BrowserConfig.create_test_context(\n    browser,\n    'https:\u002F\u002Fproduction.example.com'\n)\n# Output: 🔒 CSP bypass: DISABLED (production mode)\n\n# Mobile device emulation\ncontext = BrowserConfig.create_mobile_context(\n    browser,\n    device='iPhone 12',\n    base_url='http:\u002F\u002Flocalhost:3000'\n)\n# Output: 📱 Mobile context: iPhone 12\n#         Viewport: {'width': 390, 'height': 844}\n#         🔓 CSP bypass: ENABLED\n\n# Manual override\ncontext = BrowserConfig.create_test_context(\n    browser,\n    'http:\u002F\u002Flocalhost:3000',\n    bypass_csp=False,  # Force disable even for localhost\n    record_video=True,  # Record test session\n    extra_http_headers={'Authorization': 'Bearer token'}\n)\n```\n\n**Features:**\n- **Auto CSP detection**: Enables bypass for localhost, disables for production\n- **Self-signed certs**: Ignores HTTPS errors by default\n- **Consistent viewport**: 1280x720 default for reproducible tests\n- **Mobile emulation**: Built-in device profiles\n- **Video recording**: Optional session recording\n- **Verbose logging**: See exactly what's configured\n\n**When to use:**\n- ✅ Every test (replaces manual `browser.new_context()`)\n- ✅ Testing on localhost with CSP restrictions\n- ✅ Mobile-responsive testing\n- ✅ Need consistent browser configuration across tests\n\n### CSP Monitoring (`utils\u002Fui_interactions.py`) ⭐ NEW\n\nAuto-detect and suggest fixes for Content Security Policy violations:\n\n```python\nfrom utils.ui_interactions import setup_page_with_csp_handling\nfrom utils.browser_config import BrowserConfig\n\ncontext = BrowserConfig.create_test_context(browser, 'http:\u002F\u002Flocalhost:7160')\npage = context.new_page()\n\n# Enable CSP violation monitoring\nsetup_page_with_csp_handling(page)\n\npage.goto('http:\u002F\u002Flocalhost:7160')\n\n# If CSP violation occurs, you'll see:\n# ======================================================================\n# ⚠️  CSP VIOLATION DETECTED\n# ======================================================================\n# Message: Refused to execute inline script because it violates...\n#\n# 💡 SUGGESTION:\n#    For localhost testing, use:\n#\n#    from utils.browser_config import BrowserConfig\n#    context = BrowserConfig.create_test_context(\n#        browser, 'http:\u002F\u002Flocalhost:3000'\n#    )\n#    # Auto-enables CSP bypass for localhost\n#\n#    Or manually:\n#    context = browser.new_context(bypass_csp=True)\n# ======================================================================\n```\n\n**When to use:**\n- ✅ Debugging why tests fail on localhost\n- ✅ Identifying CSP configuration issues\n- ✅ Verifying CSP bypass is working\n- ❌ Production testing (CSP should be enforced)\n\n## Complete Examples\n\n### Multi-Step Registration\n\nSee `examples\u002Fmulti_step_registration.py` for a complete example showing:\n- Database setup (invite codes)\n- Cookie banner dismissal\n- Multi-step form automation\n- Email verification bypass\n- Login flow\n- Dashboard verification\n- Cleanup\n\nRun it:\n```bash\npython examples\u002Fmulti_step_registration.py\n```\n\n## Using the Webapp-Testing Subagent\n\nA specialized subagent is available for testing automation. Use it to keep your main conversation focused on development:\n\n```\nYou: \"Use webapp-testing agent to register test@example.com and verify the parent role switch works\"\n\nMain Agent: [Launches webapp-testing subagent]\n\nWebapp-Testing Agent: [Runs complete automation, returns results]\n```\n\n**Benefits:**\n- Keeps main context clean\n- Specialized for Playwright automation\n- Access to all skill utilities\n- Automatic screenshot capture\n- Clear result reporting\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\n  - `multi_step_registration.py` - Complete registration flow example (NEW)\n\n- **utils\u002F** - Reusable utility modules (NEW):\n  - `ui_interactions.py` - Cookie banners, modals, overlays, stable waits\n  - `form_helpers.py` - Smart form filling, multi-step automation\n  - `supabase.py` - Database operations for Supabase apps\n  - `wait_strategies.py` - Advanced waiting patterns","# 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## Browser Tools (Direct Chrome DevTools Control)\n\nThe `{{HOME_TOOL_DIR}}\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools` utility provides lightweight, context-rot-proof browser automation using the Chrome DevTools Protocol directly (no MCP overhead).\n\n**Available Commands**:\n\n```bash\n# Launch browser and get connection details\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools start [--port PORT] [--headless]\n\n# Navigate to URL\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools nav \u003Curl> [--wait-for {load|networkidle|domcontentloaded}]\n\n# Evaluate JavaScript\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools eval \"\u003Cjavascript code>\"\n\n# Take screenshot\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools screenshot \u003Coutput.png> [--full-page] [--selector CSS_SELECTOR]\n\n# Interactive element picker (returns selectors)\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools pick\n\n# Get console logs\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools console [--level {log|warn|error|all}]\n\n# Search page content\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools search \"\u003Cquery>\" [--case-sensitive]\n\n# Extract page content (markdown, links, text)\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools content [--format {markdown|links|text}]\n\n# Get\u002Fset cookies\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools cookies [--set NAME=VALUE] [--domain DOMAIN]\n\n# Inspect element details\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools inspect \u003Ccss-selector>\n\n# Terminate browser session\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools kill\n```\n\n**When to Use Browser-Tools vs Playwright**:\n\n✅ **Use browser-tools when**:\n- Quick inspection\u002Fdebugging of running apps\n- Need to identify selectors interactively (`pick` command)\n- Extracting page content for analysis\n- Running simple JavaScript snippets\n- Monitoring console logs in real-time\n- Taking quick screenshots without writing scripts\n\n✅ **Use Playwright when**:\n- Complex multi-step automation workflows\n- Need full test assertion framework\n- Handling multi-step forms\n- Database integration (Supabase utilities)\n- Comprehensive test coverage\n- Generating test reports\n\n**Example Workflow**:\n\n```bash\n# 1. Start browser pointed at your app\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools start --port 9222\n\n# 2. Navigate to the page\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools nav http:\u002F\u002Flocalhost:3000\n\n# 3. Use interactive picker to find selectors\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools pick\n# Click on elements in the browser, get their selectors\n\n# 4. Inspect specific elements\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools inspect \"button.submit\"\n\n# 5. Take screenshot for documentation\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools screenshot \u002Ftmp\u002Fpage.png --full-page\n\n# 6. Check console for errors\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools console --level error\n\n# 7. Clean up\n\u002F.claude\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools kill\n```\n\n**Benefits**:\n- **No MCP overhead**: Direct Chrome DevTools Protocol communication\n- **Context-rot proof**: No dependency on evolving MCP specifications\n- **Interactive picker**: Visual element selection for selector discovery\n- **Lightweight**: Faster than full Playwright for simple tasks\n- **Pre-compiled binary**: Ready to use, no compilation needed (auto-compiled via create-rule.js)\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 3000 -- 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 8000 \\\n  --server \"cd frontend && npm run dev\" --port 3000 \\\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\nAPP_PORT = 3000  # Match the port from --port argument\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(f'http:\u002F\u002Flocalhost:{APP_PORT}') # 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## Utility Modules\n\nThe skill now includes comprehensive utilities for common testing patterns:\n\n### UI Interactions (`utils\u002Fui_interactions.py`)\n\nHandle common UI patterns automatically:\n\n```python\nfrom utils.ui_interactions import (\n    dismiss_cookie_banner,\n    dismiss_modal,\n    click_with_header_offset,\n    force_click_if_needed,\n    wait_for_no_overlay,\n    wait_for_stable_dom\n)\n\n# Dismiss cookie consent\ndismiss_cookie_banner(page)\n\n# Close welcome modal\ndismiss_modal(page, modal_identifier=\"Welcome\")\n\n# Click button behind fixed header\nclick_with_header_offset(page, 'button#submit', header_height=100)\n\n# Try click with force fallback\nforce_click_if_needed(page, 'button#action')\n\n# Wait for loading overlays to disappear\nwait_for_no_overlay(page)\n\n# Wait for DOM to stabilize\nwait_for_stable_dom(page)\n```\n\n### Smart Form Filling (`utils\u002Fform_helpers.py`)\n\nIntelligently handle form variations:\n\n```python\nfrom utils.form_helpers import (\n    SmartFormFiller,\n    handle_multi_step_form,\n    auto_fill_form\n)\n\n# Works with both \"Full Name\" and \"First\u002FLast Name\" fields\nfiller = SmartFormFiller()\nfiller.fill_name_field(page, \"Jane Doe\")\nfiller.fill_email_field(page, \"jane@example.com\")\nfiller.fill_password_fields(page, \"SecurePass123!\")\nfiller.fill_phone_field(page, \"+447700900123\")\nfiller.fill_date_field(page, \"1990-01-15\", field_hint=\"birth\")\n\n# Auto-fill entire form\nresults = auto_fill_form(page, {\n    'email': 'test@example.com',\n    'password': 'Pass123!',\n    'full_name': 'Test User',\n    'phone': '+447700900123',\n    'date_of_birth': '1990-01-15'\n})\n\n# Handle multi-step forms\nsteps = [\n    {'fields': {'email': 'test@example.com', 'password': 'Pass123!'}, 'checkbox': True},\n    {'fields': {'full_name': 'Test User', 'date_of_birth': '1990-01-15'}},\n    {'complete': True}\n]\nhandle_multi_step_form(page, steps)\n```\n\n### Supabase Testing (`utils\u002Fsupabase.py`)\n\nDatabase operations for Supabase-based apps:\n\n```python\nfrom utils.supabase import SupabaseTestClient, quick_cleanup\n\n# Initialize client\nclient = SupabaseTestClient(\n    url=\"https:\u002F\u002Fproject.supabase.co\",\n    service_key=\"your-service-role-key\",\n    db_password=\"your-db-password\"\n)\n\n# Create test user\nuser_id = client.create_user(\"test@example.com\", \"password123\")\n\n# Create invite code\nclient.create_invite_code(\"TEST2024\", code_type=\"general\")\n\n# Bypass email verification\nclient.confirm_email(user_id)\n\n# Cleanup after test\nclient.cleanup_related_records(user_id)\nclient.delete_user(user_id)\n\n# Quick cleanup helper\nquick_cleanup(\"test@example.com\", \"db_password\", \"https:\u002F\u002Fproject.supabase.co\")\n```\n\n### Advanced Wait Strategies (`utils\u002Fwait_strategies.py`)\n\nBetter alternatives to simple sleep():\n\n```python\nfrom utils.wait_strategies import (\n    wait_for_api_call,\n    wait_for_element_stable,\n    smart_navigation_wait,\n    combined_wait\n)\n\n# Wait for specific API response\nresponse = wait_for_api_call(page, '**\u002Fapi\u002Fprofile**')\n\n# Wait for element to stop moving\nwait_for_element_stable(page, '.dropdown-menu', stability_ms=1000)\n\n# Smart navigation with URL check\npage.click('button#login')\nsmart_navigation_wait(page, expected_url_pattern='**\u002Fdashboard**')\n\n# Comprehensive wait (network + DOM + overlays)\ncombined_wait(page)\n```\n\n### Smart Selectors (`utils\u002Fsmart_selectors.py`) ⭐ NEW\n\nAutomatically try multiple selector strategies to find elements, reducing test brittleness:\n\n```python\nfrom utils.smart_selectors import SelectorStrategies\n\n# Find and fill email field (tries 7 different selector strategies)\nsuccess = SelectorStrategies.smart_fill(page, 'email', 'test@example.com')\n# Output: ✓ Found field via placeholder: input[placeholder*=\"email\" i]\n#         ✓ Filled 'email' with value\n\n# Find and click button (tries 8 different strategies)\nsuccess = SelectorStrategies.smart_click(page, 'Sign In')\n# Output: ✓ Found button via case-insensitive text: button:text-matches(\"Sign In\", \"i\")\n#         ✓ Clicked 'Sign In' button\n\n# Manual control - find input field selector\nselector = SelectorStrategies.find_input_field(page, 'password')\nif selector:\n    page.fill(selector, 'my-password')\n\n# Manual control - find button selector\nselector = SelectorStrategies.find_button(page, 'Submit')\nif selector:\n    page.click(selector)\n\n# Try custom selectors with fallback\nselectors = ['button#submit', 'button.submit-btn', 'input[type=\"submit\"]']\nselector = SelectorStrategies.find_any_element(page, selectors)\n```\n\n**Selector Strategies Tried (in order):**\n\nFor input fields:\n1. Test IDs: `[data-testid*=\"email\"]`\n2. ARIA labels: `input[aria-label*=\"email\"]`\n3. Placeholder: `input[placeholder*=\"email\"]`\n4. Name attribute: `input[name*=\"email\"]`\n5. Type attribute: `input[type=\"email\"]`\n6. ID exact: `#email`\n7. ID partial: `input[id*=\"email\"]`\n\nFor buttons:\n1. Test IDs: `[data-testid*=\"sign-in\"]`\n2. Name attribute: `button[name*=\"Sign In\"]`\n3. Exact text: `button:has-text(\"Sign In\")`\n4. Case-insensitive: `button:text-matches(\"Sign In\", \"i\")`\n5. Link as button: `a:has-text(\"Sign In\")`\n6. Submit input: `input[type=\"submit\"][value*=\"Sign In\"]`\n7. Role button: `[role=\"button\"]:has-text(\"Sign In\")`\n\n**When to use:**\n- ✅ Forms where HTML structure changes frequently\n- ✅ Third-party components with unpredictable selectors\n- ✅ Multi-application test suites\n- ❌ Performance-critical tests (adds 5s timeout per strategy)\n\n**Performance:**\n- Timeout per strategy: 5 seconds (configurable)\n- Max timeout: 10 seconds across all strategies\n- Typical: First strategy works (1-2 seconds)\n\n### Browser Configuration (`utils\u002Fbrowser_config.py`) ⭐ NEW\n\nAuto-configure browser context for testing environments:\n\n```python\nfrom utils.browser_config import BrowserConfig\n\n# Auto-detect CSP bypass for localhost\ncontext = BrowserConfig.create_test_context(\n    browser,\n    'http:\u002F\u002Flocalhost:3000'\n)\n# Output:\n# ============================================================\n#   Browser Context Configuration\n# ============================================================\n#   Base URL: http:\u002F\u002Flocalhost:3000\n#   🔓 CSP bypass: ENABLED (testing on localhost)\n#   ⚠️  HTTPS errors: IGNORED (self-signed certs OK)\n#   📐 Viewport: 1280x720\n# ============================================================\n\n# Production testing (no CSP bypass)\ncontext = BrowserConfig.create_test_context(\n    browser,\n    'https:\u002F\u002Fproduction.example.com'\n)\n# Output: 🔒 CSP bypass: DISABLED (production mode)\n\n# Mobile device emulation\ncontext = BrowserConfig.create_mobile_context(\n    browser,\n    device='iPhone 12',\n    base_url='http:\u002F\u002Flocalhost:3000'\n)\n# Output: 📱 Mobile context: iPhone 12\n#         Viewport: {'width': 390, 'height': 844}\n#         🔓 CSP bypass: ENABLED\n\n# Manual override\ncontext = BrowserConfig.create_test_context(\n    browser,\n    'http:\u002F\u002Flocalhost:3000',\n    bypass_csp=False,  # Force disable even for localhost\n    record_video=True,  # Record test session\n    extra_http_headers={'Authorization': 'Bearer token'}\n)\n```\n\n**Features:**\n- **Auto CSP detection**: Enables bypass for localhost, disables for production\n- **Self-signed certs**: Ignores HTTPS errors by default\n- **Consistent viewport**: 1280x720 default for reproducible tests\n- **Mobile emulation**: Built-in device profiles\n- **Video recording**: Optional session recording\n- **Verbose logging**: See exactly what's configured\n\n**When to use:**\n- ✅ Every test (replaces manual `browser.new_context()`)\n- ✅ Testing on localhost with CSP restrictions\n- ✅ Mobile-responsive testing\n- ✅ Need consistent browser configuration across tests\n\n### CSP Monitoring (`utils\u002Fui_interactions.py`) ⭐ NEW\n\nAuto-detect and suggest fixes for Content Security Policy violations:\n\n```python\nfrom utils.ui_interactions import setup_page_with_csp_handling\nfrom utils.browser_config import BrowserConfig\n\ncontext = BrowserConfig.create_test_context(browser, 'http:\u002F\u002Flocalhost:7160')\npage = context.new_page()\n\n# Enable CSP violation monitoring\nsetup_page_with_csp_handling(page)\n\npage.goto('http:\u002F\u002Flocalhost:7160')\n\n# If CSP violation occurs, you'll see:\n# ======================================================================\n# ⚠️  CSP VIOLATION DETECTED\n# ======================================================================\n# Message: Refused to execute inline script because it violates...\n#\n# 💡 SUGGESTION:\n#    For localhost testing, use:\n#\n#    from utils.browser_config import BrowserConfig\n#    context = BrowserConfig.create_test_context(\n#        browser, 'http:\u002F\u002Flocalhost:3000'\n#    )\n#    # Auto-enables CSP bypass for localhost\n#\n#    Or manually:\n#    context = browser.new_context(bypass_csp=True)\n# ======================================================================\n```\n\n**When to use:**\n- ✅ Debugging why tests fail on localhost\n- ✅ Identifying CSP configuration issues\n- ✅ Verifying CSP bypass is working\n- ❌ Production testing (CSP should be enforced)\n\n## Complete Examples\n\n### Multi-Step Registration\n\nSee `examples\u002Fmulti_step_registration.py` for a complete example showing:\n- Database setup (invite codes)\n- Cookie banner dismissal\n- Multi-step form automation\n- Email verification bypass\n- Login flow\n- Dashboard verification\n- Cleanup\n\nRun it:\n```bash\npython examples\u002Fmulti_step_registration.py\n```\n\n## Using the Webapp-Testing Subagent\n\nA specialized subagent is available for testing automation. Use it to keep your main conversation focused on development:\n\n```\nYou: \"Use webapp-testing agent to register test@example.com and verify the parent role switch works\"\n\nMain Agent: [Launches webapp-testing subagent]\n\nWebapp-Testing Agent: [Runs complete automation, returns results]\n```\n\n**Benefits:**\n- Keeps main context clean\n- Specialized for Playwright automation\n- Access to all skill utilities\n- Automatic screenshot capture\n- Clear result reporting\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\n  - `multi_step_registration.py` - Complete registration flow example (NEW)\n\n- **utils\u002F** - Reusable utility modules (NEW):\n  - `ui_interactions.py` - Cookie banners, modals, overlays, stable waits\n  - `form_helpers.py` - Smart form filling, multi-step automation\n  - `supabase.py` - Database operations for Supabase apps\n  - `wait_strategies.py` - Advanced waiting patterns",{"name":5,"license":25,"description":7},"Complete terms in LICENSE.txt","main","9cf32d1e636db09530158af14ba301bfa5d401e9","skills\u002Fwebapp-testing","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez","stevengonsalvez.com","2026-11-12 00:50:59",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add stevengonsalvez\u002Fainb-toolkit --skill webapp-testing",{"tool":39,"command":40},"bunx","bunx skills add stevengonsalvez\u002Fainb-toolkit --skill webapp-testing",{"tool":42,"command":43},"pnpm","pnpm dlx skills add stevengonsalvez\u002Fainb-toolkit --skill webapp-testing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",true,[47,53,57,63,69,73,77,81,85,90,94,98,102,106,110,114],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"bin\u002F.gitignore","OTHER","其他",112,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002Fbin\u002F.gitignore",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"bin\u002Fbrowser-tools",62576912,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools",{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"bin\u002Fbrowser-tools.ts","SCRIPT","脚本",39164,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fbrowser-tools.ts",{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"bin\u002Fpackage.json","REFERENCE","参考文档",108,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002Fbin\u002Fpackage.json",{"path":70,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":71,"sourceHtmlUrl":72},"examples\u002Fconsole_logging.py",1027,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002Fexamples\u002Fconsole_logging.py",{"path":74,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":75,"sourceHtmlUrl":76},"examples\u002Felement_discovery.py",1492,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002Fexamples\u002Felement_discovery.py",{"path":78,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":79,"sourceHtmlUrl":80},"examples\u002Fmulti_step_registration.py",11998,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002Fexamples\u002Fmulti_step_registration.py",{"path":82,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":83,"sourceHtmlUrl":84},"examples\u002Fstatic_html_automation.py",953,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002Fexamples\u002Fstatic_html_automation.py",{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":16},"LICENSE.txt","LICENSE","许可证",11357,{"path":91,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":92,"sourceHtmlUrl":93},"scripts\u002Fwith_server.py",3693,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002Fscripts\u002Fwith_server.py",{"path":95,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":96,"sourceHtmlUrl":97},"utils\u002Fbrowser_config.py",6827,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002Futils\u002Fbrowser_config.py",{"path":99,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":100,"sourceHtmlUrl":101},"utils\u002Fform_helpers.py",15228,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002Futils\u002Fform_helpers.py",{"path":103,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":104,"sourceHtmlUrl":105},"utils\u002Fsmart_selectors.py",10374,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002Futils\u002Fsmart_selectors.py",{"path":107,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":108,"sourceHtmlUrl":109},"utils\u002Fsupabase.py",10488,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002Futils\u002Fsupabase.py",{"path":111,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":112,"sourceHtmlUrl":113},"utils\u002Fui_interactions.py",13683,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002Futils\u002Fui_interactions.py",{"path":115,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":116,"sourceHtmlUrl":117},"utils\u002Fwait_strategies.py",8913,"https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002Futils\u002Fwait_strategies.py",[119,127,134,140,147,154],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":123,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":20},"01M75WK9B8DKVJBJJ4CX2QMJMX","well-formed","Fixture skill that satisfies every mechanical rule, used to prove the conformance check passes a clean tree instead of failing everything.","MIT","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagentskills\u002Fclean\u002Fwell-formed\u002FSKILL.md",[],[],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":123,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":20},"01M75WK6ZGDXJJN8879K49QEYG","underscore-tools","Fixture skill that spells the tool allowlist key with an underscore instead of the hyphen the spec requires.","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagentskills\u002Fbroken\u002Funderscore-tools\u002FSKILL.md",[],[],{"skillNo":135,"name":136,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":123,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":20},"01M75WK524MVT2H9E27ZCEA3HR","no-frontmatter","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagentskills\u002Fbroken\u002Fno-frontmatter\u002FSKILL.md",[],[],{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":123,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":20},"01M75WJWZBMKR8R60PG3T3MCCC","long-description","Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling. Fixture skill with a deliberately oversized description used to prove the conformance check rejects anything past the 1024 character ceiling.","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagentskills\u002Fbroken\u002Flong-description\u002FSKILL.md",[],[],{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":123,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":20},"01M75WJVRH3J22WKED7E5D01S8","some-other-name","Fixture skill whose frontmatter name does not match its parent directory name.","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagentskills\u002Fbroken\u002Fdir-mismatch\u002FSKILL.md",[],[],{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":123,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":20},"01M75WJTC7H5FRP6S129VBSMZC","bad_Name","Fixture skill whose name uses an underscore and a capital letter, so it violates the agentskills.io name pattern.","https:\u002F\u002Fgithub.com\u002Fstevengonsalvez\u002Fainb-toolkit\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagentskills\u002Fbroken\u002Fbad_Name\u002FSKILL.md",[],[]]