dotnet-csharp-api-design
CommunityDesign intuitive .NET APIs.
Authorrudironsoni
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides guidance on designing public .NET APIs that are intuitive, consistent, and forward-compatible, reducing developer friction and improving maintainability.
Core Features & Use Cases
- Naming Conventions: Establishes clear rules for types, methods, and parameters.
- Parameter Ordering & Overloads: Ensures consistent and predictable method signatures.
- Return Type Selection: Guides the choice of appropriate return types for various scenarios (e.g., nullable, collections, async streams).
- Error Handling Strategies: Defines best practices for exceptions, the Try pattern, and result objects.
- Extensibility: Promotes design patterns that allow for future expansion without breaking changes.
- Wire Compatibility: Addresses considerations for serialized types to ensure backward compatibility.
- Use Case: When designing a new library, use this skill to ensure all public APIs adhere to established .NET design principles, making them easier for other developers to understand and use.
Quick Start
Follow the guidelines in this skill to design a new public API for a .NET library.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: dotnet-csharp-api-design Download link: https://github.com/rudironsoni/dotnet-agent-harness/archive/main.zip#dotnet-csharp-api-design Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.