Agent skill

Rebuild To Fix Lib Import Errors

by LedgerHQ in LedgerHQ/ledger-live

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

MITAuto-check passedDevelopment

Install Rebuild To Fix Lib Import Errors

skills CLI
$ npx skills add LedgerHQ/ledger-live --skill rebuild-to-fix-lib-import-errors -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LedgerHQ/ledger-live rebuild-to-fix-lib-import-errors --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LedgerHQ/ledger-live.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/rebuild-to-fix-lib-import-errors .claude/skills/rebuild-to-fix-lib-import-errors && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
rebuild-to-fix-lib-import-errors
GitHub stars
622
Token cost
~204 tokens
SKILL.md length
59 words
Files
1
Skills in repo
50
Repo updated
First seen
Licence
MIT

At a glance

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

  • Tasks that involve Monorepo tooling
  • Calls nx

What it does

Rebuild To Fix Lib Import Errors is an agent skill from LedgerHQ/ledger-live. When typecheck finds an error importing from a lib in the monorepo, rebuild the lib

Its SKILL.md is about 200 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Monorepo tooling. The repository describes itself as: Mono-repository for Ledger Wallet apps and related packages. The licence is MIT.

When your agent uses it

  • Tasks that involve Monorepo tooling

Example prompts

  • “/rebuild-to-fix-lib-import-errors”

What it can do on your machine

Read from SKILL.md and the folder at commit 9c51f17. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • nx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Rebuild To Fix Lib Import Errors loads about 204 tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 59 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~204

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from LedgerHQ/ledger-live at commit 9c51f17, republished under its MIT licence (© LedgerHQ). 59 words, ~204 tokens.

