Synthèse automatique
Pilote l'application notedeck en cours d'exécution depuis un shell via la CLI `nd`, qui interroge son socket local pour lister les outils disponibles et les appeler, ou pour lancer une session Dave.
Points forts
- La liste des outils est récupérée à chaque exécution depuis l'application, donc elle reste toujours synchronisée avec la version réellement lancée.
- Couverture complète du cycle : découverte (`nd tools`), inspection des arguments, appel (`nd call`) avec coercition des valeurs selon le schéma de l'outil.
- Expose aussi un serveur MCP stdio (`nd mcp`), avec filtres `--ui` et `--read-only`, utilisable par un agent.
- Messages d'erreur et codes de sortie distincts : 1 pour une erreur d'outil ou de ligne de commande, 2 quand notedeck ne tourne pas.
Limites
- Nécessite une instance notedeck en cours d'exécution et accessible via son socket ; sans elle, aucune commande utile n'aboutit.
- Un notedeck lancé en `--headless` refuse les outils d'interface dont le résultat est une action sur la fenêtre.
- La validation des arguments dépend du schéma déclaré par l'outil ; une clé erronée échoue avant envoi mais le diagnostic reste générique.
À utiliser quand il faut ouvrir une carte, une file de review ou une session Dave dans notedeck depuis un terminal ou un script, ou brancher ces outils sur un agent via MCP.
À éviter si notedeck n'est pas lancé, tourne en mode headless pour des actions d'interface, ou si l'on cherche une API distante plutôt qu'un socket local.
Analyse de sécurité
SûrThe content is documentation for a local CLI that talks to a running app over a per-user Unix socket via `cargo run -p nd_cli`. It contains no destructive commands, no network fetches or piping to shells, no credential/token handling, and no attempts to override the auditor. Actions are limited to listing/calling local app tools, spawning local sessions, and optionally exposing them as an MCP server, so execution risk is minimal and scoped to the user's own machine.
- •Documents registering a local MCP server (`claude mcp add notedeck -- nd mcp`), which modifies the user's Claude configuration; benign but a persistent config change worth noting.
Exemples
Open headway:notedeck/balcony-warm-action in notedeck.What tools does the running notedeck expose? Filter them to the UI ones.Register nd as an MCP server for Claude Code and list the read-only tools it offers.name: nd
description: Drive the running notedeck from the command line via the nd CLI (crates/nd_cli) — list its tools and call any of them over its local socket, or spawn a Dave session, e.g. open a headway card or agentium session in the window, open the review queue, or read board data. Use when the user wants to open something in notedeck from a shell, script the app, or see which tools the running notedeck offers — e.g. "open this card in notedeck", "what tools does notedeck have", "call open".
nd: notedeck's tools from a shell
nd talks to the running notedeck over its per-user socket
(notedeck_ipc::socket_path(), overridden by $NOTEDECK_SOCKET). Every run
fetches the tool list from the app, so it always matches what's running and
there's nothing to keep in sync. Source: crates/nd_cli.
Running it
cargo run -q -p nd_cli -- tools # or the built target/debug/nd
Commands
nd tools [--json] [<pattern>]— every tool, grouped by category, markeddata/uiandro(read-only). A pattern filters by name, title or description (smart-case regex).nd tools <name>— one tool's description and its arguments.nd call <name> [key=value…]— call a tool. Values are coerced by the tool's schema (string, number, true/false, JSON for object/array). A wrong or missing key fails before anything is sent, listing the arguments. A tool whose only required argument is a string takes it bare:nd call open agentium:<word-id>.--json '<object>'or--json-file <path|->passes the arguments as one object instead.nd mcp [--ui] [--read-only]— a stdio MCP server:tools/listandtools/callgo to the socket, one connection each, so it can start before notedeck. Only data tools are exposed unless--ui;--read-onlykeeps only tools that change nothing. A hidden tool can't be called by name. Register it withclaude mcp add notedeck -- nd mcp.nd spawn [--json] [<dir>]— open a Dave session in<dir>(default the current directory, resolved and checked locally) and focus it, starting Dave if it isn't open. PrintsSpawned session <id>, or the bare id with--json. It callsdave_spawn_session;agentium spawnis the relay one for other hosts.nd --version— nd's version, and the running notedeck's.nd <cmd> --help,nd help options— per-command pages, exit codes.
Examples
nd call open headway:notedeck/balcony-warm-action
nd call open agentium:evolve-rule-carry
nd call open reference=agentium:evolve-rule-carry msg="rebase onto master"
nd call headway_open_review_queue
nd call headway_show_card --json '{"card":"headway:notedeck/balcony-warm-action"}'
Output and exit codes
- Data prints as JSON on stdout (indented on a terminal, one line in a pipe), exit 0.
- A UI tool that acted on the window prints nothing, exit 0.
- A tool error goes to stderr, exit 1 (also for a bad command line).
- No notedeck listening:
notedeck isn't running (no socket at …), exit 2.
A headless notedeck (--headless) refuses UI tools whose answer is a window
action. Tests must point NOTEDECK_SOCKET at a short temp path (a Unix socket
path must fit in ~100 bytes), never the user's real socket.
Du fichier au premier essai
Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.
Consulter la source et ses fichiers annexesCe téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.
1. Télécharger le fichier
Télécharger SKILL.mdDepuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.
Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.
mkdir -p '.skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/nd-notedeck-tools-from-the-command-line-mvxbt1rm/download' --output '.skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm/SKILL.md.part' && mv '.skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm/SKILL.md.part' '.skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm/SKILL.md'2. Vérifier les prérequis
Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.
Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.
Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.
3. Charger la skill
Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.
Claude Code
test -f '.skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm/SKILL.md' && test -s '.skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/nd' && cp -R '.skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm' '.claude/skills/nd'Cursor
test -f '.skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm/SKILL.md' && test -s '.skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/nd' && cp -R '.skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm' '.cursor/skills/nd'OpenSkills
OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.
Installation officielle d’OpenSkillsopenskills install './.skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm'openskills read 'nd-notedeck-tools-from-the-command-line-mvxbt1rm'La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.
Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.
openskills syncMode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.
4. Faire un premier essai
Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :
Lis .skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.
Bonnes pratiques React Hook Form
Developpement
Maîtrisez React Hook Form : évitez les anti-patterns, gérez les abonnements, et traitez correctement reset, dirty state et entrées contrôlées.
Migration Emotion vers Mantine
Developpement
Migrer les styled-components Emotion vers des composants Mantine avec style props et modules CSS. Pour convertir .styled.tsx ou supprimer les imports @emotion.
Détecteur de dérive de périmètre
Developpement
Analyse les diffs git par rapport à une intention pour détecter la dérive de périmètre, fichiers non liés et PR trop larges, puis suggère de garder, diviser ou justifier.