clean-code-dotnet
CommunityWrite elegant, maintainable, and testable .NET code.
Authorthapaliyabikendra
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill guides you in writing clean, elegant, and maintainable .NET code, solving the challenge of complex, hard-to-understand, and difficult-to-test codebases. It promotes best practices, design principles, and coding standards that lead to higher quality software and improved team productivity.
Core Features & Use Cases
- SOLID Principles: Explains and demonstrates the Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion principles.
- Naming Conventions & Formatting: Provides guidelines for consistent and descriptive naming, along with
.editorconfigtemplates for automated code style enforcement. - Refactoring Techniques: Covers common refactoring patterns to improve code structure, reduce complexity, and enhance readability without changing external behavior.
- Testability & Modularity: Emphasizes writing code that is easy to unit test and designing modules with clear responsibilities and minimal coupling.
- Use Case: A development team is struggling with a legacy .NET application that is difficult to extend and test. Using this skill, they apply SOLID principles and refactoring techniques to gradually improve the codebase's quality and maintainability.
Quick Start
Refactor a C# class that handles both data storage and business logic to adhere to the Single Responsibility Principle (SRP).
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: clean-code-dotnet Download link: https://github.com/thapaliyabikendra/ai-artifacts/archive/main.zip#clean-code-dotnet Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.