csharp-code-style

Enforce POCU C# naming conventions and code style standards.

10|Updated Nov 21, 2025
One-click install
npx skills add https://github.com/creator-hian/claude-code-plugins --skill csharp-code-style
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: csharp-code-style
Source: https://github.com/creator-hian/claude-code-plugins/tree/main/csharp-plugin/skills/csharp-code-style
Command: npx skills add https://github.com/creator-hian/claude-code-plugins --skill csharp-code-style

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill codifies C# code style and naming conventions based on POCU standards to improve code quality and maintainability.

Core Features & Use Cases

  • Naming conventions for types, members, and generics
  • Prohibited patterns and recommended alternatives
  • Patterns for null handling and control structures
  • Unity compatibility considerations for C# 9.0 features

Quick Start

Apply the naming conventions to a sample class and refactor methods to follow the standard.

Frequently Asked Questions about csharp-code-style

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

FAQPage Schema
How do I enforce C# naming conventions across my project?

C# naming conventions enforce consistent code style through standardized rules: mPascalCase for private fields, bBoolean prefixes for booleans, EEnum prefixes for enums. Apply these conventions to improve maintainability, enable proactive code reviews, and standardize your codebase to POCU standards.

What C# 9.0 patterns work with Unity?

This Skill applies C# 9.0 patterns while maintaining Unity compatibility guidelines. It enforces explicit typing, braces, and null-handling patterns recommended for Unity projects, ensuring your code follows modern C# standards without breaking Unity support.

How do I refactor code to follow C# style standards?

Refactor by applying POCU naming rules to types and members, eliminating prohibited anti-patterns, and reorganizing code structure. The Skill identifies violations and recommends explicit typing, proper braces, and standardized null handling across your project.

Can I use C# style enforcement in existing projects?

Yes. The Skill applies naming conventions, code organization, and C# 9.0 patterns to existing projects without dependencies. It enables gradual standardization and proactive refactoring across any C# codebase, including Unity projects.

What patterns does C# style enforcement prohibit?

The Skill prohibits anti-patterns and enforces recommended alternatives for null handling, control structures, and typing. It requires explicit typing and braces while preventing unsafe patterns, improving code quality and consistency.