migrating-wpf-to-dotnet

migrating-wpf-to-dotnet is a skill for Claude Code from christian289/dotnet-with-claudecode. It costs 33 tokens per session (1,849 once invoked), scanned A, original, MIT.

A guide to moving WPF applications from the older .NET Framework to modern .NET 6 or later. It covers project-file conversion, package compatibility, deployment checks, testing, and performance review.

In plain words
What is it for?
Use it to convert old project files, replace packages.config, check third-party and Windows integrations, fix build issues, test deployment, and benchmark the migrated app.
Why use it?
It helps identify compatibility problems and the project changes needed when modernizing a legacy Windows desktop application.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: model in frontmatter.

Good fit Use it to convert old project files, replace packages.config, check third-party and Windows integrations, fix build issues, test deployment, and benchmark the migrated app.

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

Any agent
npx skills add christian289/dotnet-with-claudecode --skill migrating-wpf-to-dotnet
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 migrating-wpf-to-dotnet

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/christian289/dotnet-with-claudecode/migrating-wpf-to-dotnet"><img src="https://agentmods.dev/badge/skills/christian289/dotnet-with-claudecode/migrating-wpf-to-dotnet.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,849 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 warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 54
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • medium Excessive Agency · line 4
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
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.00033 $0.01849
Opus 5.5 $0.00013 $0.00740
Sonnet 5.5 $0.00007 $0.00370
Haiku 4.5 $0.00003 $0.00185

Measured 3mo ago against content hash 18ba71fe6f03, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

migrating-wpf-to-dotnet 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 3mo 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.

archive-skills/migrating-wpf-to-dotnet/SKILL.md · 302 lines

How it starts

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

WPF .NET Framework → .NET Migration

1. Migration Checklist

1.1 Pre-Migration

  • Verify .NET Framework version (4.6.1+ recommended)
  • Check NuGet package .NET compatibility
  • Verify third-party library .NET versions
  • Check Windows Forms interop usage
  • Check WCF client usage
  • Check ClickOnce deployment usage

1.2 Migration

  • Convert project file to SDK style
  • NuGet packages.config → PackageReference
  • Clean up AssemblyInfo.cs
  • app.config → appsettings.json (optional)
  • Build and fix errors
  • Run tests

1.3 Post-Migration

  • Test self-contained deployment
  • Test single-file deployment
  • Ready to Run (R2R) optimization
  • Performance benchmark

2. Project File Conversion

2.1 Old Format (.NET Framework)

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" />
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProjectGuid>{GUID}</ProjectGuid>
    <OutputType>WinExe</OutputType>
    <RootNamespace>MyApp</RootNamespace>
    <AssemblyName>MyApp</AssemblyName>
    <TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
    <!-- ... hundreds of lines ... -->
  </PropertyGroup>
  <!-- ... -->
</Project>

2.2 New SDK Format (.NET 10)

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFramework>net10.0-windows</TargetFramework>
    <Nullable>enable</Nullable>
    <ImplicitUsings>enable</ImplicitUsings>
    <UseWPF>true</UseWPF>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="CommunityToolkit.Mvvm" Version="8.3.*" />
  </ItemGroup>

</Project>

3. Step-by-Step Migration

3.1 Try-Convert Tool (Automated)

Read the full file on GitHub · 302 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. 3mo ago First seen · 302 lines · 33 tokens per session scan A 18ba71fe6f03

Subscribe to this mod's changes

migrating-wpf-to-dotnet is a skill published in the GitHub repository christian289/dotnet-with-claudecode (42 stars, last pushed 4mo ago), licensed MIT. It adds 33 tokens to every session and 1,849 once invoked, about $0.0001 per session on Opus 5.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

migrating-wpf-to-dotnet compared with skills from other repositories

migrating-wpf-to-dotnet next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
migrating-wpf-to-dotnetchristian289/dotnet-with-claudecodeSkill424mo agoMITA33Claude Code
fluence-consumer-startersintaxasn/Fluence.WpfSkill15todayBSD-3-ClauseA39Claude Code, Codex
add-adrSSWConsulting/SSW.VerticalSliceArchitectureSkill4182d agoMITA83Claude Code
grpcmanagedcode/dotnet-skillsSkill52716d agoMITA95Claude Code, Codex
winformsmanagedcode/dotnet-skillsSkill52716d agoMITA122Claude Code, Codex
frontend-conventionsfpindej/netrockSkill23614d agoMITA27Claude Code
address-reviewfpindej/netrockSkill23614d agoMITA14Claude Code