nx-generate

Generate applications, libraries, and features using Nx generators in a monorepo.

Updated Dec 29, 2025
One-click install
npx skills add https://github.com/miordache93/evoklas --skill nx-generate-miordache93
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-generate
Source: https://github.com/miordache93/evoklas/tree/main/.cursor/skills/nx-generate
Command: npx skills add https://github.com/miordache93/evoklas --skill nx-generate-miordache93

SYSTEM DOCUMENTATION & REQUIREMENTS

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 setup.

Core Features & Use Cases

  • Project Scaffolding: Generate new applications and libraries tailored to the workspace.
  • Code Generation: Create boilerplate code for features or components using Nx plugins.
  • Workspace Customization: Leverage local generators for repo-specific patterns.
  • Use Case: Quickly set up a new React feature library following established project conventions.

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 automate project scaffolding by creating new applications and libraries tailored to your workspace. They examine existing source code to ensure new monorepo projects adhere to established repository patterns and best practices.

How do I generate boilerplate code for a React feature using Nx?

Generate boilerplate code for a React feature by applying Nx plugin-based generators. This creates the required component and feature files automatically, ensuring the new code aligns with existing repository conventions and established project setup.

Can I use local workspace generators for repo-specific patterns in Nx?

Yes, you can leverage local workspace generators for repo-specific patterns. This skill facilitates workspace customization by applying local generators, ensuring the generated code aligns precisely with your repository's unique conventions and structural rules.

Does Nx code generation support dry-run verification before applying changes?

Yes, Nx code generation supports dry-run verification. The skill ensures adherence to repository best practices by performing dry-run verification, allowing you to preview the generated files and structure before applying changes to the monorepo.

What is the best way to set up a new application in an Nx monorepo?

The best way to set up a new application in an Nx monorepo is using Nx generators for project scaffolding. This approach automates boilerplate code creation, reducing manual setup and ensuring the new application follows established workspace patterns.