Api Design
Design stable public APIs with extend-only rules, approval tests, and wire-compatibility guidance for NuGet packages.
- CCM score
- 67 of 100
- skills.sh installs
- 723
- GitHub stars
- 1.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers API/source, binary, and wire compatibility, plus extend-only design and deprecation-before-removal workflows
- Includes C# examples of safe versus breaking changes, such as adding overloads rather than optional parameters to existing methods
- Enforces approval testing with PublicApiGenerator and Verify so any public surface change fails until reviewed
- Designed for library authors and teams running distributed systems that need zero-downtime rolling upgrades
Install
$ npx -y skills add aaronontheweb/dotnet-skills --skill api-design -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Public API Design and Compatibility
When to Use This Skill
Use this skill when:
- Designing public APIs for NuGet packages or libraries
- Making changes to existing public APIs
- Planning wire format changes for distributed systems
- Implementing versioning strategies
- Reviewing pull requests for breaking changes
The Three Types of Compatibility
| Type | Definition | Scope |
|---|---|---|
| API/Source | Code compiles against newer version | Public method signatures, types |
| Binary | Compiled code runs against newer version | Assembly layout, method tokens |
| Wire | Serialized data readable by other versions | Network protocols, persistence formats |
Breaking any of these creates upgrade friction for users.
Extend-Only Design
The foundation of stable APIs: never remove or modify, only extend.
Three Pillars
- Previous functionality is immutable - Once released, behavior and signatures are locked
- New functionality through new constructs - Add overloads, new types, opt-in features
- Removal only after deprecation period - Years, not releases
Benefits
Details
- Repository
- github.com/aaronontheweb/dotnet-skills
- Categories
- .NET & C#, Technical Documentation, Backend & APIs
- First seen
- Jun 3, 2026
Questions
What does the api-design skill do for a .NET library?
The api-design skill guides you to design stable, compatible public APIs using extend-only principles. It covers API, binary and wire compatibility, plus versioning for NuGet packages and distributed systems.
How do I install the api-design skill?
Run npx -y skills add aaronontheweb/dotnet-skills --skill api-design -y in your project. After that, the api-design skill helps the agent review public API changes for breaking changes.
Where does the api-design skill rank in the .NET & C# category?
The api-design skill ranks in the top 100 on the .NET & C# category page on Claude Marketplaces. It sits alongside dotnet-backend-patterns, dotnet-best-practices and nuget-manager, and it focuses on extend-only design and compatibility rules.
Is the api-design skill useful for wire format changes in distributed systems?
Yes, the api-design skill covers wire compatibility for distributed systems, including backward and forward readability during rolling upgrades. It also recommends schema-based serialization formats over reflection-based ones.
More from aaronontheweb/dotnet-skills
All 34- Type Design Performance723
- Ilspy Decompile695
- Package Management644
- Microsoft Extensions Configuration643
- Serialization630
- Testcontainers Integration Tests629
- Dotnet Slopwatch618
- Crap Analysis610
- Playwright Blazor Testing589
- Dotnet Local Tools579
- Aspire Integration Testing552
- Mjml Email Templates541
- Aspire Service Defaults526
- Snapshot Testing515
- Aspire Configuration514
- Dotnet Devcert Trust486
- Skills Index Snippets485
- Playwright Ci Caching483
- Akka Net Best Practices477
- Mailpit Integration471
- OpenTelemetry NET Instrumentation464
- Verify Email Snapshots464
- Akka Hosting Actor Patterns460
- Akka Net Testing Patterns457
Similar to Api Design
More .NET & C#api-and-interface-designaddyosmani/agent-skills85.7K installsStable API and module-boundary design guide that makes correct usage easy and misuse hard.
api-patternssickn33/agentic-awesome-skills1.4K installsNeutral API design guidance covering endpoint contracts, pagination, versioning, and authentication decisions.
api-versioning-strategyaj-geddes/useful-ai-prompts474 installsGuide for designing, deprecating, and migrating REST, GraphQL, and gRPC API versions without breaking consumers.
api-versioning-deprecation-plannerpatricio0312rev/skills265 installsStructured plan for evolving APIs with versioning options, a six-month deprecation timeline, and client migration guidance.
openapi-spec-generationwshobson/agents17.6K installsStructured OpenAPI 3.1 spec generation, from code or design-first, with validation patterns for API contracts.
api-architectcuriositech/some_claude_skills240 installsExpert API design guide for REST, GraphQL, and gRPC with anti-pattern fixes and spec validation.