Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →When typecheck finds an error importing from a lib in the monorepo, rebuild the lib
.claude/skills/ledgerhq-rebuild-to-fix-lib-import-errors/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -70% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -71% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -59% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -54% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -72% | 0% |
When typecheck finds an error importing from a lib in the monorepo rebuild the lib using the command below:
shellnx run @ledgerhq/name_of_lib_here:build
live-countervalues-react has been updated and the import in live-common is erroringWe 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
shellnx run @ledgerhq/live-countervalues-react:build
Other measured skills in the registry, with their headline benchmark lift.