.agents/skills/ai-web-dev/SKILL.md
Browse websites and inspect web UIs during development. Guides you to the right browser tool (WebFetch, agent-browser, playwright-cli) based on what you need.
npx skillsauth add svange/tagmania ai-web-devInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Browse or inspect a web page for development purposes: $ARGUMENTS
Decision-tree skill for web development tasks. Picks the lightest tool that fits.
/ai-web-dev https://localhost:3000 - Check what the local dev server shows/ai-web-dev screenshot https://example.com - Take a screenshot/ai-web-dev debug network on https://api.example.com - Inspect network requests/ai-web-dev what does our landing page look like - Visual checkAnalyze $ARGUMENTS and classify the task:
| Need | Tool | Why | |------|------|-----| | Read page content / docs | WebFetch | Zero setup, minimal context | | Search the web for info | WebSearch | Built-in, no browser needed | | See what a page looks like | agent-browser screenshot | Annotated screenshots with element labels | | Inspect/interact with DOM | agent-browser snapshot | Compact refs (@e1, @e2), lowest context | | Click, fill forms, navigate | agent-browser | Ref-based interaction, efficient | | Network request inspection | playwright-cli | Has network interception | | Multi-browser testing | playwright-cli | Supports Chromium, Firefox, WebKit | | Console errors / JS debugging | playwright-cli | Has console capture | | Record a test / generate code | playwright-cli codegen | Test generation built-in |
Default rule: Start with the lightest tool. Escalate only if it can't do what you need.
Use when you just need to read content or search for information. These are already available -- no setup needed.
# Search the web
Use the WebSearch tool directly
# Fetch and read a specific URL
Use the WebFetch tool directly
When to escalate to Tier 2: You need to see the rendered page, interact with elements, or WebFetch is blocked/insufficient.
Use for most interactive browser tasks. Returns compact element refs.
agent-browser navigate "https://localhost:3000"
agent-browser snapshot -i # -i = interactive elements only
Output looks like:
@e1 [header]
@e3 [a] "Home"
@e6 [button] "Sign In"
@e7 [main]
@e10 [input type="email"] placeholder="Email"
@e12 [button type="submit"] "Log In"
agent-browser screenshot /tmp/page.png
agent-browser screenshot /tmp/page.png --annotate # numbered labels on elements
agent-browser click @e6 # Click "Sign In"
agent-browser fill @e10 "[email protected]" # Fill email field
agent-browser select @e15 "option-value" # Select dropdown
agent-browser snapshot -i # Re-snapshot after interaction
agent-browser snapshot -i -s "#main" # Only elements inside #main
agent-browser snapshot -i -d 3 # Max depth 3
agent-browser snapshot -i -c # Compact format
agent-browser snapshot --json # Structured JSON output
agent-browser execute "document.body.innerText"
When to escalate to Tier 3: You need network interception, console logs, multi-browser testing, or Playwright-specific features.
Use for complex automation, debugging, and cross-browser testing.
playwright-cli navigate "https://localhost:3000"
playwright-cli snapshot # Saves YAML to .playwright-cli/
playwright-cli click e15
playwright-cli fill e5 "text"
playwright-cli screenshot --filename page.png
playwright-cli network-log start
playwright-cli navigate "https://api.example.com"
playwright-cli network-log stop # Shows all requests/responses
playwright-cli console start
playwright-cli navigate "https://localhost:3000"
playwright-cli console stop # Shows console.log, errors, warnings
playwright-cli --browser firefox navigate "https://localhost:3000"
playwright-cli --browser webkit navigate "https://localhost:3000"
playwright-cli codegen "https://localhost:3000"
agent-browser navigate "http://localhost:3000"
agent-browser screenshot /tmp/dev-check.png
agent-browser snapshot -i
agent-browser navigate "http://localhost:3000/login"
agent-browser snapshot -i -s "form"
# Try filling and submitting
agent-browser fill @e10 "[email protected]"
agent-browser fill @e11 "password123"
agent-browser click @e12
# Check result
agent-browser snapshot -i
agent-browser screenshot /tmp/after-login.png
playwright-cli network-log start
playwright-cli navigate "http://localhost:3000/dashboard"
playwright-cli network-log stop
playwright-cli console start
playwright-cli navigate "http://localhost:3000"
playwright-cli console stop
playwright-cli --browser chromium screenshot --filename /tmp/chrome.png
playwright-cli --browser firefox screenshot --filename /tmp/firefox.png
playwright-cli --browser webkit screenshot --filename /tmp/safari.png
agent-browser install or playwright-cli install-browsercurl -I <url> first.CHROME_NO_SANDBOX=1. If issues persist, pass --no-sandbox explicitly.-i (interactive only), -s (scoped), -d (depth limit) to reduce snapshot size.development
Deploy or validate Renovate dependency update configuration. Detects repo type (library vs IaC), package ecosystem, and generates or fixes renovate.json5.
development
Deploy or validate semantic-release configuration. Handles Python (python-semantic-release) and Node (JS semantic-release) repos with correct Renovate prefix alignment.
development
Audit and fix pre-commit hook configuration. Ensures consistent developer-side quality gates for formatting, linting, type checking, and secret protection.
testing
Audit and fix CI/CD GitHub Actions workflows. Checks security scanning, coverage enforcement, type checking, CVE ignores, and concurrency settings.