angular-library-builder
Installation
SKILL.md
Angular Library / Client SDK Builder
Generate complete, production-ready Angular libraries from existing TypeScript services or API documentation. The output follows Angular library conventions (ng-packagr, secondary entry points, provideXxx() APIs) with full DI support, testability via injectable services, and idiomatic Angular patterns.
When to Use
- Building a new Angular library or client SDK from existing TypeScript code, OpenAPI/Swagger specs, or REST API docs
- Wrapping a REST API in a typed Angular service with a DI entry point (
provideXxx(...)) - Generating typed
HttpClientservices with typed configuration and typed errors - Producing libraries that follow Angular packaging conventions (buildable library, correct peer dependencies)
Workflow Overview
Follow these steps in order. See the reference files for detailed guidance on each phase.
Step 1: Analyze Input
Determine what the input is: