·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