[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DE6NZWEP4QM6RGTFQPCTBS":3,"skill-same:01M7DE6NZWEP4QM6RGTFQPCTBS":53},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7DE6NZWEP4QM6RGTFQPCTBS","control-ui",null,"Build or adapt a local browser\u002FCDP harness to drive and inspect a web, IDE, or Electron UI. Use for local UI verification, screenshots, accessibility snapshots, perf profiles, visual diffs, or reproducing UI bugs.","g1eny0ung\u002Fpstack-codex","g1eny0ung","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F15034155?v=4","01M7DE5YSZC6AEN98WY9MHF0X8","Yue Yang","01M7DE5YTSEVKP8A40P263WR9M",4,"MIT","https:\u002F\u002Fgithub.com\u002Fg1eny0ung\u002Fpstack-codex\u002Fblob\u002Fmain\u002Fplugins\u002Fpstack-codex\u002Fskills\u002Fcontrol-ui\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: control-ui\ndescription: Build or adapt a local browser\u002FCDP harness to drive and inspect a web, IDE, or Electron UI. Use for local UI verification, screenshots, accessibility snapshots, perf profiles, visual diffs, or reproducing UI bugs.\n---\n\n# Control UI\n\nUse local browser automation to verify UI behavior with evidence. First reuse the repo's own Playwright, browser, or Electron harness if it exists; otherwise assemble a temporary local harness around the app's dev server or Chromium debug port.\n\n## What It Is Used For\n\n- Reproducing UI bugs that depend on real browser focus, keyboard input, scrolling, resizing, or rendering.\n- Verifying visual or accessibility changes with screenshots and snapshots.\n- Checking local web, IDE, or Electron behavior before shipping.\n- Capturing console logs, network logs, CPU profiles, traces, or heap snapshots.\n- Creating before\u002Fafter evidence for `verify-this`.\n\n## Setup Pattern\n\n1. Start the app locally using the repo's documented dev command.\n2. Discover existing local harnesses: Playwright tests, Cypress specs, Storybook, browser scripts, Electron launch scripts, or snapshot tools.\n3. For a web app, connect to the local URL with the existing browser tooling.\n4. For Electron\u002FChromium, enable a remote debugging port when supported.\n5. Select the correct page by stable app markers, not by tab order alone.\n6. Prefer accessibility roles, labels, and stable `data-*` selectors over coordinates.\n\n## Generic Web Harness\n\nUse the repo's installed browser tooling when possible. If the repo already has Playwright, a minimal one-off probe looks like:\n\n```javascript\nimport { chromium } from \"playwright\";\n\nconst browser = await chromium.launch();\nconst page = await browser.newPage({ viewport: { width: 1280, height: 800 } });\nawait page.goto(\"http:\u002F\u002F127.0.0.1:\u003Cport>\");\nawait page.getByRole(\"button\", { name: \u002Fsubmit\u002Fi }).click();\nawait page.screenshot({ path: \"\u002Ftmp\u002Fui-harness-after.png\", fullPage: true });\nawait browser.close();\n```\n\nDo not add Playwright as a project dependency just for this probe unless the user asks. Prefer existing dev dependencies or external browser tools already available in the environment.\n\n## Generic CDP Harness\n\nFor Electron or a Chromium app launched with `--remote-debugging-port=\u003Cport>`, connect over CDP:\n\n```javascript\nimport { chromium } from \"playwright\";\n\nconst browser = await chromium.connectOverCDP(\"http:\u002F\u002F127.0.0.1:\u003Cdebug-port>\");\nconst pages = browser.contexts().flatMap((context) => context.pages());\nlet page;\nfor (const candidate of pages) {\n  if (await candidate.locator(\"\u003Capp-root-selector>\").count()) {\n    page = candidate;\n    break;\n  }\n}\n\nif (!page) {\n  console.log(await Promise.all(pages.map(async (p) => ({\n    title: await p.title(),\n    url: p.url(),\n  }))));\n  throw new Error(\"No matching app page found\");\n}\n\nawait page.screenshot({ path: \"\u002Ftmp\u002Fui-harness-cdp.png\", fullPage: true });\nawait browser.close();\n```\n\nReplace `\u003Capp-root-selector>` with a stable marker from the current repo, such as a root app node, landmark, or product-specific `data-*` attribute.\n\n## Interaction Loop\n\n1. Capture a page snapshot or screenshot before acting.\n2. Choose a target from the latest page structure.\n3. Perform exactly one structural action: click, type, keypress, drag, scroll, navigate, or resize.\n4. Capture a fresh snapshot\u002Fscreenshot.\n5. Verify the expected state change.\n6. Save artifacts for before\u002Fafter comparisons when the user asked for proof.\n\n## CDP Capabilities\n\nUse raw CDP only when higher-level browser APIs are insufficient:\n\n- Performance: CPU profiles, traces, paint flashing, FPS meter, layout shift inspection.\n- Memory: heap snapshots and forced GC for leak investigations.\n- Network: request blocking, throttling, cache disablement, request\u002Fresponse logs.\n- Rendering: viewport changes, color scheme emulation, reduced motion, accessibility checks.\n- Debugging: console streaming, exception capture, DOM snapshots.\n\n## Page Selection\n\nWhen multiple app windows\u002Ftabs share a debug port:\n\n- Prefer a positive marker for the surface under test, such as an app root selector.\n- Use a negative marker to avoid the wrong surface when necessary.\n- If no page matches, list available page titles and URLs instead of guessing.\n\n## Guardrails\n\n- Do not rely on stale element references after navigation or structural changes.\n- Avoid coordinate clicks unless a fresh screenshot was captured immediately before the click.\n- Keep test data local and disposable.\n- Do not store screenshots or heap snapshots from privacy-sensitive workspaces unless the user explicitly agrees.\n- Do not hard-code selectors, ports, or script paths from another repository. Discover the current repo's local app markers.\n- Clean up dev servers, debug sessions, and temp profiles when done.\n","# Control UI\n\nUse local browser automation to verify UI behavior with evidence. First reuse the repo's own Playwright, browser, or Electron harness if it exists; otherwise assemble a temporary local harness around the app's dev server or Chromium debug port.\n\n## What It Is Used For\n\n- Reproducing UI bugs that depend on real browser focus, keyboard input, scrolling, resizing, or rendering.\n- Verifying visual or accessibility changes with screenshots and snapshots.\n- Checking local web, IDE, or Electron behavior before shipping.\n- Capturing console logs, network logs, CPU profiles, traces, or heap snapshots.\n- Creating before\u002Fafter evidence for `verify-this`.\n\n## Setup Pattern\n\n1. Start the app locally using the repo's documented dev command.\n2. Discover existing local harnesses: Playwright tests, Cypress specs, Storybook, browser scripts, Electron launch scripts, or snapshot tools.\n3. For a web app, connect to the local URL with the existing browser tooling.\n4. For Electron\u002FChromium, enable a remote debugging port when supported.\n5. Select the correct page by stable app markers, not by tab order alone.\n6. Prefer accessibility roles, labels, and stable `data-*` selectors over coordinates.\n\n## Generic Web Harness\n\nUse the repo's installed browser tooling when possible. If the repo already has Playwright, a minimal one-off probe looks like:\n\n```javascript\nimport { chromium } from \"playwright\";\n\nconst browser = await chromium.launch();\nconst page = await browser.newPage({ viewport: { width: 1280, height: 800 } });\nawait page.goto(\"http:\u002F\u002F127.0.0.1:\u003Cport>\");\nawait page.getByRole(\"button\", { name: \u002Fsubmit\u002Fi }).click();\nawait page.screenshot({ path: \"\u002Ftmp\u002Fui-harness-after.png\", fullPage: true });\nawait browser.close();\n```\n\nDo not add Playwright as a project dependency just for this probe unless the user asks. Prefer existing dev dependencies or external browser tools already available in the environment.\n\n## Generic CDP Harness\n\nFor Electron or a Chromium app launched with `--remote-debugging-port=\u003Cport>`, connect over CDP:\n\n```javascript\nimport { chromium } from \"playwright\";\n\nconst browser = await chromium.connectOverCDP(\"http:\u002F\u002F127.0.0.1:\u003Cdebug-port>\");\nconst pages = browser.contexts().flatMap((context) => context.pages());\nlet page;\nfor (const candidate of pages) {\n  if (await candidate.locator(\"\u003Capp-root-selector>\").count()) {\n    page = candidate;\n    break;\n  }\n}\n\nif (!page) {\n  console.log(await Promise.all(pages.map(async (p) => ({\n    title: await p.title(),\n    url: p.url(),\n  }))));\n  throw new Error(\"No matching app page found\");\n}\n\nawait page.screenshot({ path: \"\u002Ftmp\u002Fui-harness-cdp.png\", fullPage: true });\nawait browser.close();\n```\n\nReplace `\u003Capp-root-selector>` with a stable marker from the current repo, such as a root app node, landmark, or product-specific `data-*` attribute.\n\n## Interaction Loop\n\n1. Capture a page snapshot or screenshot before acting.\n2. Choose a target from the latest page structure.\n3. Perform exactly one structural action: click, type, keypress, drag, scroll, navigate, or resize.\n4. Capture a fresh snapshot\u002Fscreenshot.\n5. Verify the expected state change.\n6. Save artifacts for before\u002Fafter comparisons when the user asked for proof.\n\n## CDP Capabilities\n\nUse raw CDP only when higher-level browser APIs are insufficient:\n\n- Performance: CPU profiles, traces, paint flashing, FPS meter, layout shift inspection.\n- Memory: heap snapshots and forced GC for leak investigations.\n- Network: request blocking, throttling, cache disablement, request\u002Fresponse logs.\n- Rendering: viewport changes, color scheme emulation, reduced motion, accessibility checks.\n- Debugging: console streaming, exception capture, DOM snapshots.\n\n## Page Selection\n\nWhen multiple app windows\u002Ftabs share a debug port:\n\n- Prefer a positive marker for the surface under test, such as an app root selector.\n- Use a negative marker to avoid the wrong surface when necessary.\n- If no page matches, list available page titles and URLs instead of guessing.\n\n## Guardrails\n\n- Do not rely on stale element references after navigation or structural changes.\n- Avoid coordinate clicks unless a fresh screenshot was captured immediately before the click.\n- Keep test data local and disposable.\n- Do not store screenshots or heap snapshots from privacy-sensitive workspaces unless the user explicitly agrees.\n- Do not hard-code selectors, ports, or script paths from another repository. Discover the current repo's local app markers.\n- Clean up dev servers, debug sessions, and temp profiles when done.\n",{"name":5,"description":7},"main","96b3574bc8fc22baf3eba4f68e18ce4f8a9ed96c","plugins\u002Fpstack-codex\u002Fskills\u002Fcontrol-ui",0,"https:\u002F\u002Fgithub.com\u002Fg1eny0ung\u002Fpstack-codex","https:\u002F\u002Fgithub.com\u002Fg1eny0ung","https:\u002F\u002Fg1en.site","Enjoy life in your own way. 🎐\r\n\r\nMaintainer of @chaos-mesh.\r\n\r\nFormer @pingcap.","2026-11-12 14:29:20",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add g1eny0ung\u002Fpstack-codex --skill control-ui",{"tool":39,"command":40},"bunx","bunx skills add g1eny0ung\u002Fpstack-codex --skill control-ui",{"tool":42,"command":43},"pnpm","pnpm dlx skills add g1eny0ung\u002Fpstack-codex --skill control-ui","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fg1eny0ung\u002Fpstack-codex\u002Fblob\u002Fmain\u002Fplugins\u002Fpstack-codex\u002Fskills\u002Fcontrol-ui\u002FSKILL.md",true,[47],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"agents\u002Fopenai.yaml","REFERENCE","参考文档",255,"https:\u002F\u002Fgithub.com\u002Fg1eny0ung\u002Fpstack-codex\u002Fblob\u002Fmain\u002Fplugins\u002Fpstack-codex\u002Fskills\u002Fcontrol-ui\u002Fagents\u002Fopenai.yaml",[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7DECABTY7AYB4VTT7VCY5GB","why","Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.","https:\u002F\u002Fgithub.com\u002Fg1eny0ung\u002Fpstack-codex\u002Fblob\u002Fmain\u002Fplugins\u002Fpstack-codex\u002Fskills\u002Fwhy\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7DEBZD7H71V15PQADZ4XX7X","unslop","Cut AI tells from any writing.","https:\u002F\u002Fgithub.com\u002Fg1eny0ung\u002Fpstack-codex\u002Fblob\u002Fmain\u002Fplugins\u002Fpstack-codex\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7DEBK28H9YA8ECRA0TZHCXJ","typescript-best-practices","TypeScript best practices. Use when reading or editing any .ts or .tsx file.","https:\u002F\u002Fgithub.com\u002Fg1eny0ung\u002Fpstack-codex\u002Fblob\u002Fmain\u002Fplugins\u002Fpstack-codex\u002Fskills\u002Ftypescript-best-practices\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7DEB91EG3K140RVV1VXAMTG","technical-writing","Layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use for $technical-writing or when writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages.","https:\u002F\u002Fgithub.com\u002Fg1eny0ung\u002Fpstack-codex\u002Fblob\u002Fmain\u002Fplugins\u002Fpstack-codex\u002Fskills\u002Ftechnical-writing\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7DEAY8HHNJ2G8JZ0MRV1QWT","teach","Explain a body of work plainly so a person actually understands it. Runs the `how` and `why` skills and weaves what they find into one clear explanation. Use for 'teach me this', 'help me really understand X', 'explain this change or subsystem to me'.","https:\u002F\u002Fgithub.com\u002Fg1eny0ung\u002Fpstack-codex\u002Fblob\u002Fmain\u002Fplugins\u002Fpstack-codex\u002Fskills\u002Fteach\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7DEAG9BF26EG7XV8C324V38","tdd","Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious cheap local test target. Skip when the test path is unclear, expensive, integration-heavy, or not requested.","https:\u002F\u002Fgithub.com\u002Fg1eny0ung\u002Fpstack-codex\u002Fblob\u002Fmain\u002Fplugins\u002Fpstack-codex\u002Fskills\u002Ftdd\u002FSKILL.md",[],[]]