[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CSX1TXJFKZ1S1F984RR08K":3,"skill-same:01M7CSX1TXJFKZ1S1F984RR08K":56},{"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":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7CSX1TXJFKZ1S1F984RR08K","pixijs-scene-dom-container",null,"Use this skill when overlaying HTML elements on the PixiJS v8 canvas. Covers DOMContainer with element, anchor, and scene-graph-driven CSS transforms, the pixi.js\u002Fdom side-effect import, DOMPipe registration, visibility sync, pointer-events handling. Triggers on: DOMContainer, pixi.js\u002Fdom, DOMPipe, HTML overlay, input on canvas, iframe overlay, DOMContainerOptions, element, anchor, constructor options.","om-scogo\u002Fskillsh-scraper","om-scogo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160466840?v=4","01M79AWB6DFVCQ7RK70CS34B96","Om Achrekar","01M79AWB6ZM9SKR8KDH1WSSM22",0,"MIT","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fpixijs-pixijs-skills\u002Fpixijs-scene-dom-container\u002FSkill.md",[],[],"2026-11-15 14:19:17",false,"---\nname: pixijs-scene-dom-container\ndescription: \"Use this skill when overlaying HTML elements on the PixiJS v8 canvas. Covers DOMContainer with element, anchor, and scene-graph-driven CSS transforms, the pixi.js\u002Fdom side-effect import, DOMPipe registration, visibility sync, pointer-events handling. Triggers on: DOMContainer, pixi.js\u002Fdom, DOMPipe, HTML overlay, input on canvas, iframe overlay, DOMContainerOptions, element, anchor, constructor options.\"\nlicense: MIT\n---\n\n`DOMContainer` positions an HTML element over the PixiJS canvas and drives its CSS transform from the scene graph. Use it for native inputs, iframes, videos, or rich HTML that needs to follow a display object's position. The default `pixi.js` browser bundle registers the `DOMPipe` automatically; custom builds add a side-effect `import 'pixi.js\u002Fdom'`.\n\n> `DOMContainer` is marked EXPERIMENTAL in PixiJS v8. The API may change between minor releases.\n\nAssumes familiarity with `pixijs-scene-core-concepts`. `DOMContainer` extends `ViewContainer`, so it's a leaf: do not nest PixiJS children inside it. Nest DOM content inside the HTML element itself, or wrap multiple `DOMContainer` instances in a `Container`. Not available in Web Workers; a worker has no DOM to overlay.\n\n## Quick Start\n\n```ts\nimport \"pixi.js\u002Fdom\";\n\nconst input = document.createElement(\"input\");\ninput.type = \"text\";\ninput.placeholder = \"Enter name...\";\n\nconst dom = new DOMContainer({\n  element: input,\n  anchor: 0.5,\n});\ndom.position.set(app.screen.width \u002F 2, app.screen.height \u002F 2);\n\napp.stage.addChild(dom);\n```\n\n**Related skills:** `pixijs-scene-core-concepts` (scene graph basics), `pixijs-scene-container` (wrap multiple DOM overlays), `pixijs-events` (pointer handling on canvas vs DOM), `pixijs-accessibility` (screen-reader overlays).\n\n## Constructor options\n\nAll `Container` options (`position`, `scale`, `tint`, `label`, `filters`, `zIndex`, etc.) are also valid here — see `skills\u002Fpixijs-scene-core-concepts\u002Freferences\u002Fconstructor-options.md`.\n\nLeaf-specific options added by `DOMContainerOptions`:\n\n| Option    | Type                  | Default                         | Description                                                                                                                                                                    |\n| --------- | --------------------- | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `element` | `HTMLElement`         | `document.createElement('div')` | The HTML element the container drives. Any element is valid: `input`, `textarea`, `iframe`, `video`, `div`, etc. If omitted, a bare `\u003Cdiv>` is created.                        |\n| `anchor`  | `PointData \\| number` | `0`                             | Origin of the element relative to its own dimensions. `0` is top-left, `0.5` centers, `1` is bottom-right. A single number sets both axes; `{ x, y }` sets each independently. |\n\n`tint`, `filters`, `mask`, and `blendMode` are accepted (inherited from `Container`) but have no visual effect — DOM elements live outside the WebGL\u002FWebGPU pipeline. Style the element via CSS for those effects.\n\n## Core Patterns\n\n### Setup and the side-effect import\n\n```ts\nimport \"pixi.js\u002Fdom\";\nimport { DOMContainer } from \"pixi.js\";\n```\n\nOr use the combined import that registers the pipe and re-exports the class:\n\n```ts\nimport { DOMContainer } from \"pixi.js\u002Fdom\";\n```\n\nThe default `pixi.js` browser bundle already imports `pixi.js\u002Fdom` for you via `browserAll.ts`, so `DOMContainer` works out of the box in a typical browser app. You only need the explicit `import 'pixi.js\u002Fdom'` line when you set `skipExtensionImports: true` (custom builds) or when running under a non-browser bundle.\n\n### Transforms, anchor, and alpha\n\n```ts\nconst dom = new DOMContainer({\n  element: document.createElement(\"div\"),\n  anchor: 0.5,\n});\ndom.position.set(400, 300);\ndom.scale.set(1.5);\ndom.rotation = Math.PI \u002F 8;\ndom.alpha = 0.5;\n```\n\nTransforms on the `DOMContainer` propagate to the element as CSS `transform`. `anchor` shifts the element's origin relative to its own dimensions: `0` is top-left, `0.5` centers, `1` is bottom-right. A single number sets both axes; an object `{ x, y }` sets each independently. `alpha` (including inherited parent alpha) is written to the element's `style.opacity` every frame.\n\nIf no `element` is provided, a `\u003Cdiv>` is created by default.\n\n### Styling the element directly\n\n```ts\nconst panel = document.createElement(\"div\");\npanel.innerHTML = \"\u003Ch2>Score\u003C\u002Fh2>\u003Cp>1500\u003C\u002Fp>\";\npanel.style.color = \"white\";\npanel.style.fontFamily = \"Arial\";\npanel.style.pointerEvents = \"none\";\n\nconst dom = new DOMContainer({ element: panel });\ndom.position.set(50, 50);\napp.stage.addChild(dom);\n```\n\nPixiJS does not interfere with CSS styling on the element. The shared root `\u003Cdiv>` is set to `pointer-events: none`, and each attached element defaults to `pointer-events: auto`. Override to `none` on purely decorative overlays so the canvas still receives clicks underneath them.\n\n### Visibility and cleanup\n\n```ts\ndom.visible = false;\ndom.visible = true;\n\ndom.destroy();\n```\n\nSetting `visible = false` or removing the `DOMContainer` from the scene graph detaches the element from the DOM. Restoring visibility re-attaches it. `destroy()` removes the element from its parent node and nulls internal references; the HTML element itself is preserved, so you can re-attach it elsewhere:\n\n```ts\nconst element = dom.element;\ndom.destroy();\ndocument.body.appendChild(element);\n```\n\n### The DOM container root\n\nThe DOMPipe uses a shared root `\u003Cdiv>` with `z-index: 1000` that hosts every attached element. It's exposed as `app.domContainerRoot` (an `HTMLDivElement`). All `DOMContainer` elements render above canvas content; you can't interleave DOM elements between PixiJS draw calls.\n\nOn the first render that has an attached `DOMContainer`, the pipe automatically appends the root to the canvas's parent node. Append it yourself next to `app.canvas` if you need explicit, stable placement in the DOM tree (for example, when the canvas shares a wrapper with other layered content):\n\n```ts\ndocument.body.appendChild(app.canvas);\ndocument.body.appendChild(app.domContainerRoot);\n```\n\nThe root uses absolute positioning and its transform is recomputed from the canvas `getBoundingClientRect()` via a `ResizeObserver`, so CSS-scaled canvases stay aligned without extra work.\n\n## Common Mistakes\n\n### [MEDIUM] Missing the pixi.js\u002Fdom import in custom builds\n\nThe default browser bundle auto-registers `DOMPipe`, so most apps do not need an explicit import. It is only required when you opt out of auto-imports:\n\n```ts\nawait app.init({ skipExtensionImports: true });\n\u002F\u002F Now you must add this yourself:\nimport \"pixi.js\u002Fdom\";\n```\n\nWithout registration under a custom build, `DOMContainer` is still importable but the renderer has no pipe to process it; elements never synchronize with the scene graph and never appear.\n\n\n### [MEDIUM] Expecting filters, masks, or blend modes to affect DOM elements\n\nWrong:\n\n```ts\nconst dom = new DOMContainer();\ndom.filters = [new BlurFilter()];\n```\n\nCorrect:\n\n```ts\ndom.element.style.filter = \"blur(4px)\";\n```\n\nDOM elements are HTML overlays positioned via CSS transforms; they exist outside the WebGL\u002FWebGPU pipeline. PixiJS filters, masks, and blend modes have no effect on them. Use CSS filters and CSS `mix-blend-mode` on the element directly.\n\n\n### [MEDIUM] Do not nest children inside a DOMContainer\n\nWrong:\n\n```ts\nconst dom = new DOMContainer();\ndom.addChild(new Sprite(texture));\n```\n\nCorrect:\n\n```ts\nconst group = new Container();\ngroup.addChild(dom, new Sprite(texture));\n```\n\n`DOMContainer` extends `ViewContainer`, which sets `allowChildren = false`. It is a leaf in the PixiJS scene graph. For PixiJS children, wrap the `DOMContainer` alongside them in a plain `Container`. For nested HTML, nest inside the element itself (`element.appendChild(...)`).\n\n\n### [LOW] Forgetting to set anchor for centered positioning\n\nThe default anchor is `(0, 0)`, placing the element's top-left corner at the container's position. For centering a UI element on its scene-graph position, set `anchor: 0.5`:\n\n```ts\nconst dom = new DOMContainer({ element: myElement, anchor: 0.5 });\ndom.position.set(400, 300);\n```\n\n\n## API Reference\n\n- [DOMContainer](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fscene.DOMContainer.html.md)\n- [DOMContainerOptions](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fscene.DOMContainerOptions.html.md)\n- [ViewContainer](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fscene.ViewContainer.html.md)\n- [Container](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fscene.Container.html.md)\n","`DOMContainer` positions an HTML element over the PixiJS canvas and drives its CSS transform from the scene graph. Use it for native inputs, iframes, videos, or rich HTML that needs to follow a display object's position. The default `pixi.js` browser bundle registers the `DOMPipe` automatically; custom builds add a side-effect `import 'pixi.js\u002Fdom'`.\n\n> `DOMContainer` is marked EXPERIMENTAL in PixiJS v8. The API may change between minor releases.\n\nAssumes familiarity with `pixijs-scene-core-concepts`. `DOMContainer` extends `ViewContainer`, so it's a leaf: do not nest PixiJS children inside it. Nest DOM content inside the HTML element itself, or wrap multiple `DOMContainer` instances in a `Container`. Not available in Web Workers; a worker has no DOM to overlay.\n\n## Quick Start\n\n```ts\nimport \"pixi.js\u002Fdom\";\n\nconst input = document.createElement(\"input\");\ninput.type = \"text\";\ninput.placeholder = \"Enter name...\";\n\nconst dom = new DOMContainer({\n  element: input,\n  anchor: 0.5,\n});\ndom.position.set(app.screen.width \u002F 2, app.screen.height \u002F 2);\n\napp.stage.addChild(dom);\n```\n\n**Related skills:** `pixijs-scene-core-concepts` (scene graph basics), `pixijs-scene-container` (wrap multiple DOM overlays), `pixijs-events` (pointer handling on canvas vs DOM), `pixijs-accessibility` (screen-reader overlays).\n\n## Constructor options\n\nAll `Container` options (`position`, `scale`, `tint`, `label`, `filters`, `zIndex`, etc.) are also valid here — see `skills\u002Fpixijs-scene-core-concepts\u002Freferences\u002Fconstructor-options.md`.\n\nLeaf-specific options added by `DOMContainerOptions`:\n\n| Option    | Type                  | Default                         | Description                                                                                                                                                                    |\n| --------- | --------------------- | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `element` | `HTMLElement`         | `document.createElement('div')` | The HTML element the container drives. Any element is valid: `input`, `textarea`, `iframe`, `video`, `div`, etc. If omitted, a bare `\u003Cdiv>` is created.                        |\n| `anchor`  | `PointData \\| number` | `0`                             | Origin of the element relative to its own dimensions. `0` is top-left, `0.5` centers, `1` is bottom-right. A single number sets both axes; `{ x, y }` sets each independently. |\n\n`tint`, `filters`, `mask`, and `blendMode` are accepted (inherited from `Container`) but have no visual effect — DOM elements live outside the WebGL\u002FWebGPU pipeline. Style the element via CSS for those effects.\n\n## Core Patterns\n\n### Setup and the side-effect import\n\n```ts\nimport \"pixi.js\u002Fdom\";\nimport { DOMContainer } from \"pixi.js\";\n```\n\nOr use the combined import that registers the pipe and re-exports the class:\n\n```ts\nimport { DOMContainer } from \"pixi.js\u002Fdom\";\n```\n\nThe default `pixi.js` browser bundle already imports `pixi.js\u002Fdom` for you via `browserAll.ts`, so `DOMContainer` works out of the box in a typical browser app. You only need the explicit `import 'pixi.js\u002Fdom'` line when you set `skipExtensionImports: true` (custom builds) or when running under a non-browser bundle.\n\n### Transforms, anchor, and alpha\n\n```ts\nconst dom = new DOMContainer({\n  element: document.createElement(\"div\"),\n  anchor: 0.5,\n});\ndom.position.set(400, 300);\ndom.scale.set(1.5);\ndom.rotation = Math.PI \u002F 8;\ndom.alpha = 0.5;\n```\n\nTransforms on the `DOMContainer` propagate to the element as CSS `transform`. `anchor` shifts the element's origin relative to its own dimensions: `0` is top-left, `0.5` centers, `1` is bottom-right. A single number sets both axes; an object `{ x, y }` sets each independently. `alpha` (including inherited parent alpha) is written to the element's `style.opacity` every frame.\n\nIf no `element` is provided, a `\u003Cdiv>` is created by default.\n\n### Styling the element directly\n\n```ts\nconst panel = document.createElement(\"div\");\npanel.innerHTML = \"\u003Ch2>Score\u003C\u002Fh2>\u003Cp>1500\u003C\u002Fp>\";\npanel.style.color = \"white\";\npanel.style.fontFamily = \"Arial\";\npanel.style.pointerEvents = \"none\";\n\nconst dom = new DOMContainer({ element: panel });\ndom.position.set(50, 50);\napp.stage.addChild(dom);\n```\n\nPixiJS does not interfere with CSS styling on the element. The shared root `\u003Cdiv>` is set to `pointer-events: none`, and each attached element defaults to `pointer-events: auto`. Override to `none` on purely decorative overlays so the canvas still receives clicks underneath them.\n\n### Visibility and cleanup\n\n```ts\ndom.visible = false;\ndom.visible = true;\n\ndom.destroy();\n```\n\nSetting `visible = false` or removing the `DOMContainer` from the scene graph detaches the element from the DOM. Restoring visibility re-attaches it. `destroy()` removes the element from its parent node and nulls internal references; the HTML element itself is preserved, so you can re-attach it elsewhere:\n\n```ts\nconst element = dom.element;\ndom.destroy();\ndocument.body.appendChild(element);\n```\n\n### The DOM container root\n\nThe DOMPipe uses a shared root `\u003Cdiv>` with `z-index: 1000` that hosts every attached element. It's exposed as `app.domContainerRoot` (an `HTMLDivElement`). All `DOMContainer` elements render above canvas content; you can't interleave DOM elements between PixiJS draw calls.\n\nOn the first render that has an attached `DOMContainer`, the pipe automatically appends the root to the canvas's parent node. Append it yourself next to `app.canvas` if you need explicit, stable placement in the DOM tree (for example, when the canvas shares a wrapper with other layered content):\n\n```ts\ndocument.body.appendChild(app.canvas);\ndocument.body.appendChild(app.domContainerRoot);\n```\n\nThe root uses absolute positioning and its transform is recomputed from the canvas `getBoundingClientRect()` via a `ResizeObserver`, so CSS-scaled canvases stay aligned without extra work.\n\n## Common Mistakes\n\n### [MEDIUM] Missing the pixi.js\u002Fdom import in custom builds\n\nThe default browser bundle auto-registers `DOMPipe`, so most apps do not need an explicit import. It is only required when you opt out of auto-imports:\n\n```ts\nawait app.init({ skipExtensionImports: true });\n\u002F\u002F Now you must add this yourself:\nimport \"pixi.js\u002Fdom\";\n```\n\nWithout registration under a custom build, `DOMContainer` is still importable but the renderer has no pipe to process it; elements never synchronize with the scene graph and never appear.\n\n\n### [MEDIUM] Expecting filters, masks, or blend modes to affect DOM elements\n\nWrong:\n\n```ts\nconst dom = new DOMContainer();\ndom.filters = [new BlurFilter()];\n```\n\nCorrect:\n\n```ts\ndom.element.style.filter = \"blur(4px)\";\n```\n\nDOM elements are HTML overlays positioned via CSS transforms; they exist outside the WebGL\u002FWebGPU pipeline. PixiJS filters, masks, and blend modes have no effect on them. Use CSS filters and CSS `mix-blend-mode` on the element directly.\n\n\n### [MEDIUM] Do not nest children inside a DOMContainer\n\nWrong:\n\n```ts\nconst dom = new DOMContainer();\ndom.addChild(new Sprite(texture));\n```\n\nCorrect:\n\n```ts\nconst group = new Container();\ngroup.addChild(dom, new Sprite(texture));\n```\n\n`DOMContainer` extends `ViewContainer`, which sets `allowChildren = false`. It is a leaf in the PixiJS scene graph. For PixiJS children, wrap the `DOMContainer` alongside them in a plain `Container`. For nested HTML, nest inside the element itself (`element.appendChild(...)`).\n\n\n### [LOW] Forgetting to set anchor for centered positioning\n\nThe default anchor is `(0, 0)`, placing the element's top-left corner at the container's position. For centering a UI element on its scene-graph position, set `anchor: 0.5`:\n\n```ts\nconst dom = new DOMContainer({ element: myElement, anchor: 0.5 });\ndom.position.set(400, 300);\n```\n\n\n## API Reference\n\n- [DOMContainer](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fscene.DOMContainer.html.md)\n- [DOMContainerOptions](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fscene.DOMContainerOptions.html.md)\n- [ViewContainer](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fscene.ViewContainer.html.md)\n- [Container](https:\u002F\u002Fpixijs.download\u002Frelease\u002Fdocs\u002Fscene.Container.html.md)\n",{"name":5,"license":15,"description":7},"main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Fpixijs-pixijs-skills\u002Fpixijs-scene-dom-container",1,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper","https:\u002F\u002Fgithub.com\u002Fom-scogo","SDE-1 @ Scogo ","2026-07-18 12:22:46",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill pixijs-scene-dom-container",{"tool":38,"command":39},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill pixijs-scene-dom-container",{"tool":41,"command":42},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill pixijs-scene-dom-container","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fpixijs-pixijs-skills\u002Fpixijs-scene-dom-container\u002FSkill.md",true,[46,52],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"metadata.json","REFERENCE","参考文档",489,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fpixijs-pixijs-skills\u002Fpixijs-scene-dom-container\u002Fmetadata.json",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"SKILL.md",8752,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fpixijs-pixijs-skills\u002Fpixijs-scene-dom-container\u002FSKILL.md",[57,64,69,76,81,88],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7D6MC9FAAEV4CMNYX8W7JTG","arxiv-search","Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002Fskills\u002Farxiv-search\u002FSKILL.md",[],[],{"skillNo":65,"name":59,"nameZh":6,"description":60,"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},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\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},"01M7D4ZTCS4DR3CE4JY06X84T2","working-with-legacy-code","Safely change and test untested codebases using Feathers' \"Working Effectively with Legacy Code\". Use when the user mentions \"legacy code\", \"no tests\", \"untested codebase\", \"how do I test this\", \"seams\", \"characterization tests\", \"golden master\", \"sprout method\", \"afraid to change this code\", \"monster method\", \"dependency breaking\", or \"inherited a messy codebase\". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Covers the legacy-code change algorithm, seams, characterization tests, sprout\u002Fwrap, and dependency-breaking techniques. For refactoring code that already has tests, see refactoring-patterns. For day-to-day code quality, see clean-code.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002Fworking-with-legacy-code\u002FSKILL.md",[],[],{"skillNo":77,"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":78,"categories":79,"keywords":80,"publishedAt":19},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\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},"01M7D4ZB4CJBFW5JE67CPH2QRV","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", \"type hierarchy\", \"variable fonts\", \"FOUT\u002FFOIT\", \"typographic scale\", or \"the text is hard to read\". Also trigger when choosing between system fonts and web fonts, optimizing font-loading performance, or designing readable long-form content. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":89,"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":90,"categories":91,"keywords":92,"publishedAt":19},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]