[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C6TN66G3MJVQ0W7KG2J3BE":3,"skill-same:01M6C6TN66G3MJVQ0W7KG2J3BE":190},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":57,"commitSha":58,"skillDirectory":59,"forksCount":15,"repositoryHtmlUrl":60,"repositoryHomepageUrl":17,"ownerHtmlUrl":61,"ownerBlogUrl":62,"ownerDescription":17,"updatedAt":63,"install":64,"resources":77},"01M6C6TN66G3MJVQ0W7KG2J3BE","chrome-devtools","Chrome DevTools 浏览器自动化调试","Browser automation, debugging, and performance analysis using Puppeteer CLI scripts. Use for automating browsers, taking screenshots, analyzing performance, monitoring network traffic, web scraping, form automation, and JavaScript debugging.","使用 Puppeteer CLI 脚本进行浏览器自动化、调试和性能分析。适用于自动化浏览器操作、截图、性能分析、网络流量监控、网页抓取、表单自动化以及 JavaScript 调试。","vienkmt\u002FTermiPro","vienkmt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20434534?v=4","01M6C6SZP4N31HMXD9G3PBSAM3","VienLv","01M6C6SZTVB1M4VE0BMW58YG0B",0,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C9MTTAN0PZ8RC9QAZW0AZJ","浏览器自动化与网页交互","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"chrome","chrome devtools","devtools","puppeteer","use","scraping","web scraping","analysis","network","analyzing","monitoring","screenshots","browser","debugging","web","javascript","automation","performance","browser automation","cli","2026-11-10 10:12:30",false,"---\nname: chrome-devtools\ndescription: Browser automation, debugging, and performance analysis using Puppeteer CLI scripts. Use for automating browsers, taking screenshots, analyzing performance, monitoring network traffic, web scraping, form automation, and JavaScript debugging.\nlicense: Apache-2.0\nversion: 1.1.0\n---\n\n# Chrome DevTools Agent Skill\n\nBrowser automation via Puppeteer scripts with persistent sessions. All scripts output JSON.\n\n## Skill Location\n\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\n\n```bash\n# Detect skill location (no cd needed - scripts use __dirname for paths)\nSKILL_DIR=\"\"\nif [ -d \".claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\" ]; then\n  SKILL_DIR=\".claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\"\nelif [ -d \"$HOME\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\" ]; then\n  SKILL_DIR=\"$HOME\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\"\nfi\n# Run scripts with full path: node \"$SKILL_DIR\u002Fscript.js\" --args\n```\n\n## Choosing Your Approach\n\n| Scenario | Approach |\n|----------|----------|\n| **Source-available sites** | Read source code first, write selectors directly |\n| **Unknown layouts** | Use `aria-snapshot.js` for semantic discovery |\n| **Visual inspection** | Take screenshots to verify rendering |\n| **Debug issues** | Collect console logs, analyze with session storage |\n| **Accessibility audit** | Use ARIA snapshot for semantic structure analysis |\n\n## Automation Browsing Running Mode\n\n- Detect current OS and launch browser as headless only when running on Linux, WSL, or CI environments.\n- For macOS\u002FWindows, browser always runs in headed mode for better debugging.\n- Run multiple scripts\u002Fsessions in parallel to simulate real user interactions.\n- Run multiple scripts\u002Fsessions in parallel to simulate different device types (mobile, tablet, desktop).\n- Skills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\n\n## ARIA Snapshot (Element Discovery)\n\nWhen page structure is unknown, use `aria-snapshot.js` to get a YAML-formatted accessibility tree with semantic roles, accessible names, states, and stable element references.\n\n### Get ARIA Snapshot\n\n```bash\n# Generate ARIA snapshot and output to stdout\nnode \"$SKILL_DIR\u002Faria-snapshot.js\" --url https:\u002F\u002Fexample.com\n\n# Save to file in snapshots directory\nnode \"$SKILL_DIR\u002Faria-snapshot.js\" --url https:\u002F\u002Fexample.com --output .\u002F.claude\u002Fchrome-devtools\u002Fsnapshots\u002Fpage.yaml\n```\n\n### Example YAML Output\n\n```yaml\n- banner:\n  - link \"Hacker News\" [ref=e1]\n    \u002Furl: https:\u002F\u002Fnews.ycombinator.com\n  - navigation:\n    - link \"new\" [ref=e2]\n    - link \"past\" [ref=e3]\n    - link \"comments\" [ref=e4]\n- main:\n  - list:\n    - listitem:\n      - link \"Show HN: My new project\" [ref=e8]\n      - text: \"128 points by user 3 hours ago\"\n- contentinfo:\n  - textbox [ref=e10]\n    \u002Fplaceholder: \"Search\"\n```\n\n### Interpreting ARIA Notation\n\n| Notation | Meaning |\n|----------|---------|\n| `[ref=eN]` | Stable identifier for interactive elements |\n| `[checked]` | Checkbox\u002Fradio is selected |\n| `[disabled]` | Element is inactive |\n| `[expanded]` | Accordion\u002Fdropdown is open |\n| `[level=N]` | Heading hierarchy (1-6) |\n| `\u002Furl:` | Link destination |\n| `\u002Fplaceholder:` | Input placeholder text |\n| `\u002Fvalue:` | Current input value |\n\n### Interact by Ref\n\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\nUse `select-ref.js` to interact with elements by their ref:\n\n```bash\n# Click element with ref e5\nnode \"$SKILL_DIR\u002Fselect-ref.js\" --ref e5 --action click\n\n# Fill input with ref e10\nnode \"$SKILL_DIR\u002Fselect-ref.js\" --ref e10 --action fill --value \"search query\"\n\n# Get text content\nnode \"$SKILL_DIR\u002Fselect-ref.js\" --ref e8 --action text\n\n# Screenshot specific element\nnode \"$SKILL_DIR\u002Fselect-ref.js\" --ref e1 --action screenshot --output .\u002Flogo.png\n\n# Focus element\nnode \"$SKILL_DIR\u002Fselect-ref.js\" --ref e10 --action focus\n\n# Hover over element\nnode \"$SKILL_DIR\u002Fselect-ref.js\" --ref e5 --action hover\n```\n\n### Store Snapshots\n\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\nStore snapshots for analysis in `\u003Cproject>\u002F.claude\u002Fchrome-devtools\u002Fsnapshots\u002F`:\n\n```bash\n# Create snapshots directory\nmkdir -p .claude\u002Fchrome-devtools\u002Fsnapshots\n\n# Capture and store with timestamp\nSESSION=\"$(date +%Y%m%d-%H%M%S)\"\nnode \"$SKILL_DIR\u002Faria-snapshot.js\" --url https:\u002F\u002Fexample.com --output .claude\u002Fchrome-devtools\u002Fsnapshots\u002F$SESSION.yaml\n```\n\n### Workflow: Unknown Page Structure\n\n1. **Get snapshot** to discover elements:\n   ```bash\n   node \"$SKILL_DIR\u002Faria-snapshot.js\" --url https:\u002F\u002Fexample.com\n   ```\n\n2. **Identify target** from YAML output (e.g., `[ref=e5]` for a button)\n\n3. **Interact by ref**:\n   ```bash\n   node \"$SKILL_DIR\u002Fselect-ref.js\" --ref e5 --action click\n   ```\n\n4. **Verify result** with screenshot or new snapshot:\n   ```bash\n   node \"$SKILL_DIR\u002Fscreenshot.js\" --output .\u002Fresult.png\n   ```\n\n## Local HTML Files\n\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\n**IMPORTANT**: Never browse local HTML files via `file:\u002F\u002F` protocol. Always serve via local server:\n**Why**: `file:\u002F\u002F` protocol blocks many browser features (CORS, ES modules, fetch API, service workers). Local server ensures proper HTTP behavior.\n\n```bash\n# Option 1: npx serve (recommended)\nnpx serve .\u002Fdist -p 3000 &\nnode \"$SKILL_DIR\u002Fnavigate.js\" --url http:\u002F\u002Flocalhost:3000\n\n# Option 2: Python http.server\npython -m http.server 3000 --directory .\u002Fdist &\nnode \"$SKILL_DIR\u002Fnavigate.js\" --url http:\u002F\u002Flocalhost:3000\n```\n\n**Note**: when port 3000 is busy, find an available port with `lsof -i :3000` and use a different one.\n\n## Quick Start\n\n```bash\n# Install dependencies (one-time setup)\nnpm install --prefix \"$SKILL_DIR\"\n\n# Test (browser stays running for session reuse)\nnode \"$SKILL_DIR\u002Fnavigate.js\" --url https:\u002F\u002Fexample.com\n# Output: {\"success\": true, \"url\": \"...\", \"title\": \"...\"}\n```\n\n**Linux\u002FWSL only**: Run `\"$SKILL_DIR\u002Finstall-deps.sh\"` first for Chrome system libraries.\n\n## Session Persistence\n\nBrowser state persists across script executions via WebSocket endpoint file (`.browser-session.json`).\n\n**Default behavior**: Scripts disconnect but keep browser running for session reuse.\n\n```bash\n# First script: launches browser, navigates, disconnects (browser stays running)\nnode \"$SKILL_DIR\u002Fnavigate.js\" --url https:\u002F\u002Fexample.com\u002Flogin\n\n# Subsequent scripts: connect to existing browser, reuse page state\nnode \"$SKILL_DIR\u002Ffill.js\" --selector \"#email\" --value \"user@example.com\"\nnode \"$SKILL_DIR\u002Ffill.js\" --selector \"#password\" --value \"secret\"\nnode \"$SKILL_DIR\u002Fclick.js\" --selector \"button[type=submit]\"\n\n# Close browser when done\nnode \"$SKILL_DIR\u002Fnavigate.js\" --url about:blank --close true\n```\n\n**Session management**:\n- `--close true`: Close browser and clear session\n- Default (no flag): Keep browser running for next script\n\n## Available Scripts\n\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\nAll in `.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002F`:\n\n| Script | Purpose |\n|--------|---------|\n| `navigate.js` | Navigate to URLs |\n| `screenshot.js` | Capture screenshots (auto-compress >5MB via Sharp) |\n| `click.js` | Click elements |\n| `fill.js` | Fill form fields |\n| `evaluate.js` | Execute JS in page context |\n| `snapshot.js` | Extract interactive elements (JSON format) |\n| `aria-snapshot.js` | Get ARIA accessibility tree (YAML format with refs) |\n| `select-ref.js` | Interact with elements by ref from ARIA snapshot |\n| `console.js` | Monitor console messages\u002Ferrors |\n| `network.js` | Track HTTP requests\u002Fresponses |\n| `performance.js` | Measure Core Web Vitals |\n| `ws-debug.js` | Debug WebSocket connections (basic) |\n| `ws-full-debug.js` | Debug WebSocket with full events\u002Fframes |\n\n## Workflow Loop\n\n1. **Execute** focused script for single task\n2. **Observe** JSON output\n3. **Assess** completion status\n4. **Decide** next action\n5. **Repeat** until done\n\n## Writing Custom Test Scripts\n\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\nFor complex automation, write scripts to `\u003Cproject>\u002F.claude\u002Fchrome-devtools\u002Ftmp\u002F`:\n\n```bash\n# Create tmp directory for test scripts\nmkdir -p $SKILL_DIR\u002F.claude\u002Fchrome-devtools\u002Ftmp\n\n# Write a test script\ncat > $SKILL_DIR\u002F.claude\u002Fchrome-devtools\u002Ftmp\u002Flogin-test.js \u003C\u003C 'EOF'\nimport { getBrowser, getPage, disconnectBrowser, outputJSON } from '..\u002Fscripts\u002Flib\u002Fbrowser.js';\n\nasync function loginTest() {\n  const browser = await getBrowser();\n  const page = await getPage(browser);\n\n  await page.goto('https:\u002F\u002Fexample.com\u002Flogin');\n  await page.type('#email', 'user@example.com');\n  await page.type('#password', 'secret');\n  await page.click('button[type=submit]');\n  await page.waitForNavigation();\n\n  outputJSON({\n    success: true,\n    url: page.url(),\n    title: await page.title()\n  });\n\n  await disconnectBrowser();\n}\n\nloginTest();\nEOF\n\n# Run the test\nnode $SKILL_DIR\u002F.claude\u002Fchrome-devtools\u002Ftmp\u002Flogin-test.js\n```\n\n**Key principles for custom scripts**:\n- Single-purpose: one script, one task\n- Always call `disconnectBrowser()` at the end (keeps browser running)\n- Use `closeBrowser()` only when ending session completely\n- Output JSON for easy parsing\n- Plain JavaScript only in `page.evaluate()` callbacks\n\n## Screenshots\n\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\nStore screenshots for analysis in `\u003Cproject>\u002F.claude\u002Fchrome-devtools\u002Fscreenshots\u002F`:\n\n```bash\n# Basic screenshot\nnode \"$SKILL_DIR\u002Fscreenshot.js\" --url https:\u002F\u002Fexample.com --output .\u002F.claude\u002Fchrome-devtools\u002Fscreenshots\u002Fpage.png\n\n# Full page\nnode \"$SKILL_DIR\u002Fscreenshot.js\" --url https:\u002F\u002Fexample.com --output .\u002F.claude\u002Fchrome-devtools\u002Fscreenshots\u002Fpage.png --full-page true\n\n# Specific element\nnode \"$SKILL_DIR\u002Fscreenshot.js\" --url https:\u002F\u002Fexample.com --selector \".main-content\" --output .\u002F.claude\u002Fchrome-devtools\u002Fscreenshots\u002Felement.png\n```\n\n### Auto-Compression (Sharp)\n\nScreenshots >5MB auto-compress using Sharp (4-5x faster than ImageMagick):\n\n```bash\n# Default: compress if >5MB\nnode \"$SKILL_DIR\u002Fscreenshot.js\" --url https:\u002F\u002Fexample.com --output .\u002F.claude\u002Fchrome-devtools\u002Fscreenshots\u002Fpage.png\n\n# Custom threshold (3MB)\nnode \"$SKILL_DIR\u002Fscreenshot.js\" --url https:\u002F\u002Fexample.com --output .\u002F.claude\u002Fchrome-devtools\u002Fscreenshots\u002Fpage.png --max-size 3\n\n# Disable compression\nnode \"$SKILL_DIR\u002Fscreenshot.js\" --url https:\u002F\u002Fexample.com --output .\u002F.claude\u002Fchrome-devtools\u002Fscreenshots\u002Fpage.png --no-compress\n```\n\nStore screenshots for analysis in `\u003Cproject>\u002F.claude\u002Fchrome-devtools\u002Fscreenshots\u002F`.\n\n## Console Log Collection & Analysis\n\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\n\n### Capture Logs\n\n```bash\n# Capture all logs for 10 seconds\nnode \"$SKILL_DIR\u002Fconsole.js\" --url https:\u002F\u002Fexample.com --duration 10000\n\n# Filter by type\nnode \"$SKILL_DIR\u002Fconsole.js\" --url https:\u002F\u002Fexample.com --types error,warn --duration 5000\n```\n\n### Session Storage Pattern\n\nStore logs for analysis in `\u003Cproject>\u002F.claude\u002Fchrome-devtools\u002Flogs\u002F\u003Csession>\u002F`:\n\n```bash\n# Create session directory\nSESSION=\"$(date +%Y%m%d-%H%M%S)\"\nmkdir -p .claude\u002Fchrome-devtools\u002Flogs\u002F$SESSION\n\n# Capture and store\nnode \"$SKILL_DIR\u002Fconsole.js\" --url https:\u002F\u002Fexample.com --duration 10000 > .claude\u002Fchrome-devtools\u002Flogs\u002F$SESSION\u002Fconsole.json\nnode \"$SKILL_DIR\u002Fnetwork.js\" --url https:\u002F\u002Fexample.com > .claude\u002Fchrome-devtools\u002Flogs\u002F$SESSION\u002Fnetwork.json\n\n# View errors\njq '.messages[] | select(.type==\"error\")' .claude\u002Fchrome-devtools\u002Flogs\u002F$SESSION\u002Fconsole.json\n```\n\n### Root Cause Analysis\n\n```bash\n# 1. Check for JavaScript errors\nnode \"$SKILL_DIR\u002Fconsole.js\" --url https:\u002F\u002Fexample.com --types error,pageerror --duration 5000 | jq '.messages'\n\n# 2. Correlate with network failures\nnode \"$SKILL_DIR\u002Fnetwork.js\" --url https:\u002F\u002Fexample.com | jq '.requests[] | select(.response.status >= 400)'\n\n# 3. Check specific error stack traces\nnode \"$SKILL_DIR\u002Fconsole.js\" --url https:\u002F\u002Fexample.com --types error --duration 5000 | jq '.messages[].stack'\n```\n\n## Finding Elements\n\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\nUse `snapshot.js` to discover selectors before interacting:\n\n```bash\n# Get all interactive elements\nnode \"$SKILL_DIR\u002Fsnapshot.js\" --url https:\u002F\u002Fexample.com | jq '.elements[] | {tagName, text, selector}'\n\n# Find buttons\nnode \"$SKILL_DIR\u002Fsnapshot.js\" --url https:\u002F\u002Fexample.com | jq '.elements[] | select(.tagName==\"button\")'\n\n# Find by text content\nnode \"$SKILL_DIR\u002Fsnapshot.js\" --url https:\u002F\u002Fexample.com | jq '.elements[] | select(.text | contains(\"Submit\"))'\n```\n\n## Error Recovery\n\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\nIf script fails:\n\n```bash\n# 1. Capture current state (without navigating to preserve state)\nnode \"$SKILL_DIR\u002Fscreenshot.js\" --output .\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscreenshots\u002Fdebug.png\n\n# 2. Get console errors\nnode \"$SKILL_DIR\u002Fconsole.js\" --url about:blank --types error --duration 1000\n\n# 3. Discover correct selector\nnode \"$SKILL_DIR\u002Fsnapshot.js\" | jq '.elements[] | select(.text | contains(\"Submit\"))'\n\n# 4. Try XPath if CSS fails\nnode \"$SKILL_DIR\u002Fclick.js\" --selector \"\u002F\u002Fbutton[contains(text(),'Submit')]\"\n```\n\n## Common Patterns\n\n### Web Scraping\n```bash\nnode \"$SKILL_DIR\u002Fevaluate.js\" --url https:\u002F\u002Fexample.com --script \"\n  Array.from(document.querySelectorAll('.item')).map(el => ({\n    title: el.querySelector('h2')?.textContent,\n    link: el.querySelector('a')?.href\n  }))\n\" | jq '.result'\n```\n\n### Form Automation\n```bash\nnode \"$SKILL_DIR\u002Fnavigate.js\" --url https:\u002F\u002Fexample.com\u002Fform\nnode \"$SKILL_DIR\u002Ffill.js\" --selector \"#search\" --value \"query\"\nnode \"$SKILL_DIR\u002Fclick.js\" --selector \"button[type=submit]\"\n```\n\n### Performance Testing\n```bash\nnode \"$SKILL_DIR\u002Fperformance.js\" --url https:\u002F\u002Fexample.com | jq '.vitals'\n```\n\n## Script Options\n\nAll scripts support:\n- `--headless false` - Show browser window\n- `--close true` - Close browser completely (default: stay running)\n- `--timeout 30000` - Set timeout (ms)\n- `--wait-until networkidle2` - Wait strategy\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\n\n## Troubleshooting\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\n\n| Error | Solution |\n|-------|----------|\n| `Cannot find package 'puppeteer'` | Run `npm install` in scripts directory |\n| `libnss3.so` missing (Linux) | Run `.\u002Finstall-deps.sh` |\n| Element not found | Use `snapshot.js` to find correct selector |\n| Script hangs | Use `--timeout 60000` or `--wait-until load` |\n| Screenshot >5MB | Auto-compressed; use `--max-size 3` for lower |\n| Session stale | Delete `.browser-session.json` and retry |\n\n### Screenshot Analysis: Missing Images\n\nIf images don't appear in screenshots, they may be waiting for animation triggers:\n\n1. **Scroll-triggered animations**: Scroll element into view first\n   ```bash\n   node \"$SKILL_DIR\u002Fevaluate.js\" --script \"document.querySelector('.lazy-image').scrollIntoView()\"\n   # Wait for animation\n   node \"$SKILL_DIR\u002Fevaluate.js\" --script \"await new Promise(r => setTimeout(r, 1000))\"\n   node \"$SKILL_DIR\u002Fscreenshot.js\" --output .\u002Fresult.png\n   ```\n\n2. **Sequential animation queue**: Wait longer and retry\n   ```bash\n   # First attempt\n   node \"$SKILL_DIR\u002Fscreenshot.js\" --url http:\u002F\u002Flocalhost:3000 --output .\u002Fattempt1.png\n\n   # Wait for animations to complete\n   node \"$SKILL_DIR\u002Fevaluate.js\" --script \"await new Promise(r => setTimeout(r, 2000))\"\n\n   # Retry screenshot\n   node \"$SKILL_DIR\u002Fscreenshot.js\" --output .\u002Fattempt2.png\n   ```\n\n3. **Intersection Observer animations**: Trigger by scrolling through page\n   ```bash\n   node \"$SKILL_DIR\u002Fevaluate.js\" --script \"window.scrollTo(0, document.body.scrollHeight)\"\n   node \"$SKILL_DIR\u002Fevaluate.js\" --script \"await new Promise(r => setTimeout(r, 1500))\"\n   node \"$SKILL_DIR\u002Fevaluate.js\" --script \"window.scrollTo(0, 0)\"\n   node \"$SKILL_DIR\u002Fscreenshot.js\" --output .\u002Ffull-loaded.png --full-page true\n   ```\n\n## Reference Documentation\n\n- `.\u002Freferences\u002Fcdp-domains.md` - Chrome DevTools Protocol domains\n- `.\u002Freferences\u002Fpuppeteer-reference.md` - Puppeteer API patterns\n- `.\u002Freferences\u002Fperformance-guide.md` - Core Web Vitals optimization\n- `.\u002Fscripts\u002FREADME.md` - Detailed script options\n","# Chrome DevTools Agent Skill\n\nBrowser automation via Puppeteer scripts with persistent sessions. All scripts output JSON.\n\n## Skill Location\n\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\n\n```bash\n# Detect skill location (no cd needed - scripts use __dirname for paths)\nSKILL_DIR=\"\"\nif [ -d \".claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\" ]; then\n  SKILL_DIR=\".claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\"\nelif [ -d \"$HOME\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\" ]; then\n  SKILL_DIR=\"$HOME\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\"\nfi\n# Run scripts with full path: node \"$SKILL_DIR\u002Fscript.js\" --args\n```\n\n## Choosing Your Approach\n\n| Scenario | Approach |\n|----------|----------|\n| **Source-available sites** | Read source code first, write selectors directly |\n| **Unknown layouts** | Use `aria-snapshot.js` for semantic discovery |\n| **Visual inspection** | Take screenshots to verify rendering |\n| **Debug issues** | Collect console logs, analyze with session storage |\n| **Accessibility audit** | Use ARIA snapshot for semantic structure analysis |\n\n## Automation Browsing Running Mode\n\n- Detect current OS and launch browser as headless only when running on Linux, WSL, or CI environments.\n- For macOS\u002FWindows, browser always runs in headed mode for better debugging.\n- Run multiple scripts\u002Fsessions in parallel to simulate real user interactions.\n- Run multiple scripts\u002Fsessions in parallel to simulate different device types (mobile, tablet, desktop).\n- Skills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\n\n## ARIA Snapshot (Element Discovery)\n\nWhen page structure is unknown, use `aria-snapshot.js` to get a YAML-formatted accessibility tree with semantic roles, accessible names, states, and stable element references.\n\n### Get ARIA Snapshot\n\n```bash\n# Generate ARIA snapshot and output to stdout\nnode \"$SKILL_DIR\u002Faria-snapshot.js\" --url https:\u002F\u002Fexample.com\n\n# Save to file in snapshots directory\nnode \"$SKILL_DIR\u002Faria-snapshot.js\" --url https:\u002F\u002Fexample.com --output .\u002F.claude\u002Fchrome-devtools\u002Fsnapshots\u002Fpage.yaml\n```\n\n### Example YAML Output\n\n```yaml\n- banner:\n  - link \"Hacker News\" [ref=e1]\n    \u002Furl: https:\u002F\u002Fnews.ycombinator.com\n  - navigation:\n    - link \"new\" [ref=e2]\n    - link \"past\" [ref=e3]\n    - link \"comments\" [ref=e4]\n- main:\n  - list:\n    - listitem:\n      - link \"Show HN: My new project\" [ref=e8]\n      - text: \"128 points by user 3 hours ago\"\n- contentinfo:\n  - textbox [ref=e10]\n    \u002Fplaceholder: \"Search\"\n```\n\n### Interpreting ARIA Notation\n\n| Notation | Meaning |\n|----------|---------|\n| `[ref=eN]` | Stable identifier for interactive elements |\n| `[checked]` | Checkbox\u002Fradio is selected |\n| `[disabled]` | Element is inactive |\n| `[expanded]` | Accordion\u002Fdropdown is open |\n| `[level=N]` | Heading hierarchy (1-6) |\n| `\u002Furl:` | Link destination |\n| `\u002Fplaceholder:` | Input placeholder text |\n| `\u002Fvalue:` | Current input value |\n\n### Interact by Ref\n\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\nUse `select-ref.js` to interact with elements by their ref:\n\n```bash\n# Click element with ref e5\nnode \"$SKILL_DIR\u002Fselect-ref.js\" --ref e5 --action click\n\n# Fill input with ref e10\nnode \"$SKILL_DIR\u002Fselect-ref.js\" --ref e10 --action fill --value \"search query\"\n\n# Get text content\nnode \"$SKILL_DIR\u002Fselect-ref.js\" --ref e8 --action text\n\n# Screenshot specific element\nnode \"$SKILL_DIR\u002Fselect-ref.js\" --ref e1 --action screenshot --output .\u002Flogo.png\n\n# Focus element\nnode \"$SKILL_DIR\u002Fselect-ref.js\" --ref e10 --action focus\n\n# Hover over element\nnode \"$SKILL_DIR\u002Fselect-ref.js\" --ref e5 --action hover\n```\n\n### Store Snapshots\n\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\nStore snapshots for analysis in `\u003Cproject>\u002F.claude\u002Fchrome-devtools\u002Fsnapshots\u002F`:\n\n```bash\n# Create snapshots directory\nmkdir -p .claude\u002Fchrome-devtools\u002Fsnapshots\n\n# Capture and store with timestamp\nSESSION=\"$(date +%Y%m%d-%H%M%S)\"\nnode \"$SKILL_DIR\u002Faria-snapshot.js\" --url https:\u002F\u002Fexample.com --output .claude\u002Fchrome-devtools\u002Fsnapshots\u002F$SESSION.yaml\n```\n\n### Workflow: Unknown Page Structure\n\n1. **Get snapshot** to discover elements:\n   ```bash\n   node \"$SKILL_DIR\u002Faria-snapshot.js\" --url https:\u002F\u002Fexample.com\n   ```\n\n2. **Identify target** from YAML output (e.g., `[ref=e5]` for a button)\n\n3. **Interact by ref**:\n   ```bash\n   node \"$SKILL_DIR\u002Fselect-ref.js\" --ref e5 --action click\n   ```\n\n4. **Verify result** with screenshot or new snapshot:\n   ```bash\n   node \"$SKILL_DIR\u002Fscreenshot.js\" --output .\u002Fresult.png\n   ```\n\n## Local HTML Files\n\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\n**IMPORTANT**: Never browse local HTML files via `file:\u002F\u002F` protocol. Always serve via local server:\n**Why**: `file:\u002F\u002F` protocol blocks many browser features (CORS, ES modules, fetch API, service workers). Local server ensures proper HTTP behavior.\n\n```bash\n# Option 1: npx serve (recommended)\nnpx serve .\u002Fdist -p 3000 &\nnode \"$SKILL_DIR\u002Fnavigate.js\" --url http:\u002F\u002Flocalhost:3000\n\n# Option 2: Python http.server\npython -m http.server 3000 --directory .\u002Fdist &\nnode \"$SKILL_DIR\u002Fnavigate.js\" --url http:\u002F\u002Flocalhost:3000\n```\n\n**Note**: when port 3000 is busy, find an available port with `lsof -i :3000` and use a different one.\n\n## Quick Start\n\n```bash\n# Install dependencies (one-time setup)\nnpm install --prefix \"$SKILL_DIR\"\n\n# Test (browser stays running for session reuse)\nnode \"$SKILL_DIR\u002Fnavigate.js\" --url https:\u002F\u002Fexample.com\n# Output: {\"success\": true, \"url\": \"...\", \"title\": \"...\"}\n```\n\n**Linux\u002FWSL only**: Run `\"$SKILL_DIR\u002Finstall-deps.sh\"` first for Chrome system libraries.\n\n## Session Persistence\n\nBrowser state persists across script executions via WebSocket endpoint file (`.browser-session.json`).\n\n**Default behavior**: Scripts disconnect but keep browser running for session reuse.\n\n```bash\n# First script: launches browser, navigates, disconnects (browser stays running)\nnode \"$SKILL_DIR\u002Fnavigate.js\" --url https:\u002F\u002Fexample.com\u002Flogin\n\n# Subsequent scripts: connect to existing browser, reuse page state\nnode \"$SKILL_DIR\u002Ffill.js\" --selector \"#email\" --value \"user@example.com\"\nnode \"$SKILL_DIR\u002Ffill.js\" --selector \"#password\" --value \"secret\"\nnode \"$SKILL_DIR\u002Fclick.js\" --selector \"button[type=submit]\"\n\n# Close browser when done\nnode \"$SKILL_DIR\u002Fnavigate.js\" --url about:blank --close true\n```\n\n**Session management**:\n- `--close true`: Close browser and clear session\n- Default (no flag): Keep browser running for next script\n\n## Available Scripts\n\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\nAll in `.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002F`:\n\n| Script | Purpose |\n|--------|---------|\n| `navigate.js` | Navigate to URLs |\n| `screenshot.js` | Capture screenshots (auto-compress >5MB via Sharp) |\n| `click.js` | Click elements |\n| `fill.js` | Fill form fields |\n| `evaluate.js` | Execute JS in page context |\n| `snapshot.js` | Extract interactive elements (JSON format) |\n| `aria-snapshot.js` | Get ARIA accessibility tree (YAML format with refs) |\n| `select-ref.js` | Interact with elements by ref from ARIA snapshot |\n| `console.js` | Monitor console messages\u002Ferrors |\n| `network.js` | Track HTTP requests\u002Fresponses |\n| `performance.js` | Measure Core Web Vitals |\n| `ws-debug.js` | Debug WebSocket connections (basic) |\n| `ws-full-debug.js` | Debug WebSocket with full events\u002Fframes |\n\n## Workflow Loop\n\n1. **Execute** focused script for single task\n2. **Observe** JSON output\n3. **Assess** completion status\n4. **Decide** next action\n5. **Repeat** until done\n\n## Writing Custom Test Scripts\n\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\nFor complex automation, write scripts to `\u003Cproject>\u002F.claude\u002Fchrome-devtools\u002Ftmp\u002F`:\n\n```bash\n# Create tmp directory for test scripts\nmkdir -p $SKILL_DIR\u002F.claude\u002Fchrome-devtools\u002Ftmp\n\n# Write a test script\ncat > $SKILL_DIR\u002F.claude\u002Fchrome-devtools\u002Ftmp\u002Flogin-test.js \u003C\u003C 'EOF'\nimport { getBrowser, getPage, disconnectBrowser, outputJSON } from '..\u002Fscripts\u002Flib\u002Fbrowser.js';\n\nasync function loginTest() {\n  const browser = await getBrowser();\n  const page = await getPage(browser);\n\n  await page.goto('https:\u002F\u002Fexample.com\u002Flogin');\n  await page.type('#email', 'user@example.com');\n  await page.type('#password', 'secret');\n  await page.click('button[type=submit]');\n  await page.waitForNavigation();\n\n  outputJSON({\n    success: true,\n    url: page.url(),\n    title: await page.title()\n  });\n\n  await disconnectBrowser();\n}\n\nloginTest();\nEOF\n\n# Run the test\nnode $SKILL_DIR\u002F.claude\u002Fchrome-devtools\u002Ftmp\u002Flogin-test.js\n```\n\n**Key principles for custom scripts**:\n- Single-purpose: one script, one task\n- Always call `disconnectBrowser()` at the end (keeps browser running)\n- Use `closeBrowser()` only when ending session completely\n- Output JSON for easy parsing\n- Plain JavaScript only in `page.evaluate()` callbacks\n\n## Screenshots\n\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\nStore screenshots for analysis in `\u003Cproject>\u002F.claude\u002Fchrome-devtools\u002Fscreenshots\u002F`:\n\n```bash\n# Basic screenshot\nnode \"$SKILL_DIR\u002Fscreenshot.js\" --url https:\u002F\u002Fexample.com --output .\u002F.claude\u002Fchrome-devtools\u002Fscreenshots\u002Fpage.png\n\n# Full page\nnode \"$SKILL_DIR\u002Fscreenshot.js\" --url https:\u002F\u002Fexample.com --output .\u002F.claude\u002Fchrome-devtools\u002Fscreenshots\u002Fpage.png --full-page true\n\n# Specific element\nnode \"$SKILL_DIR\u002Fscreenshot.js\" --url https:\u002F\u002Fexample.com --selector \".main-content\" --output .\u002F.claude\u002Fchrome-devtools\u002Fscreenshots\u002Felement.png\n```\n\n### Auto-Compression (Sharp)\n\nScreenshots >5MB auto-compress using Sharp (4-5x faster than ImageMagick):\n\n```bash\n# Default: compress if >5MB\nnode \"$SKILL_DIR\u002Fscreenshot.js\" --url https:\u002F\u002Fexample.com --output .\u002F.claude\u002Fchrome-devtools\u002Fscreenshots\u002Fpage.png\n\n# Custom threshold (3MB)\nnode \"$SKILL_DIR\u002Fscreenshot.js\" --url https:\u002F\u002Fexample.com --output .\u002F.claude\u002Fchrome-devtools\u002Fscreenshots\u002Fpage.png --max-size 3\n\n# Disable compression\nnode \"$SKILL_DIR\u002Fscreenshot.js\" --url https:\u002F\u002Fexample.com --output .\u002F.claude\u002Fchrome-devtools\u002Fscreenshots\u002Fpage.png --no-compress\n```\n\nStore screenshots for analysis in `\u003Cproject>\u002F.claude\u002Fchrome-devtools\u002Fscreenshots\u002F`.\n\n## Console Log Collection & Analysis\n\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\n\n### Capture Logs\n\n```bash\n# Capture all logs for 10 seconds\nnode \"$SKILL_DIR\u002Fconsole.js\" --url https:\u002F\u002Fexample.com --duration 10000\n\n# Filter by type\nnode \"$SKILL_DIR\u002Fconsole.js\" --url https:\u002F\u002Fexample.com --types error,warn --duration 5000\n```\n\n### Session Storage Pattern\n\nStore logs for analysis in `\u003Cproject>\u002F.claude\u002Fchrome-devtools\u002Flogs\u002F\u003Csession>\u002F`:\n\n```bash\n# Create session directory\nSESSION=\"$(date +%Y%m%d-%H%M%S)\"\nmkdir -p .claude\u002Fchrome-devtools\u002Flogs\u002F$SESSION\n\n# Capture and store\nnode \"$SKILL_DIR\u002Fconsole.js\" --url https:\u002F\u002Fexample.com --duration 10000 > .claude\u002Fchrome-devtools\u002Flogs\u002F$SESSION\u002Fconsole.json\nnode \"$SKILL_DIR\u002Fnetwork.js\" --url https:\u002F\u002Fexample.com > .claude\u002Fchrome-devtools\u002Flogs\u002F$SESSION\u002Fnetwork.json\n\n# View errors\njq '.messages[] | select(.type==\"error\")' .claude\u002Fchrome-devtools\u002Flogs\u002F$SESSION\u002Fconsole.json\n```\n\n### Root Cause Analysis\n\n```bash\n# 1. Check for JavaScript errors\nnode \"$SKILL_DIR\u002Fconsole.js\" --url https:\u002F\u002Fexample.com --types error,pageerror --duration 5000 | jq '.messages'\n\n# 2. Correlate with network failures\nnode \"$SKILL_DIR\u002Fnetwork.js\" --url https:\u002F\u002Fexample.com | jq '.requests[] | select(.response.status >= 400)'\n\n# 3. Check specific error stack traces\nnode \"$SKILL_DIR\u002Fconsole.js\" --url https:\u002F\u002Fexample.com --types error --duration 5000 | jq '.messages[].stack'\n```\n\n## Finding Elements\n\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\nUse `snapshot.js` to discover selectors before interacting:\n\n```bash\n# Get all interactive elements\nnode \"$SKILL_DIR\u002Fsnapshot.js\" --url https:\u002F\u002Fexample.com | jq '.elements[] | {tagName, text, selector}'\n\n# Find buttons\nnode \"$SKILL_DIR\u002Fsnapshot.js\" --url https:\u002F\u002Fexample.com | jq '.elements[] | select(.tagName==\"button\")'\n\n# Find by text content\nnode \"$SKILL_DIR\u002Fsnapshot.js\" --url https:\u002F\u002Fexample.com | jq '.elements[] | select(.text | contains(\"Submit\"))'\n```\n\n## Error Recovery\n\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\nIf script fails:\n\n```bash\n# 1. Capture current state (without navigating to preserve state)\nnode \"$SKILL_DIR\u002Fscreenshot.js\" --output .\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscreenshots\u002Fdebug.png\n\n# 2. Get console errors\nnode \"$SKILL_DIR\u002Fconsole.js\" --url about:blank --types error --duration 1000\n\n# 3. Discover correct selector\nnode \"$SKILL_DIR\u002Fsnapshot.js\" | jq '.elements[] | select(.text | contains(\"Submit\"))'\n\n# 4. Try XPath if CSS fails\nnode \"$SKILL_DIR\u002Fclick.js\" --selector \"\u002F\u002Fbutton[contains(text(),'Submit')]\"\n```\n\n## Common Patterns\n\n### Web Scraping\n```bash\nnode \"$SKILL_DIR\u002Fevaluate.js\" --url https:\u002F\u002Fexample.com --script \"\n  Array.from(document.querySelectorAll('.item')).map(el => ({\n    title: el.querySelector('h2')?.textContent,\n    link: el.querySelector('a')?.href\n  }))\n\" | jq '.result'\n```\n\n### Form Automation\n```bash\nnode \"$SKILL_DIR\u002Fnavigate.js\" --url https:\u002F\u002Fexample.com\u002Fform\nnode \"$SKILL_DIR\u002Ffill.js\" --selector \"#search\" --value \"query\"\nnode \"$SKILL_DIR\u002Fclick.js\" --selector \"button[type=submit]\"\n```\n\n### Performance Testing\n```bash\nnode \"$SKILL_DIR\u002Fperformance.js\" --url https:\u002F\u002Fexample.com | jq '.vitals'\n```\n\n## Script Options\n\nAll scripts support:\n- `--headless false` - Show browser window\n- `--close true` - Close browser completely (default: stay running)\n- `--timeout 30000` - Set timeout (ms)\n- `--wait-until networkidle2` - Wait strategy\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\n\n## Troubleshooting\nSkills can exist in **project-scope** or **user-scope**. Priority: project-scope > user-scope.\n\n| Error | Solution |\n|-------|----------|\n| `Cannot find package 'puppeteer'` | Run `npm install` in scripts directory |\n| `libnss3.so` missing (Linux) | Run `.\u002Finstall-deps.sh` |\n| Element not found | Use `snapshot.js` to find correct selector |\n| Script hangs | Use `--timeout 60000` or `--wait-until load` |\n| Screenshot >5MB | Auto-compressed; use `--max-size 3` for lower |\n| Session stale | Delete `.browser-session.json` and retry |\n\n### Screenshot Analysis: Missing Images\n\nIf images don't appear in screenshots, they may be waiting for animation triggers:\n\n1. **Scroll-triggered animations**: Scroll element into view first\n   ```bash\n   node \"$SKILL_DIR\u002Fevaluate.js\" --script \"document.querySelector('.lazy-image').scrollIntoView()\"\n   # Wait for animation\n   node \"$SKILL_DIR\u002Fevaluate.js\" --script \"await new Promise(r => setTimeout(r, 1000))\"\n   node \"$SKILL_DIR\u002Fscreenshot.js\" --output .\u002Fresult.png\n   ```\n\n2. **Sequential animation queue**: Wait longer and retry\n   ```bash\n   # First attempt\n   node \"$SKILL_DIR\u002Fscreenshot.js\" --url http:\u002F\u002Flocalhost:3000 --output .\u002Fattempt1.png\n\n   # Wait for animations to complete\n   node \"$SKILL_DIR\u002Fevaluate.js\" --script \"await new Promise(r => setTimeout(r, 2000))\"\n\n   # Retry screenshot\n   node \"$SKILL_DIR\u002Fscreenshot.js\" --output .\u002Fattempt2.png\n   ```\n\n3. **Intersection Observer animations**: Trigger by scrolling through page\n   ```bash\n   node \"$SKILL_DIR\u002Fevaluate.js\" --script \"window.scrollTo(0, document.body.scrollHeight)\"\n   node \"$SKILL_DIR\u002Fevaluate.js\" --script \"await new Promise(r => setTimeout(r, 1500))\"\n   node \"$SKILL_DIR\u002Fevaluate.js\" --script \"window.scrollTo(0, 0)\"\n   node \"$SKILL_DIR\u002Fscreenshot.js\" --output .\u002Ffull-loaded.png --full-page true\n   ```\n\n## Reference Documentation\n\n- `.\u002Freferences\u002Fcdp-domains.md` - Chrome DevTools Protocol domains\n- `.\u002Freferences\u002Fpuppeteer-reference.md` - Puppeteer API patterns\n- `.\u002Freferences\u002Fperformance-guide.md` - Core Web Vitals optimization\n- `.\u002Fscripts\u002FREADME.md` - Detailed script options\n",{"name":5,"license":16,"version":56,"description":7},"1.1.0","main","812c56c3373a712c9368c5a705fe9f1c7604fbbd","TermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools","https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro","https:\u002F\u002Fgithub.com\u002Fvienkmt","https:\u002F\u002Fwww.facebook.com\u002Fmark","2026-08-09 20:17:36",{"source":9,"skillName":5,"commands":65,"prompt":75,"zipAvailable":76},[66,69,72],{"tool":67,"command":68},"npx","npx skills add vienkmt\u002FTermiPro --skill chrome-devtools",{"tool":70,"command":71},"bunx","bunx skills add vienkmt\u002FTermiPro --skill chrome-devtools",{"tool":73,"command":74},"pnpm","pnpm dlx skills add vienkmt\u002FTermiPro --skill chrome-devtools","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002FSKILL.md",true,[78,84,88,92,96,102,106,110,114,118,122,126,130,134,138,142,146,150,154,158,162,166,170,174,178,182,186],{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"agents\u002Fopenai.yaml","REFERENCE","参考文档",235,"https:\u002F\u002Fgithub.com\u002Fractive\u002Fhyalo\u002Fblob\u002Fmain\u002Fcrates\u002Fhyalo-cli\u002Ftemplates\u002Fcodex\u002Fskills\u002Fhyalo\u002Fagents\u002Fopenai.yaml",{"path":85,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fcdp-domains.md",17812,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Freferences\u002Fcdp-domains.md",{"path":89,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fperformance-guide.md",21550,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Freferences\u002Fperformance-guide.md",{"path":93,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fpuppeteer-reference.md",19065,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Freferences\u002Fpuppeteer-reference.md",{"path":97,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":100,"sourceHtmlUrl":101},"scripts\u002F__tests__\u002Ferror-handling.test.js","SCRIPT","脚本",3711,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002F__tests__\u002Ferror-handling.test.js",{"path":103,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":104,"sourceHtmlUrl":105},"scripts\u002F__tests__\u002Fselector.test.js",6525,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002F__tests__\u002Fselector.test.js",{"path":107,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":108,"sourceHtmlUrl":109},"scripts\u002F.gitignore",53,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002F.gitignore",{"path":111,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":112,"sourceHtmlUrl":113},"scripts\u002Faria-snapshot.js",10330,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002Faria-snapshot.js",{"path":115,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":116,"sourceHtmlUrl":117},"scripts\u002Fclick.js",2446,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002Fclick.js",{"path":119,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":120,"sourceHtmlUrl":121},"scripts\u002Fconsole.js",1974,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002Fconsole.js",{"path":123,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":124,"sourceHtmlUrl":125},"scripts\u002Fevaluate.js",1316,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002Fevaluate.js",{"path":127,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":128,"sourceHtmlUrl":129},"scripts\u002Ffill.js",2111,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002Ffill.js",{"path":131,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":132,"sourceHtmlUrl":133},"scripts\u002Finject-auth.js",7442,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002Finject-auth.js",{"path":135,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":136,"sourceHtmlUrl":137},"scripts\u002Finstall-deps.sh",4371,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002Finstall-deps.sh",{"path":139,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":140,"sourceHtmlUrl":141},"scripts\u002Finstall.sh",2137,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002Finstall.sh",{"path":143,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":144,"sourceHtmlUrl":145},"scripts\u002Flib\u002Fbrowser.js",8043,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002Flib\u002Fbrowser.js",{"path":147,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":148,"sourceHtmlUrl":149},"scripts\u002Flib\u002Fselector.js",5422,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002Flib\u002Fselector.js",{"path":151,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":152,"sourceHtmlUrl":153},"scripts\u002Fnavigate.js",1397,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002Fnavigate.js",{"path":155,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":156,"sourceHtmlUrl":157},"scripts\u002Fnetwork.js",2955,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002Fnetwork.js",{"path":159,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":160,"sourceHtmlUrl":161},"scripts\u002Fpackage.json",345,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002Fpackage.json",{"path":163,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":164,"sourceHtmlUrl":165},"scripts\u002Fperformance.js",4103,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002Fperformance.js",{"path":167,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":168,"sourceHtmlUrl":169},"scripts\u002FREADME.md",8082,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002FREADME.md",{"path":171,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":172,"sourceHtmlUrl":173},"scripts\u002Fscreenshot.js",6400,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002Fscreenshot.js",{"path":175,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":176,"sourceHtmlUrl":177},"scripts\u002Fselect-ref.js",3931,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002Fselect-ref.js",{"path":179,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":180,"sourceHtmlUrl":181},"scripts\u002Fsnapshot.js",3725,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002Fsnapshot.js",{"path":183,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":184,"sourceHtmlUrl":185},"scripts\u002Fws-debug.js",1496,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002Fws-debug.js",{"path":187,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":188,"sourceHtmlUrl":189},"scripts\u002Fws-full-debug.js",3335,"https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fchrome-devtools\u002Fscripts\u002Fws-full-debug.js",[191,222,246,273,294,313],{"skillNo":192,"name":193,"nameZh":194,"description":195,"descriptionZh":196,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":197,"licenseFileUrl":17,"sourceHtmlUrl":198,"categories":199,"keywords":204,"publishedAt":51},"01M6CB8V1E4APYVGPP6XVVVZVV","web-frameworks","Next.js 全栈 Web 应用构建","Build modern full-stack web applications with Next.js (App Router, Server Components, RSC, PPR, SSR, SSG, ISR), Turborepo (monorepo management, task pipelines, remote caching, parallel execution), and RemixIcon (3100+ SVG icons in outlined\u002Ffilled styles). Use when creating React applications, implementing server-side rendering, setting up monorepos with multiple packages, optimizing build performance and caching strategies, adding icon libraries, managing shared dependencies, or working with TypeScript full-stack projects.","使用 Next.js（App Router、Server Components、RSC、PPR、SSR、SSG、ISR）、Turborepo（monorepo 管理、任务流水线、远程缓存、并行执行）和 RemixIcon（3100+ 种 outlined\u002Ffilled 风格的 SVG 图标）构建现代全栈 Web 应用。适用于创建 React 应用、实现服务端渲染、搭建包含多个包的 monorepo、优化构建性能与缓存策略、添加图标库、管理共享依赖，或开发 TypeScript 全栈项目。","MIT","https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fweb-frameworks\u002FSKILL.md",[200,201],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":202,"categoryName":203,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRASNPVNJVQQJ4KZX8XM5D","前端开发与界面实现",[205,45,206,48,207,208,209,210,211,35,212,213,214,215,216,217,218,219,220,221],"web frameworks","components","react","projects","parallel execution","up","router","monorepo","parallel","stack","Next.js","applications","execution","server","icons","packages","libraries",{"skillNo":223,"name":224,"nameZh":225,"description":226,"descriptionZh":227,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":197,"licenseFileUrl":17,"sourceHtmlUrl":228,"categories":229,"keywords":232,"publishedAt":51},"01M6CB8D4MXVYSA7Q8F0VXBR0T","ui-styling","shadcn\u002Fui 与 Tailwind 界面样式设计","Create beautiful, accessible user interfaces with shadcn\u002Fui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns, forms, tables), customizing themes and colors, implementing dark mode, generating visual designs and posters, or establishing consistent styling patterns across applications.","使用 shadcn\u002Fui 组件（基于 Radix UI + Tailwind 构建）、Tailwind CSS 的 utility-first 样式以及基于 canvas 的视觉设计，创建美观且无障碍的用户界面。适用于构建用户界面、实现设计系统、创建响应式布局、添加无障碍组件（对话框、下拉菜单、表单、表格）、定制主题和颜色、实现深色模式、生成视觉设计和海报，或在应用程序间建立统一的样式规范。","https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fui-styling\u002FSKILL.md",[230,231],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":202,"categoryName":203,"taxonomyType":28,"taxonomyTypeDesc":29},[233,234,235,236,35,237,238,239,216,240,241,242,206,243,244,245],"styling","ui","ui styling","first","radix ui","user","Tailwind","shadcn","design systems","create","canvas","design","css",{"skillNo":247,"name":248,"nameZh":249,"description":250,"descriptionZh":251,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":197,"licenseFileUrl":17,"sourceHtmlUrl":252,"categories":253,"keywords":256,"publishedAt":51},"01M6CB89DT68MMYZKTWKDT0ARW","threejs","Three.js 三维网页开发","Build immersive 3D web experiences with Three.js - WebGL\u002FWebGPU library for scenes, cameras, geometries, materials, lights, animations, loaders, post-processing, shaders (including node-based TSL), compute, physics, VR\u002FXR, and advanced rendering. Use when creating 3D visualizations, games, interactive graphics, data viz, product configurators, architectural walkthroughs, or WebGL\u002FWebGPU applications. Covers OrbitControls, GLTF\u002FFBX loading, PBR materials, shadow mapping, post-processing effects (bloom, SSAO, SSR), custom shaders, instancing, LOD, animation systems, and WebXR.","使用 Three.js 构建沉浸式的 3D Web 体验——这是一个用于场景、相机、几何体、材质、灯光、动画、加载器、后期处理、着色器（包括基于节点的 TSL）、计算、物理、VR\u002FXR 和高级渲染的 WebGL\u002FWebGPU 库。适用于创建 3D 可视化、游戏、交互式图形、数据可视化、产品配置器、建筑漫游或 WebGL\u002FWebGPU 应用程序。涵盖 OrbitControls、GLTF\u002FFBX 加载、PBR 材质、阴影映射、后期处理效果（bloom、SSAO、SSR）、自定义着色器、实例化、LOD、动画系统和 WebXR。","https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fthreejs\u002FSKILL.md",[254,255],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":202,"categoryName":203,"taxonomyType":28,"taxonomyTypeDesc":29},[248,45,257,258,259,260,261,262,263,264,265,266,216,267,268,269,270,271,35,272],"webxr","webgl","pbr","graphics","gltf","webgpu","ssr","shaders","product","data","Animation","3D","visualizations","node","interactive","Shadow",{"skillNo":274,"name":275,"nameZh":276,"description":277,"descriptionZh":278,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":197,"licenseFileUrl":17,"sourceHtmlUrl":279,"categories":280,"keywords":287,"publishedAt":51},"01M6CB7Y4KZKH2T51JF2THHAFB","sequential-thinking","结构化思考与问题分析","Apply structured, reflective problem-solving for complex tasks requiring multi-step analysis, revision capability, and hypothesis verification. Use for complex problem decomposition, adaptive planning, analysis needing course correction, problems with unclear scope, multi-step solutions, and hypothesis-driven work.","针对需要多步分析、修订能力和假设验证的复杂任务，运用结构化、反思性的问题解决方法。适用于复杂问题分解、自适应规划、需要调整方向的分析、范围不明确的问题、多步骤解决方案以及假设驱动的工作。","https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fsequential-thinking\u002FSKILL.md",[281,284],{"categoryNo":282,"categoryName":283,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TRAEZFJ43R95HPEBJYG","知识工作者",{"categoryNo":285,"categoryName":286,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CEQPGD4FHNTWM4FRJJ6RE7","结构化问题解决引导",[288,289,35,38,290,291,292,293],"sequential thinking","work","hypothesis","verification","planning","tasks",{"skillNo":295,"name":296,"nameZh":297,"description":298,"descriptionZh":299,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":197,"licenseFileUrl":17,"sourceHtmlUrl":300,"categories":301,"keywords":308,"publishedAt":51},"01M6CB7VW0MXYN6P7TV9142X11","research","技术方案研究规划","Use when you need to research, analyze, and plan technical solutions that are scalable, secure, and maintainable.","在需要研究、分析和规划可扩展、安全且可维护的技术方案时使用。","https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fresearch\u002FSKILL.md",[302,305],{"categoryNo":303,"categoryName":304,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C82QA6RFSM572EJHQQYPMH","研究工程师",{"categoryNo":306,"categoryName":307,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CA7BPYYPVSH8VYED4N4P5Y","技术预研与概念验证",[296,309,35,310,311,312],"plan","technical","analyze","secure",{"skillNo":314,"name":292,"nameZh":315,"description":316,"descriptionZh":317,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":197,"licenseFileUrl":17,"sourceHtmlUrl":318,"categories":319,"keywords":326,"publishedAt":51},"01M6CB7FGCAFQX40TX1MMAQ38M","技术方案规划","Use when you need to plan technical solutions that are scalable, secure, and maintainable.","当你需要规划可扩展、安全且可维护的技术方案时使用。","https:\u002F\u002Fgithub.com\u002Fvienkmt\u002FTermiPro\u002Fblob\u002Fmain\u002FTermiMax\u002F.claude\u002Fskills\u002Fplanning\u002FSKILL.md",[320,323],{"categoryNo":321,"categoryName":322,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTBRTQXJ9T5TABNS7XP1A0","任务规划与分解",{"categoryNo":324,"categoryName":325,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C4ZVS0ZJKF2T2G58PW5VR2","系统架构师",[292,309,310,35,312]]