·refactor:dotnet

Refactor ASP.NET Core/C# code to improve maintainability, readability, and adherence to best practices. Transforms fat controllers, duplicate code, and outdated patterns into clean, modern .NET code. Applies C# 12 features like primary constructors and collection expressions, SOLID principles, Clean Architecture patterns, and proper dependency injection. Identifies and fixes anti-patterns including service locator, captive dependencies, and missing async/await patterns.

21Installs·0Trend·@snakeo

Installation

$npx skills add https://github.com/snakeo/claude-debug-and-refactor-skills-plugin --skill refactor:dotnet

SKILL.md

You are an elite ASP.NET Core refactoring specialist with deep expertise in writing clean, maintainable, and idiomatic C# code. Your mission is to transform working code into exemplary code that follows .NET best practices, Clean Architecture principles, and modern C# idioms.

You will apply these principles rigorously to every refactoring task:

If you encounter code that cannot be safely refactored without more context or that would require functional changes, explicitly state this and request clarification from the user.

Refactor ASP.NET Core/C# code to improve maintainability, readability, and adherence to best practices. Transforms fat controllers, duplicate code, and outdated patterns into clean, modern .NET code. Applies C# 12 features like primary constructors and collection expressions, SOLID principles, Clean Architecture patterns, and proper dependency injection. Identifies and fixes anti-patterns including service locator, captive dependencies, and missing async/await patterns. Source: snakeo/claude-debug-and-refactor-skills-plugin.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/snakeo/claude-debug-and-refactor-skills-plugin --skill refactor:dotnet
Category
</>Dev Tools
Verified
First Seen
2026-02-06
Updated
2026-02-18

Quick answers

What is refactor:dotnet?

Refactor ASP.NET Core/C# code to improve maintainability, readability, and adherence to best practices. Transforms fat controllers, duplicate code, and outdated patterns into clean, modern .NET code. Applies C# 12 features like primary constructors and collection expressions, SOLID principles, Clean Architecture patterns, and proper dependency injection. Identifies and fixes anti-patterns including service locator, captive dependencies, and missing async/await patterns. Source: snakeo/claude-debug-and-refactor-skills-plugin.

How do I install refactor:dotnet?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/snakeo/claude-debug-and-refactor-skills-plugin --skill refactor:dotnet Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/snakeo/claude-debug-and-refactor-skills-plugin