maui-dependency-injection

maui-dependency-injection is a skill for Claude Code from F-U-S-E-E/FuseDevelopmentGroup. It costs 144 tokens per session (2,236 once invoked), scanned A, original, AGPL-3.0.

A guide to dependency injection in .NET MAUI. Dependency injection supplies a class with the services it needs instead of making the class create those services itself.

In plain words
What is it for?
Use it to register services in MauiProgram.cs, inject them into pages or view models, choose service lifetimes, configure platform-specific implementations, and support Shell navigation.
Why use it?
It makes app code easier to replace, test, and organize as the project grows. It also explains how long each service should remain available.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to register services in MauiProgram.cs, inject them into pages or…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/f-u-s-e-e/fusedevelopmentgroup/maui-dependency-injection
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 F-U-S-E-E/FuseDevelopmentGroup --skill maui-dependency-injection
Clone the repo
git clone --depth 1 https://github.com/F-U-S-E-E/FuseDevelopmentGroup

Made for: Claude Code.

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-dependency-injection

README.md
[![agentmods](https://agentmods.dev/badge/skills/f-u-s-e-e/fusedevelopmentgroup/maui-dependency-injection.svg)](https://agentmods.dev/skills/f-u-s-e-e/fusedevelopmentgroup/maui-dependency-injection)
Your own site
<a href="https://agentmods.dev/skills/f-u-s-e-e/fusedevelopmentgroup/maui-dependency-injection"><img src="https://agentmods.dev/badge/skills/f-u-s-e-e/fusedevelopmentgroup/maui-dependency-injection.svg" alt="Measured on agentmods" height="20"></a>
Per session 144 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,236 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 unknown 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.00144 $0.02236
Opus 5 $0.00072 $0.01118
Sonnet 5 $0.00029 $0.00447
Haiku 4.5 $0.00014 $0.00224

Measured 3d ago against content hash 263bfe285d71, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

maui-dependency-injection 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 3d 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.

.claude/skills/maui-dependency-injection/SKILL.md · 294 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 294 lines · 144 tokens per session scan A 263bfe285d71

Subscribe to this mod's changes

maui-dependency-injection is a skill published in the GitHub repository F-U-S-E-E/FuseDevelopmentGroup (22 stars, last pushed 13d ago), licensed AGPL-3.0. It adds 144 tokens to every session and 2,236 once invoked, about $0.0007 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-09-03.

Related

Other skills, from other repositories

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

maui

Build, review, or migrate .NET MAUI applications across Android, iOS, macOS, and Windows with correct cross-platform UI, platform integration, and native packaging assumptions. USE FOR: working on cross-platform mobile or desktop UI in .NET MAUI; integrating device capabilities, navigation, or platform-specific code…

managedcode/dotnet-skills · 121 tokens

uno-platform

Build cross-platform .NET applications with Uno Platform targeting WebAssembly, iOS, Android, macOS, Linux, and Windows from a single XAML/C# codebase. USE FOR: building cross-platform apps from a single C# and XAML codebase; targeting WebAssembly, iOS, Android, macOS, Linux, and Windows simultaneously; migrating WPF…

managedcode/dotnet-skills · 129 tokens

android-slim-bindings

Create Android slim bindings for MAUI/.NET Android. USE FOR: slim Android binding, Kotlin/Java wrappers, build.gradle.kts, Maven, AAR/JAR, AndroidMavenLibrary, AndroidLibrary, @JvmStatic, XA4241/XA4242, Xamarin.AndroidX/Kotlin NuGets. DO NOT USE FOR: iOS/macOS bindings, general MAUI apps, or NuGet packaging.

dotnet/maui-labs · 90 tokens

maui-notifications-deep-links

Implement MAUI notifications and deep links. USE FOR: local/push notifications, FCM HTTP v1 migration, APNs/Azure Notification Hubs, permission UX, Android channels/POSTNOTIFICATIONS, iOS UNUserNotificationCenter, token lifecycle, notification tap navigation, app links/universal links/URI schemes. DO NOT USE FOR…

dotnet/maui-labs · 90 tokens