用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill maui-performance命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
基于 SOC 职业分类
正在显示 SKILL.md
| name | maui-performance |
| description | > Use when this capability is needed. |
dotnet-trace collect --process-id <PID> --providers Microsoft-DotNETCore-SampleProfiler
x:DataType on pages/views to enable compiled bindings.x:DataType at the highest reasonable scope (page or root element).<ContentPage xmlns:vm="clr-namespace:MyApp.ViewModels"
x:DataType="vm:MainViewModel">
<Label Text="{Binding Title}" />
</ContentPage>
DataTemplate inside CollectionView/ListView, set x:DataType on the template root:<DataTemplate x:DataType="model:Item">
<Label Text="{Binding Name}" />
</DataTemplate>
{Binding}. Use literal values or x:Static instead.StackLayout with one child is pointless overhead.Grid over nested StackLayout/VerticalStackLayout — Grid resolves layout in a single pass.IsVisible="False" to hide elements rather than adding/removing from the tree at runtime.AbsoluteLayout when Grid with row/column definitions achieves the same result.WidthRequest/HeightRequest where sizes are known to reduce measure passes.ItemSizingStrategy="MeasureFirstItem" on CollectionView when items have uniform height — avoids measuring every item individually.<CollectionView ItemSizingStrategy="MeasureFirstItem"
ItemsSource="{Binding Items}">
CollectionView over ListView for new development.DataTemplate visual trees shallow — fewer nested layouts per item.Aspect="AspectFill" or AspectFit and set explicit dimensions.CachingEnabled="True" (default) on UriImageSource, set CacheValidity.App.xaml): Shared styles, colors, converters used across multiple pages.MergedDictionaries to organize large resource sets without bloating a single file.App constructor and MainPage constructor.Shell routing for deferred loading).Handlers/Effects registrations from MauiProgram.cs.AndroidManifest.xml doesn't force unnecessary permissions checks at launch.Enable IL trimming to reduce app size and remove unused code:
<PropertyGroup>
<PublishTrimmed>true</PublishTrimmed>
<TrimMode>full</TrimMode>
</PropertyGroup>
[DynamicDependency] or [UnconditionalSuppressMessage] to preserve reflection targets.<PropertyGroup>
<PublishAot>true</PublishAot>
<PublishTrimmed>true</PublishTrimmed>
</PropertyGroup>
[JsonSerializable] source generators instead of reflection-based JSON serialization.dotnet publish with AOT to verify no warnings before shipping.x:DataType on all pages, templates, and data-bound viewsItemSizingStrategy="MeasureFirstItem" on uniform CollectionViewsConverted and distributed by TomeVault — claim your Tome and manage your conversions.