[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6M07PZH6V170DFHBWQ98F68":3,"skill-same:01M6M07PZH6V170DFHBWQ98F68":78},{"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":28,"publishedAt":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":6,"ownerHtmlUrl":60,"ownerBlogUrl":61,"ownerDescription":62,"updatedAt":63,"install":64,"resources":77},"01M6M07PZH6V170DFHBWQ98F68","portal-ux-testing",null,"Test a browser portal UX change in every layout mode it can meet - reading column on and off, live and after a reload, desktop and phone, Chromium and WebKit, with and without a canvas. Load before you call a portal layout, chat, session-list or canvas change done.","microsoft\u002FPilotSwarm","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69A6RNK492A5JSNBTXANKX5",16,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FPilotSwarm\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fportal-ux-testing\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"portal ux testing","ux","testing","phone","Meet","load","mode","can","you","with","chat","done","call","session","browser","desktop","change","webkit","test","chromium","canvas","2026-11-10 10:12:30",false,"---\nname: portal-ux-testing\ndescription: Test a browser portal UX change in every layout mode it can meet - reading column on and off, live and after a reload, desktop and phone, Chromium and WebKit, with and without a canvas. Load before you call a portal layout, chat, session-list or canvas change done.\n---\n\n# Portal UX testing\n\nA portal change that looks right in one mode often breaks in another. Most\nlayout regressions found by the owner were in a mode nobody tested: the\nreading column turned off, a canvas that popped up during a live turn, a\nphone, or Safari. Test the change in each mode below that it can reach, and\nsay which ones you covered.\n\n## The mode matrix\n\n| Axis | Test both | Why |\n|---|---|---|\n| Reading column (Settings > Appearance) | `chatReading.on` true **and** false | With it on, chat content is held to a fixed column. With it off, wide content (tool cards, code, tables, artifact cards) is free to size against the pane, and grid tracks see different minimum widths. A fix proven with one setting proves nothing about the other. |\n| Live vs reloaded | During a live turn **and** after a page reload | Live state (a canvas that pops up mid-turn, streaming cards, message previews) takes different code paths from state hydrated from the profile and history. \"Broken until refresh\" means only the reloaded path was tested. |\n| Settings round trip | Before **and** after opening and closing Settings (the Admin Console) | The console replaces the whole workspace and puts it back. Anything bound to the old elements (measurements, observers, refs) goes stale until a reload. Changing a setting such as the reading column always takes this path, so test a setting by changing it live, not only by seeding it. |\n| Session switching | Switch to another session **and** back, more than once | Per-session view state (canvas open, remembered canvas width, scroll anchor) is saved on leave and restored on return. |\n| Canvas | Closed, open at default width, and a remembered width wider than the window can give | Remembered widths are per session and can exceed the window. Nothing else may pay for them: the session list keeps its width and chat keeps its floor. |\n| Device class | Desktop (1280, 1440, 1920) **and** phone (390x844) | The phone has its own workspace: the session list is a slide-over, Settings > Appearance carries phone-only rows. Desktop settings such as the reading column must not leak to the phone. |\n| Browser | Chromium **and** WebKit | iPhone and Mac Safari are WebKit. A spec opts in with `test.use({ browserName: process.env.PS_TEST_BROWSER \\|\\| \"chromium\" })`; run it again with `PS_TEST_BROWSER=webkit`. Phone device presets (`devices[\"iPhone 14 Pro\"]`) already run WebKit. |\n| Theme | One modern theme and one retro theme (for example `cobalt2` and `win95`) | Retro themes change borders, fonts and control sizes, and so the geometry. |\n\nNot every change reaches every axis. A phone-only change does not need the\nreading column; a session-list change does. When you skip an axis, say why.\n\n## Setting the modes in a spec\n\nSeed profile settings through the profile route, as `chat-rail-fit.spec.mjs`\ndoes, and stub the settings write so a test never stores a profile:\n\n```js\nawait page.route(\"**\u002Fapi\u002Fv1\u002F**\", route => {\n    const url = new URL(route.request().url());\n    if (url.pathname.endsWith(\"\u002Fme\u002Fprofile\")) return route.fulfill({ json: { ok: true, result: { isAdmin: false, profileSettings: {\n        themeId: \"cobalt2\",\n        chatReading: { on: reading, width: 1100, align: \"left\", pad: 20 },\n    } } } });\n    if (url.pathname.endsWith(\"\u002Fme\u002Fprofile\u002Fsettings\")) return route.fulfill({ json: { ok: true, result: {} } });\n    return route.fallback();\n});\n```\n\nLoop the test over both values rather than writing two specs:\n\n```js\nfor (const reading of [false, true]) test(`... (reading column ${reading ? \"on\" : \"off\"})`, async ({ page }) => { \u002F* ... *\u002F });\n```\n\nFor live behaviour, deliver the event the way production does (the events\nroute or the live plane) after the page has loaded, measure, then reload and\nmeasure again. Assert the two agree.\n\n## What to assert\n\nAssert properties, not pixels: computed styles and `getBoundingClientRect()`\ngeometry. For layout stability, record the measurement in each state and\nassert it holds, for example the session list width across canvas and\nnon-canvas sessions, live and after reload, with the reading column on and\noff. A fix needs a test that fails without it: run the new test against the\nold code once and report that it failed.\n\n## On a deployed test environment\n\nSpecs run against the stub server. Before you call a layout change ready, also\ncheck the deployed build in a real browser with the owner's own profile shape\n(per-session canvas widths, reading column setting, long session list), in\nboth reading-column modes, live and after reload. Route the profile-settings\nwrite to a stub unless the run is meant to change the profile.\n\n## Report\n\nState the modes covered in the result, for example:\n\n| Mode | Covered |\n|---|---|\n| Reading column on \u002F off | both |\n| Live \u002F reloaded | both |\n| Desktop \u002F phone | desktop only (change is desktop-only) |\n| Chromium \u002F WebKit | both |\n","# Portal UX testing\n\nA portal change that looks right in one mode often breaks in another. Most\nlayout regressions found by the owner were in a mode nobody tested: the\nreading column turned off, a canvas that popped up during a live turn, a\nphone, or Safari. Test the change in each mode below that it can reach, and\nsay which ones you covered.\n\n## The mode matrix\n\n| Axis | Test both | Why |\n|---|---|---|\n| Reading column (Settings > Appearance) | `chatReading.on` true **and** false | With it on, chat content is held to a fixed column. With it off, wide content (tool cards, code, tables, artifact cards) is free to size against the pane, and grid tracks see different minimum widths. A fix proven with one setting proves nothing about the other. |\n| Live vs reloaded | During a live turn **and** after a page reload | Live state (a canvas that pops up mid-turn, streaming cards, message previews) takes different code paths from state hydrated from the profile and history. \"Broken until refresh\" means only the reloaded path was tested. |\n| Settings round trip | Before **and** after opening and closing Settings (the Admin Console) | The console replaces the whole workspace and puts it back. Anything bound to the old elements (measurements, observers, refs) goes stale until a reload. Changing a setting such as the reading column always takes this path, so test a setting by changing it live, not only by seeding it. |\n| Session switching | Switch to another session **and** back, more than once | Per-session view state (canvas open, remembered canvas width, scroll anchor) is saved on leave and restored on return. |\n| Canvas | Closed, open at default width, and a remembered width wider than the window can give | Remembered widths are per session and can exceed the window. Nothing else may pay for them: the session list keeps its width and chat keeps its floor. |\n| Device class | Desktop (1280, 1440, 1920) **and** phone (390x844) | The phone has its own workspace: the session list is a slide-over, Settings > Appearance carries phone-only rows. Desktop settings such as the reading column must not leak to the phone. |\n| Browser | Chromium **and** WebKit | iPhone and Mac Safari are WebKit. A spec opts in with `test.use({ browserName: process.env.PS_TEST_BROWSER \\|\\| \"chromium\" })`; run it again with `PS_TEST_BROWSER=webkit`. Phone device presets (`devices[\"iPhone 14 Pro\"]`) already run WebKit. |\n| Theme | One modern theme and one retro theme (for example `cobalt2` and `win95`) | Retro themes change borders, fonts and control sizes, and so the geometry. |\n\nNot every change reaches every axis. A phone-only change does not need the\nreading column; a session-list change does. When you skip an axis, say why.\n\n## Setting the modes in a spec\n\nSeed profile settings through the profile route, as `chat-rail-fit.spec.mjs`\ndoes, and stub the settings write so a test never stores a profile:\n\n```js\nawait page.route(\"**\u002Fapi\u002Fv1\u002F**\", route => {\n    const url = new URL(route.request().url());\n    if (url.pathname.endsWith(\"\u002Fme\u002Fprofile\")) return route.fulfill({ json: { ok: true, result: { isAdmin: false, profileSettings: {\n        themeId: \"cobalt2\",\n        chatReading: { on: reading, width: 1100, align: \"left\", pad: 20 },\n    } } } });\n    if (url.pathname.endsWith(\"\u002Fme\u002Fprofile\u002Fsettings\")) return route.fulfill({ json: { ok: true, result: {} } });\n    return route.fallback();\n});\n```\n\nLoop the test over both values rather than writing two specs:\n\n```js\nfor (const reading of [false, true]) test(`... (reading column ${reading ? \"on\" : \"off\"})`, async ({ page }) => { \u002F* ... *\u002F });\n```\n\nFor live behaviour, deliver the event the way production does (the events\nroute or the live plane) after the page has loaded, measure, then reload and\nmeasure again. Assert the two agree.\n\n## What to assert\n\nAssert properties, not pixels: computed styles and `getBoundingClientRect()`\ngeometry. For layout stability, record the measurement in each state and\nassert it holds, for example the session list width across canvas and\nnon-canvas sessions, live and after reload, with the reading column on and\noff. A fix needs a test that fails without it: run the new test against the\nold code once and report that it failed.\n\n## On a deployed test environment\n\nSpecs run against the stub server. Before you call a layout change ready, also\ncheck the deployed build in a real browser with the owner's own profile shape\n(per-session canvas widths, reading column setting, long session list), in\nboth reading-column modes, live and after reload. Route the profile-settings\nwrite to a stub unless the run is meant to change the profile.\n\n## Report\n\nState the modes covered in the result, for example:\n\n| Mode | Covered |\n|---|---|\n| Reading column on \u002F off | both |\n| Live \u002F reloaded | both |\n| Desktop \u002F phone | desktop only (change is desktop-only) |\n| Chromium \u002F WebKit | both |\n",{"name":5,"description":7},"main","a11767899d01721b3086859bdcb13d53810464cd",".github\u002Fskills\u002Fportal-ux-testing",10,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FPilotSwarm","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-15 00:36:04",{"source":8,"skillName":5,"commands":65,"prompt":75,"zipAvailable":76},[66,69,72],{"tool":67,"command":68},"npx","npx skills add microsoft\u002FPilotSwarm --skill portal-ux-testing",{"tool":70,"command":71},"bunx","bunx skills add microsoft\u002FPilotSwarm --skill portal-ux-testing",{"tool":73,"command":74},"pnpm","pnpm dlx skills add microsoft\u002FPilotSwarm --skill portal-ux-testing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FPilotSwarm\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fportal-ux-testing\u002FSKILL.md",true,[],[79,87,94,101,108,115],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":86},"01M760N7TCZBTY635MYZQ8YAB0","workflow-testing","Load before you test a Workflow with mocked effects — the test, test_respond and test_advance operations, fixtures, interception ids, valid answers, the virtual clock, test evidence and what a test run does not prove.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FPilotSwarm\u002Fblob\u002Fmain\u002Fpackages\u002Fsdk\u002Fplugins\u002Fworkflow\u002Ftest-mode-skills\u002Fworkflow-testing\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":86},"01M760N4RKD6BMYPGHD490SNN2","workflow-tools","Every argument of the Workflow tools, testing a revision, package definitions and the refusals you can fix. Load when a Workflow tool's short description is not enough.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FPilotSwarm\u002Fblob\u002Fmain\u002Fpackages\u002Fsdk\u002Fplugins\u002Fworkflow\u002Fskills\u002Fworkflow-tools\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":86},"01M760N1P2VTGVE6C4N5WF3FVR","workflow-reference","Field reference for Workflow YAML (root keys, every state type, bindings, outputs, runtime error codes), what the engine guarantees, and a review fan-out example. For design, call load_skill with name workflow-authoring.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FPilotSwarm\u002Fblob\u002Fmain\u002Fpackages\u002Fsdk\u002Fplugins\u002Fworkflow\u002Fskills\u002Fworkflow-reference\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":86},"01M760MZ5CFSAX4FYMEXZJBGM2","workflow-patterns","Load when one Workflow must run different nodes in its branches at the same time (a different prompt or model for each branch), or loops back to a state (a polling loop). Named branches, the router pattern, examples that compile.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FPilotSwarm\u002Fblob\u002Fmain\u002Fpackages\u002Fsdk\u002Fplugins\u002Fworkflow\u002Fskills\u002Fworkflow-patterns\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":86},"01M760MWKBDJFEECRFAF3BAVQ2","workflow-authoring","Load before you create, edit, publish or run a Workflow (pilotswarm.dev\u002Fv1) — choosing states, bounded graphs, bindings, typed contracts, agent and parallel states, the lifecycle and failure diagnosis.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FPilotSwarm\u002Fblob\u002Fmain\u002Fpackages\u002Fsdk\u002Fplugins\u002Fworkflow\u002Fskills\u002Fworkflow-authoring\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":86},"01M760MN4Y9199ARAY85DWD08X","tla-formal-validation","Required for any change to the core orchestrations (the durable session orchestration, session hydration and dehydration, and the Workflow controller and store). Teaches how to model the change in TLA+, update the existing models, run TLC with the repo runner, read the results, turn a counterexample into a fix and a regression test, and record the binding to the code.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FPilotSwarm\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ftla-formal-validation\u002FSKILL.md",[],[]]