[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AE4DCQZ7B8KQ7FFQFVWWA2":3,"skill-same:01M6AE4DCQZ7B8KQ7FFQFVWWA2":77},{"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":26,"publishedAt":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":52,"ownerHtmlUrl":53,"ownerBlogUrl":54,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M6AE4DCQZ7B8KQ7FFQFVWWA2","react19-test-patterns",null,"Provides before\u002Fafter patterns for migrating test files to React 19 compatibility, including act() imports, Simulate removal, and StrictMode call count changes.","github\u002Fawesome-copilot","github","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9919?v=4","01M6AC83DS133TPXFSP1DHNCC6","GitHub","01M6AD3PBDYPK7NVFJNJ66Y8RS",41162,"MIT","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Freact19-test-patterns\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发",[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"test","react19 test patterns","patterns","test patterns","react","files","compatibility","call","act","react 19","for","changes","imports","simulate","count","2026-11-10 10:12:30",false,"---\nname: react19-test-patterns\ndescription: 'Provides before\u002Fafter patterns for migrating test files to React 19 compatibility, including act() imports, Simulate removal, and StrictMode call count changes.'\n---\n\n# React 19 Test Migration Patterns\n\nReference for all test file migrations required by React 19.\n\n## Priority Order\n\nFix test files in this order; each layer depends on the previous:\n\n1. **`act` import**  fix first, it unblocks everything else\n2. **`Simulate` → `fireEvent`**  fix immediately after act\n3. **Full react-dom\u002Ftest-utils cleanup**  remove remaining imports\n4. **StrictMode call counts**  measure actual, don't guess\n5. **Async act wrapping**  for remaining \"not wrapped in act\" warnings\n6. **Custom render helper**  verify once per codebase, not per test\n\n---\n\n## 1. act() Import Fix\n\n```jsx\n\u002F\u002F Before  REMOVED in React 19:\nimport { act } from 'react-dom\u002Ftest-utils';\n\n\u002F\u002F After:\nimport { act } from 'react';\n```\n\nIf mixed with other test-utils imports:\n```jsx\n\u002F\u002F Before:\nimport { act, Simulate, renderIntoDocument } from 'react-dom\u002Ftest-utils';\n\n\u002F\u002F After  split the imports:\nimport { act } from 'react';\nimport { fireEvent, render } from '@testing-library\u002Freact'; \u002F\u002F replaces Simulate + renderIntoDocument\n```\n\n---\n\n## 2. Simulate → fireEvent\n\n```jsx\n\u002F\u002F Before  Simulate REMOVED in React 19:\nimport { Simulate } from 'react-dom\u002Ftest-utils';\nSimulate.click(element);\nSimulate.change(input, { target: { value: 'hello' } });\nSimulate.submit(form);\nSimulate.keyDown(element, { key: 'Enter', keyCode: 13 });\n\n\u002F\u002F After:\nimport { fireEvent } from '@testing-library\u002Freact';\nfireEvent.click(element);\nfireEvent.change(input, { target: { value: 'hello' } });\nfireEvent.submit(form);\nfireEvent.keyDown(element, { key: 'Enter', keyCode: 13 });\n```\n\n---\n\n## 3. react-dom\u002Ftest-utils Full API Map\n\n| Old (react-dom\u002Ftest-utils) | New location |\n|---|---|\n| `act` | `import { act } from 'react'` |\n| `Simulate` | `fireEvent` from `@testing-library\u002Freact` |\n| `renderIntoDocument` | `render` from `@testing-library\u002Freact` |\n| `findRenderedDOMComponentWithTag` | `getByRole`, `getByTestId` from RTL |\n| `findRenderedDOMComponentWithClass` | `getByRole` or `container.querySelector` |\n| `scryRenderedDOMComponentsWithTag` | `getAllByRole` from RTL |\n| `isElement`, `isCompositeComponent` | Remove  not needed with RTL |\n| `isDOMComponent` | Remove |\n\n---\n\n## 4. StrictMode Call Count Fixes\n\nReact 19 StrictMode no longer double-invokes `useEffect` in development. Spy assertions counting effect calls must be updated.\n\n**Strategy  always measure, never guess:**\n```bash\n# Run the failing test, read the actual count from the error:\nnpm test -- --watchAll=false --testPathPattern=\"[filename]\" --forceExit 2>&1 | grep -E \"Expected|Received\"\n```\n\n```jsx\n\u002F\u002F Before (React 18 StrictMode  effects ran twice):\nexpect(mockFn).toHaveBeenCalledTimes(2);  \u002F\u002F 1 call × 2 (strict double-invoke)\n\n\u002F\u002F After (React 19 StrictMode  effects run once):\nexpect(mockFn).toHaveBeenCalledTimes(1);\n```\n\n```jsx\n\u002F\u002F Render-phase calls (component body)  still double-invoked in React 19 StrictMode:\nexpect(renderSpy).toHaveBeenCalledTimes(2);  \u002F\u002F stays at 2 for render body calls\n```\n","# React 19 Test Migration Patterns\n\nReference for all test file migrations required by React 19.\n\n## Priority Order\n\nFix test files in this order; each layer depends on the previous:\n\n1. **`act` import**  fix first, it unblocks everything else\n2. **`Simulate` → `fireEvent`**  fix immediately after act\n3. **Full react-dom\u002Ftest-utils cleanup**  remove remaining imports\n4. **StrictMode call counts**  measure actual, don't guess\n5. **Async act wrapping**  for remaining \"not wrapped in act\" warnings\n6. **Custom render helper**  verify once per codebase, not per test\n\n---\n\n## 1. act() Import Fix\n\n```jsx\n\u002F\u002F Before  REMOVED in React 19:\nimport { act } from 'react-dom\u002Ftest-utils';\n\n\u002F\u002F After:\nimport { act } from 'react';\n```\n\nIf mixed with other test-utils imports:\n```jsx\n\u002F\u002F Before:\nimport { act, Simulate, renderIntoDocument } from 'react-dom\u002Ftest-utils';\n\n\u002F\u002F After  split the imports:\nimport { act } from 'react';\nimport { fireEvent, render } from '@testing-library\u002Freact'; \u002F\u002F replaces Simulate + renderIntoDocument\n```\n\n---\n\n## 2. Simulate → fireEvent\n\n```jsx\n\u002F\u002F Before  Simulate REMOVED in React 19:\nimport { Simulate } from 'react-dom\u002Ftest-utils';\nSimulate.click(element);\nSimulate.change(input, { target: { value: 'hello' } });\nSimulate.submit(form);\nSimulate.keyDown(element, { key: 'Enter', keyCode: 13 });\n\n\u002F\u002F After:\nimport { fireEvent } from '@testing-library\u002Freact';\nfireEvent.click(element);\nfireEvent.change(input, { target: { value: 'hello' } });\nfireEvent.submit(form);\nfireEvent.keyDown(element, { key: 'Enter', keyCode: 13 });\n```\n\n---\n\n## 3. react-dom\u002Ftest-utils Full API Map\n\n| Old (react-dom\u002Ftest-utils) | New location |\n|---|---|\n| `act` | `import { act } from 'react'` |\n| `Simulate` | `fireEvent` from `@testing-library\u002Freact` |\n| `renderIntoDocument` | `render` from `@testing-library\u002Freact` |\n| `findRenderedDOMComponentWithTag` | `getByRole`, `getByTestId` from RTL |\n| `findRenderedDOMComponentWithClass` | `getByRole` or `container.querySelector` |\n| `scryRenderedDOMComponentsWithTag` | `getAllByRole` from RTL |\n| `isElement`, `isCompositeComponent` | Remove  not needed with RTL |\n| `isDOMComponent` | Remove |\n\n---\n\n## 4. StrictMode Call Count Fixes\n\nReact 19 StrictMode no longer double-invokes `useEffect` in development. Spy assertions counting effect calls must be updated.\n\n**Strategy  always measure, never guess:**\n```bash\n# Run the failing test, read the actual count from the error:\nnpm test -- --watchAll=false --testPathPattern=\"[filename]\" --forceExit 2>&1 | grep -E \"Expected|Received\"\n```\n\n```jsx\n\u002F\u002F Before (React 18 StrictMode  effects ran twice):\nexpect(mockFn).toHaveBeenCalledTimes(2);  \u002F\u002F 1 call × 2 (strict double-invoke)\n\n\u002F\u002F After (React 19 StrictMode  effects run once):\nexpect(mockFn).toHaveBeenCalledTimes(1);\n```\n\n```jsx\n\u002F\u002F Render-phase calls (component body)  still double-invoked in React 19 StrictMode:\nexpect(renderSpy).toHaveBeenCalledTimes(2);  \u002F\u002F stays at 2 for render body calls\n```\n",{"name":5,"description":7},"main","5269f7ea2d6c3a9bfda5ed878b6726cf509121fd","skills\u002Freact19-test-patterns",5360,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot","https:\u002F\u002Fawesome-copilot.github.com\u002F","https:\u002F\u002Fgithub.com\u002Fgithub","https:\u002F\u002Fgithub.com\u002Fabout","How people build software.","2026-11-15 04:42:30",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add github\u002Fawesome-copilot --skill react19-test-patterns",{"tool":63,"command":64},"bunx","bunx skills add github\u002Fawesome-copilot --skill react19-test-patterns",{"tool":66,"command":67},"pnpm","pnpm dlx skills add github\u002Fawesome-copilot --skill react19-test-patterns","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Freact19-test-patterns\u002FSKILL.md",true,[71],{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"agents\u002Fopenai.yaml","REFERENCE","参考文档",197,"https:\u002F\u002Fgithub.com\u002Falexjercan\u002Fnix.dotfiles\u002Fblob\u002Fmaster\u002F.agents\u002Fskills\u002Fpair\u002Fagents\u002Fopenai.yaml",[78,86,93,103,134,161],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":85},"01M7B5D8BRA66G07045DF7WDYA","sap-cloud-integration","SAP Cloud Integration (CPI, part of SAP Integration Suite) runtime-specific guidance for building and troubleshooting iFlows. Use when writing or reviewing CPI Groovy scripts, choosing headers vs. exchange properties, designing exception subprocesses, JMS retry, idempotency or data store patterns, or diagnosing adapter errors (SFTP, HTTP\u002FOAuth, SOAP, IDoc, OData, AS2, Cloud Connector) from Message Processing Log (MPL) text. Not for SAP PI\u002FPO, ABAP development, or generic Java\u002FGroovy outside CPI.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fsap-cloud-integration\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":87,"name":88,"nameZh":6,"description":89,"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":85},"01M7B5CYRGSG571NH7EJWT5066","on-device-delegate","Saves cloud-model context by briefing one bounded, read-heavy sub-task (more than about 25 KB of prose, or many files that no single command can answer) to the local-coding plugin's on-device worker, which runs on the local MAI Code 1.1 Flash model. Use for log and test triage, summarizing many files, or extracting facts from large inputs. When the user names this skill, call the skill tool in the same response as your first other tool call, never as a separate step.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fon-device-delegate\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":97,"licenseFileUrl":98,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":102},"01M74CBQ0M3ZKGQH8XKQZ2FHB1","scout-issue","Use when a developer wants to find the best GitHub issues to contribute to in a repository. Invoke with \u002Fscout-issue or ask to find good first issues, beginner-friendly issues, or open source work. Asks about experience level, technical skills, time, and contribution type, then searches GitHub issues, scores them, and presents ranked recommendations with match analysis.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fscout-issue\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fscout-issue\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":113,"publishedAt":42},"01M70KXZNX9ES38N2A8M58ZZMZ","supabase-rls-policies","Write, review, and test Supabase Row Level Security (RLS) policies so that one user cannot read or change another user's rows. Use when creating or changing tables, policies, views, or security definer functions in a Supabase project, when reviewing a migration that touches RLS, or when asked to prove user isolation with pgTAP tests that sign in as two users.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fsupabase-rls-policies\u002FSKILL.md",[109,110],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":111,"categoryName":112,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133],"supabase rls policies","supabase rls","supabase","rls","project","with","when","review","change","read","write","security","isolation","tables","as","tests","prove","use","users","functions",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":141,"publishedAt":42},"01M70KWA5YWXDV6V8DZ19E3T2Y","skill-distribution-audit","Audit a skill collection before release or investigate installer omissions, archived\u002Ftemplate leakage, duplicate identities, and manifest drift. Reconcile the intended public source set, distribution manifest, and actual discovery output for a specified consumer version. Includes a deterministic set-comparison helper.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Fskill-distribution-audit\u002FSKILL.md",[140],{"categoryNo":111,"categoryName":112,"taxonomyType":21,"taxonomyTypeDesc":22},[142,143,144,145,146,147,148,149,150,151,152,153,154,37,155,156,157,158,159,160],"distribution","skill distribution audit","audit","output","reconcile","release","template","duplicate","investigate","drift","SET","deterministic","installer","discovery","comparison","helper","manifest","version","collection",{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":165,"sourceHtmlUrl":166,"categories":167,"keywords":173,"publishedAt":42},"01M70KCJPFVW7PPQ49CC5R8JGK","logicapps-custom-code-net10-migration","Migrate Azure Logic Apps Standard local-function custom-code projects from .NET 8 to .NET 10. Use for legacy Logic Apps custom-code workspace upgrades, project\u002Fpackage configuration, custom-worker settings, publication, and integrated VS Code debugging. Not for ordinary .NET applications, standalone Azure Functions, Consumption workflows, or cloud deployment.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Flogicapps-custom-code-net10-migration\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fawesome-copilot\u002Fblob\u002Fmain\u002Fskills\u002Flogicapps-custom-code-net10-migration\u002FSKILL.md",[168],{"categoryNo":169,"categoryName":170,"taxonomyType":171,"taxonomyTypeDesc":172},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[174,175,176,177,178,179,180,37,118,181,182,183,184,185,186,187,131,188,189,190],"code","logicapps custom code net10 migration","migration","custom","Legacy","projects","standalone","deployment","applications","local","azure","worker","upgrades","package","apps","debugging","workflows"]