用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/LedgerHQ/ledger-live --skill rebuild-to-fix-lib-import-errors命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Place and organize Ledger Wallet code in the DDD monorepo. Use when creating, moving, or reviewing code under apps, features, domain, shared, or support; deciding which layer owns a concern; structuring packages and flow steps; or checking package names, dependency boundaries, platform variants, and legacy imports.
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.
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.
基于 SOC 职业分类
正在显示 SKILL.md
| 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:
nx 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
nx run @ledgerhq/live-countervalues-react:build