nx-generate

Automate project initialization and component scaffolding in Nx monorepos using Nx CLI commands.

Updated May 6, 2026
One-click install
npx skills add https://github.com/wilfoz/plan_game --skill nx-generate-wilfoz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-generate
Source: https://github.com/wilfoz/plan_game/tree/main/.claude/skills/nx-generate
Command: npx skills add https://github.com/wilfoz/plan_game --skill nx-generate-wilfoz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of creating and managing project generators within Nx monorepos, reducing manual setup time and ensuring consistency.

Core Features & Use Cases

  • Generator Discovery: Helps users locate and identify suitable Nx generators for their needs.
  • Workspace Management: Facilitates creating new libraries, applications, or features using Nx CLI commands.
  • Use Case: A developer wants to scaffold a new React component in an existing Nx workspace. Simply invoke this skill to locate the appropriate generator and create the component following project conventions.

Quick Start

Use the nx-generate skill to scaffold a new library named "ui-components" in the current workspace.

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 scaffolding in an Nx monorepo?

Automating code scaffolding in an Nx monorepo involves using Nx CLI commands to initialize projects and generate components. This process leverages project-specific generator definitions to ensure new libraries and features follow established conventions.

What is the best way to scaffold a new library in an Nx workspace?

The best way to scaffold a new library in an Nx workspace is by invoking Nx CLI generators. This automatically creates the library structure and configuration files, reducing manual setup time and maintaining consistency across the monorepo.

Do I need the Nx CLI installed to use project generators?

Yes, you need the Nx CLI installed to use project generators effectively. The skill relies directly on Nx CLI commands and requires existing project-specific generator definitions within your workspace to function properly.

How does generator discovery work for Nx monorepo components?

Generator discovery for Nx monorepo components works by locating and identifying suitable Nx generators for your specific needs. It helps developers find the correct generator required to scaffold features like React components according to project conventions.

Can I use this approach to scaffold a React component in an existing workspace?

Yes, you can use Nx CLI scaffolding to create a React component in an existing workspace. By locating the appropriate generator, it creates the component automatically while ensuring it adheres to the project's predefined conventions.