The dotnet-guidelines skill provides Claude with a strict set of rules for modern .NET development, focusing on performance, maintainability, and consistency. It mandates the use of recent language features like Primary Constructors and record types while enforcing rigorous file organization, such as one class per file and specific naming conventions. By automating the application of patterns like structured logging, interface-based dependency injection, and mandatory cancellation tokens, this skill ensures that backend services are robust, testable, and follow industry-leading architectural principles.
主要功能
01Mandates interface-based service registration and dependency injection
02Enforces modern C# features including Primary Constructors and Record types
03Automates best practices for asynchronous programming and memory caching
040 GitHub stars
05Standardizes file organization with a strict one-class-per-file rule
06Implements structured logging requirements for consistent observability