nx-generate

Generate applications and libraries using Nx generators in a monorepo.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/buisihung11/prototype-zero --skill nx-generate-buisihung11
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-generate
Source: https://github.com/buisihung11/prototype-zero/tree/main/.cursor/skills/nx-generate
Command: npx skills add https://github.com/buisihung11/prototype-zero --skill nx-generate-buisihung11

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

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

Core Features & Use Cases

  • Project Scaffolding: Create new applications and libraries using Nx generators.
  • Code Generation: Generate boilerplate code for features or components.
  • Workspace Customization: Run custom or plugin-specific generators tailored to the repository.
  • Use Case: When a user asks to "create a new React library for shared UI components," this skill can generate the necessary project structure, configuration files, and initial code.

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 automate boilerplate code creation in an Nx monorepo?

To automate boilerplate code creation in an Nx monorepo, use predefined generators to scaffold new projects, features, and components. This ensures consistency across your workspace and eliminates manual project setup effort.

What is the best way to scaffold a new React library for shared UI components in Nx?

The best way to scaffold a React library for shared UI components in Nx is by running a generator. This automatically creates the necessary project structure, configuration files, and initial code within your specified directory.

Can I use custom generators to tailor project setup to my repository patterns?

Yes, you can run custom or plugin-specific generators to tailor workspace customization to your repository. This allows generated code artifacts to adhere strictly to your existing configurations and established patterns.

How do I generate new applications and libraries within my existing workspace?

You generate new applications and libraries within your workspace by leveraging Nx generators. These tools scaffold the required project structure and boilerplate, solving the problem of manual configuration and setup.

Do I need to configure files manually when scaffolding code with Nx generators?

No, you do not need to configure files manually when scaffolding code with Nx generators. The generation process automatically handles the creation of configuration files and initial code to match existing repository setups.