winui-app
O que ela faz
Esta habilidade ajuda a criar e melhorar aplicativos de desktop para Windows feitos com WinUI 3 e C#. Serve para desenvolvedores que criam apps modernos para Windows e querem orientação de configuração e de design.
Quando usar
- ✓Quando você quer criar um novo aplicativo de desktop WinUI 3 para Windows.
- ✓Quando você precisa preparar um computador com Windows para o desenvolvimento em WinUI.
- ✓Quando você quer revisar ou corrigir o XAML e os controles de um aplicativo WinUI existente.
Link da skill
https://github.com/openai/skills/blob/main/skills/.curated/winui-app/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Me ajude a começar um novo app WinUI 3 em C# com uma barra lateral de navegação e uma página de configurações.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente verifica a configuração do computador e pode rodar uma configuração integrada que ativa o Modo de Desenvolvedor e instala os componentes necessários do Visual Studio. Depois cria o projeto e monta as páginas usando os padrões atuais da Microsoft.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
Ela instala programas no meu computador?
Sim, quando você pede a configuração, ela roda uma configuração integrada que instala componentes do Visual Studio e ativa o Modo de Desenvolvedor.
Qual linguagem e framework ela usa?
Usa C# com o Windows App SDK e o WinUI 3.
Ela pode ajudar com um aplicativo existente?
Sim. Cobre revisões, refatorações e solução de problemas de aplicativos WinUI 3.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 28 mil
- Posição no ranking
- #9862
- Licença
- —
- Atualizada em
- 28/10/2026
Comentários
- …
Mais skills deste repositório
aspnet-core
28 milAjuda seu agente a criar, revisar ou atualizar aplicativos web ASP.NET Core, escolhendo o tipo certo de aplicativo e seguindo as orientações atuais da Microsoft para o .NET.
chatgpt-apps
28 milAjuda seu agente a criar um app do ChatGPT que combina um servidor MCP com uma interface de widget, cobrindo o desenho das ferramentas, os recursos de interface, os metadados e a configuração local.
cli-creator
28 milAjuda seu agente a transformar documentação de API, uma especificação ou scripts existentes em uma ferramenta de linha de comando reutilizável que roda de qualquer pasta e devolve um JSON estável.
define-goal
28 milAjuda seu agente a transformar uma intenção vaga em um objetivo claro e mensurável, com critérios de sucesso, escopo e uma condição de parada, antes de o trabalho começar.
Skills parecidas
diffs
394 milPermite que seu agente gere um diff real e compartilhável das edições, como link de visualização ou arquivo de imagem, em vez de um resumo escrito à mão.
coding-agent
394 milAjuda seu agente a passar um trabalho grande de programação para o Codex, Claude Code ou OpenCode em segundo plano e acompanhar o andamento.
gh-issues
394 milAjuda seu agente a encontrar issues do GitHub, escolher quais resolver e abrir pull requests com correções, acompanhando os comentários de revisão.