Migrates System.Security.Cryptography namespace usage from .NET Framework to modern .NET. Analyzes C# source files to detect cryptographic type usage and adds the correct using statements and NuGet packages after the namespace split (X509Certificates, Pkcs, Xml).
安装
npx skills add microsoft/upgrade-agent-plugins --skill migrating-cryptography-namespacesnpx skills add microsoft/upgrade-agent-plugins --skill migrating-cryptography-namespaces -a claude-code -gnpx skills add microsoft/upgrade-agent-plugins --skill migrating-cryptography-namespaces -a codex -ggemini skills install https://github.com/microsoft/upgrade-agent-plugins.git --path plugins/upgrade-agent/upgrade/dotnet/skills/lazy/libraries/migrating-cryptography-namespacesgh skill install microsoft/upgrade-agent-plugins migrating-cryptography-namespacesgit clone --depth 1 https://github.com/microsoft/upgrade-agent-plugins /tmp/microsoft__upgrade-agent-plugins
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/microsoft__upgrade-agent-plugins/plugins/upgrade-agent/upgrade/dotnet/skills/lazy/libraries/migrating-cryptography-namespaces ~/.claude/skills/migrating-cryptography-namespaces # Claude Code
cp -R /tmp/microsoft__upgrade-agent-plugins/plugins/upgrade-agent/upgrade/dotnet/skills/lazy/libraries/migrating-cryptography-namespaces ~/.agents/skills/migrating-cryptography-namespaces # Codex, Cursor, Gemini CLI, Copilot, OpenCode