gitwtfhub

wtf is dotnet-modernize?

arunsk97/dotnet-modernize — explained in plain English

Analysis updated 2026-05-18

0PythonAudience · developerComplexity · 3/5LicenseSetup · moderate

TL;DR

dotnet-modernize is a CLI tool that pairs with an AI coding agent to guide upgrading old .NET Framework projects to modern .NET.

Mindmap

mindmap
  root((dotnet-modernize))
    What it does
      Agent guided upgrades
      Baseline capture
      Knowledge graph build
      Progress tracking
    Tech stack
      Python
      dotnet CLI
      graphify
    Use cases
      NET Framework migration
      Build validation
      Agent skill delivery
    Design
      Deterministic CLI
      Judgment left to agent

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Scaffold and track an AI-assisted upgrade from .NET Framework to a modern .NET version.

REASON 2

Capture a build baseline before letting an agent modify a legacy .NET solution.

REASON 3

Build a knowledge graph of a codebase for an agent to query during a modernization task.

What's in the stack?

Python.NETpip

How it stacks up

arunsk97/dotnet-modernize0xallam/my-recipe0xhassaan/nn-from-scratch
Stars00
LanguagePythonPythonPython
Last pushed2022-11-22
MaintenanceDormant
Setup difficultymoderatemoderatemoderate
Complexity3/52/54/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires the dotnet CLI, git, and an AI coding agent such as Claude Code to run the actual upgrade.

Permissive MIT license, free to use, modify, and distribute including commercially.

Wtf does this do

dotnet-modernize is a Python package that helps an AI coding agent upgrade an old .NET Framework project to a modern version of .NET. It follows an assess, plan, and build validated execute workflow similar to Visual Studio Copilot's Modernize agent, but the judgment heavy parts of the work are handled by an AI assistant like Claude Code reading a bundled instruction file, while this tool provides a command line helper for the mechanical, non reasoning parts of the process. The reasoning heavy tasks, such as reading a codebase, deciding the right upgrade strategy, and figuring out why a build broke, are deliberately left to the AI agent rather than reimplemented in Python. What this package does handle directly is installing its instructions into an agent's skill folder, scaffolding a new upgrade scenario, capturing a baseline build before any changes are made, building a knowledge graph of the codebase using a separate tool called graphify, and tracking progress by reading a checklist file. After installing with pip, pipx, or uv, you run it from inside your .NET solution folder. First you install the skill files into your agent's directory, then create an upgrade scenario with a target framework version, capture a baseline by running the existing build and tests without touching any code, and build the knowledge graph the agent will query. From there you hand the task to your AI agent with a plain instruction to upgrade the solution following the installed skill, and can check progress at any time with a status command that reads the checklist without needing the agent running. The package includes several other commands too, such as listing existing scenarios, archiving a finished one, querying the knowledge graph directly, and a doctor command that checks whether required tools like dotnet, git, and graphify are available. The author explains the design choice as drawing a clear line between things that need judgment, left to the AI agent, and things that are simple and testable, handled by deterministic code. It is licensed under MIT.

Yoink these prompts

Prompt 1
How do I install and run dotnet-modernize on my existing .NET Framework solution?
Prompt 2
Upgrade this solution to net10.0 using scenario dotnet-version-upgrade, following the dotnet-modernize skill.
Prompt 3
Explain what the baseline and graph commands in dotnet-modernize do before an upgrade starts.
Prompt 4
What does the dotnet-modernize doctor command check before starting a modernization?

Frequently asked questions

wtf is dotnet-modernize?

dotnet-modernize is a CLI tool that pairs with an AI coding agent to guide upgrading old .NET Framework projects to modern .NET.

What language is dotnet-modernize written in?

Mainly Python. The stack also includes Python, .NET, pip.

What license does dotnet-modernize use?

Permissive MIT license, free to use, modify, and distribute including commercially.

How hard is dotnet-modernize to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is dotnet-modernize for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.