Download SKILL.mdSave it as .claude/skills/rebuild-to-fix-lib-import-errors/SKILL.md (or your agent's skills folder).
name
rebuild-to-fix-lib-import-errors
description
When typecheck finds an error importing from a lib in the monorepo, rebuild the lib

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

shell
nx run @ledgerhq/name_of_lib_here:build

Example

ledger-wallet-framework has been updated and the import in live-common is erroring

We run typecheck and get the following error:

src/families/tron/transaction.ts:2:10 - error TS2305: Module '"@ledgerhq/ledger-wallet-framework/account"' has no exported member 'getAccountCurrency'. 2 import { getAccountCurrency } from "@ledgerhq/ledger-wallet-framework/account";

We need to rebuild @ledgerhq/ledger-wallet-framework

shell
nx run @ledgerhq/ledger-wallet-framework:build

© LedgerHQ, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/rebuild-to-fix-lib-import-errors of LedgerHQ/ledger-live.

Open the folder on GitHubat commit 9c51f17

Compare with similar skills

Rebuild To Fix Lib Import Errors next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Rebuild To Fix Lib Import Errors compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rebuild To Fix Lib Import Errors this skillLedgerHQ/ledger-live622—~204Automated safety check: PassMIT
Nx Importnrwl/nx29k6 repos~3.5kAutomated safety check: PassMIT
Nx Workspacenomcopter/react-mosaic4.8k8 repos~1.9kAutomated safety check: PassCustom licence
Electron Multi-Process ArchitectureiOfficeAI/AionUi33k1 repos~1.8kAutomated safety check: PassApache-2.0
Nx Run Tasksnomcopter/react-mosaic4.8k8 repos~613Automated safety check: PassCustom licence
Astro Developerwithastro/astro63k1 repos~1.5kAutomated safety check: PassCustom licence

Similar skills

  • Nx Import

    nrwl/nx

    Import, merge, or combine repositories into an Nx workspace using nx import.

    29k GitHub starsUsed in 6 repos~3.5k tokens
    DevelopmentAuto-check passed
  • Nx Workspace

    nomcopter/react-mosaic

    Explore and understand Nx workspaces. An agent skill from nomcopter/react-mosaic.

    4.8k GitHub starsUsed in 8 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Tells the agent where new code belongs in an Electron multi-process project and which APIs each process may use, with rules for new bridges, services, agents and workers.

    33k GitHub starsUsed in 1 repo~1.8k tokens
    DevelopmentAuto-check passed
  • Nx Run Tasks

    nomcopter/react-mosaic

    Helps with running tasks in an Nx workspace. An agent skill from nomcopter/react-mosaic.

    4.8k GitHub starsUsed in 8 repos~613 tokens
    DevelopmentAuto-check passed
  • Astro Developer

    withastro/astro

    Official

    Comprehensive guide for developing in the Astro monorepo. An agent skill from withastro/astro.

    63k GitHub starsUsed in 1 repo~1.5k tokens
    DevelopmentAuto-check passed
  • Moves a package from another TryGhost repository into Ghost as an internal workspace package while keeping its Git history, with checkpoints for the steps that need an administrator.

    56k GitHub stars~3.8k tokensUpdated today
    DevelopmentAuto-check passed

More from LedgerHQ/ledger-live

All 50 skills in this repo
  • Impacting PRs

    LedgerHQ/ledger-live

    Find which open PRs are impacted by a migration/sunset/refactor and notify their authors — blocking review when the old path is already gone from develop, heads-up comment when it is only deprecated…

    622 GitHub stars~3.3k tokensUpdated today
    Auto-check passed
  • Cloud Sync Module

    LedgerHQ/ledger-live

    Write, review or debug a cloudSyncModule.ts — a CloudSyncDataManager that syncs one slice of user data through Ledger Sync (Cloud Sync).

    622 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Codeownership

    LedgerHQ/ledger-live

    Maintain CODEOWNERS file and team directories. An agent skill from LedgerHQ/ledger-live.

    622 GitHub stars~687 tokensUpdated today
    Auto-check passed
  • Coin Families Contract

    LedgerHQ/ledger-live

    Coin-specific families logic must live in families/. An agent skill from LedgerHQ/ledger-live.

    622 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Data Layer Advanced

    LedgerHQ/ledger-live

    Structure a Ledger Wallet data layer where one API response serves several entities.

    622 GitHub stars~509 tokensUpdated today
    Auto-check passed
  • Debug Rn Native Crash

    LedgerHQ/ledger-live

    Investigate native React Native crashes (Fabric/Hermes/iOS) in ledger-live-mobile when JS error logs are missing or unhelpful.

    622 GitHub stars~1.2k tokensUpdated today
    Auto-check passed

Categories

Questions about Rebuild To Fix Lib Import Errors

What does Rebuild To Fix Lib Import Errors do?

When typecheck finds an error importing from a lib in the monorepo, rebuild the lib. Rebuild To Fix Lib Import Errors is an agent skill from LedgerHQ/ledger-live.

When should I use Rebuild To Fix Lib Import Errors?

Rebuild To Fix Lib Import Errors fits situations like: tasks that involve Monorepo tooling.

How do I install Rebuild To Fix Lib Import Errors in Claude Code?

Run `npx skills add LedgerHQ/ledger-live --skill rebuild-to-fix-lib-import-errors -a claude-code`. Or copy the skill folder (.agents/skills/rebuild-to-fix-lib-import-errors in LedgerHQ/ledger-live) into .claude/skills/rebuild-to-fix-lib-import-errors in your project. Claude Code loads it when a task matches its description.

How do I install Rebuild To Fix Lib Import Errors in Codex?

Run `npx skills add LedgerHQ/ledger-live --skill rebuild-to-fix-lib-import-errors -a codex`. Or copy the skill folder (.agents/skills/rebuild-to-fix-lib-import-errors in LedgerHQ/ledger-live) into .agents/skills/rebuild-to-fix-lib-import-errors in your project. Codex loads it when a task matches its description.

Can I use Rebuild To Fix Lib Import Errors in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LedgerHQ/ledger-live --skill rebuild-to-fix-lib-import-errors -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rebuild-to-fix-lib-import-errors, .gemini/skills/rebuild-to-fix-lib-import-errors, .github/skills/rebuild-to-fix-lib-import-errors and .opencode/skills/rebuild-to-fix-lib-import-errors in your project.

What does Rebuild To Fix Lib Import Errors need to run?

Going by SKILL.md and its folder, Rebuild To Fix Lib Import Errors needs the command-line tools its instructions call (nx).

Does Rebuild To Fix Lib Import Errors access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Rebuild To Fix Lib Import Errors safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Rebuild To Fix Lib Import Errors use?

Rebuild To Fix Lib Import Errors is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Rebuild To Fix Lib Import Errors use?

About 204 tokens (SKILL.md is roughly 816 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Rebuild To Fix Lib Import Errors?

Skills that share tags, products or a category with Rebuild To Fix Lib Import Errors: Nx Import (nrwl/nx, 29k stars), Nx Workspace (nomcopter/react-mosaic, 4.8k stars), Electron Multi-Process Architecture (iOfficeAI/AionUi, 33k stars) and Nx Run Tasks (nomcopter/react-mosaic, 4.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rebuild To Fix Lib Import Errors?

LedgerHQ (a GitHub organization) maintains it in LedgerHQ/ledger-live, which has 622 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on October 9, 2026.

Source: LedgerHQ/ledger-live on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.