dotnet-with-claudecode: Skill for Claude Code

.claude/skills/converting-html-css-to-wpf-xaml/SKILL.md

converting-html-css-to-wpf-xaml is a skill for Claude Code from christian289/dotnet-with-claudecode. It costs 69 tokens per session (890 once invoked), scanned A, original, MIT.

A conversion guide for translating HTML and CSS interface patterns into WPF XAML, the markup language used to describe WPF user interfaces.

In plain words
What is it for?
Use it when recreating web designs in WPF, including rounded clipping, absolute positioning, animations, pseudo-elements, stacking order, transforms, and spacing.
Why use it?
Web layout and animation rules do not map directly to WPF, so the guide documents corresponding XAML patterns and common conversion problems.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is christian289/dotnet-with-claudecode's own configuration. It tells Claude Code how to work on dotnet-with-claudecode itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything dotnet-with-claudecode configures →

Reuse

Borrowing it

Nothing to install: this file belongs to christian289/dotnet-with-claudecode. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/christian289/dotnet-with-claudecode/main/.claude/skills/converting-html-css-to-wpf-xaml/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/christian289/dotnet-with-claudecode

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 converting-html-css-to-wpf-xaml

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/christian289/dotnet-with-claudecode/converting-html-css-to-wpf-xaml"><img src="https://agentmods.dev/badge/skills/christian289/dotnet-with-claudecode/converting-html-css-to-wpf-xaml.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 890 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 pass 7 Sept 2026
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.00069 $0.00890
Opus 5 $0.00034 $0.00445
Sonnet 5 $0.00014 $0.00178
Haiku 4.5 $0.00007 $0.00089

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

Security

Grade A, and why

converting-html-css-to-wpf-xaml 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 11d 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/converting-html-css-to-wpf-xaml/SKILL.md · 80 lines

How it starts

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

HTML/CSS → WPF XAML 변환 가이드

CSS → WPF 핵심 매핑 테이블

CSS WPF 구현 방법 참조
overflow: hidden + border-radius Border.Clip + RectangleGeometry (RadiusX/Y + MultiBinding) clipping.md
position: absolute (회전 요소) Canvas + Canvas.Left/Top layout.md
animation-duration: 3s Duration="0:0:3" 인라인 animation.md
height: 130% (회전 요소) Converter로 동적 계산 (배율 2.0) transform.md
::before, ::after Canvas 내 요소, 선언 순서로 z-order layout.md
z-index 선언 순서 또는 Panel.ZIndex layout.md
중앙 정렬 콘텐츠 Canvas 밖 Grid에서 Alignment 적용 layout.md
spacing Maring 속성으로 대체 -

핵심 규칙 요약

1. Duration은 항상 인라인

<!-- ✅ -->
<DoubleAnimation Duration="0:0:3" />
<!-- ❌ StaticResource 바인딩 불가 -->

2. 둥근 모서리 클리핑은 Border.Clip + RectangleGeometry

<Border CornerRadius="20">
    <Border.Clip>
        <RectangleGeometry RadiusX="20" RadiusY="20">
            <RectangleGeometry.Rect>
                <MultiBinding Converter="{x:Static local:SizeToRectConverter.Instance}">
                    <Binding Path="ActualWidth" RelativeSource="{RelativeSource AncestorType=Border}" />
                    <Binding Path="ActualHeight" RelativeSource="{RelativeSource AncestorType=Border}" />
                </MultiBinding>
            </RectangleGeometry.Rect>
        </RectangleGeometry>
    </Border.Clip>
</Border>

Read the full file on GitHub · 80 lines

Files

What ships with it

7 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. 11d ago First seen · 80 lines · 69 tokens per session scan A 3dc74bbb0cb2

Subscribe to this mod's changes

converting-html-css-to-wpf-xaml is a skill published in the GitHub repository christian289/dotnet-with-claudecode (41 stars, last pushed 1mo ago), licensed MIT. It adds 69 tokens to every session and 890 once invoked, about $0.0003 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-08-30.

Related

Other skills, from other repositories

mapsui

Use when embedding interactive 2D maps in .NET desktop (WinForms/WPF) or mobile (MAUI) applications — tile layers, vector features, map controls. Mapsui: cross-platform .NET map component library.

znlgis/opengis-skills · 49 tokens

p5js

Use when users request: p5.js sketches, creative coding, generative art, interactive visualizations, canvas animations, browser-based visual art, data viz, shader effects, or any p5.js project.

NousResearch/hermes-agent · 20 tokens

webgl-liquid-metal

A real-time liquid-metal shader — a domain-warped noise field shaded as molten chrome, with a sweeping specular highlight over an iridescent thin-film (cosine-palette) sheen. No textures. Rendered as a single self-contained index.html. Use when the brief asks for "liquid metal", "molten chrome", "iridescent"…

nexu-io/open-design · 121 tokens

webgl-particle-galaxy

A real-time particle galaxy — tens of thousands of additive-blended GPU points spiraling around a bright core, their orbits solved entirely in the vertex shader (from glVertexID), so the whole cloud draws in one call. Rendered as a single self-contained index.html. Use when the brief asks for a "particle field"…

nexu-io/open-design · 126 tokens

webgl-horizontal-parallax

A horizontal-scroll WebGL gallery (Three.js): frames glide sideways with lerp smoothing and each image parallaxes its texture (UV shift) by its position in the viewport.

nexu-io/open-design · 41 tokens

webgl-aurora-veil

A self-contained WebGL2 hero: layered aurora light curtains warped over a night sky scattered with stars; move the cursor to sway the veil.

nexu-io/open-design · 38 tokens