Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Dotnet Linux Modernization

ASecurity

Modernize legacy .NET applications to a verified supported .NET release and Linux containers for Azure App Service or Azure Container Apps. Use when removing Windows dependencies, migrating System.Web to ASP.NET Core, planning incremental modernization, or moving .NET containers to Linux or ACA.

10 stars
0 votes
0 copies
1 views
Added 9/21/2026
ai-agentssqldockerazuretestinggitapidatabase

Works with

cliapi

Security Analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned 9/21/2026

$npx -y skills add paulasilvatech/awesome-harness-primitives --skill dotnet-linux-modernization --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dotnet Linux Modernization?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Dotnet Linux Modernization
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/paulasilvatech-dotnet-linux-modernization/badge)](https://www.skillsdirectory.com/skills/paulasilvatech-dotnet-linux-modernization)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: dotnet-linux-modernization
description: >-
  Modernize legacy .NET applications to a verified supported .NET release and Linux containers for
  Azure App Service or Azure Container Apps. Use when removing Windows dependencies, migrating
  System.Web to ASP.NET Core, planning incremental modernization, or moving .NET containers to
  Linux or ACA.
---

<!-- Generated from harness/github-copilot/skills/dotnet-linux-modernization/SKILL.md by harness/claude-code/scripts/convert_from_copilot.py. Edit the source, not this file. -->

# .NET modernization for Linux and Azure

Upgrade a bounded application while preserving tested behavior, then prove Linux compatibility before
selecting a release destination. Use [the Linux hosting reference](references/linux-hosting.md) for
runtime, app-model, container, and service-specific decisions.

## When to invoke

- "Modernize this .NET Framework application to the current supported .NET LTS."
- "Move this Windows .NET container to Linux."
- "Migrate this ASP.NET application to Azure Container Apps."
- "Choose Linux App Service versus ACA for our modernized application."

## Three independent gates

| Gate | Required evidence |
| --- | --- |
| Runtime/app-model modernization | Supported target selection, effective dependency graph, compatible packages, framework and behavioral tests. |
| Linux portability | No unresolved reachable Windows-only dependencies; Linux publish, startup, authentication, native-library, filesystem, and behavior tests. |
| Hosting readiness | Correct image architecture, listener/probes, identity, network, state, scale, capacity, and tested rollout/rollback. |

Modern .NET on Windows can be a useful checkpoint. It does not satisfy the Linux gate. A .NET Standard
library is not the deployable entry project, and a Windows-specific TFM is not a Linux target.

## Prerequisites and context

- A reviewed `dotnet-modernization-assessment` (skill) result, an approved target path, and a legacy
  test baseline. Reuse `legacy-characterization-testing` (skill) when installed.
- Installed SDK/build tools and existing tests appropriate to each checkpoint.
- A Linux runner/engine and the target CPU architecture for runtime checks; retain a Windows runner
  while legacy parts still require it.
- Azure access only when resource verification or deployment has been authorized.

## Procedure

1. Bound the first vertical slice and pin its observable contract. Record permitted behavior changes,
   test inputs, downtime, data compatibility, and the rollback checkpoint.
2. Reverify Microsoft's support policy. Record the selected GA/LTS release, TFM, SDK, package support,
   OS support, and runtime-image maintenance strategy. Do not choose a preview merely because it has
   the highest version number, or freeze today's patch as a permanent recommendation.
3. Use the installed Microsoft .NET upgrade workflow when available; discover its capabilities first.
   Otherwise use `dotnet-upgrade` (skill) for explicit project/package changes and validation. The
   Microsoft tool and this repository's skill are different things; neither may be assumed installed.
4. Sequence libraries and their consumers without breaking remaining .NET Framework callers. Preserve
   compatible .NET Standard 2.0 contracts or multi-target when needed. Plan `packages.config` conversion
   only for supported project types, preserving binding redirects, build assets, and restore behavior.
5. Migrate app-model dependencies deliberately. For complex System.Web applications, consider
   side-by-side incremental routing to ASP.NET Core. Prove shared authentication/session boundaries
   and secure the legacy fallback. Treat Web Forms, WCF servers, COM+, remoting, and Workflow as explicit
   workstreams, not namespace replacements.
6. Remove or isolate Windows-only APIs and native components. Run Linux tests for path casing,
   separators, file permissions, globalization/time zones, certificates, drawing/font dependencies,
   authentication, and SQL/native client behavior. Do not introduce a database or ORM migration unless
   needed and authorized.
7. Produce a Linux image with a verified runtime/base and explicit architecture. Use a non-root user
   where supported, minimal runtime artifacts, reproducible dependencies, and immutable release
   identity. Choose SDK container publishing or a Dockerfile according to the actual application,
   native libraries, and existing build convention; do not enable trimming/AOT blindly.
8. Choose the host from [the hosting criteria](references/linux-hosting.md). Align observed listeners,
   target ports and probes. For ACA, separate app/worker/job lifecycles and deliberate minimum replicas;
   for App Service, distinguish classic versus sidecar container configuration.
9. Prepare IaC, identity, private networking/DNS, external state, telemetry, and rollout settings.
   Run the HTTP image/port validator from `dotnet-modernization-assessment` (skill) where applicable,
   then test real startup, graceful shutdown, restart, scale-out, and dependency failures.
10. Stop at **implemented** or **prepared** until authorized deployment. Validate in a lower environment,
    compare against the baseline, and perform only the approved rollout. Record configuration, traffic,
    image and data rollback evidence; unresolved checks prevent a readiness claim.

## Limits

- Do not assume .NET Framework, WPF, WinForms, Web Forms, or Windows native binaries run on Linux.
- Do not treat a Compatibility Pack, SDK-style conversion, or TFM bump as Linux certification.
- No automatic image publication, Azure mutation, schema migration, or production traffic changes.
- Azure Functions-specific execution models and desktop UI modernization require separate workflows.
- When Linux is blocked, use `dotnet-windows-appservice` (skill) only after an explicit rehosting decision.

## Output template

```markdown
## .NET Linux modernization
**Status:** assessed | implemented | prepared | deployed-and-verified | blocked
**Scope/revision:**
**Runtime/SDK/TFM and dated support source:**
**Host:** Linux App Service | ACA app | ACA worker | ACA job

### Checkpoints
| Gate | Changes | Tests and evidence | Blockers | Rollback |
| --- | --- | --- | --- | --- |

### Hosting contract
- Image OS/architecture/digest:
- Listener, probes, scaling, identity, networking, state, and diagnostics:
- App Service container mode or ACA revision/job strategy:

### Remaining work
- Unverified behavior:
- Authorized deployment actions and results:
- Data/traffic rollback and retained legacy dependencies:
```

## Quality gate

- [ ] Stable target support is freshly verified and distinct from preview availability.
- [ ] Each upgrade checkpoint preserves tested contracts and remaining consumers.
- [ ] Windows-only dependencies are removed, isolated, or reported as blockers.
- [ ] Linux image architecture, runtime, listeners, permissions, and native dependencies were verified.
- [ ] Host-specific identity, state, health, scaling, and rollout settings are explicit.
- [ ] Static, local-runtime, and cloud validation results are reported separately.
- [ ] No deployment authority or rollback capability was assumed.

Attribution

paulasilvatechpaulasilvatech
View sourceSee grades on GitHubMore from paulasilvatech →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Terse caveman voice: answer first, fluff gone, every technical fact kept. Use for /caveman, "caveman mode", "talk like caveman", "be brief", "less tokens". Stays on until "stop caveman" or "normal mode".

1100021 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

698621 votes

Writing Skills

Create and manage Claude Code skills in HASH repository following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns), UserPromptSubmit hook, and the 500-line rule. Includes validation and debugging with SKILL_DEBUG. Examples include rust-error-stack, cargo-dep...

3931 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3421 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Amp, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Grok Build, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

741 votes
View all in ai-agents →