maui-devflow-onboard
Adds DevFlow packages, registers services in MauiProgram.cs, and configures project settings for .NET MAUI apps.
Install
mkdir -p .claude/skills/maui-devflow-onboard && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12049" && unzip -o skill.zip -d .claude/skills/maui-devflow-onboard && rm skill.zipInstalls to .claude/skills/maui-devflow-onboard
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Add MAUI DevFlow to a .NET MAUI project with agent package references, MauiProgram.cs registration, Blazor WebView support, GTK variants, Central Package Management guidance, and verification commands. USE FOR: first-time DevFlow setup, reviewing what files to edit, choosing DevFlow packages, or continuing after `maui devflow init` installs skills. DO NOT USE FOR: troubleshooting an already-integrated app that cannot connect, iterative app debugging, UI inspection, or generic MAUI build failures (use maui-devflow-debug). INVOKES: maui devflow CLI and dotnet CLI.Key capabilities
- →Add DevFlow package references to a .NET MAUI project
- →Register DevFlow in `MauiProgram.cs` within `#if DEBUG`
- →Support Blazor WebView and GTK variants of DevFlow
- →Provide guidance for Central Package Management
- →Verify DevFlow integration with diagnose, wait, and UI tree commands
How it works
The skill identifies the MAUI app project, determines its flavor (standard, Blazor, GTK), adds the correct DevFlow package references, and registers DevFlow in `MauiProgram.cs`.
Inputs & outputs
When to use maui-devflow-onboard
- →Initialize DevFlow in MAUI project
- →Add DevFlow package references
- →Configure MauiProgram for DevFlow
About this skill
DevFlow Onboard
Use this skill to add MAUI DevFlow to a project after maui devflow init has installed the DevFlow skills.
When to Use
- The project has no
Microsoft.Maui.DevFlow.*package references yet. - The user asks how to onboard, initialize, install, integrate, or set up DevFlow.
- The agent needs to choose between standard, Blazor, GTK, or GTK + Blazor DevFlow packages.
- The repo uses Central Package Management and package edits need to be split correctly.
maui devflow inithas installed skills and the user asks for the next project edits.
Route Elsewhere
- If package references and
AddMauiDevFlowAgent()are already present but the CLI cannot connect, usemaui-devflow-debug. - If an agent is reachable and the user wants to inspect, tap, screenshot, or debug UI, use
maui-devflow-debug.
Workflow
-
Optionally run
maui devflow skills checkand update bundled skills before editing if it reportsupdate-available-from-current-cli. -
Find MAUI app projects in the workspace. Prefer app projects with
UseMaui, platform TFMs such asnet*-android/net*-ios/net*-maccatalyst/net*-windows, or GTK MAUI package references. -
Determine whether each target project is standard MAUI, MAUI + Blazor WebView, GTK, or GTK + Blazor.
-
Add the correct DevFlow package references. Respect Central Package Management if
Directory.Packages.propsis present. -
Register DevFlow in
MauiProgram.csinside#if DEBUG. -
Build and run the app.
-
Verify with:
maui devflow diagnose maui devflow wait maui devflow ui tree --depth 1
If verification fails after integration, switch to maui-devflow-debug for connectivity recovery.
Stop Signals
- Stop before editing if multiple MAUI app projects exist and the user has not indicated which one to onboard.
- Stop and ask before enabling DevFlow outside Debug builds.
- Stop after package/registration edits and verify with a build before doing runtime debugging.
Critical Anti-patterns
- Do not add versions to project
PackageReferenceitems whenDirectory.Packages.propsis managing package versions. - Do not add Blazor DevFlow packages unless the app uses Blazor WebView.
- Do not register DevFlow outside
#if DEBUGunless the user explicitly asks. - Do not use the old
builder.Services.AddMauiDevFlowAgent()pattern; usebuilder.AddMauiDevFlowAgent().
Package Selection
| Project flavor | Required packages |
|---|---|
| Standard MAUI | Microsoft.Maui.DevFlow.Agent |
| MAUI + Blazor WebView | Microsoft.Maui.DevFlow.Agent, Microsoft.Maui.DevFlow.Blazor |
| GTK MAUI | Microsoft.Maui.DevFlow.Agent.Gtk |
| GTK MAUI + Blazor WebView | Microsoft.Maui.DevFlow.Agent.Gtk, Microsoft.Maui.DevFlow.Blazor.Gtk |
Blazor WebView indicators include a Microsoft.AspNetCore.Components.WebView.Maui package reference or AddMauiBlazorWebView() in MauiProgram.cs.
GTK indicators include package references such as Maui.Gtk, Platform.Maui.Linux.Gtk4, GirCore.Gtk-4.0, or Platform.Maui.Linux.Gtk4.BlazorWebView.
Central Package Management
If the repo uses Directory.Packages.props, put versions there and leave project PackageReference entries versionless.
<!-- Directory.Packages.props -->
<PackageVersion Include="Microsoft.Maui.DevFlow.Agent" Version="<current-version>" />
<!-- App.csproj -->
<PackageReference Include="Microsoft.Maui.DevFlow.Agent" />
If the repo does not use Central Package Management, put the version on the PackageReference.
MauiProgram.cs Registration
For standard MAUI:
using Microsoft.Maui.DevFlow.Agent;
// inside CreateMauiApp(), before return builder.Build();
#if DEBUG
builder.AddMauiDevFlowAgent();
#endif
For MAUI + Blazor WebView:
using Microsoft.Maui.DevFlow.Agent;
using Microsoft.Maui.DevFlow.Blazor;
// inside CreateMauiApp(), before return builder.Build();
#if DEBUG
builder.AddMauiDevFlowAgent();
builder.AddMauiBlazorDevFlowTools();
#endif
For GTK, use the .Gtk namespaces and packages. GTK apps also need to start the agent after app activation, for example app.StartDevFlowAgent() in the platform app activation flow.
For Mac Catalyst, ensure the Debug entitlements allow the in-app HTTP server:
<key>com.apple.security.network.server</key>
<true/>
Validation Checklist
MauiProgram.csregisters DevFlow only in Debug builds.- The app project references the package flavor that matches the target platform.
- Blazor DevFlow tools are added only when the app uses Blazor WebView.
- GTK apps start the DevFlow agent after app activation.
- Mac Catalyst Debug entitlements include
com.apple.security.network.server. dotnet buildsucceeds.- A running app appears in
maui devflow list. maui devflow ui tree --depth 1returns a visual tree.
References
- See
references/package-selection.mdfor package/flavor details. - See
references/mauiprogram-registration.mdfor registration patterns.
When not to use it
- →If package references and `AddMauiDevFlowAgent()` are already present but the CLI cannot connect
- →If an agent is reachable and the user wants to inspect, tap, screenshot, or debug UI
- →For generic MAUI build failures
Limitations
- →Does not troubleshoot connectivity issues for already-integrated apps
- →Does not perform iterative app debugging or UI inspection
- →Requires user input if multiple MAUI app projects exist
How it compares
This skill automates the initial setup and configuration of MAUI DevFlow, including handling different project flavors and package management, which is more guided than manually adding references and code.
Compared to similar skills
maui-devflow-onboard side by side with the closest alternatives in the catalog.
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
run
Gwergilius
Run the Blazor WASM app, .NET CLI console app, or Python Jupyter notebook
start
jonathanpeppers
This skill starts the WPF application in watch mode and waits for it to be fully ready before returning.
setup
barefootford
Sets up a Mac for ButterCut. Installs all required dependencies (Homebrew, Ruby, Python, FFmpeg, WhisperX). Use when user says "install buttercut", "set up my mac", "get started", "first time setup", "install dependencies" or "check my installation".
tmux
openclaw
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
macos-cleaner
daymade
Analyze and reclaim macOS disk space through intelligent cleanup recommendations. This skill should be used when users report disk space issues, need to clean up their Mac, or want to understand what's consuming storage. Focus on safe, interactive analysis with user confirmation before any deletions.
ms365-tenant-manager
alirezarezvani
Microsoft 365 tenant administration for Global Administrators. Automate M365 tenant setup, Office 365 admin tasks, Azure AD user management, Exchange Online configuration, Teams administration, and security policies. Generate PowerShell scripts for bulk operations, Conditional Access policies, license management, and compliance reporting. Use for M365 tenant manager, Office 365 admin, Azure AD users, Global Administrator, tenant configuration, or Microsoft 365 automation.