Package Public API

A new-architecture package (shared/, domain/, features/) exposes its API through barrels that contain nothing but `export *`, and keeps its private code in an internals location. Read this when creating a package under shared/, domain/ or features/, when editing any `index.*` file, or when a `lint:structure` check fails.

ledgerhq d9df279 529 B Updated

File contents

Read and follow the canonical skill completely before acting. Treat it as the single source of truth.

ledgerhq/ledger-live/tree/main/.cursor/skills/package-public-api commit d9df279dd7

Frequently asked questions

npx skillmds@latest add ledgerhq/package-public-api-2