[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-dotnet-maui-app-assets-lifecycle":3,"mdc--m9toqt-key":45,"related-repo-dotnet-maui-app-assets-lifecycle":785,"related-org-dotnet-maui-app-assets-lifecycle":892},{"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":40,"sourceUrl":43,"mdContent":44},"maui-app-assets-lifecycle","configure .NET MAUI app assets and lifecycle","Configure .NET MAUI app icons, splash screens, images, fonts, bundled files, app\u002Fwindow lifecycle, background\u002Fresume state, and platform asset\u002Flifecycle settings. USE FOR: MauiIcon, MauiSplashScreen, MauiImage, MauiFont, MauiAsset, Resources\u002FImages, Resources\u002FFonts, Resources\u002FRaw seed JSON, FileSystem.OpenAppPackageFileAsync, Window Created\u002FStopped\u002FResumed\u002FDestroying, ConfigureLifecycleEvents, state restore, Xamarin drawable\u002FUIAppFonts migration, and platform asset overrides. DO NOT USE FOR: localization\u002Ftheme resources, device permissions, or broad project structure.",{"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},"MAUI","maui","tag",{"name":17,"slug":18,"type":15},".NET","net",{"name":20,"slug":21,"type":15},"Mobile","mobile",{"name":23,"slug":24,"type":15},"Desktop","desktop",190,"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fmaui-labs","2026-07-12T08:22:34.802111",null,21,[31,32,24,8,33,34,14,35,36,21,37,38,39],"ai","android","ios","maccatalyst","mcp","microsoft","multi-platform","user-interface","winui",{"repoUrl":26,"stars":25,"forks":29,"topics":41,"description":42},[31,32,24,8,33,34,14,35,36,21,37,38,39],"Experimental and pre-release tools for .NET MAUI","https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fmaui-labs\u002Ftree\u002FHEAD\u002Fplugins\u002Fdotnet-maui-app\u002Fskills\u002Fmaui-app-assets-lifecycle","---\nname: maui-app-assets-lifecycle\ndescription: >-\n  Configure .NET MAUI app icons, splash screens, images, fonts, bundled files, app\u002Fwindow lifecycle, background\u002Fresume state, and platform asset\u002Flifecycle settings. USE FOR: MauiIcon, MauiSplashScreen, MauiImage, MauiFont, MauiAsset, Resources\u002FImages, Resources\u002FFonts, Resources\u002FRaw seed JSON, FileSystem.OpenAppPackageFileAsync, Window Created\u002FStopped\u002FResumed\u002FDestroying, ConfigureLifecycleEvents, state restore, Xamarin drawable\u002FUIAppFonts migration, and platform asset overrides. DO NOT USE FOR: localization\u002Ftheme resources, device permissions, or broad project structure.\n---\n\n# MAUI App Assets and Lifecycle\n\nUse this skill when a MAUI app needs app identity assets, packaged files, or\nstate handling across start, stop, resume, and multi-window lifecycle events.\n\n## Workflow\n\n1. Inspect the app project file and `Resources` folders before adding assets.\n2. Use MAUI single-project item types for shared assets.\n3. Put platform-only assets under the matching `Platforms\u002F*` folder only when a\n   shared MAUI asset cannot express the requirement.\n4. For Xamarin.Forms asset migrations, explicitly map old Android\n   `drawable-*`, iOS `.xcassets`, and iOS `Info.plist` `UIAppFonts` font\n   registrations to MAUI `MauiImage`, `MauiFont`, `Resources\u002FImages`, and\n   `Resources\u002FFonts`.\n5. Access bundled raw files through `FileSystem.OpenAppPackageFileAsync`.\n6. Use `Window` lifecycle events for cross-platform app\u002Fwindow state.\n7. Use `ConfigureLifecycleEvents` for platform-specific lifecycle hooks.\n8. Persist user\u002Fsession state before deactivation or stop; restore on resume or\n   app startup.\n9. Validate icon\u002Fsplash\u002Fbackground behavior on each target platform.\n\n## Asset Item Types\n\n```xml\n\u003CMauiIcon Include=\"Resources\u002FAppIcon\u002Fappicon.svg\" ForegroundFile=\"Resources\u002FAppIcon\u002Fappiconfg.svg\" Color=\"#512BD4\" \u002F>\n\u003CMauiSplashScreen Include=\"Resources\u002FSplash\u002Fsplash.svg\" Color=\"#512BD4\" BaseSize=\"128,128\" \u002F>\n\u003CMauiImage Include=\"Resources\u002FImages\u002F*\" \u002F>\n\u003CMauiFont Include=\"Resources\u002FFonts\u002F*\" \u002F>\n\u003CMauiAsset Include=\"Resources\u002FRaw\u002F**\" LogicalName=\"%(RecursiveDir)%(Filename)%(Extension)\" \u002F>\n```\n\nUse vector SVG sources when possible and let MAUI generate platform-specific\nsizes. Avoid manually adding resized copies unless a platform requires a custom\noverride.\n\nWhen migrating from Xamarin.iOS, remove old `UIAppFonts` entries from\n`Platforms\u002FiOS\u002FInfo.plist`; `MauiFont` generates those registrations. Keep font\naliases in MAUI's font pipeline, typically with `MauiFont` items and\n`ConfigureFonts()` when explicit aliases are needed. Do not copy Xamarin Android\n`drawable-*` folders or iOS `.xcassets` directly into `Platforms\u002F*` for images\nused by MAUI XAML\u002FC#; put shared image assets in `Resources\u002FImages` as\n`MauiImage` items.\n\n## Bundled Assets\n\nPut read-only bundled files in `Resources\u002FRaw` and open them with:\n\n```csharp\nawait using var stream = await FileSystem.OpenAppPackageFileAsync(\"seed.json\");\n```\n\nCopy bundled data into app storage before editing it. Files in the app package\nare read-only.\n\n## Lifecycle Guidance\n\nCross-platform `Window` lifecycle events are the default place to coordinate\nstate:\n\n- `Created`\n- `Activated`\n- `Deactivated`\n- `Stopped`\n- `Resumed`\n- `Destroying`\n\nUse platform lifecycle hooks only for behavior that truly depends on native app\nevents, such as Android activity callbacks or iOS scene\u002Fapp delegate events.\n\n## State Preservation\n\n- Save lightweight preferences in `Preferences`.\n- Save larger state, drafts, and caches in app data files or SQLite.\n- Persist in-progress work before `Stopped` or `Destroying`.\n- Reconcile stale network data after `Resumed`.\n- Treat each window as having separate UI\u002Fnavigation state when multi-window is\n  enabled.\n- Keep background work platform-specific and explicit; do not assume arbitrary\n  code continues running after the app is stopped.\n\n## Platform Configuration\n\n| Area | Shared default | Platform override examples |\n| --- | --- | --- |\n| Icon | `MauiIcon` | Android adaptive icon details, iOS alternate icon metadata |\n| Splash | `MauiSplashScreen` | Platform launch storyboard\u002Ftheme customization |\n| Bundled files | `MauiAsset` in `Resources\u002FRaw` | Native-only files under `Platforms\u002F*` |\n| Lifecycle | `Window` events | `ConfigureLifecycleEvents` for native callbacks |\n\n## Validation Checklist\n\n- Shared assets use MAUI item types and live under `Resources`.\n- Bundled files are read through `FileSystem.OpenAppPackageFileAsync`.\n- Editable data is copied out of the app package.\n- Xamarin migration guidance removes old `UIAppFonts`\u002F`Info.plist` font\n  registrations when `MauiFont`\u002F`ConfigureFonts()` owns shared fonts.\n- State is saved before stop\u002Fdestroy and restored on startup\u002Fresume.\n- Platform lifecycle hooks are isolated to platform-specific behavior.\n",{"data":46,"body":47},{"name":4,"description":6},{"type":48,"children":49},"root",[50,59,65,72,224,230,288,293,370,376,389,405,410,416,428,486,491,497,556,562,701,707,779],{"type":51,"tag":52,"props":53,"children":55},"element","h1",{"id":54},"maui-app-assets-and-lifecycle",[56],{"type":57,"value":58},"text","MAUI App Assets and Lifecycle",{"type":51,"tag":60,"props":61,"children":62},"p",{},[63],{"type":57,"value":64},"Use this skill when a MAUI app needs app identity assets, packaged files, or\nstate handling across start, stop, resume, and multi-window lifecycle events.",{"type":51,"tag":66,"props":67,"children":69},"h2",{"id":68},"workflow",[70],{"type":57,"value":71},"Workflow",{"type":51,"tag":73,"props":74,"children":75},"ol",{},[76,91,96,109,177,189,202,214,219],{"type":51,"tag":77,"props":78,"children":79},"li",{},[80,82,89],{"type":57,"value":81},"Inspect the app project file and ",{"type":51,"tag":83,"props":84,"children":86},"code",{"className":85},[],[87],{"type":57,"value":88},"Resources",{"type":57,"value":90}," folders before adding assets.",{"type":51,"tag":77,"props":92,"children":93},{},[94],{"type":57,"value":95},"Use MAUI single-project item types for shared assets.",{"type":51,"tag":77,"props":97,"children":98},{},[99,101,107],{"type":57,"value":100},"Put platform-only assets under the matching ",{"type":51,"tag":83,"props":102,"children":104},{"className":103},[],[105],{"type":57,"value":106},"Platforms\u002F*",{"type":57,"value":108}," folder only when a\nshared MAUI asset cannot express the requirement.",{"type":51,"tag":77,"props":110,"children":111},{},[112,114,120,122,128,130,136,138,144,146,152,154,160,161,167,169,175],{"type":57,"value":113},"For Xamarin.Forms asset migrations, explicitly map old Android\n",{"type":51,"tag":83,"props":115,"children":117},{"className":116},[],[118],{"type":57,"value":119},"drawable-*",{"type":57,"value":121},", iOS ",{"type":51,"tag":83,"props":123,"children":125},{"className":124},[],[126],{"type":57,"value":127},".xcassets",{"type":57,"value":129},", and iOS ",{"type":51,"tag":83,"props":131,"children":133},{"className":132},[],[134],{"type":57,"value":135},"Info.plist",{"type":57,"value":137}," ",{"type":51,"tag":83,"props":139,"children":141},{"className":140},[],[142],{"type":57,"value":143},"UIAppFonts",{"type":57,"value":145}," font\nregistrations to MAUI ",{"type":51,"tag":83,"props":147,"children":149},{"className":148},[],[150],{"type":57,"value":151},"MauiImage",{"type":57,"value":153},", ",{"type":51,"tag":83,"props":155,"children":157},{"className":156},[],[158],{"type":57,"value":159},"MauiFont",{"type":57,"value":153},{"type":51,"tag":83,"props":162,"children":164},{"className":163},[],[165],{"type":57,"value":166},"Resources\u002FImages",{"type":57,"value":168},", and\n",{"type":51,"tag":83,"props":170,"children":172},{"className":171},[],[173],{"type":57,"value":174},"Resources\u002FFonts",{"type":57,"value":176},".",{"type":51,"tag":77,"props":178,"children":179},{},[180,182,188],{"type":57,"value":181},"Access bundled raw files through ",{"type":51,"tag":83,"props":183,"children":185},{"className":184},[],[186],{"type":57,"value":187},"FileSystem.OpenAppPackageFileAsync",{"type":57,"value":176},{"type":51,"tag":77,"props":190,"children":191},{},[192,194,200],{"type":57,"value":193},"Use ",{"type":51,"tag":83,"props":195,"children":197},{"className":196},[],[198],{"type":57,"value":199},"Window",{"type":57,"value":201}," lifecycle events for cross-platform app\u002Fwindow state.",{"type":51,"tag":77,"props":203,"children":204},{},[205,206,212],{"type":57,"value":193},{"type":51,"tag":83,"props":207,"children":209},{"className":208},[],[210],{"type":57,"value":211},"ConfigureLifecycleEvents",{"type":57,"value":213}," for platform-specific lifecycle hooks.",{"type":51,"tag":77,"props":215,"children":216},{},[217],{"type":57,"value":218},"Persist user\u002Fsession state before deactivation or stop; restore on resume or\napp startup.",{"type":51,"tag":77,"props":220,"children":221},{},[222],{"type":57,"value":223},"Validate icon\u002Fsplash\u002Fbackground behavior on each target platform.",{"type":51,"tag":66,"props":225,"children":227},{"id":226},"asset-item-types",[228],{"type":57,"value":229},"Asset Item Types",{"type":51,"tag":231,"props":232,"children":237},"pre",{"className":233,"code":234,"language":235,"meta":236,"style":236},"language-xml shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003CMauiIcon Include=\"Resources\u002FAppIcon\u002Fappicon.svg\" ForegroundFile=\"Resources\u002FAppIcon\u002Fappiconfg.svg\" Color=\"#512BD4\" \u002F>\n\u003CMauiSplashScreen Include=\"Resources\u002FSplash\u002Fsplash.svg\" Color=\"#512BD4\" BaseSize=\"128,128\" \u002F>\n\u003CMauiImage Include=\"Resources\u002FImages\u002F*\" \u002F>\n\u003CMauiFont Include=\"Resources\u002FFonts\u002F*\" \u002F>\n\u003CMauiAsset Include=\"Resources\u002FRaw\u002F**\" LogicalName=\"%(RecursiveDir)%(Filename)%(Extension)\" \u002F>\n","xml","",[238],{"type":51,"tag":83,"props":239,"children":240},{"__ignoreMap":236},[241,252,261,270,279],{"type":51,"tag":242,"props":243,"children":246},"span",{"class":244,"line":245},"line",1,[247],{"type":51,"tag":242,"props":248,"children":249},{},[250],{"type":57,"value":251},"\u003CMauiIcon Include=\"Resources\u002FAppIcon\u002Fappicon.svg\" ForegroundFile=\"Resources\u002FAppIcon\u002Fappiconfg.svg\" Color=\"#512BD4\" \u002F>\n",{"type":51,"tag":242,"props":253,"children":255},{"class":244,"line":254},2,[256],{"type":51,"tag":242,"props":257,"children":258},{},[259],{"type":57,"value":260},"\u003CMauiSplashScreen Include=\"Resources\u002FSplash\u002Fsplash.svg\" Color=\"#512BD4\" BaseSize=\"128,128\" \u002F>\n",{"type":51,"tag":242,"props":262,"children":264},{"class":244,"line":263},3,[265],{"type":51,"tag":242,"props":266,"children":267},{},[268],{"type":57,"value":269},"\u003CMauiImage Include=\"Resources\u002FImages\u002F*\" \u002F>\n",{"type":51,"tag":242,"props":271,"children":273},{"class":244,"line":272},4,[274],{"type":51,"tag":242,"props":275,"children":276},{},[277],{"type":57,"value":278},"\u003CMauiFont Include=\"Resources\u002FFonts\u002F*\" \u002F>\n",{"type":51,"tag":242,"props":280,"children":282},{"class":244,"line":281},5,[283],{"type":51,"tag":242,"props":284,"children":285},{},[286],{"type":57,"value":287},"\u003CMauiAsset Include=\"Resources\u002FRaw\u002F**\" LogicalName=\"%(RecursiveDir)%(Filename)%(Extension)\" \u002F>\n",{"type":51,"tag":60,"props":289,"children":290},{},[291],{"type":57,"value":292},"Use vector SVG sources when possible and let MAUI generate platform-specific\nsizes. Avoid manually adding resized copies unless a platform requires a custom\noverride.",{"type":51,"tag":60,"props":294,"children":295},{},[296,298,303,305,311,313,318,320,325,327,333,335,340,342,347,349,354,356,361,363,368],{"type":57,"value":297},"When migrating from Xamarin.iOS, remove old ",{"type":51,"tag":83,"props":299,"children":301},{"className":300},[],[302],{"type":57,"value":143},{"type":57,"value":304}," entries from\n",{"type":51,"tag":83,"props":306,"children":308},{"className":307},[],[309],{"type":57,"value":310},"Platforms\u002FiOS\u002FInfo.plist",{"type":57,"value":312},"; ",{"type":51,"tag":83,"props":314,"children":316},{"className":315},[],[317],{"type":57,"value":159},{"type":57,"value":319}," generates those registrations. Keep font\naliases in MAUI's font pipeline, typically with ",{"type":51,"tag":83,"props":321,"children":323},{"className":322},[],[324],{"type":57,"value":159},{"type":57,"value":326}," items and\n",{"type":51,"tag":83,"props":328,"children":330},{"className":329},[],[331],{"type":57,"value":332},"ConfigureFonts()",{"type":57,"value":334}," when explicit aliases are needed. Do not copy Xamarin Android\n",{"type":51,"tag":83,"props":336,"children":338},{"className":337},[],[339],{"type":57,"value":119},{"type":57,"value":341}," folders or iOS ",{"type":51,"tag":83,"props":343,"children":345},{"className":344},[],[346],{"type":57,"value":127},{"type":57,"value":348}," directly into ",{"type":51,"tag":83,"props":350,"children":352},{"className":351},[],[353],{"type":57,"value":106},{"type":57,"value":355}," for images\nused by MAUI XAML\u002FC#; put shared image assets in ",{"type":51,"tag":83,"props":357,"children":359},{"className":358},[],[360],{"type":57,"value":166},{"type":57,"value":362}," as\n",{"type":51,"tag":83,"props":364,"children":366},{"className":365},[],[367],{"type":57,"value":151},{"type":57,"value":369}," items.",{"type":51,"tag":66,"props":371,"children":373},{"id":372},"bundled-assets",[374],{"type":57,"value":375},"Bundled Assets",{"type":51,"tag":60,"props":377,"children":378},{},[379,381,387],{"type":57,"value":380},"Put read-only bundled files in ",{"type":51,"tag":83,"props":382,"children":384},{"className":383},[],[385],{"type":57,"value":386},"Resources\u002FRaw",{"type":57,"value":388}," and open them with:",{"type":51,"tag":231,"props":390,"children":394},{"className":391,"code":392,"language":393,"meta":236,"style":236},"language-csharp shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","await using var stream = await FileSystem.OpenAppPackageFileAsync(\"seed.json\");\n","csharp",[395],{"type":51,"tag":83,"props":396,"children":397},{"__ignoreMap":236},[398],{"type":51,"tag":242,"props":399,"children":400},{"class":244,"line":245},[401],{"type":51,"tag":242,"props":402,"children":403},{},[404],{"type":57,"value":392},{"type":51,"tag":60,"props":406,"children":407},{},[408],{"type":57,"value":409},"Copy bundled data into app storage before editing it. Files in the app package\nare read-only.",{"type":51,"tag":66,"props":411,"children":413},{"id":412},"lifecycle-guidance",[414],{"type":57,"value":415},"Lifecycle Guidance",{"type":51,"tag":60,"props":417,"children":418},{},[419,421,426],{"type":57,"value":420},"Cross-platform ",{"type":51,"tag":83,"props":422,"children":424},{"className":423},[],[425],{"type":57,"value":199},{"type":57,"value":427}," lifecycle events are the default place to coordinate\nstate:",{"type":51,"tag":429,"props":430,"children":431},"ul",{},[432,441,450,459,468,477],{"type":51,"tag":77,"props":433,"children":434},{},[435],{"type":51,"tag":83,"props":436,"children":438},{"className":437},[],[439],{"type":57,"value":440},"Created",{"type":51,"tag":77,"props":442,"children":443},{},[444],{"type":51,"tag":83,"props":445,"children":447},{"className":446},[],[448],{"type":57,"value":449},"Activated",{"type":51,"tag":77,"props":451,"children":452},{},[453],{"type":51,"tag":83,"props":454,"children":456},{"className":455},[],[457],{"type":57,"value":458},"Deactivated",{"type":51,"tag":77,"props":460,"children":461},{},[462],{"type":51,"tag":83,"props":463,"children":465},{"className":464},[],[466],{"type":57,"value":467},"Stopped",{"type":51,"tag":77,"props":469,"children":470},{},[471],{"type":51,"tag":83,"props":472,"children":474},{"className":473},[],[475],{"type":57,"value":476},"Resumed",{"type":51,"tag":77,"props":478,"children":479},{},[480],{"type":51,"tag":83,"props":481,"children":483},{"className":482},[],[484],{"type":57,"value":485},"Destroying",{"type":51,"tag":60,"props":487,"children":488},{},[489],{"type":57,"value":490},"Use platform lifecycle hooks only for behavior that truly depends on native app\nevents, such as Android activity callbacks or iOS scene\u002Fapp delegate events.",{"type":51,"tag":66,"props":492,"children":494},{"id":493},"state-preservation",[495],{"type":57,"value":496},"State Preservation",{"type":51,"tag":429,"props":498,"children":499},{},[500,512,517,535,546,551],{"type":51,"tag":77,"props":501,"children":502},{},[503,505,511],{"type":57,"value":504},"Save lightweight preferences in ",{"type":51,"tag":83,"props":506,"children":508},{"className":507},[],[509],{"type":57,"value":510},"Preferences",{"type":57,"value":176},{"type":51,"tag":77,"props":513,"children":514},{},[515],{"type":57,"value":516},"Save larger state, drafts, and caches in app data files or SQLite.",{"type":51,"tag":77,"props":518,"children":519},{},[520,522,527,529,534],{"type":57,"value":521},"Persist in-progress work before ",{"type":51,"tag":83,"props":523,"children":525},{"className":524},[],[526],{"type":57,"value":467},{"type":57,"value":528}," or ",{"type":51,"tag":83,"props":530,"children":532},{"className":531},[],[533],{"type":57,"value":485},{"type":57,"value":176},{"type":51,"tag":77,"props":536,"children":537},{},[538,540,545],{"type":57,"value":539},"Reconcile stale network data after ",{"type":51,"tag":83,"props":541,"children":543},{"className":542},[],[544],{"type":57,"value":476},{"type":57,"value":176},{"type":51,"tag":77,"props":547,"children":548},{},[549],{"type":57,"value":550},"Treat each window as having separate UI\u002Fnavigation state when multi-window is\nenabled.",{"type":51,"tag":77,"props":552,"children":553},{},[554],{"type":57,"value":555},"Keep background work platform-specific and explicit; do not assume arbitrary\ncode continues running after the app is stopped.",{"type":51,"tag":66,"props":557,"children":559},{"id":558},"platform-configuration",[560],{"type":57,"value":561},"Platform Configuration",{"type":51,"tag":563,"props":564,"children":565},"table",{},[566,590],{"type":51,"tag":567,"props":568,"children":569},"thead",{},[570],{"type":51,"tag":571,"props":572,"children":573},"tr",{},[574,580,585],{"type":51,"tag":575,"props":576,"children":577},"th",{},[578],{"type":57,"value":579},"Area",{"type":51,"tag":575,"props":581,"children":582},{},[583],{"type":57,"value":584},"Shared default",{"type":51,"tag":575,"props":586,"children":587},{},[588],{"type":57,"value":589},"Platform override examples",{"type":51,"tag":591,"props":592,"children":593},"tbody",{},[594,617,639,673],{"type":51,"tag":571,"props":595,"children":596},{},[597,603,612],{"type":51,"tag":598,"props":599,"children":600},"td",{},[601],{"type":57,"value":602},"Icon",{"type":51,"tag":598,"props":604,"children":605},{},[606],{"type":51,"tag":83,"props":607,"children":609},{"className":608},[],[610],{"type":57,"value":611},"MauiIcon",{"type":51,"tag":598,"props":613,"children":614},{},[615],{"type":57,"value":616},"Android adaptive icon details, iOS alternate icon metadata",{"type":51,"tag":571,"props":618,"children":619},{},[620,625,634],{"type":51,"tag":598,"props":621,"children":622},{},[623],{"type":57,"value":624},"Splash",{"type":51,"tag":598,"props":626,"children":627},{},[628],{"type":51,"tag":83,"props":629,"children":631},{"className":630},[],[632],{"type":57,"value":633},"MauiSplashScreen",{"type":51,"tag":598,"props":635,"children":636},{},[637],{"type":57,"value":638},"Platform launch storyboard\u002Ftheme customization",{"type":51,"tag":571,"props":640,"children":641},{},[642,647,663],{"type":51,"tag":598,"props":643,"children":644},{},[645],{"type":57,"value":646},"Bundled files",{"type":51,"tag":598,"props":648,"children":649},{},[650,656,658],{"type":51,"tag":83,"props":651,"children":653},{"className":652},[],[654],{"type":57,"value":655},"MauiAsset",{"type":57,"value":657}," in ",{"type":51,"tag":83,"props":659,"children":661},{"className":660},[],[662],{"type":57,"value":386},{"type":51,"tag":598,"props":664,"children":665},{},[666,668],{"type":57,"value":667},"Native-only files under ",{"type":51,"tag":83,"props":669,"children":671},{"className":670},[],[672],{"type":57,"value":106},{"type":51,"tag":571,"props":674,"children":675},{},[676,681,691],{"type":51,"tag":598,"props":677,"children":678},{},[679],{"type":57,"value":680},"Lifecycle",{"type":51,"tag":598,"props":682,"children":683},{},[684,689],{"type":51,"tag":83,"props":685,"children":687},{"className":686},[],[688],{"type":57,"value":199},{"type":57,"value":690}," events",{"type":51,"tag":598,"props":692,"children":693},{},[694,699],{"type":51,"tag":83,"props":695,"children":697},{"className":696},[],[698],{"type":57,"value":211},{"type":57,"value":700}," for native callbacks",{"type":51,"tag":66,"props":702,"children":704},{"id":703},"validation-checklist",[705],{"type":57,"value":706},"Validation Checklist",{"type":51,"tag":429,"props":708,"children":709},{},[710,721,732,737,769,774],{"type":51,"tag":77,"props":711,"children":712},{},[713,715,720],{"type":57,"value":714},"Shared assets use MAUI item types and live under ",{"type":51,"tag":83,"props":716,"children":718},{"className":717},[],[719],{"type":57,"value":88},{"type":57,"value":176},{"type":51,"tag":77,"props":722,"children":723},{},[724,726,731],{"type":57,"value":725},"Bundled files are read through ",{"type":51,"tag":83,"props":727,"children":729},{"className":728},[],[730],{"type":57,"value":187},{"type":57,"value":176},{"type":51,"tag":77,"props":733,"children":734},{},[735],{"type":57,"value":736},"Editable data is copied out of the app package.",{"type":51,"tag":77,"props":738,"children":739},{},[740,742,747,749,754,756,761,762,767],{"type":57,"value":741},"Xamarin migration guidance removes old ",{"type":51,"tag":83,"props":743,"children":745},{"className":744},[],[746],{"type":57,"value":143},{"type":57,"value":748},"\u002F",{"type":51,"tag":83,"props":750,"children":752},{"className":751},[],[753],{"type":57,"value":135},{"type":57,"value":755}," font\nregistrations when ",{"type":51,"tag":83,"props":757,"children":759},{"className":758},[],[760],{"type":57,"value":159},{"type":57,"value":748},{"type":51,"tag":83,"props":763,"children":765},{"className":764},[],[766],{"type":57,"value":332},{"type":57,"value":768}," owns shared fonts.",{"type":51,"tag":77,"props":770,"children":771},{},[772],{"type":57,"value":773},"State is saved before stop\u002Fdestroy and restored on startup\u002Fresume.",{"type":51,"tag":77,"props":775,"children":776},{},[777],{"type":57,"value":778},"Platform lifecycle hooks are isolated to platform-specific behavior.",{"type":51,"tag":780,"props":781,"children":782},"style",{},[783],{"type":57,"value":784},"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":786,"total":891},[787,804,817,831,847,864,880],{"slug":788,"name":788,"fn":789,"description":790,"org":791,"tags":792,"stars":25,"repoUrl":26,"updatedAt":803},"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},[793,794,796,799,802],{"name":17,"slug":18,"type":15},{"name":795,"slug":32,"type":15},"Android",{"name":797,"slug":798,"type":15},"Java","java",{"name":800,"slug":801,"type":15},"Kotlin","kotlin",{"name":20,"slug":21,"type":15},"2026-07-12T08:22:54.006105",{"slug":805,"name":805,"fn":806,"description":807,"org":808,"tags":809,"stars":25,"repoUrl":26,"updatedAt":816},"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},[810,811,814,815],{"name":17,"slug":18,"type":15},{"name":812,"slug":813,"type":15},"Automation","automation",{"name":13,"slug":14,"type":15},{"name":20,"slug":21,"type":15},"2026-07-12T08:22:56.616564",{"slug":818,"name":818,"fn":819,"description":820,"org":821,"tags":822,"stars":25,"repoUrl":26,"updatedAt":830},"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},[823,826,827],{"name":824,"slug":825,"type":15},"Debugging","debugging",{"name":13,"slug":14,"type":15},{"name":828,"slug":829,"type":15},"Networking","networking","2026-07-12T08:22:48.847431",{"slug":832,"name":832,"fn":833,"description":834,"org":835,"tags":836,"stars":25,"repoUrl":26,"updatedAt":846},"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},[837,839,842,845],{"name":838,"slug":393,"type":15},"C#",{"name":840,"slug":841,"type":15},"CLI","cli",{"name":843,"slug":844,"type":15},"Engineering","engineering",{"name":13,"slug":14,"type":15},"2026-07-12T08:22:46.318953",{"slug":848,"name":848,"fn":849,"description":850,"org":851,"tags":852,"stars":25,"repoUrl":26,"updatedAt":863},"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},[853,854,856,857,860],{"name":17,"slug":18,"type":15},{"name":855,"slug":33,"type":15},"iOS",{"name":13,"slug":14,"type":15},{"name":858,"slug":859,"type":15},"Swift","swift",{"name":861,"slug":862,"type":15},"Xcode","xcode","2026-07-12T08:22:50.128667",{"slug":865,"name":865,"fn":866,"description":867,"org":868,"tags":869,"stars":25,"repoUrl":26,"updatedAt":879},"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},[870,871,874,875,876],{"name":17,"slug":18,"type":15},{"name":872,"slug":873,"type":15},"Accessibility","accessibility",{"name":13,"slug":14,"type":15},{"name":20,"slug":21,"type":15},{"name":877,"slug":878,"type":15},"WCAG","wcag","2026-07-12T08:22:17.823583",{"slug":881,"name":881,"fn":882,"description":883,"org":884,"tags":885,"stars":25,"repoUrl":26,"updatedAt":890},"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},[886,887,888,889],{"name":17,"slug":18,"type":15},{"name":824,"slug":825,"type":15},{"name":13,"slug":14,"type":15},{"name":20,"slug":21,"type":15},"2026-07-12T08:22:52.634889",32,{"items":893,"total":1049},[894,908,923,935,951,965,983,993,1005,1015,1028,1039],{"slug":895,"name":895,"fn":896,"description":897,"org":898,"tags":899,"stars":905,"repoUrl":906,"updatedAt":907},"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},[900,901,902],{"name":17,"slug":18,"type":15},{"name":843,"slug":844,"type":15},{"name":903,"slug":904,"type":15},"Performance","performance",5535,"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fmsbuild","2026-07-22T05:37:33.965588",{"slug":909,"name":909,"fn":910,"description":911,"org":912,"tags":913,"stars":920,"repoUrl":921,"updatedAt":922},"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},[914,915,918,919],{"name":17,"slug":18,"type":15},{"name":916,"slug":917,"type":15},"Code Analysis","code-analysis",{"name":824,"slug":825,"type":15},{"name":903,"slug":904,"type":15},4576,"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fskills","2026-07-12T08:23:25.400375",{"slug":924,"name":924,"fn":925,"description":926,"org":927,"tags":928,"stars":920,"repoUrl":921,"updatedAt":934},"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},[929,930,931,932],{"name":17,"slug":18,"type":15},{"name":795,"slug":32,"type":15},{"name":824,"slug":825,"type":15},{"name":933,"slug":36,"type":15},"Microsoft","2026-07-12T08:23:21.595572",{"slug":936,"name":936,"fn":937,"description":938,"org":939,"tags":940,"stars":920,"repoUrl":921,"updatedAt":950},"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},[941,942,943,944,947],{"name":17,"slug":18,"type":15},{"name":824,"slug":825,"type":15},{"name":855,"slug":33,"type":15},{"name":945,"slug":946,"type":15},"macOS","macos",{"name":948,"slug":949,"type":15},"Observability","observability","2026-07-12T08:23:20.369986",{"slug":952,"name":952,"fn":953,"description":954,"org":955,"tags":956,"stars":920,"repoUrl":921,"updatedAt":964},"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},[957,958,961],{"name":916,"slug":917,"type":15},{"name":959,"slug":960,"type":15},"QA","qa",{"name":962,"slug":963,"type":15},"Testing","testing","2026-07-12T08:23:51.277743",{"slug":966,"name":966,"fn":967,"description":968,"org":969,"tags":970,"stars":920,"repoUrl":921,"updatedAt":982},"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},[971,972,975,976,979],{"name":17,"slug":18,"type":15},{"name":973,"slug":974,"type":15},"Blazor","blazor",{"name":838,"slug":393,"type":15},{"name":977,"slug":978,"type":15},"UI Components","ui-components",{"name":980,"slug":981,"type":15},"Web Development","web-development","2026-07-15T06:03:29.216359",{"slug":984,"name":984,"fn":985,"description":986,"org":987,"tags":988,"stars":920,"repoUrl":921,"updatedAt":992},"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},[989,990,991],{"name":916,"slug":917,"type":15},{"name":824,"slug":825,"type":15},{"name":933,"slug":36,"type":15},"2026-07-12T08:21:34.637923",{"slug":994,"name":994,"fn":995,"description":996,"org":997,"tags":998,"stars":920,"repoUrl":921,"updatedAt":1004},"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},[999,1002,1003],{"name":1000,"slug":1001,"type":15},"Build","build",{"name":824,"slug":825,"type":15},{"name":843,"slug":844,"type":15},"2026-07-19T05:38:19.340791",{"slug":1006,"name":1006,"fn":1007,"description":1008,"org":1009,"tags":1010,"stars":920,"repoUrl":921,"updatedAt":1014},"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},[1011,1012,1013],{"name":17,"slug":18,"type":15},{"name":843,"slug":844,"type":15},{"name":903,"slug":904,"type":15},"2026-07-19T05:38:18.364937",{"slug":1016,"name":1016,"fn":1017,"description":1018,"org":1019,"tags":1020,"stars":920,"repoUrl":921,"updatedAt":1027},"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},[1021,1022,1025,1026],{"name":843,"slug":844,"type":15},{"name":1023,"slug":1024,"type":15},"Monitoring","monitoring",{"name":903,"slug":904,"type":15},{"name":962,"slug":963,"type":15},"2026-07-12T08:21:35.865649",{"slug":1029,"name":1029,"fn":1030,"description":1031,"org":1032,"tags":1033,"stars":920,"repoUrl":921,"updatedAt":1038},"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},[1034,1035,1036,1037],{"name":17,"slug":18,"type":15},{"name":824,"slug":825,"type":15},{"name":843,"slug":844,"type":15},{"name":903,"slug":904,"type":15},"2026-07-12T08:21:40.961722",{"slug":1040,"name":1040,"fn":1041,"description":1042,"org":1043,"tags":1044,"stars":920,"repoUrl":921,"updatedAt":1048},"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},[1045,1046,1047],{"name":824,"slug":825,"type":15},{"name":843,"slug":844,"type":15},{"name":959,"slug":960,"type":15},"2026-07-19T05:38:14.336279",144]