Token导航 LogoToken导航

Agent Skill · 研究检索

maui-current-apis(毛伊岛当前 API)

maui-current-apis 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

maui-current-apis 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 56,028。

总安装 465周安装 19GitHub Stars 129下载 150核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:maui-current-apis(毛伊岛当前 API)
来源仓库:https://github.com/davidortinau/maui-skills
仓库路径:skills/maui-current-apis
安装命令:
npx skills add https://github.com/davidortinau/maui-skills --skill maui-current-apis
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/davidortinau/maui-skills --skill maui-current-apis

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息。maui-current-apis 属于研究检索类 Skill,可作为该场景下的辅助能力补充。适合在关键词搜索或任务场景下快速定位候选结果。可结合来源仓库和原始 README 核验具体用法。安装前建议确认权限范围和是否会触发文件读写。维护状态不明时需人工复核功能稳定性。

来源仓库内路径:skills/maui-current-apis

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/davidortinau/maui-skills --skill maui-current-…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

maui-current-apis 怎么安装?

在终端执行 npx skills add https://github.com/davidortinau/maui-skills --skill maui-current-apis。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

maui-current-apis 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

maui-current-apis 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/davidortinau/maui-skills --skill maui-current-apis 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

maui-current-apis 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

maui-current-apis 用的人多吗?

公开数据是累计安装 465 次,近一周安装 19 次,下载 150 次,GitHub 129 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

maui-current-apis 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
maui-current-apis

毛伊岛当前 API · 本页

465129执行命令未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

.NET MAUI Current APIs — Guardrail Skill

This skill prevents you from generating code that uses deprecated, obsolete, or removed APIs. Read this before writing any.NET MAUI, Blazor Hybrid, or MauiReactor code.

Reasoning Framework

Follow these steps before generating any MAUI-related code:

Step 1 — Detect the Target Framework

Read the project's .csproj file and find <TargetFramework> or <TargetFrameworks>:

<!-- Single target -->
<TargetFramework>net10.0-android</TargetFramework>

<!-- Multi-target (typical MAUI project) -->
<TargetFrameworks>net10.0-android;net10.0-ios;net10.0-maccatalyst;net10.0-windows10.0.19041.0</TargetFrameworks>

The version number (net10.0, net9.0, net8.0) determines which APIs are available. Always target the version in the project file — never assume a version.

Step 2 — Detect Library Versions

Scan <PackageReference> entries and <ItemGroup> for key packages:

PackageWhat it tells you
Microsoft.Maui.ControlsMAUI version (if explicit)
CommunityToolkit.MauiToolkit version — APIs change between major versions
CommunityToolkit.MvvmMVVM Toolkit version — needed for WeakReferenceMessenger
Reactor.MauiMauiReactor version — v3+ has different APIs than v2
Microsoft.AspNetCore.Components.WebView.MauiBlazor Hybrid version

If no explicit MAUI package version is listed, the MAUI SDK version matches the <TargetFramework>.NET version.

Step 3 — Verify API Currency

Before using any API, ask yourself:

  1. Does this API exist in the detected version? If you're unsure, prefer the newer pattern.
  2. Is this a Xamarin.Forms API? MAUI is a different API surface — never assume Xamarin.Forms compatibility.
  3. Is this in the deprecated table below? If so, use the replacement.
  4. Am I using the Compatibility namespace? Microsoft.Maui.Controls.Compatibility.* types are migration aids, not recommended for new code.

Step 4 — Apply Decision Rules

  • Always use the newest form of an API when both old and new exist.
  • Never generate using Xamarin.Forms or using Xamarin.Essentials — these are not MAUI.
  • Never use the Compatibility namespace in new projects (Compatibility.RelativeLayout, Compatibility.StackLayout, etc.).
  • Prefer async method names when both sync-named and async-named versions exist (e.g., DisplayAlertAsync over DisplayAlert).
  • Check the project's NuGet versions before using CommunityToolkit or third-party APIs.

Deprecated API Table —.NET MAUI 10

Controls

❌ Deprecated / Removed✅ Use InsteadNotes
ListViewCollectionViewListView, EntryCell, ImageCell, SwitchCell, TextCell, ViewCell, and Cell are all deprecated in.NET 10
TableViewCollectionView or custom layoutDeprecated in.NET 10
FrameBorderFrame is a Xamarin.Forms legacy control; Border is the MAUI replacement with StrokeShape support
Compatibility.RelativeLayoutGridMigration-only; removed from templates in.NET 10
Compatibility.StackLayoutVerticalStackLayout / HorizontalStackLayoutThe compatibility StackLayout wraps Xamarin layout logic. Use the native MAUI stack layouts for better performance

Gestures & Input

❌ Deprecated / Removed✅ Use InsteadNotes
ClickGestureRecognizerTapGestureRecognizerRemoved in.NET 10
AcceleratorKeyboardAcceleratorRemoved from Microsoft.Maui.Controls in.NET 10

Page & Navigation

❌ Deprecated / Removed✅ Use InsteadNotes
Page.IsBusyActivityIndicatorIsBusy is obsolete in.NET 10; use an explicit activity indicator
DisplayAlert()DisplayAlertAsync()Sync-named versions deprecated; use async versions
DisplayActionSheet()DisplayActionSheetAsync()Same as above
MessagingCenterWeakReferenceMessenger (CommunityToolkit.Mvvm)Made internal in.NET 10

Animation

❌ Deprecated / Removed✅ Use InsteadNotes
FadeTo()FadeToAsync()All animation extension methods renamed to *Async in.NET 10
RotateTo(), ScaleTo(), TranslateTo(), etc.RotateToAsync(), ScaleToAsync(), TranslateToAsync(), etc.Same pattern — RelRotateTo → RelRotateToAsync, RelScaleTo → RelScaleToAsync, LayoutTo → LayoutToAsync

