Maui Dependency Injection skill: what it does and how to install it
Configures dependency injection in .NET MAUI apps with service lifetimes, constructor injection, Shell routes and platform-specific registrations.
Summary generated from the skill's documentation.
Install
$ npx skills add dotnet/skills --skill maui-dependency-injectionRun it in a terminal. If your agent is already running, start a new session so it picks the skill up.
About this skill
What it does. Guides .NET MAUI DI setup in MauiProgram.cs, covering service, ViewModel and Page registration, lifetime selection, constructor injection and Shell route resolution. It also covers platform-specific implementations, query parameters, testable interfaces and common scope and XAML timing pitfalls.
When to use it. Use it when wiring services or navigation-resolved pages in a .NET MAUI app. Do not use it for XAML data binding, Shell route configuration and query parameters, or mocking frameworks and test runners.
History
Repo stars
5.7kAbout +573 since 30 Jul 2026
Before 1 Oct 2026 the curve is estimated from public event data.
Stars are counted for the whole repository, which holds 82 skills.
Show as a table
| Date | Repo stars |
|---|---|
| 26 Oct 2026 | 5,732 |
| 25 Oct 2026 | 5,724 |
| 24 Oct 2026 | 5,717 |
| 23 Oct 2026 | 5,708 |
| 22 Oct 2026 | 5,697 |
| 21 Oct 2026 | 5,693 |
| 20 Oct 2026 | 5,682 |
| 19 Oct 2026 | 5,673 |
| 18 Oct 2026 | 5,661 |
| 17 Oct 2026 | 5,656 |
| 16 Oct 2026 | 5,652 |
| 15 Oct 2026 | 5,642 |
| 14 Oct 2026 | 5,625 |
| 13 Oct 2026 | 5,617 |
| 12 Oct 2026 | 5,607 |
| 11 Oct 2026 | 5,600 |
| 10 Oct 2026 | 5,593 |
| 9 Oct 2026 | 5,590 |
| 8 Oct 2026 | 5,578 |
| 7 Oct 2026 | 5,569 |
| 6 Oct 2026 | 5,562 |
| 5 Oct 2026 | 5,557 |
| 4 Oct 2026 | 5,551 |
| 3 Oct 2026 | 5,543 |
| 2 Oct 2026 | 5,540 |
| 1 Oct 2026 | 5,531 |
| 24 Sept 2026 (estimated) | 5,519 |
| 17 Sept 2026 (estimated) | 5,494 |
| 10 Sept 2026 (estimated) | 5,419 |
| 3 Sept 2026 (estimated) | 5,258 |
| 27 Aug 2026 (estimated) | 5,233 |
| 20 Aug 2026 (estimated) | 5,221 |
| 13 Aug 2026 (estimated) | 5,221 |
| 6 Aug 2026 (estimated) | 5,171 |
| 30 Jul 2026 (estimated) | 5,159 |
Installs
3.2k+327 since 19 Oct 2026
Installs via skills.sh
Show as a table
| Date | Installs |
|---|---|
| 26 Oct 2026 | 3,216 |
| 25 Oct 2026 | 3,168 |
| 24 Oct 2026 | 3,140 |
| 23 Oct 2026 | 3,091 |
| 22 Oct 2026 | 3,039 |
| 21 Oct 2026 | 2,994 |
| 20 Oct 2026 | 2,937 |
| 19 Oct 2026 | 2,889 |
Similar skills
- Setup Matt Pocock SkillsConfigures a repo for Matt Pocock's engineering skills: issue tracker, triage labels and domain doc layout.
- Caveman MigrationImplements schema, data, API or dependency migrations that are reversible, with rollback and preservation proof.
- Browser Testing with DevToolsTests web apps in a real browser through Chrome DevTools MCP: inspect the DOM, read console errors, analyse network requests and profile performance.