[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-dotnet-maui-performance":3,"mdc-chmbfp-key":46,"related-org-dotnet-maui-performance":661,"related-repo-dotnet-maui-performance":824},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":41,"sourceUrl":44,"mdContent":45},"maui-performance","optimize .NET MAUI application performance","Fix measurable .NET MAUI performance issues: accurate startup profiling with `maui profile startup` using Release builds and physical devices, janky CollectionView scrolling, compiled bindings, oversized images, and trim\u002FNativeAOT regressions. USE FOR: Debug\u002Femulator profiling mistakes, Release physical-device startup measurements, CollectionView nested ScrollView issues, x:DataType, shallow templates, MauiImage BaseSize, remote\u002Fgallery image thumbnails, 4000px decode memory, IL2026, NoWarn traps, source-generated serializers, DynamicDependency, linker descriptors, publish-build validation, and before\u002Fafter measurement. DO NOT USE FOR: generic UI bugs, workload discovery, or architecture-only work.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"dotnet",".NET (Microsoft)","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fdotnet.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Performance","performance","tag",{"name":17,"slug":18,"type":15},"MAUI","maui",{"name":20,"slug":21,"type":15},".NET","net",{"name":23,"slug":24,"type":15},"Mobile","mobile",190,"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fmaui-labs","2026-07-12T08:22:40.038031",null,21,[31,32,33,8,34,35,18,36,37,24,38,39,40],"ai","android","desktop","ios","maccatalyst","mcp","microsoft","multi-platform","user-interface","winui",{"repoUrl":26,"stars":25,"forks":29,"topics":42,"description":43},[31,32,33,8,34,35,18,36,37,24,38,39,40],"Experimental and pre-release tools for .NET MAUI","https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fmaui-labs\u002Ftree\u002FHEAD\u002Fplugins\u002Fdotnet-maui-app\u002Fskills\u002Fmaui-performance","---\nname: maui-performance\ndescription: >-\n  Fix measurable .NET MAUI performance issues: accurate startup profiling with `maui profile startup` using Release builds and physical devices, janky CollectionView scrolling, compiled bindings, oversized images, and trim\u002FNativeAOT regressions. USE FOR: Debug\u002Femulator profiling mistakes, Release physical-device startup measurements, CollectionView nested ScrollView issues, x:DataType, shallow templates, MauiImage BaseSize, remote\u002Fgallery image thumbnails, 4000px decode memory, IL2026, NoWarn traps, source-generated serializers, DynamicDependency, linker descriptors, publish-build validation, and before\u002Fafter measurement. DO NOT USE FOR: generic UI bugs, workload discovery, or architecture-only work.\n---\n\n# MAUI Performance\n\nUse this skill when the user reports a measurable performance symptom or asks\nfor a performance review. Measure first, then change the smallest thing that can\nexplain the symptom.\n\n## Workflow\n\n1. Identify the symptom: startup, first page render, scrolling, navigation,\n   memory, image loading, or network-bound delays.\n2. Inspect target frameworks and configuration. Prefer Release builds for\n   meaningful startup and runtime measurements.\n3. For startup, use the MAUI CLI profiling surface:\n\n   ```bash\n   maui profile startup --help\n   ```\n\n   Then run the target app with the appropriate platform\u002Fdevice options.\n4. For UI runtime issues, inspect visual tree depth and logs when DevFlow is\n   available.\n5. Apply targeted fixes and re-measure.\n\n## High-Value Fix Areas\n\n| Symptom | Check |\n| --- | --- |\n| Slow startup | Startup profile, excessive work in `MauiProgram`, synchronous I\u002FO, eager service construction, font\u002Fimage count |\n| Slow bindings | Missing `x:DataType`, reflection-heavy bindings, converters doing expensive work |\n| Janky lists | `CollectionView` inside `ScrollView`, complex templates, missing item sizing strategy, image decode size |\n| Layout cost | Deep nested layouts, unnecessary `Grid` nesting, repeated measure invalidations |\n| Image memory | Oversized source images, missing MAUI image resizing, unbounded remote image caching |\n| Release regression | Debug-only diagnostics leaking into Release, linker\u002Ftrimming differences |\n\n## Image Memory Guidance\n\nA 4000×4000 RGBA PNG decodes to ~64 MB in memory regardless of how small it\nappears on screen. A 200×200 display-sized image decodes to ~160 KB — 400×\nless memory. Apply these changes when large images cause scrolling or memory\nissues:\n\n1. Resize images to display size before adding to the project.\n2. Use the `MauiImage` build action in `.csproj` with `BaseSize` for automatic\n   platform-specific resizing:\n   ```xml\n   \u003CMauiImage Include=\"Resources\u002FImages\u002F*.png\" BaseSize=\"400,400\" \u002F>\n   ```\n3. Decode images to display size at runtime when loading from remote URLs.\n   `BaseSize` only applies to packaged build-time image resources; it does not\n   resize downloaded, camera, gallery, or user-imported images.\n4. Use WebP or SVG for icons and logos that need to scale.\n5. For list rows, generate or download thumbnails — never decode 4000 × 4000\n   images inside a `CollectionView` item template.\n\n\n\n- Do not wrap `CollectionView` in `ScrollView`.\n- Keep item templates shallow and use compiled bindings.\n- Prefer fixed or predictable item sizing when possible.\n- Load thumbnails sized for display, not full-resolution images.\n- Avoid expensive work in property getters used by item templates.\n\n## Startup Guardrails\n\n- Avoid network calls and file scans during app construction.\n- Register services lazily when possible; do not instantiate heavy services just\n  to register them.\n- Defer non-critical initialization until after the first page is visible.\n- Keep debug-only logging and DevFlow setup behind `#if DEBUG`.\n\n## Trimming and NativeAOT Guardrails\n\n- Treat trim and NativeAOT issues as publish-build issues, not Debug-build\n  issues. Reproduce with the same publish properties used by the app.\n- Do not silence trim warnings blindly. Warnings such as IL2026 indicate code\n  that may not be safe when members are removed.\n- Prefer source-generated serializers and explicit registrations over reflection\n  discovery for app models and services used in trimmed builds.\n- When reflection is required, keep the dependency explicit with attributes such\n  as `DynamicDependency` or a linker descriptor, and document why it is needed.\n- Test startup and the affected feature after publish; a successful Debug run is\n  not evidence that trimming or NativeAOT is safe.\n\nFor System.Text.Json in trimmed or NativeAOT builds, move startup JSON paths to\na source-generated context:\n\n```csharp\n[JsonSerializable(typeof(List\u003CProduct>))]\ninternal partial class AppJsonContext : JsonSerializerContext\n{\n}\n\nvar products = JsonSerializer.Deserialize(\n    json,\n    AppJsonContext.Default.ListProduct);\n```\n\nKeep the context near app models or serialization infrastructure and add every\nserialized DTO shape used by the startup path. Do not hide IL2026 with broad\nwarning suppressions when a source-generated serializer can make the dependency\nexplicit.\n\n## Validation Checklist\n\n- There is a before\u002Fafter measurement or a clear reason measurement is blocked.\n- Startup investigations use `maui profile startup` when applicable.\n- Binding-heavy pages use `x:DataType`.\n- Lists avoid nested scrolling and oversized images.\n- Trim\u002FNativeAOT changes are validated with a publish build when applicable.\n- Performance fixes do not remove accessibility metadata or automation hooks.\n",{"data":47,"body":48},{"name":4,"description":6},{"type":49,"children":50},"root",[51,59,65,72,147,153,297,303,308,390,433,439,469,475,511,516,597,602,608,655],{"type":52,"tag":53,"props":54,"children":55},"element","h1",{"id":4},[56],{"type":57,"value":58},"text","MAUI Performance",{"type":52,"tag":60,"props":61,"children":62},"p",{},[63],{"type":57,"value":64},"Use this skill when the user reports a measurable performance symptom or asks\nfor a performance review. Measure first, then change the smallest thing that can\nexplain the symptom.",{"type":52,"tag":66,"props":67,"children":69},"h2",{"id":68},"workflow",[70],{"type":57,"value":71},"Workflow",{"type":52,"tag":73,"props":74,"children":75},"ol",{},[76,82,87,137,142],{"type":52,"tag":77,"props":78,"children":79},"li",{},[80],{"type":57,"value":81},"Identify the symptom: startup, first page render, scrolling, navigation,\nmemory, image loading, or network-bound delays.",{"type":52,"tag":77,"props":83,"children":84},{},[85],{"type":57,"value":86},"Inspect target frameworks and configuration. Prefer Release builds for\nmeaningful startup and runtime measurements.",{"type":52,"tag":77,"props":88,"children":89},{},[90,92,131,135],{"type":57,"value":91},"For startup, use the MAUI CLI profiling surface:",{"type":52,"tag":93,"props":94,"children":99},"pre",{"className":95,"code":96,"language":97,"meta":98,"style":98},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","maui profile startup --help\n","bash","",[100],{"type":52,"tag":101,"props":102,"children":103},"code",{"__ignoreMap":98},[104],{"type":52,"tag":105,"props":106,"children":109},"span",{"class":107,"line":108},"line",1,[110,115,121,126],{"type":52,"tag":105,"props":111,"children":113},{"style":112},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[114],{"type":57,"value":18},{"type":52,"tag":105,"props":116,"children":118},{"style":117},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[119],{"type":57,"value":120}," profile",{"type":52,"tag":105,"props":122,"children":123},{"style":117},[124],{"type":57,"value":125}," startup",{"type":52,"tag":105,"props":127,"children":128},{"style":117},[129],{"type":57,"value":130}," --help\n",{"type":52,"tag":132,"props":133,"children":134},"br",{},[],{"type":57,"value":136},"Then run the target app with the appropriate platform\u002Fdevice options.",{"type":52,"tag":77,"props":138,"children":139},{},[140],{"type":57,"value":141},"For UI runtime issues, inspect visual tree depth and logs when DevFlow is\navailable.",{"type":52,"tag":77,"props":143,"children":144},{},[145],{"type":57,"value":146},"Apply targeted fixes and re-measure.",{"type":52,"tag":66,"props":148,"children":150},{"id":149},"high-value-fix-areas",[151],{"type":57,"value":152},"High-Value Fix Areas",{"type":52,"tag":154,"props":155,"children":156},"table",{},[157,176],{"type":52,"tag":158,"props":159,"children":160},"thead",{},[161],{"type":52,"tag":162,"props":163,"children":164},"tr",{},[165,171],{"type":52,"tag":166,"props":167,"children":168},"th",{},[169],{"type":57,"value":170},"Symptom",{"type":52,"tag":166,"props":172,"children":173},{},[174],{"type":57,"value":175},"Check",{"type":52,"tag":177,"props":178,"children":179},"tbody",{},[180,202,223,250,271,284],{"type":52,"tag":162,"props":181,"children":182},{},[183,189],{"type":52,"tag":184,"props":185,"children":186},"td",{},[187],{"type":57,"value":188},"Slow startup",{"type":52,"tag":184,"props":190,"children":191},{},[192,194,200],{"type":57,"value":193},"Startup profile, excessive work in ",{"type":52,"tag":101,"props":195,"children":197},{"className":196},[],[198],{"type":57,"value":199},"MauiProgram",{"type":57,"value":201},", synchronous I\u002FO, eager service construction, font\u002Fimage count",{"type":52,"tag":162,"props":203,"children":204},{},[205,210],{"type":52,"tag":184,"props":206,"children":207},{},[208],{"type":57,"value":209},"Slow bindings",{"type":52,"tag":184,"props":211,"children":212},{},[213,215,221],{"type":57,"value":214},"Missing ",{"type":52,"tag":101,"props":216,"children":218},{"className":217},[],[219],{"type":57,"value":220},"x:DataType",{"type":57,"value":222},", reflection-heavy bindings, converters doing expensive work",{"type":52,"tag":162,"props":224,"children":225},{},[226,231],{"type":52,"tag":184,"props":227,"children":228},{},[229],{"type":57,"value":230},"Janky lists",{"type":52,"tag":184,"props":232,"children":233},{},[234,240,242,248],{"type":52,"tag":101,"props":235,"children":237},{"className":236},[],[238],{"type":57,"value":239},"CollectionView",{"type":57,"value":241}," inside ",{"type":52,"tag":101,"props":243,"children":245},{"className":244},[],[246],{"type":57,"value":247},"ScrollView",{"type":57,"value":249},", complex templates, missing item sizing strategy, image decode size",{"type":52,"tag":162,"props":251,"children":252},{},[253,258],{"type":52,"tag":184,"props":254,"children":255},{},[256],{"type":57,"value":257},"Layout cost",{"type":52,"tag":184,"props":259,"children":260},{},[261,263,269],{"type":57,"value":262},"Deep nested layouts, unnecessary ",{"type":52,"tag":101,"props":264,"children":266},{"className":265},[],[267],{"type":57,"value":268},"Grid",{"type":57,"value":270}," nesting, repeated measure invalidations",{"type":52,"tag":162,"props":272,"children":273},{},[274,279],{"type":52,"tag":184,"props":275,"children":276},{},[277],{"type":57,"value":278},"Image memory",{"type":52,"tag":184,"props":280,"children":281},{},[282],{"type":57,"value":283},"Oversized source images, missing MAUI image resizing, unbounded remote image caching",{"type":52,"tag":162,"props":285,"children":286},{},[287,292],{"type":52,"tag":184,"props":288,"children":289},{},[290],{"type":57,"value":291},"Release regression",{"type":52,"tag":184,"props":293,"children":294},{},[295],{"type":57,"value":296},"Debug-only diagnostics leaking into Release, linker\u002Ftrimming differences",{"type":52,"tag":66,"props":298,"children":300},{"id":299},"image-memory-guidance",[301],{"type":57,"value":302},"Image Memory Guidance",{"type":52,"tag":60,"props":304,"children":305},{},[306],{"type":57,"value":307},"A 4000×4000 RGBA PNG decodes to ~64 MB in memory regardless of how small it\nappears on screen. A 200×200 display-sized image decodes to ~160 KB — 400×\nless memory. Apply these changes when large images cause scrolling or memory\nissues:",{"type":52,"tag":73,"props":309,"children":310},{},[311,316,361,373,378],{"type":52,"tag":77,"props":312,"children":313},{},[314],{"type":57,"value":315},"Resize images to display size before adding to the project.",{"type":52,"tag":77,"props":317,"children":318},{},[319,321,327,329,335,337,343,345],{"type":57,"value":320},"Use the ",{"type":52,"tag":101,"props":322,"children":324},{"className":323},[],[325],{"type":57,"value":326},"MauiImage",{"type":57,"value":328}," build action in ",{"type":52,"tag":101,"props":330,"children":332},{"className":331},[],[333],{"type":57,"value":334},".csproj",{"type":57,"value":336}," with ",{"type":52,"tag":101,"props":338,"children":340},{"className":339},[],[341],{"type":57,"value":342},"BaseSize",{"type":57,"value":344}," for automatic\nplatform-specific resizing:\n",{"type":52,"tag":93,"props":346,"children":350},{"className":347,"code":348,"language":349,"meta":98,"style":98},"language-xml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003CMauiImage Include=\"Resources\u002FImages\u002F*.png\" BaseSize=\"400,400\" \u002F>\n","xml",[351],{"type":52,"tag":101,"props":352,"children":353},{"__ignoreMap":98},[354],{"type":52,"tag":105,"props":355,"children":356},{"class":107,"line":108},[357],{"type":52,"tag":105,"props":358,"children":359},{},[360],{"type":57,"value":348},{"type":52,"tag":77,"props":362,"children":363},{},[364,366,371],{"type":57,"value":365},"Decode images to display size at runtime when loading from remote URLs.\n",{"type":52,"tag":101,"props":367,"children":369},{"className":368},[],[370],{"type":57,"value":342},{"type":57,"value":372}," only applies to packaged build-time image resources; it does not\nresize downloaded, camera, gallery, or user-imported images.",{"type":52,"tag":77,"props":374,"children":375},{},[376],{"type":57,"value":377},"Use WebP or SVG for icons and logos that need to scale.",{"type":52,"tag":77,"props":379,"children":380},{},[381,383,388],{"type":57,"value":382},"For list rows, generate or download thumbnails — never decode 4000 × 4000\nimages inside a ",{"type":52,"tag":101,"props":384,"children":386},{"className":385},[],[387],{"type":57,"value":239},{"type":57,"value":389}," item template.",{"type":52,"tag":391,"props":392,"children":393},"ul",{},[394,413,418,423,428],{"type":52,"tag":77,"props":395,"children":396},{},[397,399,404,406,411],{"type":57,"value":398},"Do not wrap ",{"type":52,"tag":101,"props":400,"children":402},{"className":401},[],[403],{"type":57,"value":239},{"type":57,"value":405}," in ",{"type":52,"tag":101,"props":407,"children":409},{"className":408},[],[410],{"type":57,"value":247},{"type":57,"value":412},".",{"type":52,"tag":77,"props":414,"children":415},{},[416],{"type":57,"value":417},"Keep item templates shallow and use compiled bindings.",{"type":52,"tag":77,"props":419,"children":420},{},[421],{"type":57,"value":422},"Prefer fixed or predictable item sizing when possible.",{"type":52,"tag":77,"props":424,"children":425},{},[426],{"type":57,"value":427},"Load thumbnails sized for display, not full-resolution images.",{"type":52,"tag":77,"props":429,"children":430},{},[431],{"type":57,"value":432},"Avoid expensive work in property getters used by item templates.",{"type":52,"tag":66,"props":434,"children":436},{"id":435},"startup-guardrails",[437],{"type":57,"value":438},"Startup Guardrails",{"type":52,"tag":391,"props":440,"children":441},{},[442,447,452,457],{"type":52,"tag":77,"props":443,"children":444},{},[445],{"type":57,"value":446},"Avoid network calls and file scans during app construction.",{"type":52,"tag":77,"props":448,"children":449},{},[450],{"type":57,"value":451},"Register services lazily when possible; do not instantiate heavy services just\nto register them.",{"type":52,"tag":77,"props":453,"children":454},{},[455],{"type":57,"value":456},"Defer non-critical initialization until after the first page is visible.",{"type":52,"tag":77,"props":458,"children":459},{},[460,462,468],{"type":57,"value":461},"Keep debug-only logging and DevFlow setup behind ",{"type":52,"tag":101,"props":463,"children":465},{"className":464},[],[466],{"type":57,"value":467},"#if DEBUG",{"type":57,"value":412},{"type":52,"tag":66,"props":470,"children":472},{"id":471},"trimming-and-nativeaot-guardrails",[473],{"type":57,"value":474},"Trimming and NativeAOT Guardrails",{"type":52,"tag":391,"props":476,"children":477},{},[478,483,488,493,506],{"type":52,"tag":77,"props":479,"children":480},{},[481],{"type":57,"value":482},"Treat trim and NativeAOT issues as publish-build issues, not Debug-build\nissues. Reproduce with the same publish properties used by the app.",{"type":52,"tag":77,"props":484,"children":485},{},[486],{"type":57,"value":487},"Do not silence trim warnings blindly. Warnings such as IL2026 indicate code\nthat may not be safe when members are removed.",{"type":52,"tag":77,"props":489,"children":490},{},[491],{"type":57,"value":492},"Prefer source-generated serializers and explicit registrations over reflection\ndiscovery for app models and services used in trimmed builds.",{"type":52,"tag":77,"props":494,"children":495},{},[496,498,504],{"type":57,"value":497},"When reflection is required, keep the dependency explicit with attributes such\nas ",{"type":52,"tag":101,"props":499,"children":501},{"className":500},[],[502],{"type":57,"value":503},"DynamicDependency",{"type":57,"value":505}," or a linker descriptor, and document why it is needed.",{"type":52,"tag":77,"props":507,"children":508},{},[509],{"type":57,"value":510},"Test startup and the affected feature after publish; a successful Debug run is\nnot evidence that trimming or NativeAOT is safe.",{"type":52,"tag":60,"props":512,"children":513},{},[514],{"type":57,"value":515},"For System.Text.Json in trimmed or NativeAOT builds, move startup JSON paths to\na source-generated context:",{"type":52,"tag":93,"props":517,"children":521},{"className":518,"code":519,"language":520,"meta":98,"style":98},"language-csharp shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","[JsonSerializable(typeof(List\u003CProduct>))]\ninternal partial class AppJsonContext : JsonSerializerContext\n{\n}\n\nvar products = JsonSerializer.Deserialize(\n    json,\n    AppJsonContext.Default.ListProduct);\n","csharp",[522],{"type":52,"tag":101,"props":523,"children":524},{"__ignoreMap":98},[525,533,542,551,560,570,579,588],{"type":52,"tag":105,"props":526,"children":527},{"class":107,"line":108},[528],{"type":52,"tag":105,"props":529,"children":530},{},[531],{"type":57,"value":532},"[JsonSerializable(typeof(List\u003CProduct>))]\n",{"type":52,"tag":105,"props":534,"children":536},{"class":107,"line":535},2,[537],{"type":52,"tag":105,"props":538,"children":539},{},[540],{"type":57,"value":541},"internal partial class AppJsonContext : JsonSerializerContext\n",{"type":52,"tag":105,"props":543,"children":545},{"class":107,"line":544},3,[546],{"type":52,"tag":105,"props":547,"children":548},{},[549],{"type":57,"value":550},"{\n",{"type":52,"tag":105,"props":552,"children":554},{"class":107,"line":553},4,[555],{"type":52,"tag":105,"props":556,"children":557},{},[558],{"type":57,"value":559},"}\n",{"type":52,"tag":105,"props":561,"children":563},{"class":107,"line":562},5,[564],{"type":52,"tag":105,"props":565,"children":567},{"emptyLinePlaceholder":566},true,[568],{"type":57,"value":569},"\n",{"type":52,"tag":105,"props":571,"children":573},{"class":107,"line":572},6,[574],{"type":52,"tag":105,"props":575,"children":576},{},[577],{"type":57,"value":578},"var products = JsonSerializer.Deserialize(\n",{"type":52,"tag":105,"props":580,"children":582},{"class":107,"line":581},7,[583],{"type":52,"tag":105,"props":584,"children":585},{},[586],{"type":57,"value":587},"    json,\n",{"type":52,"tag":105,"props":589,"children":591},{"class":107,"line":590},8,[592],{"type":52,"tag":105,"props":593,"children":594},{},[595],{"type":57,"value":596},"    AppJsonContext.Default.ListProduct);\n",{"type":52,"tag":60,"props":598,"children":599},{},[600],{"type":57,"value":601},"Keep the context near app models or serialization infrastructure and add every\nserialized DTO shape used by the startup path. Do not hide IL2026 with broad\nwarning suppressions when a source-generated serializer can make the dependency\nexplicit.",{"type":52,"tag":66,"props":603,"children":605},{"id":604},"validation-checklist",[606],{"type":57,"value":607},"Validation Checklist",{"type":52,"tag":391,"props":609,"children":610},{},[611,616,629,640,645,650],{"type":52,"tag":77,"props":612,"children":613},{},[614],{"type":57,"value":615},"There is a before\u002Fafter measurement or a clear reason measurement is blocked.",{"type":52,"tag":77,"props":617,"children":618},{},[619,621,627],{"type":57,"value":620},"Startup investigations use ",{"type":52,"tag":101,"props":622,"children":624},{"className":623},[],[625],{"type":57,"value":626},"maui profile startup",{"type":57,"value":628}," when applicable.",{"type":52,"tag":77,"props":630,"children":631},{},[632,634,639],{"type":57,"value":633},"Binding-heavy pages use ",{"type":52,"tag":101,"props":635,"children":637},{"className":636},[],[638],{"type":57,"value":220},{"type":57,"value":412},{"type":52,"tag":77,"props":641,"children":642},{},[643],{"type":57,"value":644},"Lists avoid nested scrolling and oversized images.",{"type":52,"tag":77,"props":646,"children":647},{},[648],{"type":57,"value":649},"Trim\u002FNativeAOT changes are validated with a publish build when applicable.",{"type":52,"tag":77,"props":651,"children":652},{},[653],{"type":57,"value":654},"Performance fixes do not remove accessibility metadata or automation hooks.",{"type":52,"tag":656,"props":657,"children":658},"style",{},[659],{"type":57,"value":660},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":662,"total":823},[663,677,694,707,724,738,757,767,779,789,802,813],{"slug":664,"name":664,"fn":665,"description":666,"org":667,"tags":668,"stars":674,"repoUrl":675,"updatedAt":676},"multithreaded-task-migration","migrate MSBuild tasks to multithreaded mode","Guide for migrating MSBuild tasks to multithreaded mode support, including compatibility red-team review. Use this when converting tasks to thread-safe versions, implementing IMultiThreadableTask, adding TaskEnvironment support, or auditing migrations for behavioral compatibility.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[669,670,673],{"name":20,"slug":21,"type":15},{"name":671,"slug":672,"type":15},"Engineering","engineering",{"name":13,"slug":14,"type":15},5535,"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fmsbuild","2026-07-22T05:37:33.965588",{"slug":678,"name":678,"fn":679,"description":680,"org":681,"tags":682,"stars":691,"repoUrl":692,"updatedAt":693},"analyzing-dotnet-performance","analyze .NET code for performance anti-patterns","Scans .NET code for ~50 performance anti-patterns across async, memory, strings, collections, LINQ, regex, serialization, and I\u002FO with tiered severity classification. Use when analyzing .NET code for optimization opportunities, reviewing hot paths, or auditing allocation-heavy patterns.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[683,684,687,690],{"name":20,"slug":21,"type":15},{"name":685,"slug":686,"type":15},"Code Analysis","code-analysis",{"name":688,"slug":689,"type":15},"Debugging","debugging",{"name":13,"slug":14,"type":15},4576,"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fskills","2026-07-12T08:23:25.400375",{"slug":695,"name":695,"fn":696,"description":697,"org":698,"tags":699,"stars":691,"repoUrl":692,"updatedAt":706},"android-tombstone-symbolication","symbolicate .NET runtime frames in Android tombstones","Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app crash from a tombstone, resolving native backtrace frames in libmonosgen-2.0.so or libcoreclr.so to .NET runtime source code, or investigating SIGABRT, SIGSEGV, or other native signals originating from the .NET runtime on Android. DO NOT USE FOR pure Java\u002FKotlin crashes, managed .NET exceptions that are already captured in logcat, or iOS crash logs. INVOKES Symbolicate-Tombstone.ps1 script, llvm-symbolizer, Microsoft symbol server.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[700,701,703,704],{"name":20,"slug":21,"type":15},{"name":702,"slug":32,"type":15},"Android",{"name":688,"slug":689,"type":15},{"name":705,"slug":37,"type":15},"Microsoft","2026-07-12T08:23:21.595572",{"slug":708,"name":708,"fn":709,"description":710,"org":711,"tags":712,"stars":691,"repoUrl":692,"updatedAt":723},"apple-crash-symbolication","symbolicate .NET runtime frames in crash logs","Symbolicate .NET runtime frames in Apple platform .ips crash logs (iOS, tvOS, Mac Catalyst, macOS). Extracts UUIDs and addresses from the native backtrace, locates dSYM debug symbols, and runs atos to produce function names with source file and line numbers. Automatically downloads .dwarf symbols from the Microsoft symbol server using Mach-O UUIDs. USE FOR triaging a .NET MAUI or Mono app crash from an .ips file on any Apple platform, resolving native backtrace frames in libcoreclr or libmonosgen-2.0 to .NET runtime source code, retrieving .ips crash logs from a connected iOS device or iPhone, or investigating EXC_CRASH, EXC_BAD_ACCESS, SIGABRT, or SIGSEGV originating from the .NET runtime. DO NOT USE FOR pure Swift\u002FObjective-C crashes with no .NET components, or Android tombstone files. INVOKES Symbolicate-Crash.ps1 script, atos, dwarfdump, idevicecrashreport.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[713,714,715,717,720],{"name":20,"slug":21,"type":15},{"name":688,"slug":689,"type":15},{"name":716,"slug":34,"type":15},"iOS",{"name":718,"slug":719,"type":15},"macOS","macos",{"name":721,"slug":722,"type":15},"Observability","observability","2026-07-12T08:23:20.369986",{"slug":725,"name":725,"fn":726,"description":727,"org":728,"tags":729,"stars":691,"repoUrl":692,"updatedAt":737},"assertion-quality","evaluate assertion quality in test suites","Analyzes the variety and depth of assertions across test suites in any language. Use when the user asks to evaluate assertion quality, find shallow tests, identify assertion-free tests (no assertions or only trivial ones like Assert.IsNotNull \u002F toBeTruthy()), flag self-referential or tautological assertions, measure assertion diversity, or audit whether tests verify different facets of behavior. Polyglot: .NET, Python, TS\u002FJS, Java, Go, Ruby, Rust, Swift, Kotlin, PowerShell, C++. DO NOT USE FOR: writing new tests (use code-testing-agent \u002F writing-mstest-tests), mutation reasoning about whether tests would catch a bug (use test-gap-analysis), or a general severity-ranked anti-pattern audit (use test-anti-patterns), fixing or rewriting assertions, or writing, fixing, or modernizing MSTest tests, assertions, or attributes (use writing-mstest-tests).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[730,731,734],{"name":685,"slug":686,"type":15},{"name":732,"slug":733,"type":15},"QA","qa",{"name":735,"slug":736,"type":15},"Testing","testing","2026-07-12T08:23:51.277743",{"slug":739,"name":739,"fn":740,"description":741,"org":742,"tags":743,"stars":691,"repoUrl":692,"updatedAt":756},"author-component","create and review Blazor components","Create or review Blazor components (.razor files) with correct architecture. USE FOR: writing new Blazor components that do NOT involve JavaScript interop, implementing parameters and EventCallback, RenderFragment slots, component lifecycle (OnInitializedAsync, OnParametersSet), async patterns, IAsyncDisposable, CancellationToken, CSS isolation, code-behind. DO NOT USE FOR: creating new projects (use create-blazor-project), JavaScript interop or calling browser APIs from Blazor (use use-js-interop), forms and validation (use collect-user-input), prerendering issues (use support-prerendering), HTTP data fetching patterns (use fetch-and-send-data), coordinating state between unrelated components (use coordinate-components).\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[744,745,748,750,753],{"name":20,"slug":21,"type":15},{"name":746,"slug":747,"type":15},"Blazor","blazor",{"name":749,"slug":520,"type":15},"C#",{"name":751,"slug":752,"type":15},"UI Components","ui-components",{"name":754,"slug":755,"type":15},"Web Development","web-development","2026-07-15T06:03:29.216359",{"slug":758,"name":758,"fn":759,"description":760,"org":761,"tags":762,"stars":691,"repoUrl":692,"updatedAt":766},"binlog-failure-analysis","analyze MSBuild binary logs","Analyze MSBuild binary logs to diagnose build failures. USE FOR: build errors that are unclear from console output, diagnosing cascading failures across multi-project builds, tracing MSBuild target execution order, and generally any MSBuild build issues. Requires an existing .binlog file. DO NOT USE FOR: generating binlogs (use binlog-generation), non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[763,764,765],{"name":685,"slug":686,"type":15},{"name":688,"slug":689,"type":15},{"name":705,"slug":37,"type":15},"2026-07-12T08:21:34.637923",{"slug":768,"name":768,"fn":769,"description":770,"org":771,"tags":772,"stars":691,"repoUrl":692,"updatedAt":778},"binlog-generation","generate MSBuild binary logs for diagnostics","Generate MSBuild binary logs (binlogs) for build diagnostics and analysis. USE FOR: adding \u002Fbl:{} to any dotnet build, test, pack, publish, or restore command to capture a full build execution trace, prerequisite for binlog-failure-analysis and build-perf-diagnostics skills, enabling post-build investigation of errors or performance. Requires MSBuild 17.8+ \u002F .NET 8 SDK+ for {} placeholder; PowerShell needs -bl:{{}}. DO NOT USE FOR: non-MSBuild build systems (npm, Maven, CMake), analyzing an existing binlog (use binlog-failure-analysis instead).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[773,776,777],{"name":774,"slug":775,"type":15},"Build","build",{"name":688,"slug":689,"type":15},{"name":671,"slug":672,"type":15},"2026-07-19T05:38:19.340791",{"slug":780,"name":780,"fn":781,"description":782,"org":783,"tags":784,"stars":691,"repoUrl":692,"updatedAt":788},"build-parallelism","optimize MSBuild build parallelism","Diagnose and fix under-parallelized MSBuild builds. USE WHEN a multi-project solution build is slower than expected, doesn't speed up when you add cores, pegs a single core while others idle, or you want to know why `-m` isn't helping. Note: `\u002Fmaxcpucount` default is 1 (sequential) — always pass `-m` for parallel builds. Covers finding the critical path (longest serial ProjectReference chain), graph build (`\u002Fgraph`), BuildInParallel, and solution filters (`.slnf`). DO NOT USE FOR: single-project builds, incremental issues (use incremental-build), compilation slowness inside one project (use build-perf-diagnostics), non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[785,786,787],{"name":20,"slug":21,"type":15},{"name":671,"slug":672,"type":15},{"name":13,"slug":14,"type":15},"2026-07-19T05:38:18.364937",{"slug":790,"name":790,"fn":791,"description":792,"org":793,"tags":794,"stars":691,"repoUrl":692,"updatedAt":801},"build-perf-baseline","establish and optimize build performance baselines","Establish build performance baselines and apply systematic optimization techniques. USE FOR: diagnosing slow builds, establishing before\u002Fafter measurements (cold, warm, no-op scenarios), applying optimization strategies like MSBuild Server, static graph builds, artifacts output, and dependency graph trimming. Start here before diving into build-perf-diagnostics, incremental-build, or build-parallelism. DO NOT USE FOR: non-MSBuild build systems, detailed bottleneck analysis (use build-perf-diagnostics after baselining).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[795,796,799,800],{"name":671,"slug":672,"type":15},{"name":797,"slug":798,"type":15},"Monitoring","monitoring",{"name":13,"slug":14,"type":15},{"name":735,"slug":736,"type":15},"2026-07-12T08:21:35.865649",{"slug":803,"name":803,"fn":804,"description":805,"org":806,"tags":807,"stars":691,"repoUrl":692,"updatedAt":812},"build-perf-diagnostics","diagnose MSBuild build performance bottlenecks","Diagnose MSBuild build performance bottlenecks using binary log analysis. USE FOR: identifying why builds are slow by analyzing binlog performance summaries, detecting ResolveAssemblyReference (RAR) taking >5s, Roslyn analyzers consuming >30% of Csc time, single targets dominating >50% of build time, node utilization below 80%, excessive Copy tasks, NuGet restore running every build. Covers timeline analysis, Target\u002FTask Performance Summary interpretation, and 7 common bottleneck categories. Use after build-perf-baseline has established measurements. DO NOT USE FOR: establishing initial baselines (use build-perf-baseline first), fixing incremental build issues (use incremental-build), parallelism tuning (use build-parallelism), non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[808,809,810,811],{"name":20,"slug":21,"type":15},{"name":688,"slug":689,"type":15},{"name":671,"slug":672,"type":15},{"name":13,"slug":14,"type":15},"2026-07-12T08:21:40.961722",{"slug":814,"name":814,"fn":815,"description":816,"org":817,"tags":818,"stars":691,"repoUrl":692,"updatedAt":822},"check-bin-obj-clash","detect MSBuild output path conflicts","Detects MSBuild projects with conflicting OutputPath or IntermediateOutputPath. USE FOR: builds failing with 'Cannot create a file when that file already exists', 'The process cannot access the file because it is being used by another process', intermittent build failures that succeed on retry, or missing\u002Foverwritten outputs in multi-project or multi-targeting builds where bin\u002Fobj (or project.assets.json) collide. Common causes: shared OutputPath, missing AppendTargetFrameworkToOutputPath, extra global properties (e.g. PublishReadyToRun), or SetTargetFramework on a ProjectReference to a single-targeting project. DO NOT USE FOR: file access errors unrelated to MSBuild (OS-level locking), single-project single-TFM builds, non-MSBuild build systems.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[819,820,821],{"name":688,"slug":689,"type":15},{"name":671,"slug":672,"type":15},{"name":732,"slug":733,"type":15},"2026-07-19T05:38:14.336279",144,{"items":825,"total":923},[826,842,855,867,880,896,912],{"slug":827,"name":827,"fn":828,"description":829,"org":830,"tags":831,"stars":25,"repoUrl":26,"updatedAt":841},"android-slim-bindings","create Android slim bindings for .NET","Create Android slim bindings for MAUI\u002F.NET Android. USE FOR: slim Android binding, Kotlin\u002FJava wrappers, build.gradle.kts, Maven, AAR\u002FJAR, AndroidMavenLibrary, AndroidLibrary, @JvmStatic, XA4241\u002FXA4242, Xamarin.AndroidX\u002FKotlin NuGets. DO NOT USE FOR: iOS\u002FmacOS bindings, general MAUI apps, or NuGet packaging.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[832,833,834,837,840],{"name":20,"slug":21,"type":15},{"name":702,"slug":32,"type":15},{"name":835,"slug":836,"type":15},"Java","java",{"name":838,"slug":839,"type":15},"Kotlin","kotlin",{"name":23,"slug":24,"type":15},"2026-07-12T08:22:54.006105",{"slug":843,"name":843,"fn":844,"description":845,"org":846,"tags":847,"stars":25,"repoUrl":26,"updatedAt":854},"devflow-automation","automate .NET MAUI app state","Automate MAUI app state through DevFlow Actions. USE FOR: `[DevFlowAction]` shortcuts, login, seed data, deep screens. DO NOT USE FOR: arbitrary methods, DI internals, UI MCP tools, connectivity, or build\u002Fdeploy issues.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[848,849,852,853],{"name":20,"slug":21,"type":15},{"name":850,"slug":851,"type":15},"Automation","automation",{"name":17,"slug":18,"type":15},{"name":23,"slug":24,"type":15},"2026-07-12T08:22:56.616564",{"slug":856,"name":856,"fn":857,"description":858,"org":859,"tags":860,"stars":25,"repoUrl":26,"updatedAt":866},"devflow-connect","diagnose DevFlow agent connectivity issues","Diagnose DevFlow agent connectivity. USE FOR: `maui devflow` connection failures, agent not found, ports, adb forwarding, broker. DO NOT USE FOR: build failures, setup, visual tree, or Blazor CDP.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[861,862,863],{"name":688,"slug":689,"type":15},{"name":17,"slug":18,"type":15},{"name":864,"slug":865,"type":15},"Networking","networking","2026-07-12T08:22:48.847431",{"slug":868,"name":868,"fn":869,"description":870,"org":871,"tags":872,"stars":25,"repoUrl":26,"updatedAt":879},"dotnet-workload-info","discover MAUI workload metadata","Discover MAUI workload metadata from live NuGet APIs. USE FOR: workload manifest lookup, WorkloadDependencies.json, v3-flatcontainer, CLI-to-NuGet version conversion, Xcode\u002FJDK\u002FAndroid SDK requirements, CI sdkmanager packages, `packageid:Microsoft.Maui.Controls`. DO NOT USE FOR: installing workloads, build debugging, or app version edits.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[873,874,877,878],{"name":749,"slug":520,"type":15},{"name":875,"slug":876,"type":15},"CLI","cli",{"name":671,"slug":672,"type":15},{"name":17,"slug":18,"type":15},"2026-07-12T08:22:46.318953",{"slug":881,"name":881,"fn":882,"description":883,"org":884,"tags":885,"stars":25,"repoUrl":26,"updatedAt":895},"ios-slim-bindings","create iOS slim bindings for MAUI","Create iOS slim bindings for MAUI. USE FOR: slim iOS binding, Native Library Interop, Swift\u002FObjective-C wrappers, XcodeGen project.yml, Podfile, CocoaPods static linking, BUILD_LIBRARY_FOR_DISTRIBUTION, XcodeProject MSBuild, `@objc`\u002F`[Export]` selector crashes, async completion handlers. DO NOT USE FOR: Android bindings, general MAUI apps, or NuGet packaging.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[886,887,888,889,892],{"name":20,"slug":21,"type":15},{"name":716,"slug":34,"type":15},{"name":17,"slug":18,"type":15},{"name":890,"slug":891,"type":15},"Swift","swift",{"name":893,"slug":894,"type":15},"Xcode","xcode","2026-07-12T08:22:50.128667",{"slug":897,"name":897,"fn":898,"description":899,"org":900,"tags":901,"stars":25,"repoUrl":26,"updatedAt":911},"maui-accessibility","implement accessibility in .NET MAUI apps","Make .NET MAUI apps accessible with semantic properties, screen reader labels\u002Fhints, heading levels, focus, announcements, AutomationProperties, touch targets, and platform checks. USE FOR: accessibility audits, WCAG UI fixes, TalkBack\u002FVoiceOver\u002FNarrator behavior, SemanticProperties.Description\u002FHint\u002FHeadingLevel, SemanticScreenReader.Announce, SetSemanticFocus, avoiding redundant Label metadata, hiding decorative content with IsInAccessibleTree=false, and CollectionView row semantics. DO NOT USE FOR: general layout, UI automation only, or performance tuning.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[902,903,906,907,908],{"name":20,"slug":21,"type":15},{"name":904,"slug":905,"type":15},"Accessibility","accessibility",{"name":17,"slug":18,"type":15},{"name":23,"slug":24,"type":15},{"name":909,"slug":910,"type":15},"WCAG","wcag","2026-07-12T08:22:17.823583",{"slug":913,"name":913,"fn":914,"description":915,"org":916,"tags":917,"stars":25,"repoUrl":26,"updatedAt":922},"maui-ai-debugging","debug .NET MAUI application issues","Legacy DevFlow debug skill. USE FOR: `maui-ai-debugging`, `maui devflow`, screenshots, visual tree, Blazor CDP, simulator\u002Femulator debugging. DO NOT USE FOR: setup, desktop automation, AppleScript, host `xdotool`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[918,919,920,921],{"name":20,"slug":21,"type":15},{"name":688,"slug":689,"type":15},{"name":17,"slug":18,"type":15},{"name":23,"slug":24,"type":15},"2026-07-12T08:22:52.634889",32]