Csharp Standards
Ensures your C# code adheres to Microsoft’s recommended coding standards for improved 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 devbyray-csharp-standards npx -- -y @trustedskills/devbyray-csharp-standards
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"devbyray-csharp-standards": {
"command": "npx",
"args": [
"-y",
"@trustedskills/devbyray-csharp-standards"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enforces C# coding standards and best practices. It analyzes C# code for adherence to established style guides, identifies potential issues like naming inconsistencies or unused variables, and suggests corrections. The tool aims to improve code quality, readability, and maintainability within .NET projects.
When to use it
- Code Reviews: Automate the initial pass of a code review process to ensure consistency with team standards.
- New Project Setup: Enforce coding guidelines from the outset of a new C# project.
- Refactoring Existing Code: Help standardize and improve the quality of legacy C# codebases.
- Team Onboarding: Quickly bring new developers up to speed on your team's preferred coding style.
Key capabilities
- C# Coding Standards Enforcement
- Style Guide Adherence
- Code Analysis for Potential Issues
- Suggestion of Corrections
Example prompts
- "Analyze this C# code snippet and suggest improvements based on standard conventions."
- "Check this file for adherence to the .NET coding standards."
- "Find any naming inconsistencies in this class definition."
Tips & gotchas
- Requires a basic understanding of C# coding standards.
- The skill's effectiveness depends on clearly defined and documented team coding guidelines.
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.