API & Library Design Architect
Guides the architectural design of robust, consumer-focused technical libraries and APIs using a structured 3-phase framework.
The design-library skill provides a comprehensive set of decision-making criteria for building high-quality software libraries and SDKs. It streamlines the design process within Claude Code by focusing on three critical phases: defining the consumer's mental model, establishing clear API surface boundaries, and implementing robust technical contracts. This skill ensures that your libraries are intuitive for other developers, maintainable through strict versioning standards, and technically sound using advanced typing patterns and scalable extension points.
主要功能
01Stability commitment checklists including SemVer and Hyrum's Law considerations
02Progressive disclosure strategy to balance simplicity and advanced control
03Systematic selection of extension patterns like Plugins, Middleware, and Adapters
041 GitHub stars
05Decision trees for type-safe contracts and compile-time error prevention
063-Phase design framework: Mental Model, API Surface, and Contract/Extension
使用场景
01Designing public-facing APIs that require high developer experience (DX) standards
02Building shared internal modules or SDKs for cross-team consumption
03Refactoring complex legacy modules into clean, well-abstracted libraries