refactor:dotnet

Community

Modernize ASP.NET Core code with clean patterns

AuthorSnakeO
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill refactors ASP.NET Core/C# projects to improve maintainability, readability, and alignment with modern .NET practices.

Core Features & Use Cases

  • Code reorganization: Extracts business logic from controllers into services, applies Clean Architecture, and enforces SRP.
  • Modern C# idioms: Introduces primary constructors, records, nullable reference types, and pattern matching for clearer code.
  • Use Case: Refactor a fat ASP.NET controller into thin controllers and focused services, improving testability and DI design.

Quick Start

Start by identifying a fat controller, extract the business logic into a service, and apply DI. Then build and run tests with dotnet test to verify behavior.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: refactor:dotnet
Download link: https://github.com/SnakeO/claude-debug-and-refactor-skills-plugin/archive/main.zip#refactor-dotnet

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.