[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JGXXPZ2TV0Y4DHDZAMZKDB":3,"skill-same:01M6JGXXPZ2TV0Y4DHDZAMZKDB":76},{"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":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":49,"commitSha":50,"skillDirectory":51,"forksCount":52,"repositoryHtmlUrl":53,"repositoryHomepageUrl":6,"ownerHtmlUrl":54,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":55,"install":56,"resources":69},"01M6JGXXPZ2TV0Y4DHDZAMZKDB","webapp-testing",null,"Verify a local web app actually renders and behaves in a real browser via Playwright — start the dev server, drive a headless browser, assert on DOM\u002Fvisible text\u002Fnavigation, check console errors, capture screenshots. Use as the task_complete gate for any UI change, or to debug 'it compiles but the page is broken'.","muratovv\u002Fai-hats","muratovv","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7502801?v=4","01M6JGCBN4KEJX012GPJVSH04T","Fedor Muratov","01M6JGCBSNMN7CW3RGTPPE0MN2",3,"MIT","https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fusage\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"webapp testing","testing","webapp","for","headless","errors","complete","app","as","local","task","use","broken","check","page","text","browser","dev","debug","playwright","2026-11-10 10:12:30",false,"---\nname: webapp-testing\ndescription: >-\n  Verify a local web app actually renders and behaves in a real browser\n  via Playwright — start the dev server, drive a headless browser, assert\n  on DOM\u002Fvisible text\u002Fnavigation, check console errors, capture\n  screenshots. Use as the task_complete gate for any UI change, or to\n  debug 'it compiles but the page is broken'.\nlicense: MIT\n---\n# Webapp Testing\n\nConfirm a web app renders and behaves in a real browser before calling a UI\nchange done. **Compiling is not working.** This is the frontend analog of\n`go test -race`: an objective \"the app loads and the happy path works\" signal.\n\n## When to Use\nUse as the task_complete gate for any UI change, or to debug integration-level\nbreakage that unit tests miss — routing, event handlers, hydration, layout,\nconsole errors. Skip for non-UI code, or when a headless unit\u002Fintegration test\nalready exercises the exact behavior. This verifies **correctness** (does it\nwork); for UI **quality** (is it usable\u002Fclear) use `ui-ux-review`.\n\n## Procedure (recon → act → assert)\n1. **Start the app** — bring up the dev\u002Fpreview server. Poll the URL until it\n   answers; do **not** blind-`sleep`. Tear it down in a `finally`\u002Fcleanup block.\n2. **Recon** — load the page headless; screenshot + dump the rendered DOM.\n   Identify *stable* selectors (role \u002F accessible label \u002F `data-testid`), not\n   brittle CSS paths.\n3. **Act** — drive the discovered selectors (click, type, navigate) to exercise\n   the happy path plus at least one error\u002Fedge path.\n4. **Assert** — visible text, DOM state, URL after navigation, and key network\n   responses. Await locators; never assert on a guessed timing.\n5. **Check console** — fail on uncaught errors and unexpected warnings\n   (hydration mismatches, failed requests \u002F 404s).\n6. **Capture evidence** — screenshot key states for the record.\n\n## Completion (task_complete gate)\n- Dev server boots and the target route returns 200 + renders.\n- Happy-path interaction asserted green; one error path checked.\n- No uncaught console errors.\n- Server torn down — no orphan process left running.\n\n## Anti-Patterns\n- Asserting on brittle CSS selectors instead of role \u002F label \u002F `data-testid`.\n- `sleep N` instead of polling for readiness \u002F awaiting locators.\n- Leaving the dev server running after the run.\n- Treating a successful build or passing unit tests as proof the page works.\n\n## Attribution\nDistilled from **anthropics\u002Fskills** `skills\u002Fwebapp-testing` (Apache-2.0).\nProcedure-only — upstream Playwright helper scripts are not vendored.\nProvenance in `metadata.yaml` under `upstream:`.\n","# Webapp Testing\n\nConfirm a web app renders and behaves in a real browser before calling a UI\nchange done. **Compiling is not working.** This is the frontend analog of\n`go test -race`: an objective \"the app loads and the happy path works\" signal.\n\n## When to Use\nUse as the task_complete gate for any UI change, or to debug integration-level\nbreakage that unit tests miss — routing, event handlers, hydration, layout,\nconsole errors. Skip for non-UI code, or when a headless unit\u002Fintegration test\nalready exercises the exact behavior. This verifies **correctness** (does it\nwork); for UI **quality** (is it usable\u002Fclear) use `ui-ux-review`.\n\n## Procedure (recon → act → assert)\n1. **Start the app** — bring up the dev\u002Fpreview server. Poll the URL until it\n   answers; do **not** blind-`sleep`. Tear it down in a `finally`\u002Fcleanup block.\n2. **Recon** — load the page headless; screenshot + dump the rendered DOM.\n   Identify *stable* selectors (role \u002F accessible label \u002F `data-testid`), not\n   brittle CSS paths.\n3. **Act** — drive the discovered selectors (click, type, navigate) to exercise\n   the happy path plus at least one error\u002Fedge path.\n4. **Assert** — visible text, DOM state, URL after navigation, and key network\n   responses. Await locators; never assert on a guessed timing.\n5. **Check console** — fail on uncaught errors and unexpected warnings\n   (hydration mismatches, failed requests \u002F 404s).\n6. **Capture evidence** — screenshot key states for the record.\n\n## Completion (task_complete gate)\n- Dev server boots and the target route returns 200 + renders.\n- Happy-path interaction asserted green; one error path checked.\n- No uncaught console errors.\n- Server torn down — no orphan process left running.\n\n## Anti-Patterns\n- Asserting on brittle CSS selectors instead of role \u002F label \u002F `data-testid`.\n- `sleep N` instead of polling for readiness \u002F awaiting locators.\n- Leaving the dev server running after the run.\n- Treating a successful build or passing unit tests as proof the page works.\n\n## Attribution\nDistilled from **anthropics\u002Fskills** `skills\u002Fwebapp-testing` (Apache-2.0).\nProcedure-only — upstream Playwright helper scripts are not vendored.\nProvenance in `metadata.yaml` under `upstream:`.\n",{"name":5,"license":15,"description":7},"master","b4819add93efbaf4d80627118ec34680406b309b","packages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fusage\u002Fskills\u002Fwebapp-testing",1,"https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats","https:\u002F\u002Fgithub.com\u002Fmuratovv","2026-11-05 20:59:10",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add muratovv\u002Fai-hats --skill webapp-testing",{"tool":62,"command":63},"bunx","bunx skills add muratovv\u002Fai-hats --skill webapp-testing",{"tool":65,"command":66},"pnpm","pnpm dlx skills add muratovv\u002Fai-hats --skill webapp-testing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fusage\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",true,[70],{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"NOTICE","OTHER","其他",642,"https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fusage\u002Fskills\u002Fwebapp-testing\u002FNOTICE",[77,101,126,147,171,185],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":44},"01M6PVFB1SM738R2SRSRSF7CY6","tool-evaluation-protocol","Time-bounded protocol for evaluating new tools, libraries, or methodologies before adoption. Use when evaluating a candidate dependency for the project, researching a methodology (e.g. ML\u002FLLM frameworks, testing approaches), or following up on a hype-driven recommendation.","https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fusage\u002Fskills\u002Ftool-evaluation-protocol\u002FSKILL.md",[],[84,85,86,87,25,88,89,90,91,92,35,93,94,95,96,97,98,27,99,100],"protocol","Evaluation","tool","tool evaluation protocol","ml","libraries","adoption","methodology","Tools","dependency","up","frameworks","time","project","recommendation","bounded","candidate",{"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":44},"01M6PVF7HATBEX1G7N50E2QT57","systematic-debugging","4-phase bug-fix protocol (evidence, pattern, hypothesis, verify). Use when investigating any error, failure, or unexpected behavior, handling bug reports from users or monitoring, or diagnosing test failures with non-obvious causes.","https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fusage\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[108,109,110,111,84,112,113,114,115,116,35,117,118,119,120,121,122,123,124,125],"systematic debugging","debugging","systematic","test","monitoring","hypothesis","verify","behavior","fix","evidence","bug","reports","pattern","users","error","with","bug-fix","phase",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":135,"publishedAt":44},"01M6PVF3MTQN3RPF73AN34856J","skill-template","Canonical template and validation guide for ai-hats skills. Use when creating a new skill, reviewing an existing one for structural compliance, or deciding which pattern fits a new behavior.","https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fusage\u002Fskills\u002Fskill-template\u002FSKILL.md",[132],{"categoryNo":133,"categoryName":134,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[136,137,138,139,140,115,141,35,142,120,143,144,145,27,146],"template","skill template","validation","compliance","hats","guide","new skill","structural","canonical","which","Existing",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":154,"publishedAt":44},"01M6PVF06SCV28QARM5MQPANC9","skill-optimization","Audit and refactor library components to eliminate redundancy and staleness. Use during periodic library maintenance, after adding multiple new skills or rules, when a role's token budget is too high, or after retrospectives identify component issues.","https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fusage\u002Fskills\u002Fskill-optimization\u002FSKILL.md",[153],{"categoryNo":133,"categoryName":134,"taxonomyType":21,"taxonomyTypeDesc":22},[155,156,157,158,159,160,161,162,163,164,35,165,166,167,168,169,170],"Optimization","skill optimization","components","component","issues","library","audit","refactor","Budget","Rules","periodic","maintenance","token","token budget","role","high",{"skillNo":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":175,"categories":176,"keywords":177,"publishedAt":44},"01M6PVEXM9717016T9MW82HDCT","silent-fallback-gate","PreToolUse hook — refuses an Edit or Write that adds an inert broad except. Use when a Python edit was blocked for a silent fallback.","https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fusage\u002Fskills\u002Fsilent-fallback-gate\u002FSKILL.md",[],[178,179,180,181,182,183,35,184,27],"gate","fallback","silent fallback gate","python","write","edit","hook",{"skillNo":186,"name":187,"nameZh":6,"description":188,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":189,"categories":190,"keywords":192,"publishedAt":44},"01M6PVESM49C5NT7SB7N3F76VS","retro-to-framework","Convert an observation about agent behavior — from a retrospective or from a single incident — into a framework-level change (hook, rule, skill, skill update). Use after a retrospective identifies problems that are not project-specific, after an incident where an agent misapplied a component it had read, when CLAUDE.md band-aids accumulate (more than 3 per-project rules that could be generic), or when the same problem recurs across multiple projects.","https:\u002F\u002Fgithub.com\u002Fmuratovv\u002Fai-hats\u002Fblob\u002Fmaster\u002Fpackages\u002Fai-hats-library\u002Fsrc\u002Fai_hats_library\u002Fexperimental\u002Fusage\u002Fskills\u002Fretro-to-framework\u002FSKILL.md",[191],{"categoryNo":133,"categoryName":134,"taxonomyType":21,"taxonomyTypeDesc":22},[193,194,195,196,158,197,198,199,164,115,35,200,201,97,202,203,204,205,206,207],"framework","retro","retro to framework","change","retrospective","projects","convert","incident","across","problem","about","more","skill update","single","generic"]