[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E6TPS3TCRKHC1SYR6WSE89":3,"skill-same:01M7E6TPS3TCRKHC1SYR6WSE89":47},{"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},"01M7E6TPS3TCRKHC1SYR6WSE89","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.","paramcodes\u002Fostack","paramcodes","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F190682747?v=4","01M7E6SGQX3X1GN8QHH9TPRN6Y","Paramveer Singh","01M7E6SGRXBACX52S3T6J2RGCX",1,"MIT","https:\u002F\u002Fgithub.com\u002Fparamcodes\u002Fostack\u002Fblob\u002Fmain\u002Fcontent\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","6bfc4d0a61ace77dcf2857f34c360cd50ec78604","content\u002Fskills\u002Fcontrol-ui",0,"https:\u002F\u002Fgithub.com\u002Fparamcodes\u002Fostack","https:\u002F\u002Fgithub.com\u002Fparamcodes","paramveer.me","on my way to become 1000x engineer","2026-10-06 19:51:22",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add paramcodes\u002Fostack --skill control-ui",{"tool":39,"command":40},"bunx","bunx skills add paramcodes\u002Fostack --skill control-ui",{"tool":42,"command":43},"pnpm","pnpm dlx skills add paramcodes\u002Fostack --skill control-ui","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fparamcodes\u002Fostack\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fcontrol-ui\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7E70AA1SXNZ7MYB8Y5PJ1W0","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\u002Fparamcodes\u002Fostack\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fwhy\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7E708BD5REN09DTH0AR2M8K","unslop","Cut AI tells from any writing. Must always apply.","https:\u002F\u002Fgithub.com\u002Fparamcodes\u002Fostack\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7E706HRA328SZJPQBX333W5","typescript-best-practices","TypeScript best practices. Use when reading or editing any .ts or .tsx file.","https:\u002F\u002Fgithub.com\u002Fparamcodes\u002Fostack\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Ftypescript-best-practices\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7E701YECJYA8SNV5VX35Z8F","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\u002Fparamcodes\u002Fostack\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Ftechnical-writing\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7E6ZYXGM639ZFDP9Q5CEQW2","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\u002Fparamcodes\u002Fostack\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Fteach\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7E6ZTGNBWCX5CZXASPN2GDG","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\u002Fparamcodes\u002Fostack\u002Fblob\u002Fmain\u002Fcontent\u002Fskills\u002Ftdd\u002FSKILL.md",[],[]]