[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-dotnet-maui-networking-offline-data":3,"mdc-bnhq7f-key":49,"related-org-dotnet-maui-networking-offline-data":1024,"related-repo-dotnet-maui-networking-offline-data":1189},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":28,"repoUrl":29,"updatedAt":30,"license":31,"forks":32,"topics":33,"repo":44,"sourceUrl":47,"mdContent":48},"maui-networking-offline-data","build MAUI networking and offline features","Build .NET MAUI networking and offline data features with HttpClient DI, JSON serialization, emulator\u002Fsimulator networking, debug cleartext exceptions, SQLite persistence, sync boundaries, retries, cancellation, and error handling. USE FOR: typed HttpClient clients, Android emulator 10.0.2.2, iOS simulator localhost, physical-device LAN\u002Fdev-tunnel fallback, offline-first screens, SQLiteAsyncConnection\u002FEF Core sync metadata, sync queues, sensitive offline data encryption decisions, retry\u002Fbackoff, and background batch\u002Fchunk sync. DO NOT USE FOR: auth redirects, Aspire service discovery, or UI layout.",{"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,25],{"name":13,"slug":14,"type":15},"Networking","networking","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",{"name":26,"slug":27,"type":15},"SQLite","sqlite",190,"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fmaui-labs","2026-07-12T08:22:37.536098",null,21,[34,35,36,8,37,38,18,39,40,24,41,42,43],"ai","android","desktop","ios","maccatalyst","mcp","microsoft","multi-platform","user-interface","winui",{"repoUrl":29,"stars":28,"forks":32,"topics":45,"description":46},[34,35,36,8,37,38,18,39,40,24,41,42,43],"Experimental and pre-release tools for .NET MAUI","https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fmaui-labs\u002Ftree\u002FHEAD\u002Fplugins\u002Fdotnet-maui-app\u002Fskills\u002Fmaui-networking-offline-data","---\nname: maui-networking-offline-data\ndescription: >-\n  Build .NET MAUI networking and offline data features with HttpClient DI, JSON serialization, emulator\u002Fsimulator networking, debug cleartext exceptions, SQLite persistence, sync boundaries, retries, cancellation, and error handling. USE FOR: typed HttpClient clients, Android emulator 10.0.2.2, iOS simulator localhost, physical-device LAN\u002Fdev-tunnel fallback, offline-first screens, SQLiteAsyncConnection\u002FEF Core sync metadata, sync queues, sensitive offline data encryption decisions, retry\u002Fbackoff, and background batch\u002Fchunk sync. DO NOT USE FOR: auth redirects, Aspire service discovery, or UI layout.\n---\n\n# MAUI Networking and Offline Data\n\nUse this skill when a MAUI feature calls backend APIs, works against local\nservices during development, persists local data, or must behave well offline.\n\n## Workflow\n\n1. Inspect `MauiProgram.cs`, existing API clients, model serialization, and data\n   storage packages.\n2. Register API clients through DI. Prefer typed clients or named clients over\n   constructing `HttpClient` in pages.\n3. Define request\u002Fresponse DTOs and serialization options once. Prefer\n   `System.Text.Json` source generation for trimmed or NativeAOT-sensitive apps.\n4. Decide the local development address by runtime platform and environment.\n5. Keep cleartext HTTP exceptions debug-only and platform-scoped.\n6. Define offline boundaries before schema\u002Fcode: name the read-only cached\n   reference data, the entities users can edit while offline, and the fields\n   that remain server-authoritative.\n7. For SQLite\u002Foffline sync answers, show the storage initialization API before\n   the entity schema: explicitly name `SQLiteAsyncConnection` plus\n   `CreateTableAsync\u003CT>` for sqlite-net, or an EF Core `DbContext` setup. Do not\n   only show POCO models, sqlite-net attributes, or `db.Table\u003CT>()` queries.\n8. In every offline-sync design, include a security line: if cached data is\n   sensitive, regulated, or contains customer\u002Fbusiness PII, encrypt the local\n   SQLite store, for example with SQLCipher\u002Fprovider encryption, and keep the\n   database key in `SecureStorage` rather than source code or `Preferences`.\n9. In every offline-sync design, include a background performance line: drain\n   queued sync work in bounded batches\u002Fchunks off the UI thread, and marshal only\n   UI updates through `MainThread` when needed.\n10. Store local data in SQLite or app data files behind a repository\u002Fservice\n   abstraction.\n11. Add cancellation, timeout, retry, and user-facing error states.\n\n## HttpClient DI Pattern\n\n```csharp\nbuilder.Services.AddHttpClient\u003CIProductsApi, ProductsApi>(client =>\n{\n    client.BaseAddress = new Uri(\"https:\u002F\u002Fapi.contoso.dev\u002F\");\n});\n```\n\nKeep auth headers in a delegating handler or typed client boundary. Do not add\nbearer tokens in every page or ViewModel.\n\n## Local Development Networking\n\n| Runtime | Local backend address |\n| --- | --- |\n| Android emulator | Use `10.0.2.2` to reach the host machine. |\n| iOS simulator | `localhost` usually reaches the Mac host. |\n| Windows\u002FMac Catalyst app | `localhost` reaches the same machine. |\n| Physical device | Use a LAN-reachable hostname\u002FIP, reverse tunnel, dev proxy, or deployed endpoint. |\n\nFor cleartext HTTP during development:\n\n- Android needs a debug-only network security config such as\n  `networkSecurityConfig` or `UsesCleartextTraffic`. Gate it with `#if DEBUG`,\n  `IsDevelopment`, or an MSBuild `Condition` on the Debug configuration so it is\n  never present in Release builds.\n- iOS\u002FMac Catalyst need an App Transport Security (`NSAppTransportSecurity`)\n  exception for debug HTTP, also guarded by a Debug-only condition.\n- Release builds should use HTTPS and remove broad cleartext exceptions.\n\n## Connectivity Check\n\nUse MAUI connectivity APIs to decide when to show offline UI and when to drain\nsync queues:\n\n```csharp\npublic sealed class SyncService(IConnectivity connectivity)\n{\n    public bool IsOnline => connectivity.NetworkAccess == NetworkAccess.Internet;\n}\n```\n\nSubscribe to `ConnectivityChanged` from a long-lived service when the app should\nresume sync on reconnect, and unsubscribe when the owner is disposed. Only\n`NetworkAccess.Internet` indicates a routable connection. In migrated apps,\nreplace `Xamarin.Essentials.Connectivity` with `Microsoft.Maui.Networking`\nAPIs or injected `IConnectivity`.\n\n## JSON Guidance\n\n- Use one `JsonSerializerOptions` instance for casing, enum conversion, and null\n  handling.\n- Prefer source-generated `JsonSerializerContext` when the app is trimmed,\n  NativeAOT-sensitive, or serializes many known DTOs.\n- Separate DTOs from database entities when local schema and API shape evolve at\n  different speeds.\n\n## SQLite and Offline Sync\n\nUse SQLite for structured local state, offline queues, and cached server data.\nStart offline-sync guidance with an explicit boundary list or table so the\nanswer does not imply every local row is editable. For example:\n\n| Boundary | Examples | Sync behavior |\n|----------|----------|---------------|\n| Read-only cached reference data | product catalog, feature flags, lookup values | pull\u002Frefresh from server; do not enqueue local edits |\n| Offline-editable user data | draft orders, notes, inspection forms | local writes get dirty state and outbox entries |\n| Server-authoritative data | payment status, inventory counts, account roles | display cached values but require online server confirmation before mutation |\n\nFor sqlite-net, this usually means a `SQLiteAsyncConnection` and\n`CreateTableAsync\u003CT>` setup before any `db.Table\u003CT>()` queries. For EF Core, keep\nthe local schema behind a `DbContext`.\n\nAlways include a short initialization snippet in offline-sync guidance so the\nstorage layer is concrete, not just the row shape or sqlite-net attributes.\nImmediately after the boundary table or storage initialization, include a\none-sentence security decision for sensitive offline data, naming encryption\nsuch as SQLCipher and a `SecureStorage`-protected key when applicable.\nAlso include a one-sentence sync performance decision using the words\n`background` and `batch` or `chunk`, for example: \"Drain the outbox on a\nbackground worker in small batches\u002Fchunks and use `MainThread` only to update\nprogress UI.\"\n\n```csharp\nvar db = new SQLiteAsyncConnection(databasePath);\nawait db.CreateTableAsync\u003COrder>();\nawait db.CreateTableAsync\u003CSyncOperation>();\n```\n\nCommon fields for syncable rows:\n\n- Server ID and local ID.\n- `UpdatedAt`, `ETag`, row version, or another concurrency token.\n- Dirty state such as `PendingCreate`, `PendingUpdate`, or `PendingDelete`.\n- Tombstone\u002Fdeleted marker when deletes must sync.\n\nKeep sync boundaries explicit:\n\n- Cache read-only reference data separately from editable offline data and say\n  which local tables are never enqueued for upload.\n- Retry idempotent operations automatically; ask the user before replaying\n  non-idempotent actions.\n- Resolve conflicts with a documented policy: server wins, client wins, field\n  merge, or user decision.\n- Persist queued operations before sending them so app termination does not lose\n  offline edits.\n- Encrypt the local SQLite database when it stores sensitive business data.\n  Options include SQLCipher-based packages or provider-specific SQLite\n  encryption. Store the database key in `SecureStorage`, not in source code or\n  `Preferences`.\n- Page or chunk large sync operations and write in bounded batches so the app\n  stays responsive and avoids mobile memory spikes.\n- Drain sync queues on background work, not the UI thread; marshal only progress\n  or completion updates back with `MainThread.BeginInvokeOnMainThread` when UI\n  needs to change.\n\n## Retry and Error Handling\n\n- Pass `CancellationToken` from UI commands and lifecycle shutdown paths.\n- Use short connection timeouts and clear user messages for no network,\n  unauthorized, validation, and server errors.\n- Retry only transient failures such as timeouts and 5xx responses.\n- Use exponential backoff with jitter for background sync.\n- Do not silently swallow sync failures; surface pending state and retry status.\n\n## Validation Checklist\n\n- API clients are registered in DI and are not created directly in UI code.\n- Local dev base addresses are platform-aware.\n- Cleartext HTTP exceptions are debug-only.\n- SQLite state has an explicit sync\u002Fconflict boundary and names the concrete\n  storage API, such as `SQLiteAsyncConnection` with `CreateTableAsync\u003CT>` or an\n  EF Core `DbContext`.\n- Sensitive local data has an encryption decision, such as SQLCipher plus a key\n  stored in `SecureStorage`.\n- Requests support cancellation and distinguish transient from permanent errors.\n",{"data":50,"body":51},{"name":4,"description":6},{"type":52,"children":53},"root",[54,63,69,76,217,223,272,277,283,382,387,454,460,465,503,547,553,587,593,598,679,711,753,784,789,848,853,912,918,954,960,1018],{"type":55,"tag":56,"props":57,"children":59},"element","h1",{"id":58},"maui-networking-and-offline-data",[60],{"type":61,"value":62},"text","MAUI Networking and Offline Data",{"type":55,"tag":64,"props":65,"children":66},"p",{},[67],{"type":61,"value":68},"Use this skill when a MAUI feature calls backend APIs, works against local\nservices during development, persists local data, or must behave well offline.",{"type":55,"tag":70,"props":71,"children":73},"h2",{"id":72},"workflow",[74],{"type":61,"value":75},"Workflow",{"type":55,"tag":77,"props":78,"children":79},"ol",{},[80,95,108,121,126,131,136,173,194,207,212],{"type":55,"tag":81,"props":82,"children":83},"li",{},[84,86,93],{"type":61,"value":85},"Inspect ",{"type":55,"tag":87,"props":88,"children":90},"code",{"className":89},[],[91],{"type":61,"value":92},"MauiProgram.cs",{"type":61,"value":94},", existing API clients, model serialization, and data\nstorage packages.",{"type":55,"tag":81,"props":96,"children":97},{},[98,100,106],{"type":61,"value":99},"Register API clients through DI. Prefer typed clients or named clients over\nconstructing ",{"type":55,"tag":87,"props":101,"children":103},{"className":102},[],[104],{"type":61,"value":105},"HttpClient",{"type":61,"value":107}," in pages.",{"type":55,"tag":81,"props":109,"children":110},{},[111,113,119],{"type":61,"value":112},"Define request\u002Fresponse DTOs and serialization options once. Prefer\n",{"type":55,"tag":87,"props":114,"children":116},{"className":115},[],[117],{"type":61,"value":118},"System.Text.Json",{"type":61,"value":120}," source generation for trimmed or NativeAOT-sensitive apps.",{"type":55,"tag":81,"props":122,"children":123},{},[124],{"type":61,"value":125},"Decide the local development address by runtime platform and environment.",{"type":55,"tag":81,"props":127,"children":128},{},[129],{"type":61,"value":130},"Keep cleartext HTTP exceptions debug-only and platform-scoped.",{"type":55,"tag":81,"props":132,"children":133},{},[134],{"type":61,"value":135},"Define offline boundaries before schema\u002Fcode: name the read-only cached\nreference data, the entities users can edit while offline, and the fields\nthat remain server-authoritative.",{"type":55,"tag":81,"props":137,"children":138},{},[139,141,147,149,155,157,163,165,171],{"type":61,"value":140},"For SQLite\u002Foffline sync answers, show the storage initialization API before\nthe entity schema: explicitly name ",{"type":55,"tag":87,"props":142,"children":144},{"className":143},[],[145],{"type":61,"value":146},"SQLiteAsyncConnection",{"type":61,"value":148}," plus\n",{"type":55,"tag":87,"props":150,"children":152},{"className":151},[],[153],{"type":61,"value":154},"CreateTableAsync\u003CT>",{"type":61,"value":156}," for sqlite-net, or an EF Core ",{"type":55,"tag":87,"props":158,"children":160},{"className":159},[],[161],{"type":61,"value":162},"DbContext",{"type":61,"value":164}," setup. Do not\nonly show POCO models, sqlite-net attributes, or ",{"type":55,"tag":87,"props":166,"children":168},{"className":167},[],[169],{"type":61,"value":170},"db.Table\u003CT>()",{"type":61,"value":172}," queries.",{"type":55,"tag":81,"props":174,"children":175},{},[176,178,184,186,192],{"type":61,"value":177},"In every offline-sync design, include a security line: if cached data is\nsensitive, regulated, or contains customer\u002Fbusiness PII, encrypt the local\nSQLite store, for example with SQLCipher\u002Fprovider encryption, and keep the\ndatabase key in ",{"type":55,"tag":87,"props":179,"children":181},{"className":180},[],[182],{"type":61,"value":183},"SecureStorage",{"type":61,"value":185}," rather than source code or ",{"type":55,"tag":87,"props":187,"children":189},{"className":188},[],[190],{"type":61,"value":191},"Preferences",{"type":61,"value":193},".",{"type":55,"tag":81,"props":195,"children":196},{},[197,199,205],{"type":61,"value":198},"In every offline-sync design, include a background performance line: drain\nqueued sync work in bounded batches\u002Fchunks off the UI thread, and marshal only\nUI updates through ",{"type":55,"tag":87,"props":200,"children":202},{"className":201},[],[203],{"type":61,"value":204},"MainThread",{"type":61,"value":206}," when needed.",{"type":55,"tag":81,"props":208,"children":209},{},[210],{"type":61,"value":211},"Store local data in SQLite or app data files behind a repository\u002Fservice\nabstraction.",{"type":55,"tag":81,"props":213,"children":214},{},[215],{"type":61,"value":216},"Add cancellation, timeout, retry, and user-facing error states.",{"type":55,"tag":70,"props":218,"children":220},{"id":219},"httpclient-di-pattern",[221],{"type":61,"value":222},"HttpClient DI Pattern",{"type":55,"tag":224,"props":225,"children":230},"pre",{"className":226,"code":227,"language":228,"meta":229,"style":229},"language-csharp shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","builder.Services.AddHttpClient\u003CIProductsApi, ProductsApi>(client =>\n{\n    client.BaseAddress = new Uri(\"https:\u002F\u002Fapi.contoso.dev\u002F\");\n});\n","csharp","",[231],{"type":55,"tag":87,"props":232,"children":233},{"__ignoreMap":229},[234,245,254,263],{"type":55,"tag":235,"props":236,"children":239},"span",{"class":237,"line":238},"line",1,[240],{"type":55,"tag":235,"props":241,"children":242},{},[243],{"type":61,"value":244},"builder.Services.AddHttpClient\u003CIProductsApi, ProductsApi>(client =>\n",{"type":55,"tag":235,"props":246,"children":248},{"class":237,"line":247},2,[249],{"type":55,"tag":235,"props":250,"children":251},{},[252],{"type":61,"value":253},"{\n",{"type":55,"tag":235,"props":255,"children":257},{"class":237,"line":256},3,[258],{"type":55,"tag":235,"props":259,"children":260},{},[261],{"type":61,"value":262},"    client.BaseAddress = new Uri(\"https:\u002F\u002Fapi.contoso.dev\u002F\");\n",{"type":55,"tag":235,"props":264,"children":266},{"class":237,"line":265},4,[267],{"type":55,"tag":235,"props":268,"children":269},{},[270],{"type":61,"value":271},"});\n",{"type":55,"tag":64,"props":273,"children":274},{},[275],{"type":61,"value":276},"Keep auth headers in a delegating handler or typed client boundary. Do not add\nbearer tokens in every page or ViewModel.",{"type":55,"tag":70,"props":278,"children":280},{"id":279},"local-development-networking",[281],{"type":61,"value":282},"Local Development Networking",{"type":55,"tag":284,"props":285,"children":286},"table",{},[287,306],{"type":55,"tag":288,"props":289,"children":290},"thead",{},[291],{"type":55,"tag":292,"props":293,"children":294},"tr",{},[295,301],{"type":55,"tag":296,"props":297,"children":298},"th",{},[299],{"type":61,"value":300},"Runtime",{"type":55,"tag":296,"props":302,"children":303},{},[304],{"type":61,"value":305},"Local backend address",{"type":55,"tag":307,"props":308,"children":309},"tbody",{},[310,332,351,369],{"type":55,"tag":292,"props":311,"children":312},{},[313,319],{"type":55,"tag":314,"props":315,"children":316},"td",{},[317],{"type":61,"value":318},"Android emulator",{"type":55,"tag":314,"props":320,"children":321},{},[322,324,330],{"type":61,"value":323},"Use ",{"type":55,"tag":87,"props":325,"children":327},{"className":326},[],[328],{"type":61,"value":329},"10.0.2.2",{"type":61,"value":331}," to reach the host machine.",{"type":55,"tag":292,"props":333,"children":334},{},[335,340],{"type":55,"tag":314,"props":336,"children":337},{},[338],{"type":61,"value":339},"iOS simulator",{"type":55,"tag":314,"props":341,"children":342},{},[343,349],{"type":55,"tag":87,"props":344,"children":346},{"className":345},[],[347],{"type":61,"value":348},"localhost",{"type":61,"value":350}," usually reaches the Mac host.",{"type":55,"tag":292,"props":352,"children":353},{},[354,359],{"type":55,"tag":314,"props":355,"children":356},{},[357],{"type":61,"value":358},"Windows\u002FMac Catalyst app",{"type":55,"tag":314,"props":360,"children":361},{},[362,367],{"type":55,"tag":87,"props":363,"children":365},{"className":364},[],[366],{"type":61,"value":348},{"type":61,"value":368}," reaches the same machine.",{"type":55,"tag":292,"props":370,"children":371},{},[372,377],{"type":55,"tag":314,"props":373,"children":374},{},[375],{"type":61,"value":376},"Physical device",{"type":55,"tag":314,"props":378,"children":379},{},[380],{"type":61,"value":381},"Use a LAN-reachable hostname\u002FIP, reverse tunnel, dev proxy, or deployed endpoint.",{"type":55,"tag":64,"props":383,"children":384},{},[385],{"type":61,"value":386},"For cleartext HTTP during development:",{"type":55,"tag":388,"props":389,"children":390},"ul",{},[391,436,449],{"type":55,"tag":81,"props":392,"children":393},{},[394,396,402,404,410,412,418,420,426,428,434],{"type":61,"value":395},"Android needs a debug-only network security config such as\n",{"type":55,"tag":87,"props":397,"children":399},{"className":398},[],[400],{"type":61,"value":401},"networkSecurityConfig",{"type":61,"value":403}," or ",{"type":55,"tag":87,"props":405,"children":407},{"className":406},[],[408],{"type":61,"value":409},"UsesCleartextTraffic",{"type":61,"value":411},". Gate it with ",{"type":55,"tag":87,"props":413,"children":415},{"className":414},[],[416],{"type":61,"value":417},"#if DEBUG",{"type":61,"value":419},",\n",{"type":55,"tag":87,"props":421,"children":423},{"className":422},[],[424],{"type":61,"value":425},"IsDevelopment",{"type":61,"value":427},", or an MSBuild ",{"type":55,"tag":87,"props":429,"children":431},{"className":430},[],[432],{"type":61,"value":433},"Condition",{"type":61,"value":435}," on the Debug configuration so it is\nnever present in Release builds.",{"type":55,"tag":81,"props":437,"children":438},{},[439,441,447],{"type":61,"value":440},"iOS\u002FMac Catalyst need an App Transport Security (",{"type":55,"tag":87,"props":442,"children":444},{"className":443},[],[445],{"type":61,"value":446},"NSAppTransportSecurity",{"type":61,"value":448},")\nexception for debug HTTP, also guarded by a Debug-only condition.",{"type":55,"tag":81,"props":450,"children":451},{},[452],{"type":61,"value":453},"Release builds should use HTTPS and remove broad cleartext exceptions.",{"type":55,"tag":70,"props":455,"children":457},{"id":456},"connectivity-check",[458],{"type":61,"value":459},"Connectivity Check",{"type":55,"tag":64,"props":461,"children":462},{},[463],{"type":61,"value":464},"Use MAUI connectivity APIs to decide when to show offline UI and when to drain\nsync queues:",{"type":55,"tag":224,"props":466,"children":468},{"className":226,"code":467,"language":228,"meta":229,"style":229},"public sealed class SyncService(IConnectivity connectivity)\n{\n    public bool IsOnline => connectivity.NetworkAccess == NetworkAccess.Internet;\n}\n",[469],{"type":55,"tag":87,"props":470,"children":471},{"__ignoreMap":229},[472,480,487,495],{"type":55,"tag":235,"props":473,"children":474},{"class":237,"line":238},[475],{"type":55,"tag":235,"props":476,"children":477},{},[478],{"type":61,"value":479},"public sealed class SyncService(IConnectivity connectivity)\n",{"type":55,"tag":235,"props":481,"children":482},{"class":237,"line":247},[483],{"type":55,"tag":235,"props":484,"children":485},{},[486],{"type":61,"value":253},{"type":55,"tag":235,"props":488,"children":489},{"class":237,"line":256},[490],{"type":55,"tag":235,"props":491,"children":492},{},[493],{"type":61,"value":494},"    public bool IsOnline => connectivity.NetworkAccess == NetworkAccess.Internet;\n",{"type":55,"tag":235,"props":496,"children":497},{"class":237,"line":265},[498],{"type":55,"tag":235,"props":499,"children":500},{},[501],{"type":61,"value":502},"}\n",{"type":55,"tag":64,"props":504,"children":505},{},[506,508,514,516,522,524,530,532,538,540,546],{"type":61,"value":507},"Subscribe to ",{"type":55,"tag":87,"props":509,"children":511},{"className":510},[],[512],{"type":61,"value":513},"ConnectivityChanged",{"type":61,"value":515}," from a long-lived service when the app should\nresume sync on reconnect, and unsubscribe when the owner is disposed. Only\n",{"type":55,"tag":87,"props":517,"children":519},{"className":518},[],[520],{"type":61,"value":521},"NetworkAccess.Internet",{"type":61,"value":523}," indicates a routable connection. In migrated apps,\nreplace ",{"type":55,"tag":87,"props":525,"children":527},{"className":526},[],[528],{"type":61,"value":529},"Xamarin.Essentials.Connectivity",{"type":61,"value":531}," with ",{"type":55,"tag":87,"props":533,"children":535},{"className":534},[],[536],{"type":61,"value":537},"Microsoft.Maui.Networking",{"type":61,"value":539},"\nAPIs or injected ",{"type":55,"tag":87,"props":541,"children":543},{"className":542},[],[544],{"type":61,"value":545},"IConnectivity",{"type":61,"value":193},{"type":55,"tag":70,"props":548,"children":550},{"id":549},"json-guidance",[551],{"type":61,"value":552},"JSON Guidance",{"type":55,"tag":388,"props":554,"children":555},{},[556,569,582],{"type":55,"tag":81,"props":557,"children":558},{},[559,561,567],{"type":61,"value":560},"Use one ",{"type":55,"tag":87,"props":562,"children":564},{"className":563},[],[565],{"type":61,"value":566},"JsonSerializerOptions",{"type":61,"value":568}," instance for casing, enum conversion, and null\nhandling.",{"type":55,"tag":81,"props":570,"children":571},{},[572,574,580],{"type":61,"value":573},"Prefer source-generated ",{"type":55,"tag":87,"props":575,"children":577},{"className":576},[],[578],{"type":61,"value":579},"JsonSerializerContext",{"type":61,"value":581}," when the app is trimmed,\nNativeAOT-sensitive, or serializes many known DTOs.",{"type":55,"tag":81,"props":583,"children":584},{},[585],{"type":61,"value":586},"Separate DTOs from database entities when local schema and API shape evolve at\ndifferent speeds.",{"type":55,"tag":70,"props":588,"children":590},{"id":589},"sqlite-and-offline-sync",[591],{"type":61,"value":592},"SQLite and Offline Sync",{"type":55,"tag":64,"props":594,"children":595},{},[596],{"type":61,"value":597},"Use SQLite for structured local state, offline queues, and cached server data.\nStart offline-sync guidance with an explicit boundary list or table so the\nanswer does not imply every local row is editable. For example:",{"type":55,"tag":284,"props":599,"children":600},{},[601,622],{"type":55,"tag":288,"props":602,"children":603},{},[604],{"type":55,"tag":292,"props":605,"children":606},{},[607,612,617],{"type":55,"tag":296,"props":608,"children":609},{},[610],{"type":61,"value":611},"Boundary",{"type":55,"tag":296,"props":613,"children":614},{},[615],{"type":61,"value":616},"Examples",{"type":55,"tag":296,"props":618,"children":619},{},[620],{"type":61,"value":621},"Sync behavior",{"type":55,"tag":307,"props":623,"children":624},{},[625,643,661],{"type":55,"tag":292,"props":626,"children":627},{},[628,633,638],{"type":55,"tag":314,"props":629,"children":630},{},[631],{"type":61,"value":632},"Read-only cached reference data",{"type":55,"tag":314,"props":634,"children":635},{},[636],{"type":61,"value":637},"product catalog, feature flags, lookup values",{"type":55,"tag":314,"props":639,"children":640},{},[641],{"type":61,"value":642},"pull\u002Frefresh from server; do not enqueue local edits",{"type":55,"tag":292,"props":644,"children":645},{},[646,651,656],{"type":55,"tag":314,"props":647,"children":648},{},[649],{"type":61,"value":650},"Offline-editable user data",{"type":55,"tag":314,"props":652,"children":653},{},[654],{"type":61,"value":655},"draft orders, notes, inspection forms",{"type":55,"tag":314,"props":657,"children":658},{},[659],{"type":61,"value":660},"local writes get dirty state and outbox entries",{"type":55,"tag":292,"props":662,"children":663},{},[664,669,674],{"type":55,"tag":314,"props":665,"children":666},{},[667],{"type":61,"value":668},"Server-authoritative data",{"type":55,"tag":314,"props":670,"children":671},{},[672],{"type":61,"value":673},"payment status, inventory counts, account roles",{"type":55,"tag":314,"props":675,"children":676},{},[677],{"type":61,"value":678},"display cached values but require online server confirmation before mutation",{"type":55,"tag":64,"props":680,"children":681},{},[682,684,689,691,696,698,703,705,710],{"type":61,"value":683},"For sqlite-net, this usually means a ",{"type":55,"tag":87,"props":685,"children":687},{"className":686},[],[688],{"type":61,"value":146},{"type":61,"value":690}," and\n",{"type":55,"tag":87,"props":692,"children":694},{"className":693},[],[695],{"type":61,"value":154},{"type":61,"value":697}," setup before any ",{"type":55,"tag":87,"props":699,"children":701},{"className":700},[],[702],{"type":61,"value":170},{"type":61,"value":704}," queries. For EF Core, keep\nthe local schema behind a ",{"type":55,"tag":87,"props":706,"children":708},{"className":707},[],[709],{"type":61,"value":162},{"type":61,"value":193},{"type":55,"tag":64,"props":712,"children":713},{},[714,716,721,723,729,731,737,738,744,746,751],{"type":61,"value":715},"Always include a short initialization snippet in offline-sync guidance so the\nstorage layer is concrete, not just the row shape or sqlite-net attributes.\nImmediately after the boundary table or storage initialization, include a\none-sentence security decision for sensitive offline data, naming encryption\nsuch as SQLCipher and a ",{"type":55,"tag":87,"props":717,"children":719},{"className":718},[],[720],{"type":61,"value":183},{"type":61,"value":722},"-protected key when applicable.\nAlso include a one-sentence sync performance decision using the words\n",{"type":55,"tag":87,"props":724,"children":726},{"className":725},[],[727],{"type":61,"value":728},"background",{"type":61,"value":730}," and ",{"type":55,"tag":87,"props":732,"children":734},{"className":733},[],[735],{"type":61,"value":736},"batch",{"type":61,"value":403},{"type":55,"tag":87,"props":739,"children":741},{"className":740},[],[742],{"type":61,"value":743},"chunk",{"type":61,"value":745},", for example: \"Drain the outbox on a\nbackground worker in small batches\u002Fchunks and use ",{"type":55,"tag":87,"props":747,"children":749},{"className":748},[],[750],{"type":61,"value":204},{"type":61,"value":752}," only to update\nprogress UI.\"",{"type":55,"tag":224,"props":754,"children":756},{"className":226,"code":755,"language":228,"meta":229,"style":229},"var db = new SQLiteAsyncConnection(databasePath);\nawait db.CreateTableAsync\u003COrder>();\nawait db.CreateTableAsync\u003CSyncOperation>();\n",[757],{"type":55,"tag":87,"props":758,"children":759},{"__ignoreMap":229},[760,768,776],{"type":55,"tag":235,"props":761,"children":762},{"class":237,"line":238},[763],{"type":55,"tag":235,"props":764,"children":765},{},[766],{"type":61,"value":767},"var db = new SQLiteAsyncConnection(databasePath);\n",{"type":55,"tag":235,"props":769,"children":770},{"class":237,"line":247},[771],{"type":55,"tag":235,"props":772,"children":773},{},[774],{"type":61,"value":775},"await db.CreateTableAsync\u003COrder>();\n",{"type":55,"tag":235,"props":777,"children":778},{"class":237,"line":256},[779],{"type":55,"tag":235,"props":780,"children":781},{},[782],{"type":61,"value":783},"await db.CreateTableAsync\u003CSyncOperation>();\n",{"type":55,"tag":64,"props":785,"children":786},{},[787],{"type":61,"value":788},"Common fields for syncable rows:",{"type":55,"tag":388,"props":790,"children":791},{},[792,797,816,843],{"type":55,"tag":81,"props":793,"children":794},{},[795],{"type":61,"value":796},"Server ID and local ID.",{"type":55,"tag":81,"props":798,"children":799},{},[800,806,808,814],{"type":55,"tag":87,"props":801,"children":803},{"className":802},[],[804],{"type":61,"value":805},"UpdatedAt",{"type":61,"value":807},", ",{"type":55,"tag":87,"props":809,"children":811},{"className":810},[],[812],{"type":61,"value":813},"ETag",{"type":61,"value":815},", row version, or another concurrency token.",{"type":55,"tag":81,"props":817,"children":818},{},[819,821,827,828,834,836,842],{"type":61,"value":820},"Dirty state such as ",{"type":55,"tag":87,"props":822,"children":824},{"className":823},[],[825],{"type":61,"value":826},"PendingCreate",{"type":61,"value":807},{"type":55,"tag":87,"props":829,"children":831},{"className":830},[],[832],{"type":61,"value":833},"PendingUpdate",{"type":61,"value":835},", or ",{"type":55,"tag":87,"props":837,"children":839},{"className":838},[],[840],{"type":61,"value":841},"PendingDelete",{"type":61,"value":193},{"type":55,"tag":81,"props":844,"children":845},{},[846],{"type":61,"value":847},"Tombstone\u002Fdeleted marker when deletes must sync.",{"type":55,"tag":64,"props":849,"children":850},{},[851],{"type":61,"value":852},"Keep sync boundaries explicit:",{"type":55,"tag":388,"props":854,"children":855},{},[856,861,866,871,876,894,899],{"type":55,"tag":81,"props":857,"children":858},{},[859],{"type":61,"value":860},"Cache read-only reference data separately from editable offline data and say\nwhich local tables are never enqueued for upload.",{"type":55,"tag":81,"props":862,"children":863},{},[864],{"type":61,"value":865},"Retry idempotent operations automatically; ask the user before replaying\nnon-idempotent actions.",{"type":55,"tag":81,"props":867,"children":868},{},[869],{"type":61,"value":870},"Resolve conflicts with a documented policy: server wins, client wins, field\nmerge, or user decision.",{"type":55,"tag":81,"props":872,"children":873},{},[874],{"type":61,"value":875},"Persist queued operations before sending them so app termination does not lose\noffline edits.",{"type":55,"tag":81,"props":877,"children":878},{},[879,881,886,888,893],{"type":61,"value":880},"Encrypt the local SQLite database when it stores sensitive business data.\nOptions include SQLCipher-based packages or provider-specific SQLite\nencryption. Store the database key in ",{"type":55,"tag":87,"props":882,"children":884},{"className":883},[],[885],{"type":61,"value":183},{"type":61,"value":887},", not in source code or\n",{"type":55,"tag":87,"props":889,"children":891},{"className":890},[],[892],{"type":61,"value":191},{"type":61,"value":193},{"type":55,"tag":81,"props":895,"children":896},{},[897],{"type":61,"value":898},"Page or chunk large sync operations and write in bounded batches so the app\nstays responsive and avoids mobile memory spikes.",{"type":55,"tag":81,"props":900,"children":901},{},[902,904,910],{"type":61,"value":903},"Drain sync queues on background work, not the UI thread; marshal only progress\nor completion updates back with ",{"type":55,"tag":87,"props":905,"children":907},{"className":906},[],[908],{"type":61,"value":909},"MainThread.BeginInvokeOnMainThread",{"type":61,"value":911}," when UI\nneeds to change.",{"type":55,"tag":70,"props":913,"children":915},{"id":914},"retry-and-error-handling",[916],{"type":61,"value":917},"Retry and Error Handling",{"type":55,"tag":388,"props":919,"children":920},{},[921,934,939,944,949],{"type":55,"tag":81,"props":922,"children":923},{},[924,926,932],{"type":61,"value":925},"Pass ",{"type":55,"tag":87,"props":927,"children":929},{"className":928},[],[930],{"type":61,"value":931},"CancellationToken",{"type":61,"value":933}," from UI commands and lifecycle shutdown paths.",{"type":55,"tag":81,"props":935,"children":936},{},[937],{"type":61,"value":938},"Use short connection timeouts and clear user messages for no network,\nunauthorized, validation, and server errors.",{"type":55,"tag":81,"props":940,"children":941},{},[942],{"type":61,"value":943},"Retry only transient failures such as timeouts and 5xx responses.",{"type":55,"tag":81,"props":945,"children":946},{},[947],{"type":61,"value":948},"Use exponential backoff with jitter for background sync.",{"type":55,"tag":81,"props":950,"children":951},{},[952],{"type":61,"value":953},"Do not silently swallow sync failures; surface pending state and retry status.",{"type":55,"tag":70,"props":955,"children":957},{"id":956},"validation-checklist",[958],{"type":61,"value":959},"Validation Checklist",{"type":55,"tag":388,"props":961,"children":962},{},[963,968,973,978,1002,1013],{"type":55,"tag":81,"props":964,"children":965},{},[966],{"type":61,"value":967},"API clients are registered in DI and are not created directly in UI code.",{"type":55,"tag":81,"props":969,"children":970},{},[971],{"type":61,"value":972},"Local dev base addresses are platform-aware.",{"type":55,"tag":81,"props":974,"children":975},{},[976],{"type":61,"value":977},"Cleartext HTTP exceptions are debug-only.",{"type":55,"tag":81,"props":979,"children":980},{},[981,983,988,989,994,996,1001],{"type":61,"value":982},"SQLite state has an explicit sync\u002Fconflict boundary and names the concrete\nstorage API, such as ",{"type":55,"tag":87,"props":984,"children":986},{"className":985},[],[987],{"type":61,"value":146},{"type":61,"value":531},{"type":55,"tag":87,"props":990,"children":992},{"className":991},[],[993],{"type":61,"value":154},{"type":61,"value":995}," or an\nEF Core ",{"type":55,"tag":87,"props":997,"children":999},{"className":998},[],[1000],{"type":61,"value":162},{"type":61,"value":193},{"type":55,"tag":81,"props":1003,"children":1004},{},[1005,1007,1012],{"type":61,"value":1006},"Sensitive local data has an encryption decision, such as SQLCipher plus a key\nstored in ",{"type":55,"tag":87,"props":1008,"children":1010},{"className":1009},[],[1011],{"type":61,"value":183},{"type":61,"value":193},{"type":55,"tag":81,"props":1014,"children":1015},{},[1016],{"type":61,"value":1017},"Requests support cancellation and distinguish transient from permanent errors.",{"type":55,"tag":1019,"props":1020,"children":1021},"style",{},[1022],{"type":61,"value":1023},"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":1025,"total":1188},[1026,1042,1059,1072,1089,1103,1122,1132,1144,1154,1167,1178],{"slug":1027,"name":1027,"fn":1028,"description":1029,"org":1030,"tags":1031,"stars":1039,"repoUrl":1040,"updatedAt":1041},"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},[1032,1033,1036],{"name":20,"slug":21,"type":15},{"name":1034,"slug":1035,"type":15},"Engineering","engineering",{"name":1037,"slug":1038,"type":15},"Performance","performance",5535,"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fmsbuild","2026-07-22T05:37:33.965588",{"slug":1043,"name":1043,"fn":1044,"description":1045,"org":1046,"tags":1047,"stars":1056,"repoUrl":1057,"updatedAt":1058},"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},[1048,1049,1052,1055],{"name":20,"slug":21,"type":15},{"name":1050,"slug":1051,"type":15},"Code Analysis","code-analysis",{"name":1053,"slug":1054,"type":15},"Debugging","debugging",{"name":1037,"slug":1038,"type":15},4576,"https:\u002F\u002Fgithub.com\u002Fdotnet\u002Fskills","2026-07-12T08:23:25.400375",{"slug":1060,"name":1060,"fn":1061,"description":1062,"org":1063,"tags":1064,"stars":1056,"repoUrl":1057,"updatedAt":1071},"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},[1065,1066,1068,1069],{"name":20,"slug":21,"type":15},{"name":1067,"slug":35,"type":15},"Android",{"name":1053,"slug":1054,"type":15},{"name":1070,"slug":40,"type":15},"Microsoft","2026-07-12T08:23:21.595572",{"slug":1073,"name":1073,"fn":1074,"description":1075,"org":1076,"tags":1077,"stars":1056,"repoUrl":1057,"updatedAt":1088},"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},[1078,1079,1080,1082,1085],{"name":20,"slug":21,"type":15},{"name":1053,"slug":1054,"type":15},{"name":1081,"slug":37,"type":15},"iOS",{"name":1083,"slug":1084,"type":15},"macOS","macos",{"name":1086,"slug":1087,"type":15},"Observability","observability","2026-07-12T08:23:20.369986",{"slug":1090,"name":1090,"fn":1091,"description":1092,"org":1093,"tags":1094,"stars":1056,"repoUrl":1057,"updatedAt":1102},"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},[1095,1096,1099],{"name":1050,"slug":1051,"type":15},{"name":1097,"slug":1098,"type":15},"QA","qa",{"name":1100,"slug":1101,"type":15},"Testing","testing","2026-07-12T08:23:51.277743",{"slug":1104,"name":1104,"fn":1105,"description":1106,"org":1107,"tags":1108,"stars":1056,"repoUrl":1057,"updatedAt":1121},"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},[1109,1110,1113,1115,1118],{"name":20,"slug":21,"type":15},{"name":1111,"slug":1112,"type":15},"Blazor","blazor",{"name":1114,"slug":228,"type":15},"C#",{"name":1116,"slug":1117,"type":15},"UI Components","ui-components",{"name":1119,"slug":1120,"type":15},"Web Development","web-development","2026-07-15T06:03:29.216359",{"slug":1123,"name":1123,"fn":1124,"description":1125,"org":1126,"tags":1127,"stars":1056,"repoUrl":1057,"updatedAt":1131},"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},[1128,1129,1130],{"name":1050,"slug":1051,"type":15},{"name":1053,"slug":1054,"type":15},{"name":1070,"slug":40,"type":15},"2026-07-12T08:21:34.637923",{"slug":1133,"name":1133,"fn":1134,"description":1135,"org":1136,"tags":1137,"stars":1056,"repoUrl":1057,"updatedAt":1143},"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},[1138,1141,1142],{"name":1139,"slug":1140,"type":15},"Build","build",{"name":1053,"slug":1054,"type":15},{"name":1034,"slug":1035,"type":15},"2026-07-19T05:38:19.340791",{"slug":1145,"name":1145,"fn":1146,"description":1147,"org":1148,"tags":1149,"stars":1056,"repoUrl":1057,"updatedAt":1153},"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},[1150,1151,1152],{"name":20,"slug":21,"type":15},{"name":1034,"slug":1035,"type":15},{"name":1037,"slug":1038,"type":15},"2026-07-19T05:38:18.364937",{"slug":1155,"name":1155,"fn":1156,"description":1157,"org":1158,"tags":1159,"stars":1056,"repoUrl":1057,"updatedAt":1166},"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},[1160,1161,1164,1165],{"name":1034,"slug":1035,"type":15},{"name":1162,"slug":1163,"type":15},"Monitoring","monitoring",{"name":1037,"slug":1038,"type":15},{"name":1100,"slug":1101,"type":15},"2026-07-12T08:21:35.865649",{"slug":1168,"name":1168,"fn":1169,"description":1170,"org":1171,"tags":1172,"stars":1056,"repoUrl":1057,"updatedAt":1177},"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},[1173,1174,1175,1176],{"name":20,"slug":21,"type":15},{"name":1053,"slug":1054,"type":15},{"name":1034,"slug":1035,"type":15},{"name":1037,"slug":1038,"type":15},"2026-07-12T08:21:40.961722",{"slug":1179,"name":1179,"fn":1180,"description":1181,"org":1182,"tags":1183,"stars":1056,"repoUrl":1057,"updatedAt":1187},"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},[1184,1185,1186],{"name":1053,"slug":1054,"type":15},{"name":1034,"slug":1035,"type":15},{"name":1097,"slug":1098,"type":15},"2026-07-19T05:38:14.336279",144,{"items":1190,"total":1286},[1191,1207,1220,1230,1243,1259,1275],{"slug":1192,"name":1192,"fn":1193,"description":1194,"org":1195,"tags":1196,"stars":28,"repoUrl":29,"updatedAt":1206},"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},[1197,1198,1199,1202,1205],{"name":20,"slug":21,"type":15},{"name":1067,"slug":35,"type":15},{"name":1200,"slug":1201,"type":15},"Java","java",{"name":1203,"slug":1204,"type":15},"Kotlin","kotlin",{"name":23,"slug":24,"type":15},"2026-07-12T08:22:54.006105",{"slug":1208,"name":1208,"fn":1209,"description":1210,"org":1211,"tags":1212,"stars":28,"repoUrl":29,"updatedAt":1219},"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},[1213,1214,1217,1218],{"name":20,"slug":21,"type":15},{"name":1215,"slug":1216,"type":15},"Automation","automation",{"name":17,"slug":18,"type":15},{"name":23,"slug":24,"type":15},"2026-07-12T08:22:56.616564",{"slug":1221,"name":1221,"fn":1222,"description":1223,"org":1224,"tags":1225,"stars":28,"repoUrl":29,"updatedAt":1229},"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},[1226,1227,1228],{"name":1053,"slug":1054,"type":15},{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},"2026-07-12T08:22:48.847431",{"slug":1231,"name":1231,"fn":1232,"description":1233,"org":1234,"tags":1235,"stars":28,"repoUrl":29,"updatedAt":1242},"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},[1236,1237,1240,1241],{"name":1114,"slug":228,"type":15},{"name":1238,"slug":1239,"type":15},"CLI","cli",{"name":1034,"slug":1035,"type":15},{"name":17,"slug":18,"type":15},"2026-07-12T08:22:46.318953",{"slug":1244,"name":1244,"fn":1245,"description":1246,"org":1247,"tags":1248,"stars":28,"repoUrl":29,"updatedAt":1258},"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},[1249,1250,1251,1252,1255],{"name":20,"slug":21,"type":15},{"name":1081,"slug":37,"type":15},{"name":17,"slug":18,"type":15},{"name":1253,"slug":1254,"type":15},"Swift","swift",{"name":1256,"slug":1257,"type":15},"Xcode","xcode","2026-07-12T08:22:50.128667",{"slug":1260,"name":1260,"fn":1261,"description":1262,"org":1263,"tags":1264,"stars":28,"repoUrl":29,"updatedAt":1274},"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},[1265,1266,1269,1270,1271],{"name":20,"slug":21,"type":15},{"name":1267,"slug":1268,"type":15},"Accessibility","accessibility",{"name":17,"slug":18,"type":15},{"name":23,"slug":24,"type":15},{"name":1272,"slug":1273,"type":15},"WCAG","wcag","2026-07-12T08:22:17.823583",{"slug":1276,"name":1276,"fn":1277,"description":1278,"org":1279,"tags":1280,"stars":28,"repoUrl":29,"updatedAt":1285},"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},[1281,1282,1283,1284],{"name":20,"slug":21,"type":15},{"name":1053,"slug":1054,"type":15},{"name":17,"slug":18,"type":15},{"name":23,"slug":24,"type":15},"2026-07-12T08:22:52.634889",32]