Csharp Standards
Ensures your C# code adheres to industry best practices and Microsoft’s recommended standards for cleaner, maintainable, and robust applications.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add csharp-standards npx -- -y @trustedskills/csharp-standards
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"csharp-standards": {
"command": "npx",
"args": [
"-y",
"@trustedskills/csharp-standards"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill provides adherence to C# coding standards. It ensures code is formatted consistently, follows naming conventions, and promotes readability, ultimately contributing to maintainable and collaborative projects. The skill helps enforce best practices for C# development.
When to use it
- Code Reviews: Automatically check pull requests for compliance with C# style guidelines.
- New Project Setup: Ensure a new C# project starts with consistent formatting from the beginning.
- Refactoring Existing Codebases: Standardize the formatting of legacy code to improve readability and maintainability.
- Team Collaboration: Enforce a unified coding style across multiple developers working on the same project.
Key capabilities
- C# Coding Standards Enforcement
- Code Formatting
- Naming Convention Adherence
- Readability Promotion
Example prompts
- "Check this C# code for adherence to standard formatting."
- "Apply C# coding standards to this file."
- "Review this pull request and flag any deviations from the established C# style guide."
Tips & gotchas
This skill is most effective when integrated into a development workflow. It's recommended to define specific C# coding standard rules beforehand for consistent application.
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.