What problem does it solve? Public TypeScript APIs accumulate accidental complexity: sprawling exports, unstable inferred declaration types, unclear overload sets, and breaking changes shipped without a compatibility story. This Skill applies disciplined public-surface reasoning so library and backend-module APIs stay minimal, stable, and consumer-friendly over time. ## Core Features & Use Cases - Public Surface Mapping: Identifies supported import paths via package.json exports, exported symbols, and emitted .d.ts declarations as the true public contract. - Signature Shape Decisions: Chooses between overloads, unions, generics, options objects, and discriminated unions based on consumer inference and call-site ergonomics. - Compatibility Classification: Labels proposed changes as non-breaking, conditionally breaking, or breaking, with explicit consumer impact and evolution/deprecation strategies. - Use Case: When refactoring a library's entrypoint or adding a new exported function, use this Skill to audit the declaration surface, pick the smallest honest public shape, and define a safe deprecation path for the old API. ## Quick Start Ask the AI to review your package's exported functions and package.json exports field and recommend a minimal, compatibility-safe public API design.