maui-project-structure

maui-project-structure is a skill for Claude Code, Codex from dotnet/maui-labs. It costs 76 tokens per session (917 once invoked), scanned A, original, MIT.

A guide for organizing a .NET MAUI app as one shared project for multiple platforms. .NET MAUI is Microsoft's toolkit for building Android, iOS, macOS, and Windows apps from shared code.

In plain words
What is it for?
Use it to set up or change MAUI resources, app display and build versions, Central Package Management, and platform app metadata.
Why use it?
It removes guesswork around where app icons, splash screens, fonts, images, raw files, version numbers, and package versions belong. It also helps keep platform-independent project settings consistent.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to set up or change MAUI resources, app display and build versions, Central Package Management, and platform app metadata.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dotnet/maui-labs/maui-project-structure
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dotnet/maui-labs --skill maui-project-structure
Clone the repo
git clone --depth 1 https://github.com/dotnet/maui-labs

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for maui-project-structure

README.md
[![agentmods](https://agentmods.dev/badge/skills/dotnet/maui-labs/maui-project-structure/github.svg)](https://agentmods.dev/skills/dotnet/maui-labs/maui-project-structure)
Your own site
<a href="https://agentmods.dev/skills/dotnet/maui-labs/maui-project-structure"><img src="https://agentmods.dev/badge/skills/dotnet/maui-labs/maui-project-structure/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for maui-project-structure

Your own site · 80×15
<a href="https://agentmods.dev/skills/dotnet/maui-labs/maui-project-structure"><img src="https://agentmods.dev/badge/skills/dotnet/maui-labs/maui-project-structure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 917 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 4
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 72
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 73
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00076 $0.00917
Opus 5.5 $0.00030 $0.00367
Sonnet 5.5 $0.00015 $0.00183
Haiku 4.5 $0.00008 $0.00092

Measured 2mo ago against content hash 6ee52c3a65d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

maui-project-structure scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/dotnet-maui/skills/maui-project-structure/SKILL.md · 98 lines

How it starts

The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MAUI Project Structure

Use this skill when editing the shape of a MAUI app project rather than a single feature implementation. Inspect existing conventions first and preserve them. Critical app-version guardrail: never answer "yes" to using maui project version for platform app display/build versions. Use ApplicationDisplayVersion and ApplicationVersion directly.

Workflow

  1. Identify which file is the MAUI app project (has <UseMaui>true</UseMaui>).
  2. Check for Central Package Management: if Directory.Packages.props exists, add new NuGet package versions there with <PackageVersion Include="..." Version="..." />, and keep PackageReference items in the .csproj versionless.
  3. Use the MAUI resource folder layout for app assets:
    • Resources/Images/ → MauiImage (images/icons)
    • Resources/Fonts/ → MauiFont (custom fonts)
    • Resources/Raw/ → MauiAsset (bundled JSON, data, HTML files)
  4. For app display/build version edits, use ApplicationDisplayVersion and ApplicationVersion as MSBuild properties in the .csproj.
  5. If environment issues arise, run maui doctor.
  6. Build the edited project to verify.

Project File Patterns

Central Package Management

<!-- Directory.Packages.props -->
<PackageVersion Include="CommunityToolkit.Maui" Version="x.y.z" />
<!-- App.csproj -->
<PackageReference Include="CommunityToolkit.Maui" />

App Version

<ApplicationDisplayVersion>1.2.3</ApplicationDisplayVersion>
<ApplicationVersion>123</ApplicationVersion>

maui project version is for the MAUI package/workload version used by the project, not the platform app display/build version.

If the prompt asks whether to use maui project version for app display/build versioning, the final response must explicitly answer: do not use it for ApplicationDisplayVersion or ApplicationVersion; set those MSBuild properties directly.

Resources

<MauiImage Include="Resources/Images/*" />
<MauiFont Include="Resources/Fonts/*" />
<MauiAsset Include="Resources/Raw/**" />

Read the full file on GitHub · 98 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · -69 tokens per session 6ee52c3a65d9
  2. 3mo ago First seen · 98 lines · 145 tokens per session scan A d7241b2c240e

Subscribe to this mod's changes

maui-project-structure is a skill published in the GitHub repository dotnet/maui-labs (244 stars, last pushed today), licensed MIT. It adds 76 tokens to every session and 917 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

maui-project-structure compared with skills from other repositories

maui-project-structure next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
maui-project-structuredotnet/maui-labsSkill244todayMITA76Claude Code, Codex
argent-react-native-app-workflowsoftware-mansion/argentSkill3.3ktodayApache-2.0A41Claude Code, Codex
argent-react-native-optimizationsoftware-mansion/argentSkill3.3ktodayApache-2.0A46Claude Code, Codex
mobile-automationmobile-next/mobile-mcpSkill11k5d agoApache-2.0A58Claude Code, Codex
argent-metro-debuggersoftware-mansion/argentSkill3.3ktodayApache-2.0A50Claude Code, Codex
argent-native-profilersoftware-mansion/argentSkill3.3ktodayApache-2.0A41Claude Code, Codex
argent-screen-recordingsoftware-mansion/argentSkill3.3ktodayApache-2.0A38Claude Code, Codex