nx-generate

Automate code generation and project setup tasks in Nx monorepos.

Updated May 31, 2026
One-click install
npx skills add https://github.com/julianaoddeus/BarberShop-angular --skill nx-generate-julianaoddeus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-generate
Source: https://github.com/julianaoddeus/BarberShop-angular/tree/main/my-barbershop/.cursor/skills/nx-generate
Command: npx skills add https://github.com/julianaoddeus/BarberShop-angular --skill nx-generate-julianaoddeus

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of generating code and setting up projects using Nx generators, reducing manual work and ensuring consistency across the codebase.

Core Features & Use Cases

  • Project Creation: Automates the creation of new projects, including libraries and applications.
  • Boilerplate Code: Generates boilerplate code for features, components, and other project structures.
  • Custom Generators: Allows for the execution of workspace-specific or custom generators.
  • Use Case: If you need to create a new Angular application or a library within your Nx workspace, this Skill will streamline the process by generating the necessary files and configurations.

Quick Start

Use the nx-generate skill to create a new Angular application with the command 'nx g @nrwl/angular:application my-app'.

Frequently Asked Questions about nx-generate

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

FAQPage Schema
How do I automate code generation and project setup in an Nx monorepo?

You can automate code generation in an Nx monorepo by running Nx generators to scaffold new applications, libraries, and features. This ensures structural consistency across the workspace while reducing manual boilerplate creation.

What is the best way to create a new Angular application within an Nx workspace?

The best way to create an Angular application in an Nx workspace is using an Nx generator. By executing a command like 'nx g @nrwl/angular:application', the tool automatically generates the required files and configurations.

Does Nx code generation require specific plugins installed in the workspace?

Yes, Nx code generation requires the Nx CLI and the necessary Nx plugins installed in your workspace. Without the correct plugins, the workspace cannot execute the generators needed to scaffold framework-specific projects.

Can I execute custom workspace generators for feature scaffolding?

Yes, you can execute workspace-specific or custom generators for feature scaffolding. This allows development teams to standardize project creation and boilerplate code generation according to internal architectural standards.

Why use Nx generators for boilerplate code instead of manual setup?

Using Nx generators for boilerplate code reduces manual work and ensures configuration consistency across the codebase. It automates the creation of components and project structures, minimizing human error and saving development time.