wpf-xaml-designer

wpf-xaml-designer is an agent for Claude Code from christian289/dotnet-with-claudecode. It costs 33 tokens per session (784 once invoked), scanned A, original, MIT.

A specialist agent for designing WPF interfaces in XAML, Microsoft’s markup language for Windows desktop user interfaces. It works on styles, reusable control templates, resource dictionaries, triggers, visual states, and animations.

In plain words
What is it for?
It is for building XAML styles, control templates, shared resources, state changes, and animation storyboards.
Why use it?
It gives interface-focused guidance for organising and implementing reusable WPF visual components.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit It is for building XAML styles, control templates, shared resources, state changes, and animation storyboards.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/christian289/dotnet-with-claudecode/wpf-xaml-designer
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.

Clone the repo
git clone --depth 1 https://github.com/christian289/dotnet-with-claudecode

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-xaml-designer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/christian289/dotnet-with-claudecode/wpf-xaml-designer"><img src="https://agentmods.dev/badge/agents/christian289/dotnet-with-claudecode/wpf-xaml-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 784 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.00033 $0.00784
Opus 5 $0.00016 $0.00392
Sonnet 5 $0.00007 $0.00157
Haiku 4.5 $0.00003 $0.00078

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

Security

Grade A, and why

wpf-xaml-designer 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 6d 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/agents/wpf-xaml-designer.md · 97 lines

How it starts

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

WPF XAML Designer - Style/Template Specialist

Role

Design XAML styles, ControlTemplate, ResourceDictionary organization, and animations.

WPF Coding Rules (Embedded)

ResourceDictionary Structure

Apply the preloaded resourcedictionary-patterns rules (see frontmatter skills).

Individual Control Style Pattern

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:MyApp.Controls">

    <!-- Define resources first -->
    <SolidColorBrush x:Key="ButtonBackground" Color="#007ACC"/>
    <SolidColorBrush x:Key="ButtonForeground" Color="White"/>

    <!-- Then reference in Style -->
    <Style TargetType="{x:Type local:CustomButton}">
        <Setter Property="Background" Value="{StaticResource ButtonBackground}"/>
        <Setter Property="Foreground" Value="{StaticResource ButtonForeground}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type local:CustomButton}">
                    <!-- Template content -->
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>

Resource Reference Rules

  • StaticResource: Control-internal resources, fixed at load time
  • DynamicResource: Theme-switchable resources, updated at runtime

ControlTemplate Best Practices

<ControlTemplate TargetType="{x:Type local:CustomButton}">
    <Border x:Name="PART_Border"
            Background="{TemplateBinding Background}"
            BorderBrush="{TemplateBinding BorderBrush}"
            BorderThickness="{TemplateBinding BorderThickness}">
        <ContentPresenter x:Name="PART_Content"
                          HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                          VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
    </Border>

    <ControlTemplate.Triggers>
        <Trigger Property="IsMouseOver" Value="True">
            <Setter TargetName="PART_Border" Property="Background" Value="#1E90FF"/>
        </Trigger>
        <Trigger Property="IsPressed" Value="True">
            <Setter TargetName="PART_Border" Property="Background" Value="#0066CC"/>
        </Trigger>
    </ControlTemplate.Triggers>
</ControlTemplate>

Read the full file on GitHub · 97 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. 6d ago First seen · 97 lines · 0 tokens per session scan A 4209680fd440

Subscribe to this mod's changes

wpf-xaml-designer is an agent published in the GitHub repository christian289/dotnet-with-claudecode (41 stars, last pushed 1mo ago), licensed MIT. It adds 33 tokens to every session and 784 once invoked, about $0.0002 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 agents, from other repositories

Accessibility Reviewer

Audit UI components for WCAG 2.2 compliance, semantic HTML, ARIA labels, keyboard navigation, color contrast, and responsive design.

srnichols/plan-forge · 32 tokens

frontend-engineer

Implements frontend features - pages, components, API integration, i18n, styling. Use for SvelteKit/Svelte 5 implementation work that stays within src/frontend/.

fpindej/netrock · 39 tokens

fec-ui-checker

Use this subagent to troubleshoot visual defects, layout confusion, CSS issues, responsive exceptions, and inconsistencies between interaction and design in the front-end UI, and save the report as a Markdown file. Supports obtaining design data from Figma, Sketch, MasterGo, Pixso, Moko, and Mock, compares the design…

bovinphang/frontend-craft · 0 tokens

ui-standards-expert

Agent specialized in UI excellence compliance including design tokens, theming, accessibility (WCAG AA), responsive layouts, and motion patterns for both Flutter and Angular. Examples:\n\n \nContext: New Flutter dashboard widgets were built and need design system compliance review.\nUser: "Make sure the new dashboard…

kumaran-is/claude-code-onboarding · 202 tokens

ui-developer

Use this agent when you need to implement or fix UI components based on design references or designer feedback. This agent is a senior UI/UX developer specializing in pixel-perfect implementation with React, TypeScript, and Tailwind CSS. Trigger this agent in these scenarios:\n\n \nContext: Designer has reviewed…

MadAppGang/claude-code · 338 tokens

design-performance-critic

Evaluates design performance including CSS efficiency, asset optimization, loading strategies, and runtime performance. Use this agent to ensure generated designs are fast and efficient. Implements autonomous quality refinement through an internal Ralph Wiggum Loop.

Claude-Code-Community-Ireland/claude-code-resources · 48 tokens