Refactor Assistant
Refactors complex .NET codebases automatically, improving readability, maintainability, and performance based on best practices.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add aidotnet-refactor-assistant npx -- -y @trustedskills/aidotnet-refactor-assistant
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"aidotnet-refactor-assistant": {
"command": "npx",
"args": [
"-y",
"@trustedskills/aidotnet-refactor-assistant"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The aidotnet-refactor-assistant skill helps developers improve existing codebases. It can analyze C# code and suggest improvements, identify potential bugs, and rewrite sections of code to be more readable and maintainable. This skill aims to reduce technical debt and enhance the overall quality of .NET projects.
When to use it
- Legacy Code Improvement: Refactor older, complex C# codebases to improve readability and performance.
- Bug Prevention: Identify potential bugs or anti-patterns in existing code before they become major issues.
- Code Modernization: Update code to utilize newer .NET features and best practices.
- Technical Debt Reduction: Systematically address areas of technical debt within a project.
Key capabilities
- C# Code Analysis
- Refactoring Suggestions
- Bug Identification
- Code Rewriting
Example prompts
- "Analyze this C# code snippet and suggest improvements: [paste code]"
- "Identify potential bugs in the following function: [paste code]"
- "Rewrite this method to be more readable and efficient: [paste code]"
Tips & gotchas
This skill is designed for use with C# .NET projects. While it can offer valuable suggestions, always review the proposed changes carefully before applying them to your codebase.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.