[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C26GK92FXETZRPTMV1VFZP":3,"skill-same:01M7C26GK92FXETZRPTMV1VFZP":49},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M7C26GK92FXETZRPTMV1VFZP","r3f-best-practices",null,"React Three Fiber (R3F) and Poimandres ecosystem best practices. Use when writing, reviewing, or optimizing R3F code. Triggers on tasks involving @react-three\u002Ffiber, @react-three\u002Fdrei, zustand, @react-three\u002Fpostprocessing, @react-three\u002Frapier, or leva.","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\u002Femalorenzo-three-agent-skills\u002Fr3f-best-practices\u002Fskills\u002Fr3f-best-practices\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: r3f-best-practices\ndescription: React Three Fiber (R3F) and Poimandres ecosystem best practices. Use when writing, reviewing, or optimizing R3F code. Triggers on tasks involving @react-three\u002Ffiber, @react-three\u002Fdrei, zustand, @react-three\u002Fpostprocessing, @react-three\u002Frapier, or leva.\nlicense: MIT\nmetadata:\n  author: three-agent-skills\n  version: \"1.1.0\"\n---\n\n# React Three Fiber Best Practices\n\nComprehensive guide for React Three Fiber and the Poimandres ecosystem. Contains 70+ rules across 12 categories, prioritized by impact.\n\n## Sources & Credits\n\n> Additional tips from [100 Three.js Tips](https:\u002F\u002Fwww.utsubo.com\u002Fblog\u002Fthreejs-best-practices-100-tips) by [Utsubo](https:\u002F\u002Fwww.utsubo.com)\n\n## When to Apply\n\nReference these guidelines when:\n- Writing new R3F components\n- Optimizing R3F performance (re-renders are the #1 issue)\n- Using Drei helpers correctly\n- Managing state with Zustand\n- Implementing post-processing or physics\n\n## Ecosystem Coverage\n\n- **@react-three\u002Ffiber** - React renderer for Three.js\n- **@react-three\u002Fdrei** - Useful helpers and abstractions\n- **@react-three\u002Fpostprocessing** - Post-processing effects\n- **@react-three\u002Frapier** - Physics engine\n- **zustand** - State management\n- **leva** - Debug GUI\n\n## Rule Categories by Priority\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|--------|--------|\n| 1 | Performance & Re-renders | CRITICAL | `perf-` |\n| 2 | useFrame & Animation | CRITICAL | `frame-` |\n| 3 | Component Patterns | HIGH | `component-` |\n| 4 | Canvas & Setup | HIGH | `canvas-` |\n| 5 | Drei Helpers | MEDIUM-HIGH | `drei-` |\n| 6 | Loading & Suspense | MEDIUM-HIGH | `loading-` |\n| 7 | State Management | MEDIUM | `state-` |\n| 8 | Events & Interaction | MEDIUM | `events-` |\n| 9 | Post-processing | MEDIUM | `postpro-` |\n| 10 | Physics (Rapier) | LOW-MEDIUM | `physics-` |\n| 11 | Leva (Debug GUI) | LOW | `leva-` |\n\n## Quick Reference\n\n### 1. Performance & Re-renders (CRITICAL)\n\n- `perf-never-set-state-in-useframe` - NEVER call setState in useFrame\n- `perf-isolate-state` - Isolate components that need React state\n- `perf-zustand-selectors` - Use Zustand selectors, not entire store\n- `perf-transient-subscriptions` - Use transient subscriptions for continuous values\n- `perf-memo-components` - Memoize expensive components\n- `perf-keys-for-lists` - Use stable keys for dynamic lists\n- `perf-avoid-inline-objects` - Avoid creating objects\u002Farrays in JSX\n- `perf-dispose-auto` - Understand R3F auto-dispose behavior\n- `perf-visibility-toggle` - Toggle visibility instead of remounting\n- `perf-r3f-perf` - Use r3f-perf for performance monitoring\n\n### 2. useFrame & Animation (CRITICAL)\n\n- `frame-priority` - Use priority for execution order\n- `frame-delta-time` - Always use delta for animations\n- `frame-conditional-subscription` - Disable useFrame when not needed\n- `frame-destructure-state` - Destructure only what you need\n- `frame-render-on-demand` - Use invalidate() for on-demand rendering\n- `frame-avoid-heavy-computation` - Move heavy work outside useFrame\n\n### 3. Component Patterns (HIGH)\n\n- `component-jsx-elements` - Use JSX for Three.js objects\n- `component-attach-prop` - Use attach for non-standard properties\n- `component-primitive` - Use primitive for existing objects\n- `component-extend` - Use extend() for custom classes\n- `component-forwardref` - Use forwardRef for reusable components\n- `component-dispose-null` - Set dispose={null} on shared resources\n\n### 4. Canvas & Setup (HIGH)\n\n- `canvas-size-container` - Canvas fills parent container\n- `canvas-camera-default` - Configure camera via prop\n- `canvas-gl-config` - Configure WebGL context\n- `canvas-shadows` - Enable shadows at Canvas level\n- `canvas-frameloop` - Choose appropriate frameloop mode\n- `canvas-events` - Configure event handling\n- `canvas-linear-flat` - Use linear\u002Fflat for correct colors\n\n### 5. Drei Helpers (MEDIUM-HIGH)\n\n- `drei-use-gltf` - useGLTF with preloading\n- `drei-use-texture` - useTexture for texture loading\n- `drei-environment` - Environment for realistic lighting\n- `drei-orbit-controls` - OrbitControls from Drei\n- `drei-html` - Html for DOM overlays\n- `drei-text` - Text for 3D text\n- `drei-instances` - Instances for optimized instancing\n- `drei-use-helper` - useHelper for debug visualization\n- `drei-bounds` - Bounds to fit camera\n- `drei-center` - Center to center objects\n- `drei-float` - Float for floating animation\n\n### 6. Loading & Suspense (MEDIUM-HIGH)\n\n- `loading-suspense` - Wrap async components in Suspense\n- `loading-preload` - Preload assets with useGLTF.preload\n- `loading-use-progress` - useProgress for loading UI\n- `loading-lazy-components` - Lazy load heavy components\n- `loading-error-boundary` - Handle loading errors\n\n### 7. State Management (MEDIUM)\n\n- `state-zustand-store` - Create focused Zustand stores\n- `state-avoid-objects-in-store` - Be careful with Three.js objects\n- `state-subscribeWithSelector` - Fine-grained subscriptions\n- `state-persist` - Persist state when needed\n- `state-separate-concerns` - Separate stores by concern\n\n### 8. Events & Interaction (MEDIUM)\n\n- `events-pointer-events` - Use pointer events on meshes\n- `events-stop-propagation` - Prevent event bubbling\n- `events-cursor-pointer` - Change cursor on hover\n- `events-raycast-filter` - Filter raycasting\n- `events-event-data` - Understand event data structure\n\n### 9. Post-processing (MEDIUM)\n\n- `postpro-effect-composer` - Use EffectComposer\n- `postpro-common-effects` - Common effects reference\n- `postpro-selective-bloom` - SelectiveBloom for optimized glow\n- `postpro-custom-shader` - Create custom effects\n- `postpro-performance` - Optimize post-processing\n\n### 10. Physics Rapier (LOW-MEDIUM)\n\n- `physics-setup` - Basic Rapier setup\n- `physics-body-types` - dynamic, fixed, kinematic\n- `physics-colliders` - Choose appropriate colliders\n- `physics-events` - Handle collision events\n- `physics-api-ref` - Use ref for physics API\n- `physics-performance` - Optimize physics\n\n### 11. Leva (LOW)\n\n- `leva-basic` - Basic Leva usage\n- `leva-folders` - Organize with folders\n- `leva-conditional` - Hide in production\n\n## How to Use\n\nRead individual rule files for detailed explanations and code examples:\n\n```\nrules\u002Fperf-never-set-state-in-useframe.md\nrules\u002Fdrei-use-gltf.md\nrules\u002Fstate-zustand-selectors.md\n```\n\n## Full Compiled Document\n\nFor the complete guide with all rules expanded: `..\u002FR3F_BEST_PRACTICES.md`\n\n## Critical Patterns\n\n### NEVER setState in useFrame\n\n```jsx\n\u002F\u002F BAD - 60 re-renders per second!\nfunction BadComponent() {\n  const [position, setPosition] = useState(0);\n  useFrame(() => {\n    setPosition(p => p + 0.01); \u002F\u002F NEVER DO THIS\n  });\n  return \u003Cmesh position-x={position} \u002F>;\n}\n\n\u002F\u002F GOOD - Mutate refs directly\nfunction GoodComponent() {\n  const meshRef = useRef();\n  useFrame(() => {\n    meshRef.current.position.x += 0.01;\n  });\n  return \u003Cmesh ref={meshRef} \u002F>;\n}\n```\n\n### Zustand Selectors\n\n```jsx\n\u002F\u002F BAD - Re-renders on ANY store change\nconst store = useGameStore();\n\n\u002F\u002F GOOD - Only re-renders when playerX changes\nconst playerX = useGameStore(state => state.playerX);\n\n\u002F\u002F BETTER - No re-renders, direct mutation\nuseFrame(() => {\n  const { value } = useStore.getState();\n  ref.current.position.x = value;\n});\n```\n\n### Drei useGLTF\n\n```jsx\nimport { useGLTF } from '@react-three\u002Fdrei';\n\nfunction Model() {\n  const { scene } = useGLTF('\u002Fmodel.glb');\n  return \u003Cprimitive object={scene} \u002F>;\n}\n\n\u002F\u002F Preload for instant loading\nuseGLTF.preload('\u002Fmodel.glb');\n```\n\n### Suspense Loading\n\n```jsx\nfunction App() {\n  return (\n    \u003CCanvas>\n      \u003CSuspense fallback={\u003CLoader \u002F>}>\n        \u003CModel \u002F>\n      \u003C\u002FSuspense>\n    \u003C\u002FCanvas>\n  );\n}\n```\n\n### r3f-perf Monitoring\n\n```jsx\nimport { Perf } from 'r3f-perf';\n\nfunction App() {\n  return (\n    \u003CCanvas>\n      \u003CPerf position=\"top-left\" \u002F>\n      \u003CScene \u002F>\n    \u003C\u002FCanvas>\n  );\n}\n```\n\n### Toggle Visibility (Not Remounting)\n\n```jsx\n\u002F\u002F BAD: Remounting destroys and recreates\n{showModel && \u003CModel \u002F>}\n\n\u002F\u002F GOOD: Toggle visibility, keeps instance alive\n\u003CModel visible={showModel} \u002F>\n```\n","# React Three Fiber Best Practices\n\nComprehensive guide for React Three Fiber and the Poimandres ecosystem. Contains 70+ rules across 12 categories, prioritized by impact.\n\n## Sources & Credits\n\n> Additional tips from [100 Three.js Tips](https:\u002F\u002Fwww.utsubo.com\u002Fblog\u002Fthreejs-best-practices-100-tips) by [Utsubo](https:\u002F\u002Fwww.utsubo.com)\n\n## When to Apply\n\nReference these guidelines when:\n- Writing new R3F components\n- Optimizing R3F performance (re-renders are the #1 issue)\n- Using Drei helpers correctly\n- Managing state with Zustand\n- Implementing post-processing or physics\n\n## Ecosystem Coverage\n\n- **@react-three\u002Ffiber** - React renderer for Three.js\n- **@react-three\u002Fdrei** - Useful helpers and abstractions\n- **@react-three\u002Fpostprocessing** - Post-processing effects\n- **@react-three\u002Frapier** - Physics engine\n- **zustand** - State management\n- **leva** - Debug GUI\n\n## Rule Categories by Priority\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|--------|--------|\n| 1 | Performance & Re-renders | CRITICAL | `perf-` |\n| 2 | useFrame & Animation | CRITICAL | `frame-` |\n| 3 | Component Patterns | HIGH | `component-` |\n| 4 | Canvas & Setup | HIGH | `canvas-` |\n| 5 | Drei Helpers | MEDIUM-HIGH | `drei-` |\n| 6 | Loading & Suspense | MEDIUM-HIGH | `loading-` |\n| 7 | State Management | MEDIUM | `state-` |\n| 8 | Events & Interaction | MEDIUM | `events-` |\n| 9 | Post-processing | MEDIUM | `postpro-` |\n| 10 | Physics (Rapier) | LOW-MEDIUM | `physics-` |\n| 11 | Leva (Debug GUI) | LOW | `leva-` |\n\n## Quick Reference\n\n### 1. Performance & Re-renders (CRITICAL)\n\n- `perf-never-set-state-in-useframe` - NEVER call setState in useFrame\n- `perf-isolate-state` - Isolate components that need React state\n- `perf-zustand-selectors` - Use Zustand selectors, not entire store\n- `perf-transient-subscriptions` - Use transient subscriptions for continuous values\n- `perf-memo-components` - Memoize expensive components\n- `perf-keys-for-lists` - Use stable keys for dynamic lists\n- `perf-avoid-inline-objects` - Avoid creating objects\u002Farrays in JSX\n- `perf-dispose-auto` - Understand R3F auto-dispose behavior\n- `perf-visibility-toggle` - Toggle visibility instead of remounting\n- `perf-r3f-perf` - Use r3f-perf for performance monitoring\n\n### 2. useFrame & Animation (CRITICAL)\n\n- `frame-priority` - Use priority for execution order\n- `frame-delta-time` - Always use delta for animations\n- `frame-conditional-subscription` - Disable useFrame when not needed\n- `frame-destructure-state` - Destructure only what you need\n- `frame-render-on-demand` - Use invalidate() for on-demand rendering\n- `frame-avoid-heavy-computation` - Move heavy work outside useFrame\n\n### 3. Component Patterns (HIGH)\n\n- `component-jsx-elements` - Use JSX for Three.js objects\n- `component-attach-prop` - Use attach for non-standard properties\n- `component-primitive` - Use primitive for existing objects\n- `component-extend` - Use extend() for custom classes\n- `component-forwardref` - Use forwardRef for reusable components\n- `component-dispose-null` - Set dispose={null} on shared resources\n\n### 4. Canvas & Setup (HIGH)\n\n- `canvas-size-container` - Canvas fills parent container\n- `canvas-camera-default` - Configure camera via prop\n- `canvas-gl-config` - Configure WebGL context\n- `canvas-shadows` - Enable shadows at Canvas level\n- `canvas-frameloop` - Choose appropriate frameloop mode\n- `canvas-events` - Configure event handling\n- `canvas-linear-flat` - Use linear\u002Fflat for correct colors\n\n### 5. Drei Helpers (MEDIUM-HIGH)\n\n- `drei-use-gltf` - useGLTF with preloading\n- `drei-use-texture` - useTexture for texture loading\n- `drei-environment` - Environment for realistic lighting\n- `drei-orbit-controls` - OrbitControls from Drei\n- `drei-html` - Html for DOM overlays\n- `drei-text` - Text for 3D text\n- `drei-instances` - Instances for optimized instancing\n- `drei-use-helper` - useHelper for debug visualization\n- `drei-bounds` - Bounds to fit camera\n- `drei-center` - Center to center objects\n- `drei-float` - Float for floating animation\n\n### 6. Loading & Suspense (MEDIUM-HIGH)\n\n- `loading-suspense` - Wrap async components in Suspense\n- `loading-preload` - Preload assets with useGLTF.preload\n- `loading-use-progress` - useProgress for loading UI\n- `loading-lazy-components` - Lazy load heavy components\n- `loading-error-boundary` - Handle loading errors\n\n### 7. State Management (MEDIUM)\n\n- `state-zustand-store` - Create focused Zustand stores\n- `state-avoid-objects-in-store` - Be careful with Three.js objects\n- `state-subscribeWithSelector` - Fine-grained subscriptions\n- `state-persist` - Persist state when needed\n- `state-separate-concerns` - Separate stores by concern\n\n### 8. Events & Interaction (MEDIUM)\n\n- `events-pointer-events` - Use pointer events on meshes\n- `events-stop-propagation` - Prevent event bubbling\n- `events-cursor-pointer` - Change cursor on hover\n- `events-raycast-filter` - Filter raycasting\n- `events-event-data` - Understand event data structure\n\n### 9. Post-processing (MEDIUM)\n\n- `postpro-effect-composer` - Use EffectComposer\n- `postpro-common-effects` - Common effects reference\n- `postpro-selective-bloom` - SelectiveBloom for optimized glow\n- `postpro-custom-shader` - Create custom effects\n- `postpro-performance` - Optimize post-processing\n\n### 10. Physics Rapier (LOW-MEDIUM)\n\n- `physics-setup` - Basic Rapier setup\n- `physics-body-types` - dynamic, fixed, kinematic\n- `physics-colliders` - Choose appropriate colliders\n- `physics-events` - Handle collision events\n- `physics-api-ref` - Use ref for physics API\n- `physics-performance` - Optimize physics\n\n### 11. Leva (LOW)\n\n- `leva-basic` - Basic Leva usage\n- `leva-folders` - Organize with folders\n- `leva-conditional` - Hide in production\n\n## How to Use\n\nRead individual rule files for detailed explanations and code examples:\n\n```\nrules\u002Fperf-never-set-state-in-useframe.md\nrules\u002Fdrei-use-gltf.md\nrules\u002Fstate-zustand-selectors.md\n```\n\n## Full Compiled Document\n\nFor the complete guide with all rules expanded: `..\u002FR3F_BEST_PRACTICES.md`\n\n## Critical Patterns\n\n### NEVER setState in useFrame\n\n```jsx\n\u002F\u002F BAD - 60 re-renders per second!\nfunction BadComponent() {\n  const [position, setPosition] = useState(0);\n  useFrame(() => {\n    setPosition(p => p + 0.01); \u002F\u002F NEVER DO THIS\n  });\n  return \u003Cmesh position-x={position} \u002F>;\n}\n\n\u002F\u002F GOOD - Mutate refs directly\nfunction GoodComponent() {\n  const meshRef = useRef();\n  useFrame(() => {\n    meshRef.current.position.x += 0.01;\n  });\n  return \u003Cmesh ref={meshRef} \u002F>;\n}\n```\n\n### Zustand Selectors\n\n```jsx\n\u002F\u002F BAD - Re-renders on ANY store change\nconst store = useGameStore();\n\n\u002F\u002F GOOD - Only re-renders when playerX changes\nconst playerX = useGameStore(state => state.playerX);\n\n\u002F\u002F BETTER - No re-renders, direct mutation\nuseFrame(() => {\n  const { value } = useStore.getState();\n  ref.current.position.x = value;\n});\n```\n\n### Drei useGLTF\n\n```jsx\nimport { useGLTF } from '@react-three\u002Fdrei';\n\nfunction Model() {\n  const { scene } = useGLTF('\u002Fmodel.glb');\n  return \u003Cprimitive object={scene} \u002F>;\n}\n\n\u002F\u002F Preload for instant loading\nuseGLTF.preload('\u002Fmodel.glb');\n```\n\n### Suspense Loading\n\n```jsx\nfunction App() {\n  return (\n    \u003CCanvas>\n      \u003CSuspense fallback={\u003CLoader \u002F>}>\n        \u003CModel \u002F>\n      \u003C\u002FSuspense>\n    \u003C\u002FCanvas>\n  );\n}\n```\n\n### r3f-perf Monitoring\n\n```jsx\nimport { Perf } from 'r3f-perf';\n\nfunction App() {\n  return (\n    \u003CCanvas>\n      \u003CPerf position=\"top-left\" \u002F>\n      \u003CScene \u002F>\n    \u003C\u002FCanvas>\n  );\n}\n```\n\n### Toggle Visibility (Not Remounting)\n\n```jsx\n\u002F\u002F BAD: Remounting destroys and recreates\n{showModel && \u003CModel \u002F>}\n\n\u002F\u002F GOOD: Toggle visibility, keeps instance alive\n\u003CModel visible={showModel} \u002F>\n```\n",{"name":5,"license":15,"metadata":24,"description":7},{"author":25,"version":26},"three-agent-skills","1.1.0","main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Femalorenzo-three-agent-skills\u002Fr3f-best-practices\u002Fskills\u002Fr3f-best-practices",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":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill r3f-best-practices",{"tool":41,"command":42},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill r3f-best-practices",{"tool":44,"command":45},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill r3f-best-practices","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Femalorenzo-three-agent-skills\u002Fr3f-best-practices\u002Fskills\u002Fr3f-best-practices\u002FSKILL.md",true,[],[50,57,62,69,74,81],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"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":58,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002FSkill.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"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},"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":70,"name":64,"nameZh":6,"description":65,"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},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\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},"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":82,"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":83,"categories":84,"keywords":85,"publishedAt":19},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]