Device & Platform APIs

❌ Deprecated / Removed✅ Use InsteadNotes
Device.RuntimePlatformDeviceInfo.PlatformThe entire Device class is deprecated
Device.BeginInvokeOnMainThread()Dispatcher.Dispatch()Use the view's or app's Dispatcher property
Device.InvokeOnMainThreadAsync()Dispatcher.DispatchAsync()Same
Device.OpenUri()Launcher.OpenAsync()Use Microsoft.Maui.ApplicationModel.Launcher
Device.StartTimer()Dispatcher.StartTimer() or PeriodicTimerUse the dispatcher or standard.NET timer
DependencyServiceConstructor injection via IServiceProviderRegister services in MauiProgram.cs with builder.Services

XAML & Markup

❌ Deprecated / Removed✅ Use InsteadNotes
FontImageExtension (XAML markup extension)FontImageSource (type)Use <FontImageSource> element or property syntax
Color.FromHex()Color.FromArgb()FromHex is obsolete

Safe Area & Layout

❌ Deprecated / Removed✅ Use InsteadNotes
Page.UseSafeArea (iOS platform-specific)SafeAreaEdges propertyNew in.NET 10; ContentPage defaults to None (edge-to-edge) on all platforms
Layout.IgnoreSafeAreaSafeAreaEdges propertyUse the unified safe area API

Accessibility

❌ Deprecated / Removed✅ Use InsteadNotes
AutomationProperties.NameSemanticProperties.DescriptionAutomationProperties still works but SemanticProperties is the MAUI-native approach
AutomationProperties.HelpTextSemanticProperties.HintSame
iOS SetAccessibilityHint / SetAccessibilityLabel (Compatibility extensions)Microsoft.Maui.Platform.UpdateSemantics()Deprecated in.NET 10

NuGet Packages

❌ Deprecated Package✅ Use InsteadNotes
Xamarin.FormsMicrosoft.Maui.ControlsCompletely different API surface
Xamarin.EssentialsBuilt-in MAUI APIs (Microsoft.Maui.Devices, Microsoft.Maui.ApplicationModel, etc.)Essentials is merged into MAUI
Xamarin.CommunityToolkitCommunityToolkit.MauiDifferent namespace and API surface
Microsoft.Toolkit.MvvmCommunityToolkit.MvvmPackage was renamed

MauiReactor-Specific Guidance

MauiReactor v3+ (for.NET MAUI 9/10):

  • Hot reload: v3+ uses a feature switch in .csproj via <RuntimeHostConfigurationOption>. Do NOT use the v2 EnableMauiReactorHotReload() call in MauiProgram.cs.
  • API wrappers: MauiReactor auto-generates C# wrappers around MAUI controls. When a MAUI control is deprecated (e.g., ListView), the MauiReactor wrapper is also effectively deprecated. Use the MauiReactor wrapper for the replacement control (e.g., CollectionView).
  • State management: Use State<T> and Props<T> — not older RxComponent patterns if they appear in outdated examples.
  • Navigation: Use MauiReactor's built-in navigation (Navigation.PushAsync<PageComponent>()) — do NOT mix in MAUI Shell GoToAsync unless deliberately integrating Shell.

Blazor Hybrid-Specific Guidance

  • Use BlazorWebView — not the legacy WebView — for hosting Razor components.
  • Use .NET 10 Razor syntax: @rendermode directives, [SupplyParameterFromQuery], and the latest component model.
  • JS interop: Use IJSRuntime.InvokeAsync<T>() — not the obsolete synchronous IJSInProcessRuntime patterns for mobile.
  • Safe areas: In Blazor Hybrid, use CSS env(safe-area-inset-*) — do NOT combine XAML SafeAreaEdges and CSS safe area padding on the same element (causes double-padding).
  • Web resource interception:.NET 10 adds WebResourceRequested event on BlazorWebView and HybridWebView for intercepting requests.

Version Detection Cheat Sheet

Reading the TFM

TFM Pattern.NET Version
net10.0-*.NET 10 (latest, current)
net9.0-*.NET 9
net8.0-*.NET 8 (LTS)

Reading MAUI SDK Version

If the .csproj uses <UseMaui>true</UseMaui>, the MAUI version matches the TFM:

  • net10.0 → MAUI 10
  • net9.0 → MAUI 9

Reading MauiReactor Version

Check <PackageReference Include="Reactor.Maui" Version="X.Y.Z" />:

  • v3.x →.NET MAUI 9/10 compatible, uses feature-switch hot reload
  • v2.x → Legacy, uses EnableMauiReactorHotReload() builder pattern

Reading CommunityToolkit Version

Check <PackageReference Include="CommunityToolkit.Maui" Version="X.Y.Z" />:

  • v11+ →.NET 10 compatible
  • v9-10 →.NET 9 compatible
  • v5-7 →.NET 8 compatible

Quick Rules

  1. Read the .csproj first. Never generate code without knowing the target framework.
  2. When in doubt, use the newer API. If two ways exist to do something, the newer way is correct.
  3. **Never use Xamarin.* namespaces.** They do not exist in MAUI.
  4. **Never use Compatibility.* types in new projects.** They are migration aids only.
  5. **Check this table before using any Device.* API.** The Device class is fully deprecated.
  6. **Use *Async method names** for animations, alerts, and action sheets in.NET 10+.
  7. Verify third-party package versions before using their APIs — CommunityToolkit, MauiReactor, and others break between major versions.

平台分布

Codex

36.19%
按下载量换算54

Claude

31.05%
按下载量换算47

Cursor

18.83%
按下载量换算28

Gemini CLI

9.76%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/davidortinau/maui-skills --skill maui-current-apis 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills