nx-generate

Generate projects and code with Nx generators in a monorepo.

1|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/vreddi/overnight-mountain --skill nx-generate-vreddi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-generate
Source: https://github.com/vreddi/overnight-mountain/tree/main/.cursor/skills/nx-generate
Command: npx skills add https://github.com/vreddi/overnight-mountain --skill nx-generate-vreddi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of new projects, libraries, applications, and boilerplate code within an Nx monorepo, ensuring consistency and reducing manual setup.

Core Features & Use Cases

  • Project Scaffolding: Generate new libraries, applications, or features using Nx generators.
  • Code Generation: Automate repetitive coding tasks and ensure adherence to project conventions.
  • Workspace Consistency: Maintain a uniform project structure and configuration across the monorepo.
  • Use Case: When a user asks to "create a new React component library for shared UI elements," this skill will identify and run the appropriate Nx generator to scaffold it.

Quick Start

Use the nx-generate skill to create a new React library named 'ui-common' within the libs directory.

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?

Nx generators scaffold new libraries within an Nx monorepo by automating project creation and ensuring adherence to workspace conventions. This reduces manual setup and maintains uniform project structure across the repository.

How do I generate boilerplate code for a new application?

Nx generators automate boilerplate code creation for new applications within an Nx monorepo, ensuring adherence to project conventions and reducing repetitive manual coding tasks. This maintains uniform project structure and configuration.

What is Nx code generation used for?

Nx code generation automates the creation of new applications, libraries, features, and boilerplate within an Nx monorepo. It ensures workspace consistency by enforcing adherence to established repository patterns and conventions.

Do I need to understand Nx generator schemas to scaffold projects?

Yes, effective project scaffolding using Nx generators requires understanding Nx generator schemas, source code, and existing repository patterns. This knowledge ensures generated code correctly adheres to workspace conventions and configurations.

Can I create a shared React component library using Nx generators?

Yes, Nx generators can scaffold a shared React component library by identifying and running the appropriate generator to create the library structure. This ensures the new UI components library adheres to workspace conventions and patterns.