[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71F1TAY1M25N7CRSRPEVY2Z":3,"skill-same:01M71F1TAY1M25N7CRSRPEVY2Z":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":6,"ownerHtmlUrl":56,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":57,"install":58,"resources":71},"01M71F1TAY1M25N7CRSRPEVY2Z","ui-browser-testing",null,"Canonical discipline for browser UI verification: when to run Playwright suites and smokes, how CLI vs MCP surfaces are chosen, and how to record evidence before merge. Complements tdd-flow for non-UI tests.","parada1104\u002Fai-specs-cli","parada1104","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F57575053?v=4","01M71EZZV71KAFZKJ47FQ99ZVS","01M71EZZW7JJBY2VAWA5HRD944",0,"MIT","https:\u002F\u002Fgithub.com\u002Fparada1104\u002Fai-specs-cli\u002Fblob\u002Fmain\u002Fcatalog\u002Frecipes\u002Fplaywright-ui-flow\u002Fskills\u002Fui-browser-testing\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"ui browser testing","browser","browser testing","ui","testing","evidence","running","when","browser mcp","for","how to","tests","runtime","record","verification","pr","playwright cli","playwright","writing","MCP","2026-11-10 10:12:30",false,"---\nname: ui-browser-testing\ndescription: >\n  Canonical discipline for browser UI verification: when to run Playwright\n  suites and smokes, how CLI vs MCP surfaces are chosen, and how to record\n  evidence before merge. Complements tdd-flow for non-UI tests.\nlicense: MIT\nmetadata:\n  author: ai-specs\n  version: \"1.0\"\n  scope: runtime\n  auto_invoke:\n    - \"Running or writing Playwright UI tests or smokes\"\n    - \"Verifying UI behavior before merge or PR\"\n    - \"Choosing between Playwright CLI and browser MCP\"\n---\n\n# UI Browser Testing Discipline\n\nThis is the **canonical discipline** skill for the `ui-browser-testing`\ncapability. Tool-specific how-to lives in thin adapters:\n\n- `playwright-cli` — run\u002Fauthor suites via CLI\n- `playwright-mcp` — exploratory navigation, debug, locators (when enabled)\n\nDefer *how* on a surface to those adapters. Keep *when \u002F whether \u002F evidence*\nhere.\n\n## Relationship to tdd-flow\n\n- **`tdd-flow` (`test-runner`)** — unit\u002Fintegration RED\u002FGREEN against a generic\n  `test_command`.\n- **This skill (`ui-browser-testing`)** — browser UI suites, smokes, and\n  optional interactive exploration.\n\nBoth may be enabled. Do not treat UI smokes as a substitute for unit TDD, and\ndo not skip UI verification when the change touches user-facing UI.\n\n## Configuration\n\nRead from `[recipes.playwright-ui-flow.config]` in `ai-specs\u002Fai-specs.toml`:\n\n| Key | Required | Description |\n|---|---|---|\n| `ui_test_command` | no | Full UI suite (e.g. `npx playwright test`) |\n| `ui_smoke_command` | no | Fast smoke subset (e.g. `npx playwright test --grep @smoke`) |\n| `playwright_config` | no | Path to `playwright.config.*` if non-standard |\n\nIf smoke\u002Fsuite commands are unset, discover the project's Playwright scripts\n(`package.json`, config files), propose values for the human to accept, and do\n**not** invent a permanent default without recording it in config.\n\n## Hybrid surface precedence\n\n| Job | Preferred surface |\n|---|---|\n| Run UI suite \u002F smoke | CLI \u002F configured command |\n| Author or extend UI tests in-repo | CLI (+ repo test files); MCP optional for locator discovery |\n| Exploratory UI navigation \u002F debug | MCP (`playwright-mcp` recipe) when enabled |\n| Generate locators while writing tests | MCP when enabled; otherwise CLI snapshot\u002Fcodegen |\n\nWhen only one surface is enabled, degrade to that surface. Never require MCP\nfor suite\u002Fsmoke verification. Never use MCP tool calls as a substitute for the\nconfigured UI smoke\u002Fsuite command when claiming merge-ready UI verification.\n\n## Evidence policy\n\nBefore treating UI verification as done:\n\n1. Run `ui_smoke_command` if set, otherwise `ui_test_command` (or the agreed\n   discovered command).\n2. Record the **command** and **pass\u002Ffail** observation in the change's\n   verify\u002Fapply artifacts, PR body, or tracker update.\n3. Never claim a UI check passed unless that command was actually run and\n   observed to pass.\n\n## When to invoke adapters\n\n- Need to run or debug a suite command, install browsers, or use codegen →\n  load `playwright-cli`.\n- Need interactive page exploration or locator discovery and\n  `playwright-mcp` is enabled → load `playwright-mcp`.\n","# UI Browser Testing Discipline\n\nThis is the **canonical discipline** skill for the `ui-browser-testing`\ncapability. Tool-specific how-to lives in thin adapters:\n\n- `playwright-cli` — run\u002Fauthor suites via CLI\n- `playwright-mcp` — exploratory navigation, debug, locators (when enabled)\n\nDefer *how* on a surface to those adapters. Keep *when \u002F whether \u002F evidence*\nhere.\n\n## Relationship to tdd-flow\n\n- **`tdd-flow` (`test-runner`)** — unit\u002Fintegration RED\u002FGREEN against a generic\n  `test_command`.\n- **This skill (`ui-browser-testing`)** — browser UI suites, smokes, and\n  optional interactive exploration.\n\nBoth may be enabled. Do not treat UI smokes as a substitute for unit TDD, and\ndo not skip UI verification when the change touches user-facing UI.\n\n## Configuration\n\nRead from `[recipes.playwright-ui-flow.config]` in `ai-specs\u002Fai-specs.toml`:\n\n| Key | Required | Description |\n|---|---|---|\n| `ui_test_command` | no | Full UI suite (e.g. `npx playwright test`) |\n| `ui_smoke_command` | no | Fast smoke subset (e.g. `npx playwright test --grep @smoke`) |\n| `playwright_config` | no | Path to `playwright.config.*` if non-standard |\n\nIf smoke\u002Fsuite commands are unset, discover the project's Playwright scripts\n(`package.json`, config files), propose values for the human to accept, and do\n**not** invent a permanent default without recording it in config.\n\n## Hybrid surface precedence\n\n| Job | Preferred surface |\n|---|---|\n| Run UI suite \u002F smoke | CLI \u002F configured command |\n| Author or extend UI tests in-repo | CLI (+ repo test files); MCP optional for locator discovery |\n| Exploratory UI navigation \u002F debug | MCP (`playwright-mcp` recipe) when enabled |\n| Generate locators while writing tests | MCP when enabled; otherwise CLI snapshot\u002Fcodegen |\n\nWhen only one surface is enabled, degrade to that surface. Never require MCP\nfor suite\u002Fsmoke verification. Never use MCP tool calls as a substitute for the\nconfigured UI smoke\u002Fsuite command when claiming merge-ready UI verification.\n\n## Evidence policy\n\nBefore treating UI verification as done:\n\n1. Run `ui_smoke_command` if set, otherwise `ui_test_command` (or the agreed\n   discovered command).\n2. Record the **command** and **pass\u002Ffail** observation in the change's\n   verify\u002Fapply artifacts, PR body, or tracker update.\n3. Never claim a UI check passed unless that command was actually run and\n   observed to pass.\n\n## When to invoke adapters\n\n- Need to run or debug a suite command, install browsers, or use codegen →\n  load `playwright-cli`.\n- Need interactive page exploration or locator discovery and\n  `playwright-mcp` is enabled → load `playwright-mcp`.\n",{"name":5,"license":14,"metadata":43,"description":50},{"scope":30,"author":44,"version":45,"auto_invoke":46},"ai-specs","1.0",[47,48,49],"Running or writing Playwright UI tests or smokes","Verifying UI behavior before merge or PR","Choosing between Playwright CLI and browser MCP","Canonical discipline for browser UI verification: when to run Playwright suites and smokes, how CLI vs MCP surfaces are chosen, and how to record evidence before merge. Complements tdd-flow for non-UI tests.\n","main","c092fc1f51280350a4434827e2f6d6d99e3431ca","catalog\u002Frecipes\u002Fplaywright-ui-flow\u002Fskills\u002Fui-browser-testing",2,"https:\u002F\u002Fgithub.com\u002Fparada1104\u002Fai-specs-cli","https:\u002F\u002Fgithub.com\u002Fparada1104","2026-11-15 03:00:26",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add parada1104\u002Fai-specs-cli --skill ui-browser-testing",{"tool":64,"command":65},"bunx","bunx skills add parada1104\u002Fai-specs-cli --skill ui-browser-testing",{"tool":67,"command":68},"pnpm","pnpm dlx skills add parada1104\u002Fai-specs-cli --skill ui-browser-testing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fparada1104\u002Fai-specs-cli\u002Fblob\u002Fmain\u002Fcatalog\u002Frecipes\u002Fplaywright-ui-flow\u002Fskills\u002Fui-browser-testing\u002FSKILL.md",true,[],[73,85,96,105,114,124],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":38},"01M71F2TF9TS9DNCJ68M7C3B5S","test-skill","Test skill for fixture purposes.","https:\u002F\u002Fgithub.com\u002Fparada1104\u002Fai-specs-cli\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Frecipes\u002Ftest-fixture\u002Fskills\u002Ftest-skill\u002FSKILL.md",[],[80,81,27,82,83,84,22],"Test Skill","test","root","fixtures","fixture",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":38},"01M71F2RTH94ZB7XEAW4P6ZG0D","obsidian-markdown","Fixture skill for obsidian-markdown.","https:\u002F\u002Fgithub.com\u002Fparada1104\u002Fai-specs-cli\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fkepano-obsidian-skills\u002Fskills\u002Fobsidian-markdown\u002FSKILL.md",[],[92,93,94,27,84,95],"markdown","obsidian markdown","obsidian","fixture skill",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":38},"01M71F2R20CPTJXD9F7DP4JPP6","obsidian-cli","Fixture skill for obsidian-cli.","https:\u002F\u002Fgithub.com\u002Fparada1104\u002Fai-specs-cli\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fkepano-obsidian-skills\u002Fskills\u002Fobsidian-cli\u002FSKILL.md",[],[103,94,104,27,84,95],"obsidian cli","cli",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":38},"01M71F2PCH4NWVTT1J57SHJX33","obsidian-bases","Fixture skill for obsidian-bases.","https:\u002F\u002Fgithub.com\u002Fparada1104\u002Fai-specs-cli\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fkepano-obsidian-skills\u002Fskills\u002Fobsidian-bases\u002FSKILL.md",[],[112,113,94,27,84,95],"bases","obsidian bases",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":38},"01M71F2MSS6EVFEYVYAA1KBYCC","json-canvas","Fixture skill for json-canvas.","https:\u002F\u002Fgithub.com\u002Fparada1104\u002Fai-specs-cli\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fkepano-obsidian-skills\u002Fskills\u002Fjson-canvas\u002FSKILL.md",[],[121,122,123,95,84,27],"json","json canvas","canvas",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":38},"01M71F2KY5QVNEN1Q3REFB0MQZ","defuddle","Fixture skill for defuddle.","https:\u002F\u002Fgithub.com\u002Fparada1104\u002Fai-specs-cli\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fkepano-obsidian-skills\u002Fskills\u002Fdefuddle\u002FSKILL.md",[],[126,95,84,27]]