csharp-coding

Enforce C# coding standards and patterns for .NET banking applications.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/jamesbondev/ai-dotfiles --skill csharp-coding-jamesbondev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: csharp-coding
Source: https://github.com/jamesbondev/ai-dotfiles/tree/main/.github/skills/csharp-coding
Command: npx skills add https://github.com/jamesbondev/ai-dotfiles --skill csharp-coding-jamesbondev

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enforces C# coding standards, patterns, and best practices, ensuring code quality, consistency, and maintainability in .NET development.

Core Features & Use Cases

  • Code Standards Enforcement: Adheres to strict rules for naming, formatting, and structure.
  • Pattern Implementation: Provides guidance on common patterns like CQRS handlers and Result-based error handling.
  • Banking-Specific Rules: Includes specialized guidelines for financial calculations, idempotency, and audit trails.
  • Use Case: When developing a new feature in a .NET banking application, use this Skill to ensure all new C# code adheres to established best practices and security requirements.

Quick Start

Use the csharp-coding skill to generate a new CQRS command handler following the provided examples.

Frequently Asked Questions about csharp-coding

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

FAQPage Schema
How do I enforce C# coding standards and best practices in .NET development?

You enforce C# coding standards by applying explicit rules for naming, formatting, and structure, ensuring consistency and maintainability across .NET projects. This includes using IDateTimeProvider, avoiding generic exceptions, and employing the options pattern for configuration.

What are the best practices for implementing CQRS handlers in C#?

Best practices for implementing CQRS handlers involve following strict structural patterns and utilizing Result-based error handling. This ensures commands and queries are cleanly separated and maintainable in your .NET codebase.

How do I handle financial calculations and idempotency in banking applications using C#?

To handle financial calculations and idempotency in banking applications, apply specialized C# rules that enforce strict audit trails and accurate transaction processing. This ensures reliable and secure financial operations within your .NET architecture.

Does this C# coding guidance require specific dependencies or environments?

No specific dependencies are required to apply these C# coding standards and patterns. The rules function as guidelines for writing new C# code, implementing features, and reviewing code quality within your existing .NET development environment.

Why should I use the options pattern for configuration in .NET applications?

You should use the options pattern for configuration to adhere strictly to established C# coding standards. This pattern centralizes configuration management, ensuring your .NET application remains maintainable and consistent.

Can I use these C# coding rules to review existing code quality?

Yes, you can use these C# coding rules to review existing code quality. The standards explicitly apply to reviewing structural patterns, error handling, and banking-specific requirements like audit trails within your .NET codebase.