nx-generate

Discover and match Nx generators to scaffold projects, libraries, or components.

Updated Jun 18, 2026
One-click install
npx skills add https://github.com/rodrigotoledo/trading-exchange --skill nx-generate-rodrigotoledo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-generate
Source: https://github.com/rodrigotoledo/trading-exchange/tree/main/packages/skills-catalog/skills/%28tooling%29/nx-generate
Command: npx skills add https://github.com/rodrigotoledo/trading-exchange --skill nx-generate-rodrigotoledo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Nx generators help teams scaffold projects, libraries, or features across a monorepo with consistency and governance, reducing boilerplate and errors.

Core Features & Use Cases

  • Generate new projects, libraries, or components using workspace plugins or external generators.
  • Apply local workspace generators preferentially to align with repo conventions and patterns.
  • Use for automated migrations, scaffolding boilerplate, and enforcing standard project structure across the workspace.

Quick Start

Prompt me to generate a new library, component, or application in the workspace using the nx generate command, and specify the desired name and path.

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 in an Nx monorepo?

To scaffold a new library in an Nx monorepo, prompt to generate the library and specify the desired name and path. The tool sequentially discovers available workspace generators and validates options to ensure a consistent scaffold.

What is the best way to generate consistent boilerplate across a monorepo?

Generating consistent boilerplate across a monorepo is achieved by applying local Nx workspace generators preferentially. This enforces standard project structures and governance while reducing manual errors.

Does Nx scaffolding work with external generators when local plugins are missing?

Nx scaffolding works with external generators by delegating to external plugins when necessary. It matches user intent to the most appropriate local generator first before falling back to external options.

Why do I need to provide specific options when scaffolding components with Nx?

You need to provide specific options because the scaffolding process validates inputs through a pre-execution checklist. This guides you to supply required information, ensuring a safe and consistent scaffold.

Can I use Nx generators for automated migrations in a workspace?

You can use Nx generators for automated migrations and scaffolding boilerplate within a workspace. The tool guides you through post-generation steps after matching your intent to the appropriate generator.

What happens if a matching workspace generator is not found during scaffolding?

If a matching local workspace generator is not found, the tool provides fallback handling by delegating to external plugins. It ensures clear post-generation steps are communicated to complete the scaffold safely.