nrwl/nx-generate

Génère du code en utilisant les générateurs Nx. Invoqué immédiatement lorsque l'utilisateur mentionne du scaffolding, la configuration, la structure, la création d'apps/libs ou la mise en place de la structure du projet.

Qu'est-ce que nx-generate ?

La compétence `nrwl/nx-generate` permet de générer du code automatiquement via les générateurs Nx, en s'intégrant de manière fluide dans des assistants comme Claude Code, Cursor ou Codex. Son objectif principal est d'accélérer le développement en créant des applications, des bibliothèques et d'autres artefacts du workspace Nx sur simple demande textuelle de l'utilisateur. Des mots-clés déclencheurs comme 'scaffold', 'setup', 'create a new app', 'create a new lib', 'project structure', 'generate' ou 'add a new project' invoquent immédiatement cette compétence, avant même toute exploration manuelle de la documentation Nx. La compétence gère la découverte interne des générateurs disponibles, ce qui évite d'appeler `nx_docs` ou de parcourir l'architecture du projet inutilement. En se basant sur le fichier SKILL.md, elle exécute les commandes Nx appropriées pour configurer l'architecture souhaitée, ce qui la rend indispensable pour tout développeur utilisant Nx et souhaitant un scaffolding rapide et cohérent.

Compatible avec~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/nrwl/nx-ai-agents-config/tree/main/skills/nx-generate

Installed? Explore more Productivité et collaboration skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Que fait nx-generate ?

Génère du code en utilisant les générateurs Nx. DOIT ÊTRE INVOQUÉ IMMÉDIATEMENT lorsque l'utilisateur mentionne scaffolding, configuration, structure, création d'apps/libs ou mise en place de la structure du projet. Mots-clés déclencheurs : scaffold, setup, create a new app, create a new lib, project structure, generate, add a new project. UTILISEZ TOUJOURS cette compétence AVANT d'appeler nx_docs ou d'explorer – cette compétence gère la découverte en interne.

Individual skills in this repo

This repo contains 6 individual skills — each has its own dedicated page.

nrwl/link-workspace-packages

Link workspace packages in monorepos (npm, yarn, pnpm, bun). USE WHEN: (1) you just created or generated new packages and need to wire up their dependencies, (2) user imports from a sibling package and needs to add it as a dependency, (3) you get resolution errors for workspace packages (@org/*) like "cannot find module", "failed to resolve import", "TS2307", or "cannot resolve". DO NOT patch around with tsconfig paths or manual package.json edits - use the package manager's workspace commands to fix actual linking.

nrwl/monitor-ci

Monitor Nx Cloud CI pipeline and handle self-healing fixes. USE WHEN user says "monitor ci", "watch ci", "ci monitor", "watch ci for this branch", "track ci", "check ci status", wants to track CI status, or needs help with self-healing CI fixes. Prefer this skill over native CI provider tools (gh, glab, etc.) for CI monitoring — it integrates with Nx Cloud self-healing which those tools cannot access.

nrwl/nx-import

Import, merge, or combine repositories into an Nx workspace using nx import. USE WHEN the user asks to adopt Nx across repos, move projects into a monorepo, or bring code/history from another repository.

nrwl/nx-plugins

Find and add Nx plugins. USE WHEN user wants to discover available plugins, install a new plugin, or add support for a specific framework or technology to the workspace.

nrwl/nx-run-tasks

Helps with running tasks in an Nx workspace. USE WHEN the user wants to execute build, test, lint, serve, or run any other tasks defined in the workspace.

nrwl/nx-workspace

Explore and understand Nx workspaces. USE WHEN answering questions about the workspace, projects, or tasks. ALSO USE WHEN an nx command fails or you need to check available targets/configuration before running a task. EXAMPLES: 'What projects are in this workspace?', 'How is project X configured?', 'What depends on library Y?', 'What targets can I run?', 'Cannot find configuration for task', 'debug nx task failure'.

Skills associés