[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JE8X7RFDY6Q0ABGED121V1":3,"skill-same:01M6JE8X7RFDY6Q0ABGED121V1":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":26,"linkOnly":27,"markdownContent":28,"markdownBody":29,"frontMatter":30,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":13,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M6JE8X7RFDY6Q0ABGED121V1","playwright-browser",null,"Control a Playwright browser via CLI - navigate, interact, and screenshot","superhealth\u002Fskills-hub","superhealth","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6292112?v=4","01M6JA6E7F21BYK5W3E4P270TT","01M6JA6EC0W8MPHKDJVBZDSEZ0",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fbind\u002Fplaywright-browser\u002FSKILL.md",[],[18,19,20,21,22,23,24,25],"playwright","browser","playwright browser","cli","screenshot","opencode","control","via","2026-11-10 10:12:30",false,"---\nname: playwright-browser\ndescription: Control a Playwright browser via CLI - navigate, interact, and screenshot\nversion: 1.0.0\nlicense: MIT\ncompatibility: opencode\n---\n\n## Overview\n\nCLI tools for controlling a Playwright browser. Uses Playwright's accessibility tree for lightweight, efficient page interaction.\n\n## Interactive Session Workflow\n\nStart a persistent browser session and issue commands against it:\n\n```bash\n# Start session (opens visible browser window)\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fsession.js start\n\n# Navigate to a site\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fnavigate.js https:\u002F\u002Fduckduckgo.com\n\n# Get page structure\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fsnapshot.js\n\n# Type in search box and submit\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Ftype.js \"combobox:Search with DuckDuckGo\" \"github\" --press Enter\n\n# Click on a result\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fclick.js \"link:GitHub\"\n\n# Take a screenshot\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fscreenshot.js --output result.png\n\n# Stop session when done\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fsession.js stop\n```\n\n## Commands\n\n### Session\n\nManage a persistent browser session for interactive use.\n\n```bash\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fsession.js start\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fsession.js stop\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fsession.js status\n```\n\n**Options:**\n- `--headless` - Run in headless mode (default: headed\u002Fvisible)\n\n**Examples:**\n```bash\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fsession.js start\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fsession.js start --headless\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fsession.js status\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fsession.js stop\n```\n\n---\n\n### Navigate\n\nNavigate to a URL in the browser.\n\n```bash\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fnavigate.js \u003Curl>\n```\n\n**Examples:**\n```bash\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fnavigate.js https:\u002F\u002Fexample.com\n```\n\n---\n\n### Snapshot\n\nGet the accessibility tree of the current page.\n\n```bash\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fsnapshot.js\n```\n\nShows the page structure in a text format. Use this to find elements to interact with.\n\n**Output format:**\n```\n- navigation:\n  - link \"About\"\n- search:\n  - combobox \"Search\"\n  - button \"Submit\"\n```\n\n---\n\n### Type\n\nType text into an input element on the page.\n\n```bash\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Ftype.js \u003Cref> \u003Ctext> [--press Enter]\n```\n\n**Arguments:**\n- `ref` - Element reference (role:name, text:content, or CSS selector)\n- `text` - Text to type\n\n**Options:**\n- `--press \u003Ckey>` - Press a key after typing (e.g., Enter, Tab)\n\n**Examples:**\n```bash\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Ftype.js \"combobox:Search\" \"hello\" --press Enter\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Ftype.js \"input[name='q']\" \"search query\"\n```\n\n---\n\n### Click\n\nClick an element on the page.\n\n```bash\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fclick.js \u003Cref>\n```\n\n**Arguments:**\n- `ref` - Element reference (role:name, text:content, or CSS selector)\n\n**Examples:**\n```bash\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fclick.js \"button:Submit\"\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fclick.js \"link:Sign in\"\n```\n\n---\n\n### Screenshot\n\nTake a screenshot of the current page.\n\n```bash\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fscreenshot.js [--output \u003Cpath>] [--full]\n```\n\n**Options:**\n- `--output \u003Cpath>` - Output file path (default: screenshot.png)\n- `--full` - Capture full page (scrolls entire page)\n\n**Examples:**\n```bash\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fscreenshot.js\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fscreenshot.js --output page.png\n```\n\n---\n\n## Element References\n\nCommands that interact with elements (`type`, `click`) accept flexible element references:\n\n| Format | Example | Description |\n|--------|---------|-------------|\n| `role:name` | `combobox:Search` | Accessibility role and name |\n| `text:content` | `text:Sign in` | Element containing text |\n| CSS selector | `#login-btn` | Standard CSS selector |\n| CSS selector | `input[name='q']` | Attribute selector |\n\n**Recommended workflow:**\n1. Use `snapshot` to see the accessibility tree\n2. Find the element's role and name\n3. Use `role:name` format for reliable interaction\n\n## Error Recovery\n\nCommands provide helpful error messages with suggestions:\n\n- **Element not found**: \"Element 'X' not found. Try: snapshot to see available elements\"\n- **Session issues**: Commands automatically start a session if none exists\n- **Navigation failures**: \"Navigation failed at URL. Try: navigate URL\"\n\n## Notes\n\n- Browser data is stored in `.playwright-data\u002F` in the project root\n- The persistent context maintains cookies and localStorage between sessions\n- Commands use `networkidle` wait for reliable page loading\n","## Overview\n\nCLI tools for controlling a Playwright browser. Uses Playwright's accessibility tree for lightweight, efficient page interaction.\n\n## Interactive Session Workflow\n\nStart a persistent browser session and issue commands against it:\n\n```bash\n# Start session (opens visible browser window)\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fsession.js start\n\n# Navigate to a site\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fnavigate.js https:\u002F\u002Fduckduckgo.com\n\n# Get page structure\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fsnapshot.js\n\n# Type in search box and submit\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Ftype.js \"combobox:Search with DuckDuckGo\" \"github\" --press Enter\n\n# Click on a result\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fclick.js \"link:GitHub\"\n\n# Take a screenshot\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fscreenshot.js --output result.png\n\n# Stop session when done\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fsession.js stop\n```\n\n## Commands\n\n### Session\n\nManage a persistent browser session for interactive use.\n\n```bash\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fsession.js start\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fsession.js stop\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fsession.js status\n```\n\n**Options:**\n- `--headless` - Run in headless mode (default: headed\u002Fvisible)\n\n**Examples:**\n```bash\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fsession.js start\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fsession.js start --headless\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fsession.js status\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fsession.js stop\n```\n\n---\n\n### Navigate\n\nNavigate to a URL in the browser.\n\n```bash\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fnavigate.js \u003Curl>\n```\n\n**Examples:**\n```bash\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fnavigate.js https:\u002F\u002Fexample.com\n```\n\n---\n\n### Snapshot\n\nGet the accessibility tree of the current page.\n\n```bash\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fsnapshot.js\n```\n\nShows the page structure in a text format. Use this to find elements to interact with.\n\n**Output format:**\n```\n- navigation:\n  - link \"About\"\n- search:\n  - combobox \"Search\"\n  - button \"Submit\"\n```\n\n---\n\n### Type\n\nType text into an input element on the page.\n\n```bash\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Ftype.js \u003Cref> \u003Ctext> [--press Enter]\n```\n\n**Arguments:**\n- `ref` - Element reference (role:name, text:content, or CSS selector)\n- `text` - Text to type\n\n**Options:**\n- `--press \u003Ckey>` - Press a key after typing (e.g., Enter, Tab)\n\n**Examples:**\n```bash\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Ftype.js \"combobox:Search\" \"hello\" --press Enter\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Ftype.js \"input[name='q']\" \"search query\"\n```\n\n---\n\n### Click\n\nClick an element on the page.\n\n```bash\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fclick.js \u003Cref>\n```\n\n**Arguments:**\n- `ref` - Element reference (role:name, text:content, or CSS selector)\n\n**Examples:**\n```bash\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fclick.js \"button:Submit\"\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fclick.js \"link:Sign in\"\n```\n\n---\n\n### Screenshot\n\nTake a screenshot of the current page.\n\n```bash\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fscreenshot.js [--output \u003Cpath>] [--full]\n```\n\n**Options:**\n- `--output \u003Cpath>` - Output file path (default: screenshot.png)\n- `--full` - Capture full page (scrolls entire page)\n\n**Examples:**\n```bash\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fscreenshot.js\nbun .opencode\u002Fskill\u002Fplaywright-browser\u002Fscreenshot.js --output page.png\n```\n\n---\n\n## Element References\n\nCommands that interact with elements (`type`, `click`) accept flexible element references:\n\n| Format | Example | Description |\n|--------|---------|-------------|\n| `role:name` | `combobox:Search` | Accessibility role and name |\n| `text:content` | `text:Sign in` | Element containing text |\n| CSS selector | `#login-btn` | Standard CSS selector |\n| CSS selector | `input[name='q']` | Attribute selector |\n\n**Recommended workflow:**\n1. Use `snapshot` to see the accessibility tree\n2. Find the element's role and name\n3. Use `role:name` format for reliable interaction\n\n## Error Recovery\n\nCommands provide helpful error messages with suggestions:\n\n- **Element not found**: \"Element 'X' not found. Try: snapshot to see available elements\"\n- **Session issues**: Commands automatically start a session if none exists\n- **Navigation failures**: \"Navigation failed at URL. Try: navigate URL\"\n\n## Notes\n\n- Browser data is stored in `.playwright-data\u002F` in the project root\n- The persistent context maintains cookies and localStorage between sessions\n- Commands use `networkidle` wait for reliable page loading\n",{"name":5,"license":14,"version":31,"description":7,"compatibility":23},"1.0.0","master","08cc2532077058aa50e6e18f54695bc256c88152","skills\u002Fbind\u002Fplaywright-browser","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub","https:\u002F\u002Fgithub.com\u002Fsuperhealth","java engineer","2026-04-06 22:07:23",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add superhealth\u002Fskills-hub --skill playwright-browser",{"tool":45,"command":46},"bunx","bunx skills add superhealth\u002Fskills-hub --skill playwright-browser",{"tool":48,"command":49},"pnpm","pnpm dlx skills add superhealth\u002Fskills-hub --skill playwright-browser","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fbind\u002Fplaywright-browser\u002FSKILL.md",true,[53,59],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"skill-report.json","REFERENCE","参考文档",8450,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fbind\u002Fplaywright-browser\u002Fskill-report.json",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"skill.json",396,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fbind\u002Fplaywright-browser\u002Fskill.json",[64,91,114,126,141,156],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":26},"01M6MC9F3WHV8S8FZ2W4TRB0FE","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fzhanlincui\u002Fvercel-react-best-practices\u002FSKILL.md",[],[71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90],"react","vercel react best practices","best practices","vercel","react best practices","data fetching","code","triggers","pages","next","patterns","refactoring","data","Optimization","tasks","guidelines","react components","components","performance","writing",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":26},"01M6MB8KWE1Q5A5KERR7RFTQWP","vue-testing-best-practices","Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-testing-best-practices\u002FSKILL.md",[],[98,99,100,73,101,102,103,104,105,106,107,81,108,109,110,111,112,113,18],"vue testing best practices","testing best practices","vue","testing","testing patterns","js","e2e","vitest","use","component","test","mocking","for","utils","e2e testing","github",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":26},"01M6MB8GK06M6GA4KVYNDV1BZP","vue-router-best-practices","Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-router-best-practices\u002FSKILL.md",[],[73,100,121,122,123,81,124,125,107,113],"router","vue router best practices","route","navigation","lifecycle",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":26},"01M6MB8DQF21TZMQ9XC3745ERW","vue-pinia-best-practices","Pinia stores, state management patterns, store setup, and reactivity with stores.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-pinia-best-practices\u002FSKILL.md",[],[133,134,100,73,135,136,81,137,138,139,140,113],"vue pinia best practices","pinia","with","store","management","state","state management","setup",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"publishedAt":26},"01M6MB8A7MC08747J9TV4GWQ9A","vue-options-api-best-practices","Vue 3 Options API style (data(), methods, this context). Each reference shows Options API solution only.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-options-api-best-practices\u002FSKILL.md",[],[100,148,149,150,73,151,152,153,154,83,113,155],"options","vue options api best practices","api","methods","reference","only","context","style",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":26},"01M6MB85ZTQC24Q04X49MM4YXN","vue-development-guides","A collection of best practices and tips for developing applications using Vue.js. This skill MUST be apply when developing, refactoring or reviewing Vue.js or Nuxt projects.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-development-guides\u002FSKILL.md",[],[163,100,164,165,113,166,167,110,168,169,170,103,82,171,172,73],"development","guides","vue development guides","tips","apply","project","nuxt","projects","collection","applications"]