wpf-coding-standards

wpf-coding-standards is a skill for Claude Code, Codex from Dannykkh/skill-olympus. It costs 40 tokens per session (2,242 once invoked), scanned A, original, MIT.

A reference guide for writing Windows Presentation Foundation (WPF) applications with C# and XAML. It is used only when explicitly called.

In plain words
What is it for?
Use it for WPF patterns such as MVVM, dependency injection, navigation, data converters, behaviors, threading, memory use, and GPU optimization.
Why use it?
It provides project-specific guidance without automatically changing how ordinary C# or XAML work is handled.

Skill for Claude CodeCodex

Part of the skill-olympus plugin — 95 skills, 6 commands, 42 agents shipped together

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.

agentmods
npx agentmods add skills/dannykkh/skill-olympus/wpf-coding-standards
Any agent
npx skills add Dannykkh/skill-olympus --skill wpf-coding-standards
Clone the repo
git clone --depth 1 https://github.com/Dannykkh/skill-olympus

Made for: Claude Code, Codex.

Or install skill-olympus, the plugin that ships this one along with the rest of its 95 skills, 6 commands, 42 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 wpf-coding-standards

README.md
[![agentmods](https://agentmods.dev/badge/skills/dannykkh/skill-olympus/wpf-coding-standards.svg)](https://agentmods.dev/skills/dannykkh/skill-olympus/wpf-coding-standards)
Your own site
<a href="https://agentmods.dev/skills/dannykkh/skill-olympus/wpf-coding-standards"><img src="https://agentmods.dev/badge/skills/dannykkh/skill-olympus/wpf-coding-standards.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,242 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00040 $0.02242
Opus 5 $0.00020 $0.01121
Sonnet 5 $0.00008 $0.00448
Haiku 4.5 $0.00004 $0.00224

Measured 2d ago against content hash 5f7206c0e535, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

wpf-coding-standards 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 2d 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/wpf-coding-standards/SKILL.md · 354 lines

How it starts

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

WPF Coding Standards - 통합 패키지

포함 파일

wpf-coding-standards/
├── SKILL.md                              # 이 파일 (핵심 예시)
├── agents/                               # source-only 규칙 참고 (명시적 로드)
│   └── wpf-coding-standards.md           # 런타임 에이전트로 등록하지 않음
└── templates/                            # 코드 템플릿 (on-demand)
    ├── wpf-patterns.md                   # MVVM, DI, Navigation, Converter, Behavior
    └── threading-memory.md              # 스레딩 상세, 메모리 프로파일링, GPU 최적화

참조 로딩 규칙

  1. SKILL.md를 워크플로와 예시의 소유자로 사용합니다.
  2. 스킬을 명시적으로 호출했을 때 agents/wpf-coding-standards.md를 읽고 현재 프로젝트에 필요한 규칙만 적용합니다.
  3. MVVM/Navigation 또는 스레딩/메모리 상세가 필요할 때만 해당 templates/ 파일을 추가로 읽습니다.

agents/ 파일이 자동 로드되거나 커스텀 에이전트로 등록되어 있다고 가정하지 마세요.


MVVM Toolkit 설정 (.NET 8+)

NuGet 패키지

<ItemGroup>
    <PackageReference Include="CommunityToolkit.Mvvm" Version="8.*" />
    <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.*" />
</ItemGroup>

App.xaml.cs (DI 설정)

public partial class App : Application
{
    private readonly IServiceProvider _services;

    public App()
    {
        var services = new ServiceCollection();

        // 서비스 (Singleton = 앱 수명 동안 1개)
        services.AddSingleton<IAppSettings, AppSettings>();
        services.AddSingleton<INavigationService, NavigationService>();
        services.AddSingleton<IDataService, DataService>();

        // ViewModel (Transient = 매번 새로 생성)
        services.AddTransient<MainViewModel>();
        services.AddTransient<SettingsViewModel>();

        // View
        services.AddSingleton<MainWindow>();

        _services = services.BuildServiceProvider();
    }

    protected override void OnStartup(StartupEventArgs e)
    {
        _services.GetRequiredService<MainWindow>().Show();
    }
}

ViewModel 코드 예시

MVVM Toolkit (Source Generator)

public partial class ItemListViewModel : ObservableObject
{
    private readonly IDataService _dataService;
    private CancellationTokenSource? _cts;

    public ItemListViewModel(IDataService dataService)
    {
        _dataService = dataService;
    }

    [ObservableProperty]
    private ObservableCollection<ItemViewModel> _items = [];

    [ObservableProperty]
    private ItemViewModel? _selectedItem;

    [ObservableProperty]
    private bool _isLoading;

    [ObservableProperty]
    private string _searchText = string.Empty;

    // 소스 제너레이터가 LoadItemsCommand 자동 생성
    [RelayCommand]
    private async Task LoadItemsAsync()
    {
        _cts?.Cancel();
        _cts = new CancellationTokenSource();
        IsLoading = true;

        try
        {
            var data = await Task.Run(
                () => _dataService.GetAllAsync(_cts.Token), _cts.Token);

            Items = new ObservableCollection<ItemViewModel>(
                data.Select(d => new ItemViewModel(d)));
        }
        catch (OperationCanceledException) { /* 취소됨 */ }
        finally
        {
            IsLoading = false;
        }
    }

    [RelayCommand(CanExecute = nameof(CanDeleteItem))]
    private void DeleteItem(ItemViewModel item)
    {
        Items.Remove(item);
    }

    private bool CanDeleteItem(ItemViewModel? item) => item is not null;

    // SearchText 변경 시 자동 필터링
    partial void OnSearchTextChanged(string value)
    {
        // 필터링 로직
    }
}

Read the full file on GitHub · 354 lines

Files

What ships with it

3 files 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. 2d ago First seen · 354 lines · 40 tokens per session scan A 5f7206c0e535

Subscribe to this mod's changes

wpf-coding-standards is a skill published in the GitHub repository Dannykkh/skill-olympus (5 stars, last pushed 4d ago), licensed MIT. It adds 40 tokens to every session and 2,242 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 skills, from other repositories

dotnet-microsoft-agent-framework

Build .NET AI agents and multi-agent workflows with Microsoft Agent Framework using the right agent type, threads, tools, workflows, hosting protocols, and enterprise guardrails.

managedcode/dotPilot · 40 tokens

dotnet-microsoft-extensions-ai

Build provider-agnostic .NET AI integrations with Microsoft.Extensions.AI, IChatClient, embeddings, middleware, structured output, vector search, and evaluation.

managedcode/dotPilot · 42 tokens

dotnet-orleans

Build or review distributed .NET applications with Orleans grains, silos, persistence, streaming, reminders, placement, testing, and cloud-native hosting.

managedcode/dotPilot · 34 tokens

mcaf-dotnet

Primary entry skill for C# and .NET tasks. Detect the repo's language version, test runner, quality stack, and architecture rules; route to the right .NET subskills; and run the repo-defined post-change quality pass after any code change. Use when the user asks to implement, debug, review, or refactor .NET code, or…

managedcode/dotPilot · 87 tokens

mcaf-dotnet-code-analysis

Use the free built-in .NET SDK analyzers and analysis levels. Use when a .NET repo needs first-party code analysis, EnableNETAnalyzers, AnalysisLevel, or warning policy wired into build and CI.

managedcode/dotPilot · 52 tokens

mcaf-dotnet-netarchtest

Use the open-source free NetArchTest.Rules library for architecture rules in .NET unit tests. Use when a repo wants lightweight, fluent architecture assertions for namespaces, dependencies, or layering.

managedcode/dotPilot · 48 tokens