nx-generate

Generate applications, libraries, and project structures using Nx generators.

Updated Feb 9, 2026
One-click install
npx skills add https://github.com/Freddy-18-18/red-salud --skill nx-generate-freddy-18-18
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-generate
Source: https://github.com/Freddy-18-18/red-salud/tree/main/.github/skills/nx-generate
Command: npx skills add https://github.com/Freddy-18-18/red-salud --skill nx-generate-freddy-18-18

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

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

Core Features & Use Cases

  • Code Scaffolding: Generates new apps and libraries using Nx's powerful generators.
  • Project Structure: Helps establish consistent project layouts and configurations.
  • Use Case: When you need to add a new React feature library to your monorepo, this skill can generate the necessary files and configurations following established patterns.

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?

Scaffolding a new library in an Nx monorepo involves using Nx generators to automatically create the necessary files and configurations. This ensures consistent project structures and reduces manual setup for new libraries.

What is Nx code generation used for?

Nx code generation is used for creating new applications, libraries, and features within a monorepo. It automates the establishment of consistent project layouts and manages repository configurations effectively.

Can I generate a React feature library using Nx generators?

Yes, you can generate a React feature library using Nx generators to produce the required files and configurations. This follows established repository patterns to seamlessly add the feature to your project structure.

Do I need to understand generator schemas to manage project configurations in Nx?

Yes, effective use of Nx generators for managing project configurations requires an understanding of Nx generator schemas, source code, and repository patterns to ensure correct code generation.

What is the best way to ensure consistent project structures across a monorepo?

Using Nx generators for code scaffolding is the best way to ensure consistent project structures across a monorepo. It automates the creation of new apps and libraries following established patterns.