docx
官方用脚本创建、读取和编辑 Word .docx 与 .dotx 文件。
设计与多媒体
用 C# 和 Windows App SDK 引导、搭建并验证 WinUI 3 桌面应用。
面向 WinUI 3 与 Windows App SDK 的开发任务,参考 Microsoft Learn 官方文档、WinUI Gallery 示例、WindowsAppSDK-Samples 以及 CommunityToolkit 组件。技能会先把任务归类为环境准备、新项目搭建、设计、实现、评审或排错,再运行内置的 WinGet 配置和 `dotnet new winui` 脚手架,只按需加载对应的参考文件。它会明确选择 packaged 或 unpackaged 模型,编译后启动应用,直到看到真实的顶层窗口或正确的窗口标题等客观信号才返回控制权。参考文件覆盖环境审计、XAML 编译器故障的回退恢复、Shell/导航/多窗口、控件与自适应布局、Mica 与主题、辅助功能、性能、CommunityToolkit、生命周期/通知/部署以及评审清单。
Use this skill for WinUI 3 and Windows App SDK work that needs grounded setup guidance, app bootstrap, modern Windows UX decisions, or concrete implementation patterns.
--force unless the user explicitly asked to overwrite existing files.config.yaml:winget configure -f config.yaml --accept-configuration-agreements --disable-interactivity
winui template is already available and the toolchain is usable, note the partial failure and continue. If prerequisites are still missing, stop and report the blocker clearly.dotnet new list winui
references/foundation-environment-audit-and-remediation.md and summarize readiness under present, missing, uncertain, and recommended optional tools.dotnet new winui -o . Add template options only when the user asked for them. Supported options: -f|--framework net10.0|net9.0|net8.0, -slnx|--use-slnx, -cpm|--central-pkg-mgmt, -mvvm|--use-mvvm, -imt|--include-mvvm-toolkit, -un|--unpackaged, -nsf|--no-solution-file, --force. Do not invent unsupported flags. If the user asks for packaged behavior, pass --unpackaged false. Otherwise keep the template default.dotnet build against the generated .csproj.references/_sections.md, then load only the reference files that match the task..exe launches after each change.MSB3073 or XamlCompiler.exe, read references/foundation-template-first-recovery.md and simplify back toward the current dotnet new winui scaffold for the chosen packaging model before inventing custom recovery structure.CommandBar or other stock WinUI command surface before building a custom row with Grid, StackPanel, Border, or ad hoc button groupings.GridView or other scroll-owning collection will still render a horizontal poster rail correctly.Border wrappers around sections, lists, or cards unless the border is doing distinct work that the contained control or parent surface does not already provide. Avoid "double-card" compositions where a section Border wraps child items that already render as cards.| Request | Read first |
|---|---|
| Check whether this PC can build WinUI apps | references/foundation-environment-audit-and-remediation.md |
| Install missing WinUI prerequisites | references/foundation-environment-audit-and-remediation.md |
| Start a new packaged or unpackaged app | references/foundation-setup-and-project-selection.md |
| Recover from opaque XAML compiler or startup failures while staying anchored to the template scaffold | references/foundation-template-first-recovery.md |
| Build, run, or verify that a WinUI app actually launched | references/build-run-and-launch-verification.md |
| Review app structure, pages, resources, and bindings | references/foundation-winui-app-structure.md |
| Choose shell, navigation, title bar, or multi-window patterns | references/shell-navigation-and-windowing.md |
| Choose controls or responsive layout patterns | references/controls-layout-and-adaptive-ui.md |
| Apply Mica, theming, typography, icons, or Fluent styling | references/styling-theming-materials-and-icons.md |
| Improve accessibility, keyboarding, or localization | references/accessibility-input-and-localization.md |
| Diagnose responsiveness or UI-thread performance | references/performance-diagnostics-and-responsiveness.md |
| Decide whether to use CommunityToolkit | references/community-toolkit-controls-and-helpers.md |
| Handle lifecycle, notifications, or deployment | references/windows-app-sdk-lifecycle-notifications-and-deployment.md |
| Run a review checklist | references/testing-debugging-and-review-checklists.md |
config.yaml in this skill directory as the bundled bootstrap source of truth.references/foundation-environment-audit-and-remediation.md and keep uncertain signals explicit instead of implying success.config.yaml is missing, say so clearly and fall back to the official Microsoft workflow instead of pretending the bundled path exists.用脚本创建、读取和编辑 Word .docx 与 .dotx 文件。
用文档优先的流程搭建 ChatGPT Apps SDK 项目,产出工具规划、MCP 服务端与 Widget 脚手架。
按正确顺序在 Figma 中搭建与代码对齐的完整设计系统,覆盖变量、组件与主题。
从文字描述、参考图或品牌线索生成 Codex 兼容的动画宠物与 8x9 雪碧图集。
把 Figma 设计组件与代码组件通过 Code Connect 映射关联起来。
把 Figma 设计稿转成与原图视觉一致的页面代码。
用文档优先的流程搭建 ChatGPT Apps SDK 项目,产出工具规划、MCP 服务端与 Widget 脚手架。
按正确顺序在 Figma 中搭建与代码对齐的完整设计系统,覆盖变量、组件与主题。
通过智能体在 Figma 文件中安全、增量地执行 Plugin API JavaScript。
从文字描述、参考图或品牌线索生成 Codex 兼容的动画宠物与 8x9 雪碧图集。
通过内置 imagegen 工具生成或编辑位图图像,CLI 兜底模式仅在用户明确要求时启用。
从 OpenAI 开发者文档获取带引用和来源路径的权威、实时答案。