Registry / managedcode

managedcode/dotnet-skills/thread-abort-migration

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, true) which internally call Thread.Abort. DO NOT USE FOR: code that only uses Thread.Join, Thread.S

Agent skill · version 0.0.0-main.1794330589.g268856b · from managedcode/dotnet-skills

Install

npx yarkr-cli add skill:managedcode/dotnet-skills/thread-abort-migration

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:managedcode/dotnet-skills/thread-abort-migration
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:managedcode/dotnet-skills/thread-abort-migration

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:managedcode/dotnet-skills/thread-abort-migration

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.