[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69BNGV4V8JGDK3J90WSBND6":3,"skill-same:01M69BNGV4V8JGDK3J90WSBND6":62},{"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":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":43,"ownerHtmlUrl":44,"ownerBlogUrl":45,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M69BNGV4V8JGDK3J90WSBND6","agentic-component-optimization",null,"Analyze and optimize packages\u002Fagentic\u002Fcomponents as a whole when repeated patterns, dependency direction, or extraction boundaries cross components.","microsoft\u002Ffluentui-react-native","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69BN96X1NXK8GBAFVRMVHSF",1447,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ffluentui-react-native\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fagentic-component-optimization\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32],"agentic","component","agentic component optimization","Optimization","components","packages","extraction","analyze","dependency","patterns","optimize","as","direction","when","2026-11-10 10:12:30",false,"---\nname: agentic-component-optimization\ndescription: Analyze and optimize packages\u002Fagentic\u002Fcomponents as a whole when repeated patterns, dependency direction, or extraction boundaries cross components.\nlicense: MIT\n---\n\n# Agentic component optimization\n\nUse this skill when a change is about the package as a system, not a single component fix. It helps decide whether repeated code\nbelongs in `src\u002Fcommon`, `@fluentui-react-native\u002Fframework-base`, or `@fluentui-react-native\u002Fdesign\u002Fstyling`, and whether a\nprimitive or helper should exist at all.\n\n## Read first\n\n1. Read the [package instructions](..\u002F..\u002F..\u002Fpackages\u002Fagentic\u002Fcomponents\u002FAGENTS.md) and the\n   [source boundaries reference](..\u002F..\u002F..\u002Fpackages\u002Fagentic\u002Fcomponents\u002Freferences\u002Fsource-boundaries.md).\n2. Read the [higher-order component](..\u002F..\u002F..\u002Fpackages\u002Fagentic\u002Fcomponents\u002Freferences\u002Fhigher-order-components.md) or\n   [primitive](..\u002F..\u002F..\u002Fpackages\u002Fagentic\u002Fcomponents\u002Freferences\u002Fprimitives.md) reference and the colocated `SPEC.md` or\n   `CONTRACT.md` files for the affected area.\n3. Inspect the canonical implementations:\n   `packages\u002Fagentic\u002Fcomponents\u002Fsrc\u002Fcomponents\u002Fbutton` and `packages\u002Fagentic\u002Fcomponents\u002Fsrc\u002Fprimitives\u002Ficon`.\n\n## Audit checklist\n\n### 1. Dependency direction\n\nApply the [source boundaries](..\u002F..\u002F..\u002Fpackages\u002Fagentic\u002Fcomponents\u002Freferences\u002Fsource-boundaries.md#source-boundaries): production\ndependencies, where generalizable hooks and styling helpers belong, and what stays in `src\u002Fcommon`.\n\n### 2. Repetition and ownership\n\nLook for repeated:\n\n- types and discriminated unions\n- constants and default tables\n- state routines and prop normalization\n- slot wiring or subtree assembly\n- primitive behaviors or structural contracts\n\nPrefer extraction only when the repeated shape is stable and shared across multiple components.\n\n### 3. Validate extraction payoff\n\nBefore extracting, confirm that the change:\n\n- reduces repeated logic without widening public APIs\n- preserves component-qualified exports and call sites\n- improves dependency direction instead of hiding it\n- keeps the resulting abstraction smaller than the duplication it replaces\n\n### 4. Do-not-extract criteria\n\nDo not extract when the code is:\n\n- one-off component behavior\n- a styling decision that belongs in the owning component\n- a public prop contract or display-specific variant\n- a thin wrapper around a single native element\n- easier to read in place than through another helper\n\n## Output\n\nReturn a short recommendation with:\n\n- what to keep local\n- what to move to shared package\u002Fcommon code\n- whether the extraction is worth doing now\n- any public API or dependency risks\n\nIf the work is just a tiny component edit, stop at the component instructions and do not run a whole-package audit.\n","# Agentic component optimization\n\nUse this skill when a change is about the package as a system, not a single component fix. It helps decide whether repeated code\nbelongs in `src\u002Fcommon`, `@fluentui-react-native\u002Fframework-base`, or `@fluentui-react-native\u002Fdesign\u002Fstyling`, and whether a\nprimitive or helper should exist at all.\n\n## Read first\n\n1. Read the [package instructions](..\u002F..\u002F..\u002Fpackages\u002Fagentic\u002Fcomponents\u002FAGENTS.md) and the\n   [source boundaries reference](..\u002F..\u002F..\u002Fpackages\u002Fagentic\u002Fcomponents\u002Freferences\u002Fsource-boundaries.md).\n2. Read the [higher-order component](..\u002F..\u002F..\u002Fpackages\u002Fagentic\u002Fcomponents\u002Freferences\u002Fhigher-order-components.md) or\n   [primitive](..\u002F..\u002F..\u002Fpackages\u002Fagentic\u002Fcomponents\u002Freferences\u002Fprimitives.md) reference and the colocated `SPEC.md` or\n   `CONTRACT.md` files for the affected area.\n3. Inspect the canonical implementations:\n   `packages\u002Fagentic\u002Fcomponents\u002Fsrc\u002Fcomponents\u002Fbutton` and `packages\u002Fagentic\u002Fcomponents\u002Fsrc\u002Fprimitives\u002Ficon`.\n\n## Audit checklist\n\n### 1. Dependency direction\n\nApply the [source boundaries](..\u002F..\u002F..\u002Fpackages\u002Fagentic\u002Fcomponents\u002Freferences\u002Fsource-boundaries.md#source-boundaries): production\ndependencies, where generalizable hooks and styling helpers belong, and what stays in `src\u002Fcommon`.\n\n### 2. Repetition and ownership\n\nLook for repeated:\n\n- types and discriminated unions\n- constants and default tables\n- state routines and prop normalization\n- slot wiring or subtree assembly\n- primitive behaviors or structural contracts\n\nPrefer extraction only when the repeated shape is stable and shared across multiple components.\n\n### 3. Validate extraction payoff\n\nBefore extracting, confirm that the change:\n\n- reduces repeated logic without widening public APIs\n- preserves component-qualified exports and call sites\n- improves dependency direction instead of hiding it\n- keeps the resulting abstraction smaller than the duplication it replaces\n\n### 4. Do-not-extract criteria\n\nDo not extract when the code is:\n\n- one-off component behavior\n- a styling decision that belongs in the owning component\n- a public prop contract or display-specific variant\n- a thin wrapper around a single native element\n- easier to read in place than through another helper\n\n## Output\n\nReturn a short recommendation with:\n\n- what to keep local\n- what to move to shared package\u002Fcommon code\n- whether the extraction is worth doing now\n- any public API or dependency risks\n\nIf the work is just a tiny component edit, stop at the component instructions and do not run a whole-package audit.\n",{"name":5,"license":15,"description":7},"main","b13da50b9dd7ea8dba8401402deb12e9ca0ad30f",".github\u002Fskills\u002Fagentic-component-optimization",179,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ffluentui-react-native","https:\u002F\u002Fdeveloper.microsoft.com\u002Ffluentui","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-14 16:51:14",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add microsoft\u002Ffluentui-react-native --skill agentic-component-optimization",{"tool":54,"command":55},"bunx","bunx skills add microsoft\u002Ffluentui-react-native --skill agentic-component-optimization",{"tool":57,"command":58},"pnpm","pnpm dlx skills add microsoft\u002Ffluentui-react-native --skill agentic-component-optimization","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ffluentui-react-native\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fagentic-component-optimization\u002FSKILL.md",true,[],[63,87,109,136,153,173],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":33},"01M69BNY903X0VV646DQZS6P4J","review-component","Review component code or changes of any generation (v0, v1, agentic, primitive, or native-backed) without editing files. Classifies each changed surface, applies the matching checklists and native overlay, and reports evidence-backed findings with validation status.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ffluentui-react-native\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Freview-component\u002FSKILL.md",[],[20,70,71,72,19,73,74,75,76,77,78,79,80,81,82,83,84,85,86],"review component","review","status","code","validation","reports","with","evidence","changes","native","generation","overlay","editing","matching","files","v0","v1",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":33},"01M69BNW72SEHXZQQ4DJ8GKCYR","maintain-v0-v1-component","Fix or maintain existing v0 (foundation-compose) or v1 (framework compose\u002Fcompressible) components, including their platform variants. Classifies the generation first and loads only its recipe. Not for new components, agentic components, read-only reviews, or native-only changes.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ffluentui-react-native\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fmaintain-v0-v1-component\u002FSKILL.md",[],[20,94,95,86,85,19,23,96,97,98,99,100,101,102,103,104,105,106,107,108],"maintain v0 v1 component","maintain","reviews","compose","platform","for","read-only","fix","variants","only","new","recipe","loads","Existing","foundation",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":120,"publishedAt":33},"01M69BNT7KCPA7Y64K6AXA79N6","maintain-desktop-testing","Change, review, or plan source changes to desktop-driver, desktop-test, storybook-desktop, or storybook-desktop-runtime, including native helpers. Applies package invariants, documentation, native and consumer validation, and changesets.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ffluentui-react-native\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fmaintain-desktop-testing\u002FSKILL.md",[115],{"categoryNo":116,"categoryName":117,"taxonomyType":118,"taxonomyTypeDesc":119},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[121,122,123,124,95,125,126,127,128,71,74,129,78,130,79,131,132,133,134,135],"maintain desktop testing","desktop","desktop testing","testing","documentation","test","change","storybook","plan","changesets","runtime","invariants","package","source","driver",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":33},"01M69BNR5C5ACXQY538G9DCGD1","implement-native-component","Implement or change native components, TurboModules, native services, codegen specs, or native-backed platform wrappers (Swift, Objective-C, C++\u002FWinRT, podspecs, Windows projects). Also supplies the native overlay checklist for v0, v1, and agentic work. Not for Storybook toolchain failures.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ffluentui-react-native\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fimplement-native-component\u002FSKILL.md",[],[143,20,144,79,145,127,128,19,23,146,147,148,149,150,151,98,81,99,152,85,86],"implement native component","implement","windows","swift","projects","work","services","toolchain","c++","checklist",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":33},"01M69BNPQ62YVE7KNX7JF29C5S","fix-security-issues","Audit and remediate dependency security advisories while respecting package age policy, removing unused vulnerable capabilities, deduplicating Yarn resolutions, and validating affected tooling.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ffluentui-react-native\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Ffix-security-issues\u002FSKILL.md",[],[160,161,101,162,163,164,165,166,167,27,168,169,133,170,171,172],"security","fix security issues","issues","yarn","policy","age","affected","audit","tooling","dependency security","unused","remediate","capabilities",{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":180,"publishedAt":33},"01M69BNMNB2Y7QX76S8P4M69B7","desktop-testing","Configure, run, or troubleshoot native desktop tests using desktop-test, desktop-driver, and storybook-desktop, including app targets and suites, helpers, permissions, WDIO suites, Storybook story tests and smoke runs, reports, and CI. Not for package source changes or the Storybook app build toolchain.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ffluentui-react-native\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fdesktop-testing\u002FSKILL.md",[179],{"categoryNo":116,"categoryName":117,"taxonomyType":118,"taxonomyTypeDesc":119},[122,123,124,126,181,182,183,150,99,184,185,133,186,75,187,188,78,189,79,190],"run","app","smoke","ci","tests","configure","permissions","storybook story","targets","build"]