AGENT SKILL

maui-dev

Use when writing .NET MAUI UI code, XAML pages, Shell navigation, MVVM/CommunityToolkit patterns, CollectionView, data binding, or cross-platform mobile/desktop features.

License 许可
MIT
最近更新
2026-11-15
Stars
★ 23
Forks
3

01 前言 Front Matter

name
maui-dev
license
MIT
description
Use when writing .NET MAUI UI code, XAML pages, Shell navigation, MVVM/CommunityToolkit patterns, CollectionView, data binding, or cross-platform mobile/desktop features.

02 资源文件 8

03 SKILL.md 正文

.NET MAUI Developer

Architecture and UI decisions live in the path declared as <maui-coding-standard> in the repository root AGENTS.md. Language-level C# decisions live in the path declared as <csharp-coding-standard>. Fetch those with docs_get_coding_standard_for_technology before the references below, naming each technology and the topic you need; read a file only when the tool is missing — this skill is procedure, not policy.

Identify your sub-task and read ONLY the relevant reference before proceeding.

Sub-Task When to Use Reference
Shell Navigation GoToAsync, route registration, IQueryAttributable, navigation guards, back navigation Shell Navigation
Data Binding Compiled bindings, x:DataType, ObservableObject, MVVM, CommunityToolkit source generation Data Binding
CollectionView Scrollable lists/grids, selection, grouping, pull-to-refresh, incremental loading, SwipeView CollectionView
Dependency Injection MauiProgram DI setup, singleton/transient registration, Shell + DI integration, pitfalls Dependency Injection
App Lifecycle Window state transitions, OnStopped/OnResumed, state preservation, Android back-button App Lifecycle
Theming AppThemeBinding, light/dark mode, ResourceDictionary swapping, DynamicResource Theming
Safe Area .NET 10 SafeAreaEdges API, edge-to-edge layouts, keyboard avoidance, iOS notch/Android status bar Safe Area
Environment Doctor Diagnose and fix MAUI SDK, workload, Android, Xcode setup issues Environment Doctor

Rule: Read only the reference(s) relevant to your current task. Do not pre-load all references.

04 同仓库更多 Skills