·converting-html-css-to-wpf-xaml
</>

converting-html-css-to-wpf-xaml

christian289/dotnet-with-claudecode

使用正确的模式和常见陷阱解决方案将 HTML/CSS 转换为 WPF CustomControl XAML。在将 Web 设计转换为 WPF、将 CSS 动画转换为 Storyboard、实现 CSS 边框半径裁剪、CSS 伪元素 (::before/::after) 或 XAML 中的 CSS 转换时使用。

16安装·0热度·@christian289

安装

$npx skills add https://github.com/christian289/dotnet-with-claudecode --skill converting-html-css-to-wpf-xaml

SKILL.md

| 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 속성으로 대체 | - |

| references/index.md | 전체 케이스 목록 (빠른 검색용) | | references/clipping.md | 클리핑 관련 실수 (Grid.Clip, OpacityMask, ClipToBounds) | | references/animation.md | 애니메이션/Duration 관련 | | references/layout.md | Canvas/Grid/정렬, pseudo-element 관련 | | references/transform.md | 회전/높이 계산 관련 | | references/converters.md | 필수 Converter 패턴 |

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/christian289/dotnet-with-claudecode --skill converting-html-css-to-wpf-xaml
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 converting-html-css-to-wpf-xaml?

使用正确的模式和常见陷阱解决方案将 HTML/CSS 转换为 WPF CustomControl XAML。在将 Web 设计转换为 WPF、将 CSS 动画转换为 Storyboard、实现 CSS 边框半径裁剪、CSS 伪元素 (::before/::after) 或 XAML 中的 CSS 转换时使用。 来源:christian289/dotnet-with-claudecode。

如何安装 converting-html-css-to-wpf-xaml?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/christian289/dotnet-with-claudecode --skill converting-html-css-to-wpf-xaml 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/christian289/dotnet-with-claudecode