[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6J3YHD1X3VQ73R5GGDDH2YP":3,"skill-same:01M6J3YHD1X3VQ73R5GGDDH2YP":110},{"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":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":59,"ownerHtmlUrl":60,"ownerBlogUrl":6,"ownerDescription":61,"updatedAt":62,"install":63,"resources":75},"01M6J3YHD1X3VQ73R5GGDDH2YP","mk:playwright-cli",null,"Scripted browser control via the Playwright CLI: navigate, fill, screenshot, extract. NOT for mk:agent-browser.","ngocsangyem\u002FMeowKit","ngocsangyem","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F33769536?v=4","01M6J3FSMJAG9PVQEGRT7AQ9J2","Sang Nguyen","01M6J3FSRTJG0MNP6NV71639RM",16,"MIT","https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fplaywright-cli\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"mk:playwright cli","cli","playwright","playwright cli","when","active","browser","across","code","Bash","information","qa","autonomous","testing","flows","browser automation","form-fill","agent-browser","session-persistent","playwright-cli","data-extraction","2026-11-10 10:12:30",false,"---\nname: mk:playwright-cli\ndescription: 'Scripted browser control via the Playwright CLI: navigate, fill, screenshot, extract. NOT for mk:agent-browser.'\nallowed-tools: Bash(playwright-cli:*)\nsource: microsoft\u002Fplaywright\nkeywords:\n  - playwright-cli\n  - browser-automation\n  - form-fill\n  - screenshot\n  - data-extraction\n  - session-persistent\nwhen_to_use: A known click-and-type sequence must run against a live page over several steps.\nuser-invocable: true\nowner: testing\ncriticality: medium\nstatus: active\nruntime: claude-code\n---\n\n# Browser Automation with playwright-cli\n\n> **Use playwright-cli when:** DOM interaction, navigation, data extraction, or generating reusable `.spec.ts` E2E test code.\n> **Use `mk:agent-browser` instead when:** session persistence (auth flows, MFA, cookie import) is required.\n\n## Quick Start\n\n```bash\nplaywright-cli open https:\u002F\u002Fplaywright.dev\nplaywright-cli snapshot                  # Get element refs (e1, e2, ...)\nplaywright-cli click e15\nplaywright-cli type \"page.click\"\nplaywright-cli press Enter\nplaywright-cli screenshot\nplaywright-cli close\n```\n\n## Core Workflow\n\n1. `open \u003Curl>` — navigate to page\n2. `snapshot` — get accessibility tree with element refs (`e1`, `e2`, ...)\n3. Interact using refs: `click`, `fill`, `type`, `select`, `check`\n4. Re-snapshot after navigation or DOM changes\n5. `close` when done\n\n```bash\nplaywright-cli open https:\u002F\u002Fexample.com\u002Fform\nplaywright-cli snapshot\nplaywright-cli fill e1 \"user@example.com\"\nplaywright-cli fill e2 \"password123\"\nplaywright-cli click e3\nplaywright-cli snapshot\nplaywright-cli close\n```\n\n## Most-Used Commands\n\n```bash\n# Navigation\nplaywright-cli goto \u003Curl>\nplaywright-cli go-back \u002F go-forward \u002F reload\n\n# Interaction\nplaywright-cli click e3\nplaywright-cli fill e5 \"text\"         # Clear and type\nplaywright-cli type \"text\"            # Type at current focus\nplaywright-cli press Enter\nplaywright-cli select e9 \"option-value\"\nplaywright-cli check e12 \u002F uncheck e12\n\n# Snapshot & capture\nplaywright-cli snapshot\nplaywright-cli snapshot --filename=after-click.yaml\nplaywright-cli screenshot\nplaywright-cli screenshot --filename=page.png\nplaywright-cli pdf --filename=page.pdf\n\n# Auth state\nplaywright-cli state-save auth.json\nplaywright-cli state-load auth.json\n```\n\nFull command listing: [references\u002Fcommand-reference.md](references\u002Fcommand-reference.md)\n\n## Snapshots\n\nAfter each command, playwright-cli writes a snapshot YAML of the current browser state.\nUse `--filename=` when the artifact is a workflow result; omit for auto-timestamped files.\n\n```\n.playwright-cli\u002Fpage-2026-02-14T19-22-42-679Z.yml\n```\n\n## Sessions\n\n```bash\nplaywright-cli -s=mysession open example.com --persistent\nplaywright-cli -s=mysession click e6\nplaywright-cli -s=mysession close\nplaywright-cli list          # List all active sessions\nplaywright-cli close-all     # Close all browsers\nplaywright-cli kill-all      # Force kill stale processes\n```\n\nNamed sessions run isolated contexts (separate cookies, storage, history).\nFull session patterns: [references\u002Fsession-management.md](references\u002Fsession-management.md)\n\n## Storage & Network\n\n```bash\n# Cookies \u002F localStorage \u002F sessionStorage\nplaywright-cli cookie-list \u002F cookie-set \u002F cookie-delete \u002F cookie-clear\nplaywright-cli localstorage-get theme \u002F localstorage-set theme dark\n\n# Request mocking\nplaywright-cli route \"**\u002F*.jpg\" --status=404\nplaywright-cli route \"https:\u002F\u002Fapi.example.com\u002F**\" --body='{\"mock\": true}'\nplaywright-cli unroute\n```\n\n## DevTools & Debugging\n\n```bash\nplaywright-cli console             # View console output\nplaywright-cli network             # View network requests\nplaywright-cli tracing-start \u002F tracing-stop\nplaywright-cli video-start \u002F playwright-cli video-stop video.webm\nplaywright-cli run-code \"async page => await page.context().grantPermissions(['geolocation'])\"\n```\n\n## Setup\n\nRequires Playwright MCP server. Configure in `.mcp.json`:\n```json\n{ \"playwright\": { \"command\": \"npx\", \"args\": [\"@playwright\u002Fmcp@latest\"] } }\n```\nCopy from `.claude\u002Fmcp.json.example` if not configured.\nIf global binary unavailable: `npx playwright-cli \u003Ccommand>`\n\n## Gotchas\n\n- **Flaky selectors on SPAs**: `data-testid` changes between renders → prefer role-based selectors (`getByRole`) over CSS selectors\n- **Auth state not persisting between tests**: each test starts with fresh context → use `state-save` \u002F `state-load` to persist auth cookies across runs\n\n## References\n\n| Reference | When to Use |\n| --- | --- |\n| [references\u002Fcommand-reference.md](references\u002Fcommand-reference.md) | Full command listing (core, tabs, storage, network, DevTools, open params) |\n| [references\u002Fsession-management.md](references\u002Fsession-management.md) | Named sessions, concurrent scraping, persistent profiles, cleanup |\n| [references\u002Frequest-mocking.md](references\u002Frequest-mocking.md) | Request mocking patterns |\n| [references\u002Fstorage-state.md](references\u002Fstorage-state.md) | Storage state (cookies, localStorage) |\n| [references\u002Ftest-generation.md](references\u002Ftest-generation.md) | Test generation |\n| [references\u002Ftracing.md](references\u002Ftracing.md) | Tracing |\n| [references\u002Fvideo-recording.md](references\u002Fvideo-recording.md) | Video recording |\n| [references\u002Frunning-code.md](references\u002Frunning-code.md) | Running Playwright code |\n","# Browser Automation with playwright-cli\n\n> **Use playwright-cli when:** DOM interaction, navigation, data extraction, or generating reusable `.spec.ts` E2E test code.\n> **Use `mk:agent-browser` instead when:** session persistence (auth flows, MFA, cookie import) is required.\n\n## Quick Start\n\n```bash\nplaywright-cli open https:\u002F\u002Fplaywright.dev\nplaywright-cli snapshot                  # Get element refs (e1, e2, ...)\nplaywright-cli click e15\nplaywright-cli type \"page.click\"\nplaywright-cli press Enter\nplaywright-cli screenshot\nplaywright-cli close\n```\n\n## Core Workflow\n\n1. `open \u003Curl>` — navigate to page\n2. `snapshot` — get accessibility tree with element refs (`e1`, `e2`, ...)\n3. Interact using refs: `click`, `fill`, `type`, `select`, `check`\n4. Re-snapshot after navigation or DOM changes\n5. `close` when done\n\n```bash\nplaywright-cli open https:\u002F\u002Fexample.com\u002Fform\nplaywright-cli snapshot\nplaywright-cli fill e1 \"user@example.com\"\nplaywright-cli fill e2 \"password123\"\nplaywright-cli click e3\nplaywright-cli snapshot\nplaywright-cli close\n```\n\n## Most-Used Commands\n\n```bash\n# Navigation\nplaywright-cli goto \u003Curl>\nplaywright-cli go-back \u002F go-forward \u002F reload\n\n# Interaction\nplaywright-cli click e3\nplaywright-cli fill e5 \"text\"         # Clear and type\nplaywright-cli type \"text\"            # Type at current focus\nplaywright-cli press Enter\nplaywright-cli select e9 \"option-value\"\nplaywright-cli check e12 \u002F uncheck e12\n\n# Snapshot & capture\nplaywright-cli snapshot\nplaywright-cli snapshot --filename=after-click.yaml\nplaywright-cli screenshot\nplaywright-cli screenshot --filename=page.png\nplaywright-cli pdf --filename=page.pdf\n\n# Auth state\nplaywright-cli state-save auth.json\nplaywright-cli state-load auth.json\n```\n\nFull command listing: [references\u002Fcommand-reference.md](references\u002Fcommand-reference.md)\n\n## Snapshots\n\nAfter each command, playwright-cli writes a snapshot YAML of the current browser state.\nUse `--filename=` when the artifact is a workflow result; omit for auto-timestamped files.\n\n```\n.playwright-cli\u002Fpage-2026-02-14T19-22-42-679Z.yml\n```\n\n## Sessions\n\n```bash\nplaywright-cli -s=mysession open example.com --persistent\nplaywright-cli -s=mysession click e6\nplaywright-cli -s=mysession close\nplaywright-cli list          # List all active sessions\nplaywright-cli close-all     # Close all browsers\nplaywright-cli kill-all      # Force kill stale processes\n```\n\nNamed sessions run isolated contexts (separate cookies, storage, history).\nFull session patterns: [references\u002Fsession-management.md](references\u002Fsession-management.md)\n\n## Storage & Network\n\n```bash\n# Cookies \u002F localStorage \u002F sessionStorage\nplaywright-cli cookie-list \u002F cookie-set \u002F cookie-delete \u002F cookie-clear\nplaywright-cli localstorage-get theme \u002F localstorage-set theme dark\n\n# Request mocking\nplaywright-cli route \"**\u002F*.jpg\" --status=404\nplaywright-cli route \"https:\u002F\u002Fapi.example.com\u002F**\" --body='{\"mock\": true}'\nplaywright-cli unroute\n```\n\n## DevTools & Debugging\n\n```bash\nplaywright-cli console             # View console output\nplaywright-cli network             # View network requests\nplaywright-cli tracing-start \u002F tracing-stop\nplaywright-cli video-start \u002F playwright-cli video-stop video.webm\nplaywright-cli run-code \"async page => await page.context().grantPermissions(['geolocation'])\"\n```\n\n## Setup\n\nRequires Playwright MCP server. Configure in `.mcp.json`:\n```json\n{ \"playwright\": { \"command\": \"npx\", \"args\": [\"@playwright\u002Fmcp@latest\"] } }\n```\nCopy from `.claude\u002Fmcp.json.example` if not configured.\nIf global binary unavailable: `npx playwright-cli \u003Ccommand>`\n\n## Gotchas\n\n- **Flaky selectors on SPAs**: `data-testid` changes between renders → prefer role-based selectors (`getByRole`) over CSS selectors\n- **Auth state not persisting between tests**: each test starts with fresh context → use `state-save` \u002F `state-load` to persist auth cookies across runs\n\n## References\n\n| Reference | When to Use |\n| --- | --- |\n| [references\u002Fcommand-reference.md](references\u002Fcommand-reference.md) | Full command listing (core, tabs, storage, network, DevTools, open params) |\n| [references\u002Fsession-management.md](references\u002Fsession-management.md) | Named sessions, concurrent scraping, persistent profiles, cleanup |\n| [references\u002Frequest-mocking.md](references\u002Frequest-mocking.md) | Request mocking patterns |\n| [references\u002Fstorage-state.md](references\u002Fstorage-state.md) | Storage state (cookies, localStorage) |\n| [references\u002Ftest-generation.md](references\u002Ftest-generation.md) | Test generation |\n| [references\u002Ftracing.md](references\u002Ftracing.md) | Tracing |\n| [references\u002Fvideo-recording.md](references\u002Fvideo-recording.md) | Video recording |\n| [references\u002Frunning-code.md](references\u002Frunning-code.md) | Running Playwright code |\n",{"name":5,"owner":32,"source":45,"status":24,"runtime":46,"keywords":47,"criticality":50,"description":7,"when_to_use":51,"allowed-tools":52,"user-invocable":53},"microsoft\u002Fplaywright","claude-code",[38,48,35,49,39,37],"browser-automation","screenshot","medium","A known click-and-type sequence must run against a live page over several steps.","Bash(playwright-cli:*)",true,"main","c2c69c674e8c62fe9634bfb360b5f9f14c70e1a5",".claude\u002Fskills\u002Fplaywright-cli",3,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit","https:\u002F\u002Fdocs.meowkit.dev\u002F","https:\u002F\u002Fgithub.com\u002Fngocsangyem","Keep moving forward","2026-11-15 03:54:21",{"source":8,"skillName":5,"commands":64,"prompt":74,"zipAvailable":53},[65,68,71],{"tool":66,"command":67},"npx","npx skills add ngocsangyem\u002FMeowKit --skill \"mk:playwright-cli\"",{"tool":69,"command":70},"bunx","bunx skills add ngocsangyem\u002FMeowKit --skill \"mk:playwright-cli\"",{"tool":72,"command":73},"pnpm","pnpm dlx skills add ngocsangyem\u002FMeowKit --skill \"mk:playwright-cli\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fplaywright-cli\u002FSKILL.md",[76,82,86,90,94,98,102,106],{"path":77,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002Fcommand-reference.md","REFERENCE","参考文档",3784,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fplaywright-cli\u002Freferences\u002Fcommand-reference.md",{"path":83,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Frequest-mocking.md",2182,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fplaywright-cli\u002Freferences\u002Frequest-mocking.md",{"path":87,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Frunning-code.md",5715,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fplaywright-cli\u002Freferences\u002Frunning-code.md",{"path":91,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Fsession-management.md",4778,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fplaywright-cli\u002Freferences\u002Fsession-management.md",{"path":95,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Fstorage-state.md",6790,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fplaywright-cli\u002Freferences\u002Fstorage-state.md",{"path":99,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Ftest-generation.md",2411,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fplaywright-cli\u002Freferences\u002Ftest-generation.md",{"path":103,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Ftracing.md",4163,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fplaywright-cli\u002Freferences\u002Ftracing.md",{"path":107,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":108,"sourceHtmlUrl":109},"references\u002Fvideo-recording.md",1060,"https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fplaywright-cli\u002Freferences\u002Fvideo-recording.md",[111,119,126,133,140,147],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":118},"01M7DVHF481B4J41T4855KGM50","mk-worktree","Manages git worktrees for parallel agent isolation: creates parallel\u002F{name}-{timestamp} branches, merges with conflict detection. NOT for user feature branches (use git worktree directly).","https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fkit\u002Fbundles\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-worktree\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":118},"01M7DVHAWVKDKPB1EA3F1NC4JC","mk-workflow-orchestrator","Auto-invoked 7-phase workflow for complex-feature intent; fasttrack mode for pre-approved specs. NOT for explicit single tasks (mk:cook), green-field builds (mk:autobuild), or simple fixes (mk:fix).","https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fkit\u002Fbundles\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-workflow-orchestrator\u002FSKILL.md",[],[],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":118},"01M7DVH6SYBHWW00TRZXCC56JW","mk-web-to-markdown","Fetch a URL and return clean markdown, for arbitrary external pages (blog, RFC, GitHub issue, vendor doc) not covered by mk:docs-finder. Static-only by default; opt-in JS rendering available.","https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fkit\u002Fbundles\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-web-to-markdown\u002FSKILL.md",[],[],{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":118},"01M7DVH3HGW47BX3PEF30JV6EJ","mk-vulnerability-scanner","Vulnerability analysis: OWASP Top 10, current threat landscape, supply chain security, attack surface mapping, risk prioritization. Use for security audits. NOT for STRIDE\u002FCSO infra audits (mk:cso).","https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fkit\u002Fbundles\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-vulnerability-scanner\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":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":118},"01M7DVGZBKMB9WDFH9MFMA99FV","mk-vue","Vue 3 authoring\u002Freview: components, composables, reactivity, Pinia, Pinia Colada, file routing, forms. Composition API + script setup. Auto-activates on .vue files. Deep review: mk:vue-best-practices.","https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fkit\u002Fbundles\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-vue\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":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":118},"01M7DVGSE12AA1M7599HB8HRCT","mk-vue-testing-best-practices","Vue 3 testing best-practices review: Vitest + Vue Test Utils for components, composables, Pinia, Router, async\u002FSuspense, forms, a11y, plus Playwright E2E strategy. Advisory only.","https:\u002F\u002Fgithub.com\u002Fngocsangyem\u002FMeowKit\u002Fblob\u002Fmain\u002Fkit\u002Fbundles\u002Fcursor\u002Froot\u002F.cursor\u002Fskills\u002Fmk-vue-testing-best-practices\u002FSKILL.md",[],[]]