desktop-uwp
Use when the user asks about UWP, WinRT APIs, UWP XAML, Microsoft Store packaging, the UWP app lifecycle or migrating UWP to WinUI 3 and the Windows App SDK…
от j4flmao★ 47 звёзд на GitHub
Установить desktop-uwp в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
UWP
Purpose
Build Universal Windows Platform (UWP) applications — Microsoft's modern Windows app platform with XAML UI, WinRT APIs, adaptive layout, and secure sandboxed deployment via the Microsoft Store. UWP emphasizes responsive design, touch-first interaction, and Windows 10/11 integration.
Agent Protocol
Trigger
Exact user phrases: "UWP", "Universal Windows Platform", "WinRT", "Windows Store app", "UWP XAML", "Windows Runtime", "AppContainer", "UWP lifecycle", "adaptive trigger", "VisualStateManager".
Input Context
- Target SDK (Windows 10 1809+, Windows 11)
- Language (C#, C++/WinRT, JavaScript)
- XAML technologies (UWP XAML, WinUI 2.x)
- App features (notifications, background tasks, in-app purchases, tiles, share target)
- Form factor (desktop, tablet, Xbox, IoT, HoloLens)
- Deployment (Microsoft Store, sideloading, enterprise)
Output Artifact
UWP application architecture with pages, navigation, data model, adaptive layout, and background tasks.
Response Format
Status: {maintain UWP | migrate to WinUI 3/Windows App SDK} with reason
Shell: {NavigationView pages} MVVM: {CommunityToolkit.Mvvm view models}
Lifecycle: {suspend/resume state saved}
Background: {tasks + triggers}
Code: {files}
Completion Criteria
- App project created with Package.appxmanifest
- Navigation framework selected (Frame, NavigationView, or TabView)
- Page hierarchy designed (main pages, dialogs, flyouts)
- Data binding strategy (x:Bind, Binding, or MVVM with INotifyPropertyChanged)
- Adaptive layout triggers (VisualStateManager, AdaptiveTrigger)
- Background tasks registered (Timer trigger, system event, push notification)
- Live tiles and notifications configured
- App lifecycle handled (Launching, Suspending, Resuming, OnBackgroundActivated)
- Store integration (licensing, trial, in-app purchases, ads)
- Accessibility (UIA, narrator, keyboard navigation, high contrast)
Max Response Length
250 lines.
Framework/Methodology
UWP App Decision Tree
What kind of UWP app?
├── Standard Windows app → NavigationView + Pages
│ → Frame-based navigation with ShellPage
│ → MVVM with CommunityToolkit.Mvvm (Template 10 is unmaintained)
├── Media/content app → MediaPlayerElement + in-app toolbar
│ → SystemMediaTransportControls, SMTC integration
│ → Background audio, playlist management
├── IoT/embedded → Headless app with background tasks
│ → Windows IoT Core is retired; use Windows IoT Enterprise + desktop app instead
│ → App service for communication
├── Xbox app → Gamepad navigation, 10ft UI
│ → Focus visual, XY focus navigation
│ → High contrast, large target sizes
└── Line-of-business → Forms + data + printing + sharing
→ Content dialog, AppBar, Share contract
→ Enterprise sideloading, AppLocker
UWP App Lifecycle
Launch → OnLaunched (SplashScreen → MainPage)
↓
Running (active, full interaction)
↓ (user switches away / Windows suspends)
Suspending → OnSuspending (save state, release resources)
↓ (5 second limit, app may be terminated)
Terminated → (if resumed: OnLaunched with PreviousExecutionState)
↓ (user switches back, app not terminated)
Resuming → OnResumed (restore state, refresh network)
Workflow
Step 1: Set Up UWP Project
<!-- Package.appxmanifest (key settings) -->
<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
Identity Name="MyCompany.MyApp" Publisher="CN=MyCompany" Version="1.0.0.0" />
<Properties>
<DisplayName>My App</DisplayName>
<PublisherDisplayName>My Company</PublisherDisplayName>
<Logo>Assets\StoreLogo.png</Logo>
</Properties>
<Dependencies>
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.17763.0" MaxVersionTested="10.0.22621.0" />
</Dependencies>
<Capabilities>
<Capability Name="internetClient" />
<DeviceCapability Name="microphone" />
<DeviceCapability Name="webcam" />
</Capabilities>
Step 2: Navigation and Shell
<!-- ShellPage.xaml - NavigationView layout -->
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Grid>
<NavigationView x:Name="NavView"
PaneDisplayMode="LeftCompact"
IsSettingsVisible="True"
ItemInvoked="NavView_ItemInvoked">
<NavigationView.MenuItems>
<NavigationViewItem Icon="Home" Content="Home" Tag="home" />
<NavigationViewItem Icon="Library" Content="Library" Tag="library" />
<NavigationViewItemSeparator />
<NavigationViewItem Icon="Folder" Content="Projects" Tag="projects" />
</NavigationView.MenuItems>
<Frame x:Name="ContentFrame" />
</NavigationView>
</Grid>
</Page>
// ShellPage.xaml.cs - Navigation
private void NavView_ItemInvoked(Na
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/uwp-advanced.md
- references/uwp-architecture.md
- references/uwp-best-practices.md
- references/uwp-deployment.md
- references/uwp-fundamentals.md
- references/uwp-lifecycle.md
FAQ
Что делает скилл desktop-uwp?
Use when the user asks about UWP, WinRT APIs, UWP XAML, Microsoft Store packaging, the UWP app lifecycle or migrating UWP to WinUI 3 and the Windows App SDK. Produces maintenance and migration guidance for UWP apps. Not for WPF (use desktop-wpf) or WinForms (use desktop-winforms).
Как установить скилл desktop-uwp?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл desktop-uwp запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…