Csharp Code Style
This skill automatically refactors C# code to adhere to established style guidelines, improving readability and maintainability.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add csharp-code-style npx -- -y @trustedskills/csharp-code-style
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"csharp-code-style": {
"command": "npx",
"args": [
"-y",
"@trustedskills/csharp-code-style"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill ensures C# code adheres to established style guidelines. It automatically formats code, enforces naming conventions, and promotes consistent coding practices across projects. The goal is to improve readability, maintainability, and collaboration among developers.
When to use it
- Code Formatting: Automatically format existing C# codebases to a standardized style.
- New Project Setup: Enforce consistent coding standards from the beginning of new C# projects.
- Code Review Assistance: Help identify and correct style violations during code reviews, speeding up the process.
- Team Collaboration: Ensure all team members are writing code in a uniform style.
Key capabilities
- Automatic Code Formatting
- Enforcement of Naming Conventions
- Consistent Coding Practices
Example prompts
- "Format this C# code according to standard conventions."
- "Review this C# file and identify any style violations."
- “Apply the .NET coding style guidelines to this project.”
Tips & gotchas
This skill assumes a basic understanding of C# syntax. While it automates formatting, developers should still understand the underlying principles of good code style.
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.