maui-architecture

maui-architecture is a skill for Claude Code from landim32/awesome-ai-skills. It costs 85 tokens per session (3,739 once invoked), scanned A, original, MIT.

A guide for building the presentation layer of .NET MAUI applications. .NET MAUI is a framework for making apps for platforms such as Android, iOS, Windows, and macOS from one codebase.

In plain words
What is it for?
Use it after or alongside a backend architecture guide to create or modify SQLite models, mappings, view models, XAML pages, Shell navigation, and MauiProgram configuration.
Why use it?
It gives MAUI-specific structure for connecting existing backend layers to local data models, view models, screens, navigation, and dependency setup.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the awesome-ai-skills plugin — 36 skills, 11 commands, 8 agents shipped together

Good fit Use it after or alongside a backend architecture guide to create or modify SQLite models, mappings, view models, XAML pages, Shell navigation, and MauiProgram configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/landim32/awesome-ai-skills/maui-architecture
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 landim32/awesome-ai-skills --skill maui-architecture
Clone the repo
git clone --depth 1 https://github.com/landim32/awesome-ai-skills

Made for: Claude Code.

Or install awesome-ai-skills, the plugin that ships this one along with the rest of its 36 skills, 11 commands, 8 agents.

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-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/landim32/awesome-ai-skills/maui-architecture/github.svg)](https://agentmods.dev/skills/landim32/awesome-ai-skills/maui-architecture)
Your own site
<a href="https://agentmods.dev/skills/landim32/awesome-ai-skills/maui-architecture"><img src="https://agentmods.dev/badge/skills/landim32/awesome-ai-skills/maui-architecture/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-architecture

Your own site · 80×15
<a href="https://agentmods.dev/skills/landim32/awesome-ai-skills/maui-architecture"><img src="https://agentmods.dev/badge/skills/landim32/awesome-ai-skills/maui-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,739 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.
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.00085 $0.03739
Opus 5 $0.00043 $0.01869
Sonnet 5 $0.00017 $0.00748
Haiku 4.5 $0.00009 $0.00374

Measured 12d ago against content hash 1417a7800924, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

maui-architecture 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 12d 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.

skills/maui-architecture/SKILL.md · 351 lines

How it starts

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

.NET MAUI Presentation Layer — Extension of dotnet-architecture

You are an expert assistant that helps developers implement the MAUI presentation layer for entities whose backend layers (DTO, Domain, Infra.Interfaces, Infra, Application) follow the Clean Architecture defined in the dotnet-architecture skill.

This skill is an EXTENSION — it covers ONLY MAUI-specific concerns. For backend layers, invoke or follow dotnet-architecture.

Input

The user will describe the entity to create or modify: $ARGUMENTS

Before You Start

  1. Run dotnet-architecture first (or confirm backend layers already exist) — this skill assumes DTO, Domain Model, Repository Interface, Domain Service, Infra Repository, and Application DI are already in place.
  2. Run dotnet sln list and ls to discover project names and folder layout.
  3. The placeholder {App} stands for the actual root namespace. Replace it everywhere.
  4. Read at least one existing entity end-to-end (Model → Mapper → ViewModel → Page) to match style.
  5. Check existing UI strings to detect the app language and match it.

What This Skill Covers

Layer Responsibility
Infra — AutoMapper (Mappings) Profile mapping Domain Model ↔ DTO in Infra/Mappings/
Infra — AppDatabase SQLite table registration
MAUI — ViewModels MVVM with CommunityToolkit.Mvvm, binds to DTOs
MAUI — Pages XAML + code-behind with DI
MAUI — Shell Navigation registration
MAUI — MauiProgram.cs DI for Repos, AppServices, ViewModels, Pages

What This Skill Does NOT Cover (handled by dotnet-architecture)

  • DTO creation ({Entity}Info)
  • Domain Model (rich entity with Validate/Update/Create)
  • Infra.Interfaces (Repository/AppService interfaces)
  • Domain Services
  • Infra Repository implementation
  • Application DI (DependencyInjection.cs)

Architecture Context

Mapping Flow

DB (SQLite) → Repository → Model (Domain) → AutoMapper → {Entity}Info (DTO) → ViewModel → Page
Page → ViewModel → {Entity}Info (DTO) → AutoMapper → Model (Domain) → Repository → DB

Read the full file on GitHub · 351 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. 12d ago First seen · 351 lines · 85 tokens per session scan A 1417a7800924

Subscribe to this mod's changes

maui-architecture is a skill published in the GitHub repository landim32/awesome-ai-skills (1 stars, last pushed 2mo ago), licensed MIT. It adds 85 tokens to every session and 3,739 once invoked, about $0.0004 per session on Opus 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-31.

Related

Other skills, from other repositories

csharp-developer

Use when building C# applications with .NET 8+, ASP.NET Core APIs, or Blazor web apps. Builds REST APIs using minimal or controller-based routing, configures database access with Entity Framework Core, implements async patterns and cancellation, structures applications with CQRS via MediatR, and scaffolds Blazor…

Jeffallan/claude-skills · 102 tokens

dotnet-core-expert

Use when building .NET 8 applications with minimal APIs, clean architecture, or cloud-native microservices. Invoke for Entity Framework Core, CQRS with MediatR, JWT authentication, AOT compilation.

Jeffallan/claude-skills · 47 tokens

kotlin-specialist

Provides idiomatic Kotlin implementation patterns including coroutine concurrency, Flow stream handling, multiplatform architecture, Compose UI construction, Ktor server setup, and type-safe DSL design. Use when building Kotlin applications requiring coroutines, multiplatform development, or Android with Compose.…

Jeffallan/claude-skills · 86 tokens

maui-safe-area

.NET MAUI safe area and edge-to-edge layout guidance for .NET 10+. Covers the new SafeAreaEdges property, SafeAreaRegions enum, per-edge control, keyboard avoidance, Blazor Hybrid CSS safe areas, migration from legacy iOS-only APIs, and platform-specific behavior for Android, iOS, and Mac Catalyst. USE FOR: "safe…

dotnet/skills · 188 tokens

maui-app-lifecycle

.NET MAUI app lifecycle guidance — the four app states, cross-platform Window lifecycle events (Created, Activated, Deactivated, Stopped, Resumed, Destroying), platform-specific lifecycle mapping, backgrounding and resume behavior, and state-preservation patterns. USE FOR: "app lifecycle", "window lifecycle events"…

dotnet/skills · 144 tokens

laravel-specialist

Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon queues, designing RESTful APIs with API resources, and building reactive interfaces with Livewire. Use when creating Laravel models, setting up queue workers…

Jeffallan/claude-skills · 86 tokens