[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79GY11FAWKHRY4022W724DP":3,"skill-same:01M79GY11FAWKHRY4022W724DP":45},{"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":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M79GY11FAWKHRY4022W724DP","testing-frontend",null,"How to run and visually test the cool-ai-harness React\u002FVite frontend on this Windows box — dev server, backend-down error-state testing, mobile viewport emulation, CDP screenshots.","luckystrker\u002Fcool-ai-harness","luckystrker","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F56731491?v=4","01M79GXYM0QNVKN6VMQ2QZ3GAS","Danil Kondratiuk","01M79GXYMMEYA2DMWDHE3NH982",0,"MIT","https:\u002F\u002Fgithub.com\u002Fluckystrker\u002Fcool-ai-harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftesting-frontend\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: testing-frontend\ndescription: How to run and visually test the cool-ai-harness React\u002FVite frontend on this Windows box — dev server, backend-down error-state testing, mobile viewport emulation, CDP screenshots.\n---\n\n# Testing the cool-ai-harness frontend\n\n## Dev server\n- Repo: `C:\\Users\\Administrator\\repos\\cool-ai-harness`, frontend in `frontend\u002F`.\n- Windows: use PowerShell (bash env is broken). npm must be invoked as `npm.cmd`, e.g. `npm.cmd run dev` in `frontend\u002F`. Node\u002Fnpm live on PATH via `C:\\hostedtoolcache\\node\\20.19.0\\x64`.\n- Vite binds `127.0.0.1:5173` explicitly (see `vite.config.ts` — IPv6-only default fails curl on this Windows setup) and proxies `\u002Fapi` → `http:\u002F\u002F127.0.0.1:8000` (`cool serve`).\n- To test error\u002Fempty states, just run the dev server with the Rust backend down — every React Query call fails fast (client `retry: 1`) and each page shows `QueryErrorState`.\n\n## Browser \u002F CDP\n- Chrome runs with remote debugging at `http:\u002F\u002Flocalhost:29229` (`\u002Fjson` lists page targets; `webSocketDebuggerUrl` per page).\n- File-backed screenshots: connect to the page target via `System.Net.WebSockets.ClientWebSocket` in PowerShell and send `Page.captureScreenshot` (a working script pattern is at `C:\\Users\\Administrator\\ui-audit\\cdp-shot.ps1` if still present — recreate from that recipe otherwise).\n\n## Mobile viewport (\u003C768px flips to mobile layout)\n- Chrome's minimum window width on this box is ~516px — resize the window via P\u002FInvoke `MoveWindow` to ~420px; it clamps to ~516 but that's still under the `max-width: 767px` breakpoint, so the real mobile layout activates (MobileAppBar on non-chat routes, hamburger → MobileDrawer).\n- Alternative: CDP `Emulation.setDeviceMetricsOverride` for a true 390px viewport.\n- Maximize\u002Frestore via `ShowWindowAsync(hwnd, 3)` — no wmctrl\u002Fxdotool on Windows.\n\n## App facts useful for audits\n- Routes in `src\u002FApp.tsx`; `\u002Fmobile-preview` renders outside `AppLayout` (no sidebar). Wildcard `*` redirects to `\u002F`.\n- `\u002Fsettings?setup=provider` auto-opens the provider create dialog; closing it navigates to `\u002F`.\n- Dark mode: `.dark` class is toggled only by `lib\u002FtelegramWebApp.ts` (Telegram `colorScheme`) — there is no theme toggle in the UI by design.\n- The Telegram SDK script loads unconditionally; in a plain browser its WebView shim still fires `postEvent` console logs (`web_app_ready`, `web_app_request_theme`, …) on every navigation — expected noise, not a bug.\n\n## Console noise vs real errors\n- Expected noise: `[vite] connecting\u002Fconnected`, React DevTools info, `Telegram.WebView postEvent …` logs, and failed `\u002Fapi` proxy fetches (net::ERR_CONNECTION_REFUSED) when backend is down.\n- Real problems to look for: React render errors, key warnings, unhandled rejections.\n\n## Devin Secrets Needed\n- none\n","# Testing the cool-ai-harness frontend\n\n## Dev server\n- Repo: `C:\\Users\\Administrator\\repos\\cool-ai-harness`, frontend in `frontend\u002F`.\n- Windows: use PowerShell (bash env is broken). npm must be invoked as `npm.cmd`, e.g. `npm.cmd run dev` in `frontend\u002F`. Node\u002Fnpm live on PATH via `C:\\hostedtoolcache\\node\\20.19.0\\x64`.\n- Vite binds `127.0.0.1:5173` explicitly (see `vite.config.ts` — IPv6-only default fails curl on this Windows setup) and proxies `\u002Fapi` → `http:\u002F\u002F127.0.0.1:8000` (`cool serve`).\n- To test error\u002Fempty states, just run the dev server with the Rust backend down — every React Query call fails fast (client `retry: 1`) and each page shows `QueryErrorState`.\n\n## Browser \u002F CDP\n- Chrome runs with remote debugging at `http:\u002F\u002Flocalhost:29229` (`\u002Fjson` lists page targets; `webSocketDebuggerUrl` per page).\n- File-backed screenshots: connect to the page target via `System.Net.WebSockets.ClientWebSocket` in PowerShell and send `Page.captureScreenshot` (a working script pattern is at `C:\\Users\\Administrator\\ui-audit\\cdp-shot.ps1` if still present — recreate from that recipe otherwise).\n\n## Mobile viewport (\u003C768px flips to mobile layout)\n- Chrome's minimum window width on this box is ~516px — resize the window via P\u002FInvoke `MoveWindow` to ~420px; it clamps to ~516 but that's still under the `max-width: 767px` breakpoint, so the real mobile layout activates (MobileAppBar on non-chat routes, hamburger → MobileDrawer).\n- Alternative: CDP `Emulation.setDeviceMetricsOverride` for a true 390px viewport.\n- Maximize\u002Frestore via `ShowWindowAsync(hwnd, 3)` — no wmctrl\u002Fxdotool on Windows.\n\n## App facts useful for audits\n- Routes in `src\u002FApp.tsx`; `\u002Fmobile-preview` renders outside `AppLayout` (no sidebar). Wildcard `*` redirects to `\u002F`.\n- `\u002Fsettings?setup=provider` auto-opens the provider create dialog; closing it navigates to `\u002F`.\n- Dark mode: `.dark` class is toggled only by `lib\u002FtelegramWebApp.ts` (Telegram `colorScheme`) — there is no theme toggle in the UI by design.\n- The Telegram SDK script loads unconditionally; in a plain browser its WebView shim still fires `postEvent` console logs (`web_app_ready`, `web_app_request_theme`, …) on every navigation — expected noise, not a bug.\n\n## Console noise vs real errors\n- Expected noise: `[vite] connecting\u002Fconnected`, React DevTools info, `Telegram.WebView postEvent …` logs, and failed `\u002Fapi` proxy fetches (net::ERR_CONNECTION_REFUSED) when backend is down.\n- Real problems to look for: React render errors, key warnings, unhandled rejections.\n\n## Devin Secrets Needed\n- none\n",{"name":5,"description":7},"main","d4630c1a106a3120a59060e0af068ee0eb7244e8",".agents\u002Fskills\u002Ftesting-frontend","https:\u002F\u002Fgithub.com\u002Fluckystrker\u002Fcool-ai-harness","https:\u002F\u002Fgithub.com\u002Fluckystrker","- 24 y\u002Fo \r\n- Software Engineer\r\n- AI Evangelist -","2026-11-03 09:26:29",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add luckystrker\u002Fcool-ai-harness --skill testing-frontend",{"tool":37,"command":38},"bunx","bunx skills add luckystrker\u002Fcool-ai-harness --skill testing-frontend",{"tool":40,"command":41},"pnpm","pnpm dlx skills add luckystrker\u002Fcool-ai-harness --skill testing-frontend","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fluckystrker\u002Fcool-ai-harness\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftesting-frontend\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M79GYWJSENZEBQGXZJ1F6SCT","translate","Translate text between languages while preserving meaning, tone, and formatting","https:\u002F\u002Fgithub.com\u002Fluckystrker\u002Fcool-ai-harness\u002Fblob\u002Fmain\u002Fskills\u002Ftranslate\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M79GYSA18J9N5551942K3HKV","summarize-document","Summarize documents, articles, or long text into concise structured summaries","https:\u002F\u002Fgithub.com\u002Fluckystrker\u002Fcool-ai-harness\u002Fblob\u002Fmain\u002Fskills\u002Fsummarize-document\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M79GYPE2SEC49VYMKWFE6SK1","skill-creation","Create new skills based on user requests - generates properly formatted SKILL.md files with metadata and instructions","https:\u002F\u002Fgithub.com\u002Fluckystrker\u002Fcool-ai-harness\u002Fblob\u002Fmain\u002Fskills\u002Fskill-creation\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M79GYM511FZ5XSS0K536HHW1","long-running-task","Drive a long-running task through workspace progress files (.cool\u002Ftask\u002Fprogress.md + features.json) that survive context compaction and new runs","https:\u002F\u002Fgithub.com\u002Fluckystrker\u002Fcool-ai-harness\u002Fblob\u002Fmain\u002Fskills\u002Flong-running-task\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M79GYH2KCPZJY1KV6A1JSN2V","deep-research","Conduct thorough multi-source research on a topic, synthesizing findings into a comprehensive report","https:\u002F\u002Fgithub.com\u002Fluckystrker\u002Fcool-ai-harness\u002Fblob\u002Fmain\u002Fskills\u002Fdeep-research\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M79GYESNH4AP6NEDCVWRSR9J","code-task","Execute a structured coding task with best practices - read, plan, implement, test, commit","https:\u002F\u002Fgithub.com\u002Fluckystrker\u002Fcool-ai-harness\u002Fblob\u002Fmain\u002Fskills\u002Fcode-task\u002FSKILL.md",[],[]]