01
It starts by itself
you ask to scaffold. Runs in Claude Code routine.
- ↻ you ask to scaffold
run nx-generate on demand
Scaffolded code that passes checks.
Install the Run Nx Generator skill and make it a habit: follow https://gethabit.dev/skills/nrwl/nx-generate.md
4K installs29 starsMIT licenceSource on GitHub ↗

Run Nx Generator
by nrwl · 4K installs
The skill
Run Nx Generator (the nx-generate skill) scaffolds libraries, apps and features in an Nx monorepo: it finds the right generator, reads its source, dry-runs, generates and verifies with build, lint, test and typecheck.
Only when you ask.
The habit
Scaffolded code that passes checks.
↻ Runs by itselfyou ask to scaffold
When does it start? How does it check its work? What does it remember?
Stops after one generator run per request, with at most 2 fix retries before escalating to you.
Your agent lists generators with npx nx list to find what the workspace offers.
It picks the generator for your request, preferring a local workspace generator over an external one.
It reads the --help options and the generator source to learn exactly what it creates.
It looks at similar existing projects for naming, structure and tooling.
It runs the generator with --dry-run --no-interactive to check file placement.
It runs the generator with --no-interactive and adjusts the generated code if needed.
It runs nx format --fix, then build, lint, test and typecheck across affected projects.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Run Nx Generator skill helps.
The schema alone does not show side effects. Reading the source shows which files and configs it really touches.
It stops and says so. The burden of proof is high, so it checks all generators before deciding none apply.
Copy the prompt at the top into your agent. It installs the skill from nrwl/nx-ai-agents-config and sets up the habit. Or run npx skills add nrwl/nx-ai-agents-config --skill nx-generate.
Yes. It is published under MIT. Habit is free too.
Install the Run Nx Generator skill and make it a habit: follow https://gethabit.dev/skills/nrwl/nx-generate.md
All nrwl skills →More code skills →
Works in
Made by nrwl, published under MIT. Habit links to the original and never changes it. Is this your skill?