[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E43KKEZ2FXPPH64N92FKMJ":3,"skill-same:01M7E43KKEZ2FXPPH64N92FKMJ":46},{"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":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7E43KKEZ2FXPPH64N92FKMJ","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.","noodlemind\u002Fpstack-plugin","noodlemind","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F11191273?v=4","01M7E41PM9S9CBCNY8KS673J3P","Krish","01M7E41PNCWJHAVX3YBT2EHY9J",0,"MIT","https:\u002F\u002Fgithub.com\u002Fnoodlemind\u002Fpstack-plugin\u002Fblob\u002Fmain\u002Fplugins\u002Fpstack\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## OpenAI runtime contract\n\nRead [the adapter contract](..\u002F..\u002Freferences\u002Fruntime-contract.md) before this workflow. It maps provider selection, agent calls, loops, persistent state, history, verification, and authorization. That contract supersedes Cursor-specific execution syntax and unverified model fallbacks below; the engineering steps remain required. Use native tools in the current host by default. Cloud uses its available OpenAI models. No remote laptop connection, server URL or MCP setup is permitted. Optional local CLI adapters require explicit environment-local selection. Do not claim cross-provider diversity for OpenAI-only review.\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","## OpenAI runtime contract\n\nRead [the adapter contract](..\u002F..\u002Freferences\u002Fruntime-contract.md) before this workflow. It maps provider selection, agent calls, loops, persistent state, history, verification, and authorization. That contract supersedes Cursor-specific execution syntax and unverified model fallbacks below; the engineering steps remain required. Use native tools in the current host by default. Cloud uses its available OpenAI models. No remote laptop connection, server URL or MCP setup is permitted. Optional local CLI adapters require explicit environment-local selection. Do not claim cross-provider diversity for OpenAI-only review.\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",{"name":5,"description":7},"main","1de79df0a03cf5abd07b4720dad71eaeae3e7932","plugins\u002Fpstack\u002Fskills\u002Fcontrol-ui","https:\u002F\u002Fgithub.com\u002Fnoodlemind\u002Fpstack-plugin","https:\u002F\u002Fgithub.com\u002Fnoodlemind","https;\u002F\u002Fclype.io","Consultant and Tech Enthusiast.\r\nCurrently working full time as a Consultant while trying to implement projects that are ideas that help me and others","2026-10-26 03:33:24",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add noodlemind\u002Fpstack-plugin --skill control-ui",{"tool":38,"command":39},"bunx","bunx skills add noodlemind\u002Fpstack-plugin --skill control-ui",{"tool":41,"command":42},"pnpm","pnpm dlx skills add noodlemind\u002Fpstack-plugin --skill control-ui","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnoodlemind\u002Fpstack-plugin\u002Fblob\u002Fmain\u002Fplugins\u002Fpstack\u002Fskills\u002Fcontrol-ui\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7E4H439JB3MTMEAPC9AC6N6","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\u002Fnoodlemind\u002Fpstack-plugin\u002Fblob\u002Fmain\u002Fplugins\u002Fpstack\u002Fupstream\u002Fpstack\u002Fskills\u002Fwhy\u002FSKILL.md",[],[],{"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},"01M7E4H2ATPM61ZE99YAH9T89G","unslop","Cut AI tells from any writing. Must always apply.","https:\u002F\u002Fgithub.com\u002Fnoodlemind\u002Fpstack-plugin\u002Fblob\u002Fmain\u002Fplugins\u002Fpstack\u002Fupstream\u002Fpstack\u002Fskills\u002Funslop\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},"01M7E4H0F6HEWTM6FCDGGE7QEW","typescript-best-practices","TypeScript best practices. Use when reading or editing any .ts or .tsx file.","https:\u002F\u002Fgithub.com\u002Fnoodlemind\u002Fpstack-plugin\u002Fblob\u002Fmain\u002Fplugins\u002Fpstack\u002Fupstream\u002Fpstack\u002Fskills\u002Ftypescript-best-practices\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},"01M7E4GW03P6Z32YM4VBRJ74Y8","technical-writing","Layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use for \u002Ftechnical-writing or when writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages.","https:\u002F\u002Fgithub.com\u002Fnoodlemind\u002Fpstack-plugin\u002Fblob\u002Fmain\u002Fplugins\u002Fpstack\u002Fupstream\u002Fpstack\u002Fskills\u002Ftechnical-writing\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},"01M7E4GRSBXHW5MF0BQKP44FM0","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\u002Fnoodlemind\u002Fpstack-plugin\u002Fblob\u002Fmain\u002Fplugins\u002Fpstack\u002Fupstream\u002Fpstack\u002Fskills\u002Fteach\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},"01M7E4GNRP62R9AS2S435B545N","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\u002Fnoodlemind\u002Fpstack-plugin\u002Fblob\u002Fmain\u002Fplugins\u002Fpstack\u002Fupstream\u002Fpstack\u002Fskills\u002Ftdd\u002FSKILL.md",[],[]]