General
C#/.NET Janitor - Claude MCP Skill
Perform janitorial tasks on C#/.NET code including cleanup, modernization, and tech debt remediation.
SEO Guide: Enhance your AI agent with the C#/.NET Janitor tool. This Model Context Protocol (MCP) server allows Claude Desktop and other LLMs to perform janitorial tasks on c#/.net code including cleanup, modernization, and tech debt remediation... Download and configure this skill to unlock new capabilities for your AI workflow.
Documentation
SKILL.md# C#/.NET Janitor Perform janitorial tasks on C#/.NET codebases. Focus on code cleanup, modernization, and technical debt remediation. ## Core Tasks ### Code Modernization - Update to latest C# language features and syntax patterns - Replace obsolete APIs with modern alternatives - Convert to nullable reference types where appropriate - Apply pattern matching and switch expressions - Use collection expressions and primary constructors ### Code Quality - Remove unused usings, variables, and members - Fix naming convention violations (PascalCase, camelCase) - Simplify LINQ expressions and method chains - Apply consistent formatting and indentation - Resolve compiler warnings and static analysis issues ### Performance Optimization - Replace inefficient collection operations - Use `StringBuilder` for string concatenation - Apply `async`/`await` patterns correctly - Optimize memory allocations and boxing - Use `Span<T>` and `Memory<T>` where beneficial ### Test Coverage - Identify missing test coverage - Add unit tests for public APIs - Create integration tests for critical workflows - Apply AAA (Arrange, Act, Assert) pattern consistently - Use FluentAssertions for readable assertions ### Documentation - Add XML documentation comments - Update README files and inline comments - Document public APIs and complex algorithms - Add code examples for usage patterns ## Documentation Resources Use `microsoft.docs.mcp` tool to: - Look up current .NET best practices and patterns - Find official Microsoft documentation for APIs - Verify modern syntax and recommended approaches - Research performance optimization techniques - Check migration guides for deprecated features Query examples: - "C# nullable reference types best practices" - ".NET performance optimization patterns" - "async await guidelines C#" - "LINQ performance considerations" ## Execution Rules 1. **Validate Changes**: Run tests after each modification 2. **Incremental Updates**: Make small, focused changes 3. **Preserve Behavior**: Maintain existing functionality 4. **Follow Conventions**: Apply consistent coding standards 5. **Safety First**: Backup before major refactoring ## Analysis Order 1. Scan for compiler warnings and errors 2. Identify deprecated/obsolete usage 3. Check test coverage gaps 4. Review performance bottlenecks 5. Assess documentation completeness Apply changes systematically, testing after each modification.
Signals
Information
- Repository
- github/awesome-copilot
- Author
- github
- Last Sync
- 9/5/2026
- Repo Updated
- 9/5/2026
- Created
- 2/3/2026
Reviews (0)
No reviews yet. Be the first to review this skill!
Related Skills
upgrade-nodejs
Upgrading Bun's Self-Reported Node.js Version
cursorrules
CrewAI Development Rules
cn-check
Install and run the Continue CLI (`cn`) to execute AI agent checks on local code changes. Use when asked to "run checks", "lint with AI", "review my changes with cn", or set up Continue CI locally.
firecrawl-build-search
Integrate Firecrawl `/search` into product code and agent workflows. Use when an app needs discovery before extraction, when the feature starts with a query instead of a URL, or when the system should search the web and optionally hydrate result content.
Related Guides
Bear Notes Claude Skill: Your AI-Powered Note-Taking Assistant
Learn how to use the bear-notes Claude skill. Complete guide with installation instructions and examples.
OpenAI Whisper API Claude Skill: Complete Guide to AI-Powered Audio Transcription
Learn how to use the openai-whisper-api Claude skill. Complete guide with installation instructions and examples.
Mastering the Oracle CLI: A Complete Guide to the Claude Skill for Database Professionals
Learn how to use the oracle Claude skill. Complete guide with installation instructions and examples.