nx-generate

Scaffold libraries and applications using Nx workspace generators.

1|1|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/RamonsDka/the-architect-overlay --skill nx-generate-ramonsdka
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-generate
Source: https://github.com/RamonsDka/the-architect-overlay/tree/main/skills/nx-generate
Command: npx skills add https://github.com/RamonsDka/the-architect-overlay --skill nx-generate-ramonsdka

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate code using Nx generators to scaffold libraries, applications, and boilerplate code, ensuring consistency and reducing repetitive work.

Core Features & Use Cases

  • Discover available generators for plugins and local workspace
  • Prefer local workspace generators over external plugins when both could satisfy the request
  • Provide clear guidance on usage, options, and safe execution flows, including --help and --no-interactive

Quick Start

Ask NX to generate a new library or application using a suitable generator, e.g., nx generate @nx/react:library --name=my-lib --no-interactive.

Frequently Asked Questions about nx-generate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a new library or application using Nx generators?

To scaffold code with Nx generators, execute commands like nx generate @nx/react:library --name=my-lib --no-interactive. This automates boilerplate creation, ensuring consistency and reducing repetitive setup work across your software projects.

What is the best way to discover available Nx generators in my workspace?

Discover available Nx generators by using the --help command with your generator syntax. This provides clear guidance on usage, available options, and safe execution flows for both local workspace generators and external plugins.

Should I use local workspace generators or external plugins for code scaffolding?

For code scaffolding, you should prefer local workspace generators over external plugins when both could satisfy your request. Local workspace generators ensure better consistency and alignment with your project's specific architectural standards.

How do I run Nx generators safely without interactive prompts?

Run Nx generators safely without interactive prompts by appending the --no-interactive flag to your generate command. This enforces standardized naming conventions and prevents the process from hanging during automated workflows.

Can I use Nx generators to transform code in an existing application?

Yes, you can use Nx generators to automate code transformations in existing applications. They apply standardized naming conventions and boilerplate modifications to ensure consistency across your software project's evolving architecture.