wpf-rule-view-viewmodel-wiring-communitytoolkit

wpf-rule-view-viewmodel-wiring-communitytoolkit is a skill for Claude Code from christian289/dotnet-with-claudecode. It costs 36 tokens per session (1,786 once invoked), scanned A, original, MIT.

A set of rules for connecting WPF screens to their ViewModels using CommunityToolkit.Mvvm, a .NET library for the MVVM pattern. It uses a ViewModel-first setup, where the ViewModel helps determine which screen to show.

In plain words
What is it for?
Use it when building or reviewing a WPF desktop application with CommunityToolkit.Mvvm and implicit XAML templates.
Why use it?
It keeps screen-to-logic connections consistent and avoids manually wiring each screen in different ways.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is (Mappings.xaml + implicit DataTemplate). See [`docs/TERMINOLOGY.md`](../../docs/TERMINOLOGY.md)..

Part of the wpf-dev-pack plugin — 28 skills, 10 agents, 4 hooks, 2 MCP servers shipped together

Good fit Use it when building or reviewing a WPF desktop application with CommunityToolkit.Mvvm and implicit XAML templates.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/christian289/dotnet-with-claudecode
agentmods
npx agentmods add skills/christian289/dotnet-with-claudecode/wpf-rule-view-viewmodel-wiring-communitytoolkit

Made for: Claude Code.

Or install wpf-dev-pack, the plugin that ships this one along with the rest of its 28 skills, 10 agents, 4 hooks, 2 MCP servers.

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 wpf-rule-view-viewmodel-wiring-communitytoolkit

README.md
[![agentmods](https://agentmods.dev/badge/skills/christian289/dotnet-with-claudecode/wpf-rule-view-viewmodel-wiring-communitytoolkit/github.svg)](https://agentmods.dev/skills/christian289/dotnet-with-claudecode/wpf-rule-view-viewmodel-wiring-communitytoolkit)
Your own site
<a href="https://agentmods.dev/skills/christian289/dotnet-with-claudecode/wpf-rule-view-viewmodel-wiring-communitytoolkit"><img src="https://agentmods.dev/badge/skills/christian289/dotnet-with-claudecode/wpf-rule-view-viewmodel-wiring-communitytoolkit/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 wpf-rule-view-viewmodel-wiring-communitytoolkit

Your own site · 80×15
<a href="https://agentmods.dev/skills/christian289/dotnet-with-claudecode/wpf-rule-view-viewmodel-wiring-communitytoolkit"><img src="https://agentmods.dev/badge/skills/christian289/dotnet-with-claudecode/wpf-rule-view-viewmodel-wiring-communitytoolkit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,786 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: 1 finding, up to high

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 →

  • high Prompt Injection · line 7
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
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.00036 $0.01786
Opus 5.5 $0.00014 $0.00714
Sonnet 5.5 $0.00007 $0.00357
Haiku 4.5 $0.00004 $0.00179

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

Security

Grade A, and why

wpf-rule-view-viewmodel-wiring-communitytoolkit 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 1mo 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.

wpf-dev-pack/skills/wpf-rule-view-viewmodel-wiring-communitytoolkit/SKILL.md · 226 lines

How it starts

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

View-ViewModel Wiring — CommunityToolkit.Mvvm

Applies when CommunityToolkit.Mvvm is the active MVVM framework.

Composition style: ViewModel First Composition + Stateful ViewModel (Mappings.xaml + implicit DataTemplate). See docs/TERMINOLOGY.md.


Core Principles

Read the full file on GitHub · 226 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. 1mo ago First seen · 226 lines · 36 tokens per session scan A 8e203632ee49

Subscribe to this mod's changes

wpf-rule-view-viewmodel-wiring-communitytoolkit is a skill published in the GitHub repository christian289/dotnet-with-claudecode (41 stars, last pushed 3mo ago), licensed MIT. It adds 36 tokens to every session and 1,786 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

mapsui

Use when embedding interactive 2D maps in .NET desktop (WPF/WinUI/WinForms) or mobile (MAUI/Avalonia/Blazor) apps with Mapsui 5.1.0 (net8.0/net9.0) — Mapsui.Wpf/Mapsui.Maui packages, Map and Layers, OpenStreetMap.CreateTileLayer, Shapefile/GeoJSON via Mapsui.Nts, SphericalMercator.FromLonLat, or fixing a blank…

znlgis/opengis-skills · 107 tokens

generate-code-cs

Generate the code from typespec for C#. Parameter: C# SDK repository root location .

Azure/azure-sdk-for-net · 26 tokens

author-test

Generate a test given sample. Parameters: C# SDK repository root; Package name: one of Azure.AI.Projects, Azure.AI.Projects.Agents or Azure.AI.Extensions.OpenAI; the sample to use as a starting point for the test.

Azure/azure-sdk-for-net · 68 tokens

opentelemetry-net-instrumentation

Provides guidance for implementing OpenTelemetry instrumentation in .NET codebases, covering tracing (Activities/Spans), metrics, logs, naming conventions, error handling, performance, SDK setup, resources, context propagation, and API design best practices.

Aaronontheweb/dotnet-skills · 56 tokens

wpf

Build and modernize WPF applications on .NET with correct XAML, data binding, commands, threading, styling, and Windows desktop migration decisions. USE FOR: working on WPF UI, MVVM, binding, commands, or desktop modernization; migrating WPF from .NET Framework to .NET; integrating newer Windows capabilities into a…

managedcode/dotnet-skills · 122 tokens

mcp

Build or consume Model Context Protocol (MCP) servers and clients in .NET using the official MCP C# SDK, including stdio, Streamable HTTP, tools, prompts, resources, and capability negotiation. USE FOR: .NET MCP servers or clients; stdio versus HTTP transport choices; tools, resources, prompts, completions, and…

managedcode/dotnet-skills · 123 tokens