nx-generate

Automate Nx generators to create or modify projects in an Nx monorepo.

3|Updated Jun 12, 2026
One-click install
npx skills add https://github.com/whimzyLive/nightshift-ai --skill nx-generate-whimzylive
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-generate
Source: https://github.com/whimzyLive/nightshift-ai/tree/main/.opencode/skills/nx-generate
Command: npx skills add https://github.com/whimzyLive/nightshift-ai --skill nx-generate-whimzylive

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the process of using Nx generators for creating and managing project structures, reducing manual effort and ensuring consistency in monorepo projects.

Core Features & Use Cases

  • Project Creation: Generate libraries or applications with Nx generators.
  • Scaffolding: Scaffold features or boilerplate code efficiently.
  • Custom Generators: Execute workspace-specific or custom Nx generators.
  • Use Case: If you need to set up a new library or application in an Nx project, use this skill to create the project structure and boilerplate code quickly.

Quick Start

Run the nx-generate skill with the appropriate generator, such as 'nx g @nx/react:library' to create a new React library.

Frequently Asked Questions about nx-generate

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

FAQPage Schema
How do I automate Nx generator execution for project scaffolding?

Automate Nx generator execution by invoking commands like 'nx g @nx/react:library' to create or modify project structures. This reduces manual effort and ensures consistency when scaffolding new libraries or applications within an Nx monorepo.

Can I use custom Nx generators to scaffold features in a monorepo?

Yes, you can execute workspace-specific or custom Nx generators to scaffold features and boilerplate code efficiently. This allows you to apply tailored project structures and standardized boilerplate across your specific Nx monorepo.

Do I need Nx installed to use project scaffolding automation?

Yes, project scaffolding automation requires Nx to be installed and configured in your project. The automation directly invokes Nx generators to create or modify projects within your existing Nx monorepo environment.

What is the best way to create a new React library in an Nx monorepo?

The best way to create a React library in an Nx monorepo is by running an Nx generator like 'nx g @nx/react:library'. This automatically scaffolds the project structure and boilerplate code, ensuring monorepo consistency.

Why use automated code generation for monorepo project structure management?

Automated code generation streamlines monorepo project structure management by reducing manual effort and ensuring consistency. It quickly sets up new libraries or applications with standardized boilerplate code via Nx generators.