Read and follow the canonical skill completely before acting. Treat it as the single source of truth.
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.
Package Public API by ledgerhq · d9df279
npx skillmds@latest add ledgerhq/package-public-api-2 File contents
---name: package-public-api-2description: 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.---Read and follow the [canonical skill](../../../.agents/skills/package-public-api/SKILL.md) 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
Run npx skillmds@latest add ledgerhq/package-public-api-2 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
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. It is listed under Integrations & APIs on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
ledgerhq (@ledgerhq) published this skill. Their other Agent Skills are listed on their SkillMD profile.