dotnet-csharp-code-smells
CommunityRefactor C# for robust, clean code.
AuthorAGIBuild
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill proactively identifies and helps fix common C# code smells, anti-patterns, and potential logic issues, leading to more maintainable, performant, and bug-free code.
Core Features & Use Cases
- Detects Resource Leaks: Identifies misuse of
IDisposableand unmanaged resources. - Finds LINQ Anti-Patterns: Pinpoints inefficient LINQ queries and multiple enumerations.
- Identifies Exception Handling Gaps: Flags empty catch blocks, incorrect exception re-throwing, and other error-handling flaws.
- Use Case: A developer can use this skill to review a complex C# class, ensuring that all disposable resources are correctly managed, LINQ queries are optimized, and exceptions are handled robustly, preventing potential runtime errors and memory leaks.
Quick Start
Review the provided C# code for common code smells and suggest improvements.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 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: dotnet-csharp-code-smells Download link: https://github.com/AGIBuild/Agibuild.Fulora/archive/main.zip#dotnet-csharp-code-smells 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 223,000+ vetted skills library on demand.