nrwl/nx-generate

Gere código usando geradores Nx. INVOCAR IMEDIATAMENTE quando o usuário mencionar scaffolding, configuração, estrutura, criação de apps/libs ou configuração de estrutura do projeto.

O que é nx-generate?

Esta skill capacita agentes de IA a gerar código automaticamente usando os geradores do Nx, sendo ativada por palavras-chave como 'scaffold', 'setup', 'create a new app', 'create a new lib', 'project structure' e 'generate'. Ela deve ser invocada antes de chamar `nx_docs` ou explorar manualmente, pois lida com a descoberta interna de geradores. Projetada para ambientes de desenvolvimento como Claude Code, Cursor e Codex, ela torna o scaffolding e a configuração de projetos Nx eficientes e consistentes, ajudando a evitar a duplicação de esforços.

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

Installed? Explore more Produtividade e Colaboração skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

O que nx-generate faz?

Gere código usando geradores Nx. INVOCAR IMEDIATAMENTE quando o usuário mencionar scaffolding, configuração, estrutura, criação de apps/libs ou configuração de estrutura do projeto. Palavras de ativação - scaffold, setup, create a new app, create a new lib, project structure, generate, add a new project. USE SEMPRE isto ANTES de chamar nx_docs ou explorar - esta skill lida com a descoberta internamente.

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'.

Habilidades Relacionadas