Guides migration of .NET Framework Thread.Abort usage to cooperative cancellation in modern .NET. USE FOR: modernizing code that calls Thread.Abort, catching ThreadAbortException, replacing Thread.ResetAbort, replacing Thread.Interrupt for thread termination, resolving PlatformNotSupportedException or SYSLIB0006 after retargeting to .NET 6+, migrating ASP.NET Response.End or Response.Redirect(url…
Install
npx skills add dotnet/skills --skill thread-abort-migrationnpx skills add dotnet/skills --skill thread-abort-migration -a claude-code -gnpx skills add dotnet/skills --skill thread-abort-migration -a codex -ggemini skills install https://github.com/dotnet/skills.git --path plugins/dotnet-upgrade/skills/thread-abort-migrationgh skill install dotnet/skills thread-abort-migrationgit clone --depth 1 https://github.com/dotnet/skills /tmp/dotnet__skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/dotnet__skills/plugins/dotnet-upgrade/skills/thread-abort-migration ~/.claude/skills/thread-abort-migration # Claude Code
cp -R /tmp/dotnet__skills/plugins/dotnet-upgrade/skills/thread-abort-migration ~/.agents/skills/thread-abort-migration # Codex, Cursor, Gemini CLI, Copilot, OpenCode