Nx

From LedgerHQ/lumen · View interactive version

Nx is an AI agent skill from the GitHub repository LedgerHQ/lumen. Nx workspace commands and guidelines for running tasks, generators, and using Nx MCP tools

How to use this skill

Skill file

Nx

This is an Nx 22.5.3 monorepo using npm. Prefer the Nx MCP server over

guessing about the workspace — it reflects the live project graph and config.

Use the MCP server first

project-graph or config errors, before answering workspace questions.

question instead of assuming.

tasks already running in the user's terminals; rerun with nx run <taskId> so

it executes in the same Nx context. Don't offer to rerun a continuous task.

Generators

When scaffolding, drive it through the MCP flow rather than hand-writing files:

nx_generators to list, nx_generator_schema for options, then

nx_open_generate_ui and read back nx_read_generator_log. Keep options minimal;

use nx_available_plugins if no generator fits.

Commands

project.json (or are inferred from config).

the package↔lib mapping live in the Commands and Libraries sections of

AGENTS.md — not duplicated here.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.