
Description
nx-generate is an agent skill for generating code with Nx generators in a monorepo. Nx generators scaffold projects, make automated code migrations and automate repetitive tasks. The skill applies when a user wants to create new applications or libraries, scaffold features or boilerplate, run workspace-specific or custom generators, or use any other generator the workspace provides. Its key principles tell the agent to always pass --no-interactive, so a generator does not stop to ask questions and hang. It also tells the agent to read the generator's source code, because the schema alone does not show everything a generator does. The agent should match existing repo patterns by studying similar artifacts in the repository. Generated code must pass verification, using the lint, test, build or typecheck targets that fit the workspace. The skill's steps follow that workflow from start to finish. Install it with npx skills add https://github.com/nrwl/nx-ai-agents-config --skill nx-generate. The skill is part of the nrwl/nx-ai-agents-config repository on GitHub.…
Highlights
- Runs Nx generators to scaffold apps and libraries
- Uses --no-interactive to avoid prompts
- Reads generator source before running it
- Matches existing repository patterns
- Verifies output with lint, test and build targets
Ratings & Reviews
No ratings yet
Be the first to rate nx-generate.
People also visit

nestjs-expert
Creates and configures NestJS modules, controllers, services, DTOs, guards
nx-generate FAQ
What does this skill do?
It helps an agent run Nx generators to create apps, libraries, features and boilerplate in a monorepo.
Why does it use --no-interactive?
The skill says this prevents generator prompts that would hang the execution.
Does it check the generated code?
Yes. The skill says generated code must pass verification with lint, test, build or typecheck targets, as appropriate for the workspace.
How do I install it?
Run npx skills add https://github.com/nrwl/nx-ai-agents-config --skill nx-generate.
What do the security audits say?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best nx-generate alternatives?
Popular alternatives to nx-generate include nx-monorepo, nx-workspace and nx-import. See all nx-generate alternatives











