run-nx-generator

Execute prioritized Nx generators for workspace-plugin scaffolding in monorepos.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/FrozenPandaz/config-claude --skill run-nx-generator
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: run-nx-generator
Source: https://github.com/FrozenPandaz/config-claude/tree/main/skills/run-nx-generator
Command: npx skills add https://github.com/FrozenPandaz/config-claude --skill run-nx-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you execute Nx generators efficiently, with a prioritized focus on workspace-plugin generators from your internal tooling, speeding up scaffolding and automation in a monorepo.

Core Features & Use Cases

  • Workspace-plugin generators are given top priority for internal tooling
  • Standard Nx generators are available when workspace-plugin solutions don't fit
  • Best practices include dry-runs, testing affected projects, and formatting generated code

Quick Start

nx generate [generator-path] [options] nx affected -t test npx prettier --write [files]

Frequently Asked Questions about run-nx-generator

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

FAQPage Schema
How do I scaffold code in a monorepo using Nx generators?▼

Nx generators automate code scaffolding in monorepos by running `nx generate [generator-path] [options]` to create new features, libraries, or components. Workspace-plugin generators are prioritized for internal tooling; standard Nx generators serve as fallbacks when workspace solutions don't fit.

What's the best way to automate repetitive setup tasks in an Nx workspace?▼

Use Nx generators to automate setup tasks by executing workspace-plugin generators first, then standard Nx generators. Run dry-runs to preview changes, test affected projects with `nx affected -t test`, and format code with `npx prettier --write` to ensure quality.

Can I prioritize workspace-plugin generators over standard Nx generators?▼

Yes. This Skill prioritizes workspace-plugin generators from your internal tooling before falling back to standard Nx generators, letting you leverage custom scaffolding solutions while maintaining flexibility for general-purpose generation.

How do I verify generated code works correctly in my monorepo?▼

After running `nx generate`, verify changes by reviewing outputs, running tests on affected projects with `nx affected -t test`, and formatting generated code with Prettier to ensure consistency and correctness.

Do I need to understand generator schemas before using Nx generators?▼

Understanding generator schemas helps you pass correct options to `nx generate`, but this Skill fetches schemas automatically, so you can explore available options and execute generators safely without prior schema knowledge.