Dotnet Csharp Coding Standards

🌐Community
by novotnyllc · vlatest · Repository

Ensures consistent and maintainable .NET/C# code by applying industry best practices, boosting developer productivity and code quality.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add dotnet-csharp-coding-standards npx -- -y @trustedskills/dotnet-csharp-coding-standards
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "dotnet-csharp-coding-standards": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/dotnet-csharp-coding-standards"
      ]
    }
  }
}

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 coding standards. It helps maintain consistency, readability, and quality within .NET projects by applying rules related to formatting, naming conventions, and best practices. The skill can be used for both new development and existing codebase refactoring.

When to use it

  • New Project Setup: Enforce consistent coding style from the beginning of a project.
  • Code Reviews: Automate checks during code review processes to ensure adherence to standards.
  • Refactoring Legacy Code: Improve readability and maintainability when working with older C# projects.
  • Team Collaboration: Standardize code across multiple developers contributing to the same codebase.

Key capabilities

  • Applies formatting rules (e.g., indentation, spacing).
  • Enforces naming conventions for variables, methods, and classes.
  • Identifies potential code smells or anti-patterns.
  • Supports .NET coding standards.

Example prompts

  • "Apply C# coding standards to this code snippet."
  • "Check this file for adherence to .NET coding guidelines."
  • "Refactor this method to follow standard naming conventions."

Tips & gotchas

This skill assumes a basic understanding of C# and .NET development. While it automates many checks, developers should still understand the reasoning behind the standards being enforced.

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 HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
novotnyllc
Installs
5

🌐 Community

Passed automated security scans.