One-click install
npx skills add https://github.com/testdino-hq/google-styleguides-skills --skill csharp-testdino-hq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: csharp
Source: https://github.com/testdino-hq/google-styleguides-skills/tree/main/csharp
Command: npx skills add https://github.com/testdino-hq/google-styleguides-skills --skill csharp-testdino-hq

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides clear, actionable guidelines for writing consistent, maintainable, and idiomatic C# code, adhering to Google's best practices.

Core Features & Use Cases

  • Naming Conventions: Standardizes naming for classes, methods, variables, etc.
  • Code Formatting: Ensures consistent indentation, bracing, and spacing.
  • Modern C# Features: Promotes the effective use of LINQ, async/await, nullable reference types, and more.
  • Use Case: When writing a new C# service, use this Skill to ensure all code adheres to Google's standards for readability and maintainability from the start.

Quick Start

Apply Google's C# style guide to the provided code snippet.

Frequently Asked Questions about csharp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the best practices for C# naming conventions and code formatting in .NET?

Google's C# style guide standardizes naming conventions and code formatting for classes, methods, and variables. It enforces consistent indentation, bracing, and spacing to ensure robust and maintainable .NET applications across development teams.

How do I enforce modern C# coding standards for async/await and LINQ usage?

Apply Google's C# coding standards to your codebase to promote effective use of modern C# features. This includes guidelines for asynchronous programming patterns with async/await and optimal LINQ usage for readable, maintainable code.

Can I use this style guide to check an existing C# code snippet for compliance?

Yes, you can apply Google's C# style guide directly to a provided code snippet. It reviews the code against official standards for formatting, naming, and modern language features to facilitate consistent code style across projects.

What is the best way to standardize C# code quality across a development team?

Adopting Google's official C# coding standards provides clear, actionable guidelines for writing consistent, idiomatic code. It standardizes formatting and modern feature usage, ensuring maintainable .NET applications and uniform code quality across the team.