From kagents
.NET MAUI performance — profiling (dotnet trace, dotnet counters), compiled bindings, CollectionView vs ListView, layout optimization, startup time, AOT for Release, PublishTrimmed, image optimization. USE FOR: profiling slow MAUI apps, optimizing layout rendering, reducing startup time, enabling trimming. DO NOT USE FOR: general MAUI patterns (use maui-patterns) or .NET-wide AOT warnings (use dotnet-aot-compat).
npx claudepluginhub grexyloco/k.agentsThis skill uses the workspace's default tool permissions.
Basiert auf: [davidortinau/maui-skills](https://github.com/davidortinau/maui-skills) (MIT, David Ortinau, Microsoft)
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Share bugs, ideas, or general feedback.
Basiert auf: davidortinau/maui-skills (MIT, David Ortinau, Microsoft)
# dotnet-trace für CPU-Profiling
dotnet trace collect --process-id <PID> --providers Microsoft-DotNETCore-SampleProfiler
# dotnet-counters für Live-Metriken
dotnet counters monitor --process-id <PID> --counters System.Runtime
<!-- IMMER Compiled Bindings verwenden -->
<Label Text="{Binding UserName, Mode=OneWay}" />
<!-- In .csproj erzwingen -->
<PropertyGroup>
<StrictXamlCompilation>true</StrictXamlCompilation>
</PropertyGroup>
CollectionView statt ListView (immer)Grid statt verschachtelte StackLayoutAbsoluteLayout / FlexLayout für komplexe LayoutsBindableLayout nur für kleine Listen (< 20 Items)Aspect="AspectFill" oder AspectFit mit expliziten DimensionenCachingEnabled="True" auf UriImageSource<PropertyGroup>
<!-- Interpreter für schnelleren Debug-Start -->
<UseInterpreter Condition="'$(Configuration)' == 'Debug'">true</UseInterpreter>
<!-- AOT für Production -->
<RunAOTCompilation Condition="'$(Configuration)' == 'Release'">true</RunAOTCompilation>
<EnableLLVM>true</EnableLLVM>
</PropertyGroup>
CreateMauiApp() schlank halten<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<PublishTrimmed>true</PublishTrimmed>
<TrimMode>full</TrimMode>
</PropertyGroup>