nx-generate

Generate boilerplate code using Nx workspace generators.

59|14|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/guilhermemarketing/esc-skills --skill nx-generate-guilhermemarketing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-generate
Source: https://github.com/guilhermemarketing/esc-skills/tree/main/skills/nx-generate
Command: npx skills add https://github.com/guilhermemarketing/esc-skills --skill nx-generate-guilhermemarketing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate boilerplate code generation using Nx generators to ensure consistency and reduce repetitive manual coding.

Core Features & Use Cases

  • Discover generators in the repository and external plugins to identify the right scaffold.
  • Prioritize local workspace generators to align with repo conventions when multiple options exist.
  • Follow a guided workflow from discovery to post-generation formatting and verification.

Quick Start

Scaffold a new library or application in your Nx workspace using the local generator with a descriptive name and no interactive prompts.

Frequently Asked Questions about nx-generate

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

FAQPage Schema
How do I generate boilerplate code in an Nx workspace?

You can generate boilerplate code in an Nx workspace by using Nx generators to scaffold applications and libraries, ensuring consistency while reducing repetitive manual coding.

How do I scaffold a new library or application using Nx generators?

Scaffold a new library or application by discovering local workspace generators, applying the generator non-interactively with a descriptive name, and finishing with post-generation formatting and verification.

Do I need an existing Nx workspace to use generators for scaffolding?

Yes, you need an existing Nx workspace with Nx generators available to scaffold features, as the process enforces using local workspace generators first to align with repository conventions.

What is the best way to ensure consistency when scaffolding features in a monorepo?

Using Nx generators within your workspace ensures consistency by prioritizing local workspace generators over external plugins, which aligns new boilerplate code with existing repository conventions.

Can I run Nx generators non-interactively to automate code scaffolding?

Yes, you can run Nx generators non-interactively to automate code scaffolding, allowing you to specify a descriptive name and execute the generation without interactive prompts.

Does scaffolding with Nx generators support boilerplate migrations?

Yes, Nx generators support performing boilerplate migrations in Nx workspaces, allowing you to update and migrate existing code structures systematically alongside creating new libraries and applications.