winui-app
Was er macht
Dieser Skill hilft beim Erstellen und Verbessern von Windows-Desktop-Apps mit WinUI 3 und C#. Er ist für Entwickler gedacht, die moderne Windows-Apps bauen und Hilfe bei Einrichtung und Gestaltung wollen.
Wann du ihn nutzt
- ✓Wenn du eine neue WinUI-3-Desktop-App für Windows erstellen willst.
- ✓Wenn du einen Windows-Computer für die WinUI-Entwicklung vorbereiten musst.
- ✓Wenn du XAML und Steuerelemente einer bestehenden WinUI-App prüfen oder reparieren willst.
Link zum Skill
https://github.com/openai/skills/blob/main/skills/.curated/winui-app/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Hilf mir, eine neue WinUI-3-App in C# mit einer Navigationsleiste und einer Einstellungsseite zu starten.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent prüft die Einrichtung des Computers und kann auf Wunsch eine mitgelieferte Konfiguration ausführen, die den Entwicklermodus aktiviert und die nötigen Visual-Studio-Komponenten installiert. Danach erstellt er das Projekt und baut die Seiten nach aktuellen Microsoft-Mustern.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
WinUI App
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.
Required Flow
- Classify the task as environment/setup, new-app bootstrap, design, implementation, review, or troubleshooting.
- If the task is about preparing a machine for WinUI, auditing readiness, or creating a brand new app, start with the bundled setup-and-scaffold flow in this skill before broader design, implementation, or troubleshooting work:
- Pick the app name when the request is for a new app.
- Use the exact name the user gave when it is already a safe folder name.
- If the user did not give a name, derive a short PascalCase name from the request and state what you chose.
- Create the project in the user's current workspace unless they asked for another location.
- Do not use
--forceunless the user explicitly asked to overwrite existing files. - Run the bundled WinGet configuration from the skill directory so the relative path stays exactly
config.yaml:
winget configure -f config.yaml --accept-configuration-agreements --disable-interactivity
- Treat the configuration as intended to enable Developer Mode, install or update Visual Studio Community 2026, and install the Managed Desktop, Universal, and Windows App SDK C# components needed for WinUI development.
- Assess the configuration result before continuing. Continue on success. If it fails, inspect the output instead of guessing. If the
winuitemplate 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. - Verify the template is available before scaffolding:
dotnet new list winui
- For diagnostics-only environment requests, explain that the bundled bootstrap may change the machine and get confirmation before running it. If the user declines changes, use the manual verification guidance in
references/foundation-environment-audit-and-remediation.mdand summarize readiness underpresent,missing,uncertain, andrecommended optional tools. - For a brand new app, scaffold with
dotnet new winui -o <name>. 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. - Verify a new scaffold by confirming the expected project file exists and running
dotnet buildagainst the generated.csproj. - Launch a newly scaffolded app through the correct path for its actual packaging model and confirm there is a real top-level window instead of relying only on the launcher process exit code.
- Read
references/_sections.md, then load only the reference files that match the task. - Make the packaging model explicit before creating or refactoring the app. Default to packaged for Store-like product workflows and Visual Studio deploy/F5 flows. Default to unpackaged when the user expects repeatable CLI build-and-run loops or direct
.exelaunches after each change. - When the task is an opaque XAML compiler failure such as
MSB3073orXamlCompiler.exe, readreferences/foundation-template-first-recovery.mdand simplify back toward the currentdotnet new winuiscaffold for the chosen packaging model before inventing custom recovery structure. - For any work that creates or changes a WinUI app, make a complete but minimal edit set, then build the app and run it before responding to the user. Do this by default even when the user did not explicitly ask for verification. If a running app instance locks the output while more work remains, stop it, rebuild, relaunch, and continue verification. When the work is complete and launch verification succeeds, leave the final verified app instance running for the user unless they explicitly asked you not to.
- Treat launch verification as incomplete until the app shows objective success signals such as a responsive top-level window, expected window title, or other clear startup behavior. A spawned process by itself is not enough.
- Prefer Microsoft Learn for requirements, API expectations, and
Häufige Fragen
Installiert er Software auf meinem Computer?
Ja, wenn du die Einrichtung wünschst. Dann führt er eine mitgelieferte Konfiguration aus, die Visual-Studio-Komponenten installiert und den Entwicklermodus aktiviert.
Welche Sprache und welches Framework nutzt er?
Er nutzt C# mit dem Windows App SDK und WinUI 3.
Kann er bei einer bestehenden App helfen?
Ja. Er deckt Prüfungen, Umbauten und Fehlersuche bei WinUI-3-Apps ab.
Details
Originalbeschreibung des Autors
Bootstrap, develop, and design modern WinUI 3 desktop applications with C# and the Windows App SDK using official Microsoft guidance, WinUI Gallery patterns, Windows App SDK samples, and CommunityToolkit components. Use when creating a brand new app, preparing a machine for WinUI, reviewing, refactoring, planning, troubleshooting, environment-checking, or setting up WinUI 3 XAML, controls, navigation, windowing, theming, accessibility, responsiveness, performance, deployment, or related Windows app design and development work.
repo: openai/skills
Beliebtheit
- GitHub-Sterne
- 28k
- Platz im Ranking
- #9862
- Lizenz
- —
- Aktualisiert
- 28.10.2026
Kommentare
- …
Weitere Skills aus diesem Repository
aspnet-core
28kHilft deinem Agenten, ASP.NET-Core-Webapps zu bauen, zu prüfen oder zu aktualisieren, mit dem passenden App-Typ und aktuellen Microsoft-Richtlinien für .NET.
chatgpt-apps
28kHilft deinem Agenten, eine ChatGPT-App mit MCP-Server und Widget-Oberfläche zu bauen, inklusive Werkzeugen und lokaler Einrichtung.
cli-creator
28kHilft deinem Agenten, API-Doku oder Skripte in ein wiederverwendbares Kommandozeilenwerkzeug mit stabiler JSON-Ausgabe zu verwandeln.
define-goal
28kHilft deinem Agenten, eine vage Absicht vor Arbeitsbeginn in ein klares, messbares Ziel mit Erfolgskriterien, Umfang und Stopp-Bedingung zu verwandeln.
Ähnliche Skills
diffs
394kLässt deinen Agenten einen echten, teilbaren Diff seiner Änderungen als Viewer-Link oder Bilddatei erstellen, statt einer handgeschriebenen Zusammenfassung.
coding-agent
394kHilft deinem Agenten, eine größere Programmieraufgabe als Hintergrund-Worker an Codex, Claude Code oder OpenCode zu übergeben und danach den Fortschritt zu prüfen.
gh-issues
394kHilft deinem Agenten, GitHub-Issues zu finden, die zu bearbeitenden auszuwählen und Pull Requests mit Korrekturen zu öffnen, einschließlich der Nacharbeit an Review-Kommentaren.