Nx Import
nrwl/nx
Import, merge, or combine repositories into an Nx workspace using nx import.
Place and organize Ledger Wallet code in the monorepo layers.
$ npx skills add LedgerHQ/ledger-live --skill structure-flow -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install LedgerHQ/ledger-live structure-flow --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/LedgerHQ/ledger-live.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/structure-flow .claude/skills/structure-flow && rm -rf skills-srcUse ~/.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/
Install the "structure-flow" agent skill from https://github.com/LedgerHQ/ledger-live/tree/develop/.agents/skills/structure-flow into .claude/skills/structure-flow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "structure-flow", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/LedgerHQ/ledger-live/tree/develop/.agents/skills/structure-flowType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add LedgerHQ/ledger-live --skill structure-flow -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install LedgerHQ/ledger-live structure-flow --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LedgerHQ/ledger-live.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/structure-flow .agents/skills/structure-flow && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "structure-flow" agent skill from https://github.com/LedgerHQ/ledger-live/tree/develop/.agents/skills/structure-flow into .agents/skills/structure-flow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "structure-flow", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LedgerHQ/ledger-live --skill structure-flow -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install LedgerHQ/ledger-live structure-flow --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LedgerHQ/ledger-live.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/structure-flow .cursor/skills/structure-flow && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "structure-flow" agent skill from https://github.com/LedgerHQ/ledger-live/tree/develop/.agents/skills/structure-flow into .cursor/skills/structure-flow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "structure-flow", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/LedgerHQ/ledger-live.git --path .agents/skills/structure-flow--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add LedgerHQ/ledger-live --skill structure-flow -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install LedgerHQ/ledger-live structure-flow --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LedgerHQ/ledger-live.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/structure-flow .gemini/skills/structure-flow && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "structure-flow" agent skill from https://github.com/LedgerHQ/ledger-live/tree/develop/.agents/skills/structure-flow into .gemini/skills/structure-flow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "structure-flow", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install LedgerHQ/ledger-live structure-flowInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add LedgerHQ/ledger-live --skill structure-flow -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/LedgerHQ/ledger-live.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/structure-flow .github/skills/structure-flow && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "structure-flow" agent skill from https://github.com/LedgerHQ/ledger-live/tree/develop/.agents/skills/structure-flow into .github/skills/structure-flow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "structure-flow", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LedgerHQ/ledger-live --skill structure-flow -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install LedgerHQ/ledger-live structure-flow --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LedgerHQ/ledger-live.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/structure-flow .opencode/skills/structure-flow && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "structure-flow" agent skill from https://github.com/LedgerHQ/ledger-live/tree/develop/.agents/skills/structure-flow into .opencode/skills/structure-flow/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "structure-flow", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
structure-flowPlace and organize Ledger Wallet code in the monorepo layers.
Structure Flow is an agent skill from LedgerHQ/ledger-live. Place and organize Ledger Wallet code in the monorepo layers. 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.
Its SKILL.md is about 1.7k 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.
Read from SKILL.md and the folder at commit 30d7883. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
ledgerhq.atlassian.netFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Structure Flow loads about 1.7k tokens when it runs. Until then it costs about 84 tokens; SKILL.md has 505 words of instructions outside code blocks.
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.
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.
The full file from LedgerHQ/ledger-live at commit 30d7883, republished under its MIT licence (© LedgerHQ). 505 words, ~1,748 tokens.
.claude/skills/structure-flow/SKILL.md (or your agent's skills folder).Use the lowest layer that can own the concern without depending on a higher layer.
Read the canonical architecture guide and the package creation checklist before creating a package.
Upstream source: Structure & Flow
| Concern | Location | Owns | Does not own |
|---|---|---|---|
| Platform entry point | apps/<app> | Screens, global routing, store composition, analytics host wiring, observability, app glue | Reusable feature internals |
| User-visible capability | features/flow/<feature> | Business-aware UI, user journeys, local state, flow routing | App-specific screen composition |
| Capability shared across flows | features/platform/<feature> | Hooks, selectors, NFR rules, React glue, and components shared by several flows or use cases | Single-flow internals and fully generic components |
| Business object | domain/entity/<entity> | Runtime schema, inferred type, defaults, mocks, selectors, slice | Network calls and feature state |
| Network/data access | domain/api/<name> | API contracts, calls, transformations, RTK Query, thunks | UI and app composition |
| Business-agnostic primitive or component | shared/<name> | Generic schemas, utilities, Redux primitives, and components without domain or feature knowledge | Domain or app knowledge |
| Development-only tooling | support/<name> | Shared test, TypeScript, lint, and format configuration | Runtime code |
Use these distinctions:
features/flow package; do not promote it to an entity.features/flow when it belongs to one flow or use case.features/platform when several flows or use cases need it, especially when it connects them to the domain.shared or the existing design-system package..web and .native variants beside each other inside the owning feature.Every unit is a private package with package.json, src/, explicit exports, and no cross-package relative imports.
features/flow/<feature>/src/
├── components/ # shared by several steps
├── hooks/
├── router/ # flow-local routing only
├── state/ # feature-scoped state
├── steps/<StepName>/
│ ├── components/ # used only by this step
│ ├── viewModel.ts # state and orchestration
│ ├── view.ts # rendering and callbacks
│ ├── view.test.ts
│ └── index.ts
├── utils/
└── index.ts # minimal public API
domain/entity/<entity>/src/
├── schema.ts
├── schema.mock.ts
├── selectors.ts
├── slice.ts
└── index.ts
domain/api/<name>/src/
├── api.ts
└── index.tsColocate tests with the files they cover. Add folders only when they group files that change together.
Every index.ts above is a barrel: only export * from "./x" lines, with private code kept in an
internals location. See package-public-api for the rules and the
lint:structure check that enforces them.
Dependencies flow downward:
apps → features/flow → features/platform → domain → sharedMore precisely:
| Source | May depend on |
|---|---|
shared | shared |
domain/entity | domain/entity, shared |
domain/api | domain/api, domain/entity, shared |
features/platform | features/platform, domain, shared |
features/flow | features/flow, features/platform, domain, shared |
apps | Any new-architecture layer |
support | Development tooling only; consume it through devDependencies |
libs/* packages from shared, domain, or features.| Location | Package name |
|---|---|
shared/<name> | @shared/<name> |
domain/entity/<name> | @domain/entity-<name> |
domain/api/<name> | @domain/api-<name> |
features/platform/<name> | @features/platform-<name> |
features/flow/<name> | @features/flow-<name> |
support/<name> | @support/<name> |
index.* is a pure barrel and no package re-exports another — see
package-public-api.© LedgerHQ, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/structure-flow of LedgerHQ/ledger-live.
Open the folder on GitHubat commit 30d7883
Structure Flow 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Structure Flow this skillLedgerHQ/ledger-live | 622 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Nx Importnrwl/nx | 29k | 6 repos | ~3.5k | Automated safety check: Pass | MIT | |
| Nx Workspacenomcopter/react-mosaic | 4.8k | 8 repos | ~1.9k | Automated safety check: Pass | Custom licence | |
| Electron Multi-Process ArchitectureiOfficeAI/AionUi | 33k | 1 repos | ~1.8k | Automated safety check: Pass | Apache-2.0 | |
| Nx Run Tasksnomcopter/react-mosaic | 4.8k | 8 repos | ~613 | Automated safety check: Pass | Custom licence | |
| Astro Developerwithastro/astro | 63k | 1 repos | ~1.5k | Automated safety check: Pass | Custom licence |
nrwl/nx
Import, merge, or combine repositories into an Nx workspace using nx import.
nomcopter/react-mosaic
Explore and understand Nx workspaces. An agent skill from nomcopter/react-mosaic.
iOfficeAI/AionUi
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.
nomcopter/react-mosaic
Helps with running tasks in an Nx workspace. An agent skill from nomcopter/react-mosaic.
withastro/astro
Comprehensive guide for developing in the Astro monorepo. An agent skill from withastro/astro.
TryGhost/Ghost
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.
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…
LedgerHQ/ledger-live
Write, review or debug a cloudSyncModule.ts — a CloudSyncDataManager that syncs one slice of user data through Ledger Sync (Cloud Sync).
LedgerHQ/ledger-live
Maintain CODEOWNERS file and team directories. An agent skill from LedgerHQ/ledger-live.
LedgerHQ/ledger-live
Coin-specific families logic must live in families/. An agent skill from LedgerHQ/ledger-live.
LedgerHQ/ledger-live
Structure a Ledger Wallet data layer where one API response serves several entities.
LedgerHQ/ledger-live
Investigate native React Native crashes (Fabric/Hermes/iOS) in ledger-live-mobile when JS error logs are missing or unhelpful.
Categories
Place and organize Ledger Wallet code in the monorepo layers. Structure Flow is an agent skill from LedgerHQ/ledger-live. Place and organize Ledger Wallet code in the monorepo layers.
Structure Flow fits situations like: reviewing code under apps; deciding which layer owns a concern; structuring packages and flow steps; checking package names.
Run `npx skills add LedgerHQ/ledger-live --skill structure-flow -a claude-code`. Or copy the skill folder (.agents/skills/structure-flow in LedgerHQ/ledger-live) into .claude/skills/structure-flow in your project. Claude Code loads it when a task matches its description.
Run `npx skills add LedgerHQ/ledger-live --skill structure-flow -a codex`. Or copy the skill folder (.agents/skills/structure-flow in LedgerHQ/ledger-live) into .agents/skills/structure-flow in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LedgerHQ/ledger-live --skill structure-flow -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/structure-flow, .gemini/skills/structure-flow, .github/skills/structure-flow and .opencode/skills/structure-flow in your project.
SKILL.md names no scripts, command-line tools or credentials: Structure Flow is instructions for the agent only.
SKILL.md names 1 domain. As links in the text: ledgerhq.atlassian.net. This is read from the text; nothing was executed.
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.
Structure Flow is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Structure Flow: 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.
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 8, 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.