React State Management
involvex/youtube-music-cli
Master modern React state management with Redux Toolkit, Zustand, Jotai, and React Query.
Global dialogs Redux slice pattern for MVVM dialog state management
$ npx skills add LedgerHQ/ledger-live --skill dialogs-slice -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install LedgerHQ/ledger-live dialogs-slice --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/dialogs-slice .claude/skills/dialogs-slice && 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 "dialogs-slice" agent skill from https://github.com/LedgerHQ/ledger-live/tree/develop/.agents/skills/dialogs-slice into .claude/skills/dialogs-slice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dialogs-slice", 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/dialogs-sliceType 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 dialogs-slice -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install LedgerHQ/ledger-live dialogs-slice --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/dialogs-slice .agents/skills/dialogs-slice && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "dialogs-slice" agent skill from https://github.com/LedgerHQ/ledger-live/tree/develop/.agents/skills/dialogs-slice into .agents/skills/dialogs-slice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dialogs-slice", 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 dialogs-slice -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install LedgerHQ/ledger-live dialogs-slice --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/dialogs-slice .cursor/skills/dialogs-slice && 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 "dialogs-slice" agent skill from https://github.com/LedgerHQ/ledger-live/tree/develop/.agents/skills/dialogs-slice into .cursor/skills/dialogs-slice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dialogs-slice", 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/dialogs-slice--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 dialogs-slice -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install LedgerHQ/ledger-live dialogs-slice --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/dialogs-slice .gemini/skills/dialogs-slice && 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 "dialogs-slice" agent skill from https://github.com/LedgerHQ/ledger-live/tree/develop/.agents/skills/dialogs-slice into .gemini/skills/dialogs-slice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dialogs-slice", 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 dialogs-sliceInstalls 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 dialogs-slice -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/dialogs-slice .github/skills/dialogs-slice && 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 "dialogs-slice" agent skill from https://github.com/LedgerHQ/ledger-live/tree/develop/.agents/skills/dialogs-slice into .github/skills/dialogs-slice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dialogs-slice", 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 dialogs-slice -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 dialogs-slice --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/dialogs-slice .opencode/skills/dialogs-slice && 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 "dialogs-slice" agent skill from https://github.com/LedgerHQ/ledger-live/tree/develop/.agents/skills/dialogs-slice into .opencode/skills/dialogs-slice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dialogs-slice", 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.
dialogs-sliceGlobal dialogs Redux slice pattern for MVVM dialog state management
Dialogs Slice is an agent skill from LedgerHQ/ledger-live. Global dialogs Redux slice pattern for MVVM dialog state management
Its SKILL.md is about 920 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 Frontend & Design, covering State management. It works with Redux. The repository describes itself as: Mono-repository for Ledger Wallet apps and related packages. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit a3861a2. 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 (its code samples are typescript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From 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.
Dialogs Slice loads about 915 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 288 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 a3861a2, republished under its MIT licence (© LedgerHQ). 288 words, ~915 tokens.
.claude/skills/dialogs-slice/SKILL.md (or your agent's skills folder).Centralized Redux state for global dialog open/close, avoiding one slice per dialog.
Use this pattern for dialogs that are:
Default.tsx)Do NOT use this for dialogs that are local to a single component or screen -- prefer a simple useState instead.
renderer/reducers/dialogs.ts manages all global dialog states via a Record<DialogId, boolean>DIALOG_IDS runtime array defines all IDs; DialogId type is derived from it via (typeof DIALOG_IDS)[number]*Dialog.ts file that re-exports typed helpers bound to its IDmvvm/features/GlobalDialogs/index.tsx renders all global dialog components at the app rootAdd the new ID to the DIALOG_IDS array in renderer/reducers/dialogs.ts. The DialogId type updates automatically:
export const DIALOG_IDS = ["RELEASE_NOTES", "MY_NEW_DIALOG"] as const;
// DialogId is now "RELEASE_NOTES" | "MY_NEW_DIALOG"Create myFeature/myNewDialog.ts in the feature folder:
import {
openDialog,
closeDialog,
selectIsDialogOpen,
type DialogId,
} from "~/renderer/reducers/dialogs";
import type { State } from "~/renderer/reducers";
const DIALOG_ID: DialogId = "MY_NEW_DIALOG";
export const openMyNewDialog = () => openDialog(DIALOG_ID);
export const closeMyNewDialog = () => closeDialog(DIALOG_ID);
export const selectIsMyNewDialogOpen = (state: State) => selectIsDialogOpen(state, DIALOG_ID);import { selectIsMyNewDialogOpen, closeMyNewDialog } from "../myNewDialog";
const useMyNewDialogViewModel = () => {
const isOpen = useSelector(selectIsMyNewDialogOpen);
const dispatch = useDispatch();
const onClose = useCallback(() => dispatch(closeMyNewDialog()), [dispatch]);
return { isOpen, onClose };
};Add the dialog component to mvvm/features/GlobalDialogs/index.tsx:
import MyNewDialog from "LLD/features/MyFeature";
const GlobalDialogs = () => (
<>
<ModularDialogRoot />
<SendFlowRoot />
<ReleaseNotes />
<MyNewDialog />
</>
);import { openMyNewDialog } from "LLD/features/MyFeature/myNewDialog";
dispatch(openMyNewDialog());useState insteadDIALOG_IDS array (the type is derived automatically)GlobalDialogs/index.tsx, not directly in Default.tsxreducers/index.ts or Default.tsx is needed when adding new dialogsapps/ledger-live-desktop/src/renderer/reducers/dialogs.tsapps/ledger-live-desktop/src/mvvm/features/GlobalDialogs/index.tsxapps/ledger-live-desktop/src/mvvm/features/ReleaseNotes/releaseNotesDialog.ts© 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/dialogs-slice of LedgerHQ/ledger-live.
Open the folder on GitHubat commit a3861a2
Dialogs Slice 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 |
|---|---|---|---|---|---|---|
| Dialogs Slice this skillLedgerHQ/ledger-live | 621 | — | ~915 | Automated safety check: Pass | MIT | |
| React State Managementinvolvex/youtube-music-cli | 456 | 12 repos | ~3k | Automated safety check: Pass | MIT | |
| Frontendredis/RedisInsight | 8.9k | — | ~3.2k | Automated safety check: Pass | Custom licence | |
| Nekocap Redux Featurenopol10/nekocap | 105 | — | ~939 | Automated safety check: Pass | GPL-3.0 | |
| React ExpertJeffallan/claude-skills | 12k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Sentry React SDKgetsentry/sentry-for-ai | 268 | — | ~4.8k | Automated safety check: Pass | Apache-2.0 |
involvex/youtube-music-cli
Master modern React state management with Redux Toolkit, Zustand, Jotai, and React Query.
redis/RedisInsight
React/Redux frontend development patterns for RedisInsight UI: component folder structure, styled-components, hooks, named exports, barrel files, layout components, and theme usage.
nopol10/nekocap
A skill your agent uses when adding or modifying a Redux feature folder in the nekocap frontend — creating slices, writing sagas, defining selectors, changing persisted state shape, or touching…
Jeffallan/claude-skills
Builds React 19 components in TypeScript with Server Components, useActionState forms, custom hooks and state libraries, checked with tsc and React Testing Library.
getsentry/sentry-for-ai
Full Sentry SDK setup for React. An agent skill from getsentry/sentry-for-ai.
Opentrons/opentrons
Protocol Designer (PD) application architecture, Redux slices, step/timeline system, domain concepts, and dev workflow.
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.
Works with
Categories
Global dialogs Redux slice pattern for MVVM dialog state management. Dialogs Slice is an agent skill from LedgerHQ/ledger-live.
Dialogs Slice fits situations like: tasks that involve State management.
Run `npx skills add LedgerHQ/ledger-live --skill dialogs-slice -a claude-code`. Or copy the skill folder (.agents/skills/dialogs-slice in LedgerHQ/ledger-live) into .claude/skills/dialogs-slice in your project. Claude Code loads it when a task matches its description.
Run `npx skills add LedgerHQ/ledger-live --skill dialogs-slice -a codex`. Or copy the skill folder (.agents/skills/dialogs-slice in LedgerHQ/ledger-live) into .agents/skills/dialogs-slice 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 dialogs-slice -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dialogs-slice, .gemini/skills/dialogs-slice, .github/skills/dialogs-slice and .opencode/skills/dialogs-slice in your project.
SKILL.md names no scripts, command-line tools or credentials: Dialogs Slice is instructions for the agent only.
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.
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.
Dialogs Slice is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 915 tokens (SKILL.md is roughly 3.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 Dialogs Slice: React State Management (involvex/youtube-music-cli, 456 stars), Frontend (redis/RedisInsight, 8.9k stars), Nekocap Redux Feature (nopol10/nekocap, 105 stars) and React Expert (Jeffallan/claude-skills, 12k 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 621 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on October 7, 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.