{
  "id": "typescript-public-api-and-declaration-governance",
  "name": "typescript-public-api-and-declaration-governance",
  "version": "0.1.0",
  "type": "skill",
  "provider": "typescript",
  "harnesses": [
    "codex",
    "claude-code",
    "cursor",
    "gemini",
    "kiro",
    "other"
  ],
  "summary": "Static review of a published TypeScript type surface: `.d.ts` correctness and emit strategy, public-versus-accidental exports, breaking-change classification and the semver decision, the consumer compilation matrix, and compile-time type-contract tests. Reads declarations, API reports, and configuration only.",
  "source_type": "original",
  "official_docs": [
    "https://www.typescriptlang.org/docs/handbook/modules/appendices/esm-cjs-interop.html",
    "https://api-extractor.com/",
    "https://vitest.dev/guide/testing-types"
  ],
  "security_notes": "Static review only — reads declaration files (`.d.ts`), API reports/rollups, `package.json`, consumer `tsconfig.json` files, and Vitest type-test source; never compiles, builds, runs, publishes, or executes the package, never contacts a live registry or consumer, and never requests secrets, credentials, registry tokens, or customer data. A breaking-change classification made without a supplied baseline surface is labelled inference, not confirmed.",
  "last_verified": "2026-08-13",
  "path": "skills/typescript/typescript-public-api-and-declaration-governance",
  "author": "github: VincentChuWaiChow"
}
