rebuild-to-fix-lib-import-errors

SkillDev tools

When typecheck finds an error importing from a lib in the monorepo, rebuild the lib

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the rebuild-to-fix-lib-import-errors skill

What this skill tells your AI

The instructions your AI receives, as published by ledgerhq/ledger-live in .agents/skills/rebuild-to-fix-lib-import-errors/SKILL.md and read by ahel’s review.

When typecheck finds an error importing from a lib in the monorepo rebuild the lib using the command below:

nx run @ledgerhq/name_of_lib_here:build

Example

live-countervalues-react has been updated and the import in live-common is erroring

We run typecheck and get the following error:

src/currencies/hooks.ts:1:10 - error TS2305: Module '"@ledgerhq/live-countervalues-react"' has no exported member 'useMarketcapIds'. 1 import { useMarketcapIds } from "@ledgerhq/live-countervalues-react";

We need to rebuild @ledgerhq/live-countervalues-react

nx run @ledgerhq/live-countervalues-react:build

Signals

GitHub stars
618
Forks
490
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
rebuild-to-fix-lib-import-errors
Source
github.com/ledgerhq/ledger-live